After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 347272 - PAN crashes when lowering task order
PAN crashes when lowering task order
Status: RESOLVED FIXED
Product: Pan
Classification: Other
Component: general
pre-1.0 betas
Other Linux
: Normal major
: 1.0
Assigned To: Charles Kerr
Pan QA Team
Depends on:
Blocks:
 
 
Reported: 2006-07-12 02:14 UTC by alen_williams
Modified: 2006-07-13 21:58 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description alen_williams 2006-07-12 02:14:04 UTC
Latest Pan version.

To recreate the crash:

Queue up a bunch of stuff to be downloaded.
Select "Add to top"  <--- Dunno if this matters or not.

When the tasks are added they're in whatever order. If you move a task up from lower in the list (part01.rar for example) everything is fine. However, if you move one of the tasks (part08.rar) down, then Pan crashes...

There's a whole bunch of "FIXME" in the backtrace, so, Charles, you may know about this one already!

Alen.


Backtrace follows:
Script started on Tue 11 Jul 2006 07:03:42 PM PDT
[root@einstein tmp]# uname -a
Linux einstein.address4life.com 2.6.15-1.2054_FC5 #1 Tue Mar 14 15:48:33 EST 2006 i686 i686 i386 GNU/Linux
[root@einstein tmp]# gdb pan
GNU gdb Red Hat Linux (6.3.0.0-1.122rh)
Copyright 2004 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i386-redhat-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) handle SIGUSR1 nostop noprint
Signal        Stop	Print	Pass to program	Description
SIGUSR1       No	No	Yes		User defined signal 1
(gdb) handle SIG32 nostop noprint
Signal        Stop	Print	Pass to program	Description
SIG32         No	No	Yes		Real-time event 32
(gdb) run
Starting program: /usr/bin/pan 
Reading symbols from shared object read from target memory...done.
Loaded system supplied DSO at 0x31b000
[Thread debugging using libthread_db enabled]
[New Thread -1208514896 (LWP 7497)]
task 0x8c35c30 moved from 1 to 0
(task-pane.cc:177:on_queue_task_moved) FIXME
task 0x8c3d5a0 moved from 3 to 2
(task-pane.cc:177:on_queue_task_moved) FIXME
task 0x8c3d5a0 moved from 2 to 1
(task-pane.cc:177:on_queue_task_moved) FIXME
task 0x8c44cd8 moved from 5 to 4
(task-pane.cc:177:on_queue_task_moved) FIXME
task 0x8c44cd8 moved from 4 to 3
(task-pane.cc:177:on_queue_task_moved) FIXME
task 0x8c44cd8 moved from 3 to 2
(task-pane.cc:177:on_queue_task_moved) FIXME
task 0x8c44cd8 moved from 2 to 1
(task-pane.cc:177:on_queue_task_moved) FIXME
task 0x8c32fc0 moved from 3 to 4
(task-pane.cc:177:on_queue_task_moved) FIXME
task 0x8c32fc0 moved from 4 to 5
(task-pane.cc:177:on_queue_task_moved) FIXME
pan: task-pane.cc:179: virtual void pan::TaskPane::on_queue_task_moved(pan::Queue&, pan::Task&, int, int): Assertion `old_list_index == old_index' failed.

Program received signal SIGABRT, Aborted.
[Switching to Thread -1208514896 (LWP 7497)]
0x0031b402 in __kernel_vsyscall ()
(gdb) thread apply all bt

Thread 1 (Thread -1208514896 (LWP 7497))

  • #0 __kernel_vsyscall
  • #1 raise
    from /lib/libc.so.6
  • #2 abort
    from /lib/libc.so.6
  • #3 __assert_fail
    from /lib/libc.so.6
  • #4 pan::TaskPane::on_queue_task_moved
    at task-pane.cc line 179
  • #5 pan::Queue::fire_item_moved
    at queue.cc line 269
  • #6 pan::AdaptableSet<pan::Task*, pan::TaskWeakOrdering>::move
    at ../../pan/tasks/adaptable-set.cc line 159
  • #7 pan::AdaptableSet<pan::Task*, pan::TaskWeakOrdering>::move_down
    at ../../pan/tasks/adaptable-set.cc line 175
  • #8 pan::Queue::move_down
    at queue.cc line 485
  • #9 pan::TaskPane::down_clicked_cb
    at task-pane.cc line 99
  • #10 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #11 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #12 g_signal_override_class_closure
    from /usr/lib/libgobject-2.0.so.0
  • #13 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #14 g_signal_emit_by_name
    from /usr/lib/libgobject-2.0.so.0
  • #15 gtk_tool_button_new_from_stock
    from /usr/lib/libgtk-x11-2.0.so.0
  • #16 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #17 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #18 g_signal_override_class_closure
    from /usr/lib/libgobject-2.0.so.0
  • #19 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #20 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #21 gtk_button_clicked
    from /usr/lib/libgtk-x11-2.0.so.0
  • #22 gtk_button_set_alignment
    from /usr/lib/libgtk-x11-2.0.so.0
  • #23 g_cclosure_marshal_VOID__VOID
    from /usr/lib/libgobject-2.0.so.0
  • #24 g_value_set_static_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #25 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #26 g_signal_override_class_closure
    from /usr/lib/libgobject-2.0.so.0
  • #27 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #28 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #29 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #30 gtk_button_released
    from /usr/lib/libgtk-x11-2.0.so.0
  • #31 gtk_marshal_BOOLEAN__VOID
    from /usr/lib/libgtk-x11-2.0.so.0
  • #32 g_value_set_static_boxed
    from /usr/lib/libgobject-2.0.so.0
  • #33 g_closure_invoke
    from /usr/lib/libgobject-2.0.so.0
  • #34 g_signal_override_class_closure
    from /usr/lib/libgobject-2.0.so.0
  • #35 g_signal_emit_valist
    from /usr/lib/libgobject-2.0.so.0
  • #36 g_signal_emit
    from /usr/lib/libgobject-2.0.so.0
  • #37 gtk_widget_get_default_style
    from /usr/lib/libgtk-x11-2.0.so.0
  • #38 gtk_propagate_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #39 gtk_main_do_event
    from /usr/lib/libgtk-x11-2.0.so.0
  • #40 gdk_add_client_message_filter
    from /usr/lib/libgdk-x11-2.0.so.0
  • #41 g_main_context_dispatch
    from /usr/lib/libglib-2.0.so.0
  • #42 g_main_context_check
    from /usr/lib/libglib-2.0.so.0
  • #43 g_main_loop_run
    from /usr/lib/libglib-2.0.so.0
  • #44 gtk_main
    from /usr/lib/libgtk-x11-2.0.so.0
  • #45 (anonymous namespace)::run_pan_in_window
    at pan.cc line 103
  • #46 main
    at pan.cc line 244
The program is running.  Exit anyway? (y or n) y
[root@einstein tmp]# 
Script done on Tue 11 Jul 2006 07:07:16 PM PDT
[root@einstein tmp]#
Comment 1 Charles Kerr 2006-07-13 21:58:34 UTC
Fixed for 0.104.