Bug 300 - crash while moving folder
: crash while moving folder
Status: RESOLVED FIXED
: Sylpheed-Claws (GTK1)
User Interface
: other
: PC Linux
: P3 normal
Assigned To:
:
:
:
  Show dependency treegraph
 
Reported: 2003-09-09 17:52 by
Modified: 2003-09-09 20:42 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2003-09-09 17:52:57
I had claws73 running from a command line, so I have the following output (as
well as the crash after it).  I had just run "Rebuild folder tree" when I
noticed that part of the hierarchy was wrong -- too many levels (identations). 
So I tried to move one of the folders to a higher level and SC crashed.

*** Here's the terminal output:

Gtk-CRITICAL **: file gtkbin.c: line 217 (gtk_bin_add): assertion `bin->child ==
NULL' failed.

Gtk-CRITICAL **: file gtkcontainer.c: line 715 (gtk_container_add): assertion
`widget->parent == NULL' failed.

Sylpheed-WARNING **: Invalid date: Thu, 03 Oct 2002 PDT


Sylpheed-CRITICAL **: file folder.c: line 781 (folder_item_get_identifier):
assertion `item->path != NULL' failed.
sylpheed.c:92:Starting sylpheed version 00090449
[setting tty state failed in terminal_inferior: Input/output error]
prefs_gtk.c:63:Reading configuration...
prefs_gtk.c:83:Found [Common]
prefs_gtk.c:97:Finished reading configuration.
** Message: Galeon already running, using existing process



*** And here's the crash report
Sylpheed version 0.9.4claws73
GTK+ version 1.2.10
Features: GNU/aspell
Operating system: Linux 2.4.21-0.25mdk (i686)
C Library: GNU libc 2.3.1
--
[New Thread 16384 (LWP 20088)]
0x4002d677 in waitpid () from /lib/i686/libpthread.so.0
#0  0x4002d677 in waitpid () from /lib/i686/libpthread.so.0
#1  0x0809d45e in crash_handler (sig=20115) at crash.c:536
#2  0x4002c5ce in __pthread_sighandler () from /lib/i686/libpthread.so.0
#3  0x404253b8 in __libc_sigaction () from /lib/i686/libc.so.6
#4  0x080bb471 in folderview_create_folder_node (folderview=0x8251200, 
    item=0x834bef0) at folderview.c:1870
#5  0x080bdccf in folderview_update_folder (source=0xbfffe9f0, userdata=0x0)
    at folderview.c:2772
#6  0x08167780 in hooks_marshal (hook=0xfffffe00, data=0x8251d28)
    at hooks.c:107
#7  0x402ca3fd in g_hook_list_marshal () from /usr/lib/libglib-1.2.so.0
#8  0x081677eb in hooks_invoke (
    hooklist_name=0xfffffe00 <Address 0xfffffe00 out of bounds>, 
    source=0xfffffe00) at hooks.c:125
#9  0x080b0133 in folder_create_folder (parent=0x0, 
    name=0xfffffe00 <Address 0xfffffe00 out of bounds>) at folder.c:507
#10 0x080b2b9f in folder_item_move_recursive (src=0x836ce50, dest=0x81c1704)
    at folder.c:1857
#11 0x080b2e5b in folder_item_move_to (src=0x836ce50, dest=0x839b798, 
    new_item=0xfffffe00) at folder.c:1952
#12 0x080bd51f in folderview_move_to (folderview=0x8251200, 
    from_folder=0x836ce50, to_folder=0x839b798) at folderview.c:2560
#13 0x080be37a in folderview_drag_received_cb (widget=0x8251d28, 
    drag_context=0x83a2428, x=70, y=245, data=0x839b798, info=1, 
    time=10690459, folderview=0x8251200) at folderview.c:2934
#14 0x401dadc4 in gtk_marshal_NONE__POINTER_INT_INT_POINTER_INT_INT ()
   from /usr/lib/libgtk-1.2.so.0
------- Comment #1 From 2003-09-09 20:42:39 -------
2003-09-09 [alfons]     0.9.4claws74

        * src/folderview.c
                o proper check for root node sorting
                o remove unnecessary gtk_ctree_remove_node

        (should fix bug #300, "crash while moving folder")