Cygwin, xffm: core dump

Maarten Boekhold boekhold at emirates.net.ae
Thu Sep 30 17:15:59 CEST 2004



edscott wilson garcia wrote:

> The line where it segfaults is where the module is loaded. So I assume
> that the problem must occur during the module initialization. This is

It did fail in the module loading. The g_module_check_init function in 
mime_icons.c wasn't declared G_MODULE_EXPORT, so the module_functions 
pointer was never initialized.

However, I'm getting a new one now. It might be that this is somehow 
related to the configuration file, because after the crash, I still 
don't have ~/.config/xfce4/xffm/xffmrc.xml... I can't figure out where 
things get screwed though... :(


** Message: xffm: module 
/opt/xfce/lib/xfce4/modules/cygxfce4_mime_icons.dll successfully loaded
mime_icon_load_theme...
create_icon_hash...
create_icon_hash.../home/Maarten/.themes/hicolor.mime.xml
mime_icon_get_global_xml_file name...hicolor
mime_icon_get_theme_path...hicolor
mime_icon_get_theme_path.../home/Maarten/.local/share/icons/hicolor?
mime_icon_get_theme_path.../home/Maarten/.icons/hicolor?
mime_icon_get_theme_path.../opt/xfce/share/icons/hicolor?
mime_icon_get_global_xml_file...done
create_icon_hash...3
DBG:creating new theme_hash...
create_icon_hash...4
creating new icon hash and factory for hicolor
create_icon_hash...5
DBG:theme_hash created!
mime_icon_load_theme...
create_icon_hash...
create_icon_hash.../home/Maarten/.themes/hicolor.mime.xml
mime_icon_get_global_xml_file name...hicolor
mime_icon_get_theme_path...hicolor
mime_icon_get_theme_path.../home/Maarten/.local/share/icons/hicolor?
mime_icon_get_theme_path.../home/Maarten/.icons/hicolor?
mime_icon_get_theme_path.../opt/xfce/share/icons/hicolor?
mime_icon_get_global_xml_file...done
create_icon_hash...3
create_icon_hash...4
xffm: signal 11 received. Cleaning up before exiting


Starting program: /opt/xfce/bin/xffm.exe

Breakpoint 2, print_diagnostics (id=0x41c5cf "xfce/info") at misc.c:1338
(gdb) print tree_details
$4 = (tree_details_t *) 0x10088af8
(gdb) print *tree_details
$5 = {window = 0x0, remove = 0x0, preferences = 1352484,
   theme = 0x10094970 "hicolor", recent_days = 3, frequent_count = 13, 
argv = {
     0x100866e8 "xffm", 0x0}, geometryX = 600, geometryY = 500, hpane = 
125,
   hpane_ratio = -1, smart_hash = 0x0, treestuff = {{treeview = 0x0,
       treemodel = 0x0, sortable = 0x0, selection = 0x0, column = {
         0x0 <repeats 15 times>}, preferences = 2147524354, gogo = 0x0,
       ascending = 0, sort_column = 0, name_size = 100}, {treeview = 0x0,
       treemodel = 0x0, sortable = 0x0, selection = 0x0, column = {
         0x0 <repeats 15 times>}, preferences = 2147492095, gogo = 0x0,
       ascending = 0, sort_column = 0, name_size = 100}}, tubo_object = 
0x0,
   selectionOK = 0, timer = 0, input = 0, loading = 0, stop = 0,
   icon_size = 1, sidebar = 0x10088ca8 "single_selection_button"}
(gdb) step

Program received signal SIGSEGV, Segmentation fault.
0x010275bb in print_diagnostics (id=0x41c5cf "xfce/info") at misc.c:1339
(gdb) bt
#0  0x010275bb in print_diagnostics (id=0x41c5cf "xfce/info") at misc.c:1339
#1  0x00412e99 in set_icon_theme (theme=0x10093c48 "hicolor", restart=0)
     at options.c:387
#2  0x0040de8e in _fu1__gdk_display () at mcs-manager.c:306
#3  0x0041104a in main (argc=1, argv=0x10073a50) at main.c:368
(gdb)

misc.c:1339 is "if (!tree_details->window ) {...", so it seems unlikely 
that the actual segfault is there...

Still looking... might be tomorrow before I make any progress with this 
however.

Maarten




More information about the Xfce4-dev mailing list