[Xfce-bugs] [XFCE 0000060]: xffm segfaults with the no_icons theme

xfce-bugs at xfce.org xfce-bugs at xfce.org
Wed Dec 31 16:39:13 CET 2003


The following bug requires your FEEDBACK.
=======================================================================
http://bugs.xfce.org/view_bug_page.php?f_id=0000060
=======================================================================
Reporter:                   jue
Handler:                    
=======================================================================
Project:                    XFCE
Bug ID:                     0000060
Category:                   xffm
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
=======================================================================
Date Submitted:             2003-12-30 17:13 GMT
Last Modified:              2003-12-31 15:39 GMT
=======================================================================
Summary:                    xffm segfaults with the no_icons theme
Description: 
Both xffm 4.0.2 and 4.0.1 are affected, maybe older versions   also.
$:> strace xffm
....
stat64("/usr/share/xffm/pixmaps/no_icons/mime.xml", {st_mode=S_IFREG|0644,
st_size=50, ...}) = 0
stat64("/usr/share/xffm/pixmaps/no_icons/mime.xml", {st_mode=S_IFREG|0644,
st_size=50, ...}) = 0
stat64("/usr/share/xffm/pixmaps/no_icons/mime.xml", {st_mode=S_IFREG|0644,
st_size=50, ...}) = 0
open("/usr/share/xffm/pixmaps/no_icons/mime.xml", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=50, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x40902000
read(4, "<?xml version=\"1.0\"?>\n<mime_type"..., 16384) = 50
read(4, "", 12288)                      = 0
_llseek(4, 0, [50], SEEK_CUR)           = 0
_llseek(4, 0, [0], SEEK_SET)            = 0
read(4, "<?xml version=\"1.0\"?>\n<mime_type"..., 4096) = 50
read(4, "", 4096)                       = 0
read(4, "", 4096)                       = 0
close(4)                                = 0
munmap(0x40902000, 4096)                = 0
brk(0)                                  = 0x8328000
brk(0)                                  = 0x8328000
brk(0x8304000)                          = 0x8304000
brk(0)                                  = 0x8304000
write(3, "\24\0\6\0X\0\0\0\t\0\0\0\37\0\0\0\0\0\0\0\200\226\230\0"..., 24)
= 24
read(3, "\1\10\357\20\1\0\0\0\37\0\0\0\0\0\0\0\1\0\0\0\230X\315"..., 32) =
32
readv(3, [{"\n", 1}, {"\0\356\20", 3}], 2) = 4
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(2, "xffm: signal 11 received. Cleani"..., 53xffm: signal 11
received. Cleaning up before exiting
) = 53

=======================================================================

-----------------------------------------------------------------------
 edscott - 2003-12-30 22:47 GMT 
-----------------------------------------------------------------------
Could you run xffm with gdb and when it segfaults ask for a backtrace with
"bt". I'm afraid I can't quite understand the output from strace and I
cannot reproduce the crash on FreeBSD 5.1.

-----------------------------------------------------------------------
 jue - 2003-12-31 15:39 GMT 
-----------------------------------------------------------------------
No problem, here it is:

$:~> gdb xffm
GNU gdb 6.0
Copyright 2003 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 "i586-pc-linux-gnu"...
(gdb) r
Starting program: /usr/bin/xffm 

Program received signal SIGSEGV, Segmentation fault.
0x404b1a96 in g_object_unref () from /usr/lib/libgobject-2.0.so.0
(gdb) bt
http://bugs.xfce.org/view_bug_page.php?f_id=0  0x404b1a96 in
g_object_unref () from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=1  0x4001d9de in set_icon
(treeview=0x8169090, iterator=0xbfffee00)
    at icons.c:741
http://bugs.xfce.org/view_bug_page.php?f_id=2  0x4001c363 in
set_size_icons (treemodel=0x8096d58, treepath=0x8169e58, 
    iter=0xbfffee00, data=0x8080888) at icons.c:81
http://bugs.xfce.org/view_bug_page.php?f_id=3  0x402f3ef8 in
gtk_tree_model_rows_reordered ()
   from /usr/lib/libgtk-x11-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=4  0x402f4009 in
gtk_tree_model_foreach () from /usr/lib/libgtk-x11-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=5  0x4001c3fe in reset_icons
(tree_details=0x8080888) at icons.c:90
http://bugs.xfce.org/view_bug_page.php?f_id=6  0x4001e44f in
recreate_icons (tree_details=0x8080888) at icons.c:1060
http://bugs.xfce.org/view_bug_page.php?f_id=7  0x400230cc in toggle_theme
(menuitem=0x808b378, user_data=0x8080fd8)
    at options.c:302
http://bugs.xfce.org/view_bug_page.php?f_id=8  0x404bbbad in
g_cclosure_marshal_VOID__VOID ()
   from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=9  0x404aef4a in
g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=10 0x404bb4aa in
g_signal_emit_by_name () from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=11 0x404b9ff4 in
g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=12 0x404ba176 in g_signal_emit
() from /usr/lib/libgobject-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=13 0x4032215d in
gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=14 0x4026c746 in
gtk_menu_shell_activate_item ()
   from /usr/lib/libgtk-x11-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=15 0x4026bba2 in
_gtk_menu_shell_activate () from /usr/lib/libgtk-x11-2.0.so.0
http://bugs.xfce.org/view_bug_page.php?f_id=16 0x40265f53 in
gtk_menu_reorder_child () from /usr/lib/libgtk-x11-2.0.so.0
---Type <return> to continue, or q <return> to quit---



More information about the Xfce-bugs mailing list