I have just upgraded my machine (AMD64) to the latest Debian (Testing), installed crossfire 1.50.0, and this is what I get:
# /usr/games/crossfire-client-gtk2
[ INFO ] (Client Version) GTK V2 Unix Client 1.50.0 (using caelestis.glade)
[ INFO ] (common::raiseChild) Raising /usr/games/cfsndserv with flags 7
Memory fault
From the stack trace in the core dump, it looks as if it is somewhere in Glade. I think the message about cfsndserv is irrelevant. Any suggestions where I go from here? I don't quite know where to begin, and I'd rather not have to under stand the whole program from scratch.
Crossfire 1.50.0: Memory Fault
Moderator: Board moderators
Hello.
Did you install the client from a Debian package? Or from the source tarball?
Edited: apparently you mention building it from scratch.
Can you build it with the CFLAGS="-g -pg -O0" flags?
Syntax would be: from the client's root.
Then launch it with, hit , when it crashes enter , and paste the output here.
Thanks
Did you install the client from a Debian package? Or from the source tarball?
Edited: apparently you mention building it from scratch.
Can you build it with the CFLAGS="-g -pg -O0" flags?
Syntax would be:
Code: Select all
CFLAGS="-g -pg -O0" ./configure (your options)
Then launch it with
Code: Select all
gdb ./crossfire-client-gtk2
Code: Select all
r
Code: Select all
bt
Thanks
(gdb) bt
#0 0x00007fffe1394843 in ?? () from /usr/lib/libltdl.so.7
#1 0x00007fffe1395248 in ?? () from /usr/lib/libltdl.so.7
#2 0x00007fffe1395af8 in lt_dlopenadvise () from /usr/lib/libltdl.so.7
#3 0x00007fffdc0c58ed in scim::Module::load(std::string const&, std::string const&) () from /usr/lib/libscim-1.0.so.8
#4 0x00007fffdc0a1d55 in scim::ConfigModule::load(std::string const&) () from /usr/lib/libscim-1.0.so.8
#5 0x00007fffdc0a1fb4 in scim::ConfigModule::ConfigModule(std::string const&) () from /usr/lib/libscim-1.0.so.8
#6 0x00007fffdc34bda6 in ?? () from /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so
#7 0x00007fffdc34ca83 in ?? () from /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so
#8 0x00007ffff56622f2 in g_type_class_ref () from /usr/lib/libgobject-2.0.so.0
#9 0x00007ffff5647df2 in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#10 0x00007ffff56483ac in g_object_new () from /usr/lib/libgobject-2.0.so.0
#11 0x00007fffdc35025b in gtk_im_context_scim_new() () from /usr/lib/gtk-2.0/2.10.0/immodules/im-scim.so
#12 0x00007ffff76c9fd6 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#13 0x00007ffff76cac17 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#14 0x00007ffff76cad49 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#15 0x00007ffff779b40a in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#16 0x00007ffff779b5a3 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00007ffff564147e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#18 0x00007ffff5657040 in ?? () from /usr/lib/libgobject-2.0.so.0
#19 0x00007ffff5658a76 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#20 0x00007ffff5658fc3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#21 0x00007ffff780086c in gtk_widget_set_scroll_adjustments () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x00007ffff7744845 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00007ffff564147e in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#24 0x00007ffff5656cc1 in ?? () from /usr/lib/libgobject-2.0.so.0
#25 0x00007ffff5658a76 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#26 0x00007ffff5658fc3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#27 0x00007ffff7bd2d1d in glade_standard_build_children () from /usr/lib/libglade-2.0.so.0
#28 0x00007ffff7bd1a4f in glade_xml_set_common_params () from /usr/lib/libglade-2.0.so.0
#29 0x00007ffff7bd1cb0 in glade_xml_build_widget () from /usr/lib/libglade-2.0.so.0
#30 0x00007ffff7bd2ce0 in glade_standard_build_children () from /usr/lib/libglade-2.0.so.0
#31 0x00007ffff7bd1a4f in glade_xml_set_common_params () from /usr/lib/libglade-2.0.so.0
#32 0x00007ffff7bd1cb0 in glade_xml_build_widget () from /usr/lib/libglade-2.0.so.0
#33 0x00007ffff7bd2ce0 in glade_standard_build_children () from /usr/lib/libglade-2.0.so.0
#34 0x00007ffff7bd1a4f in glade_xml_set_common_params () from /usr/lib/libglade-2.0.so.0
#35 0x00007ffff7bd1cb0 in glade_xml_build_widget () from /usr/lib/libglade-2.0.so.0
#36 0x00007ffff7bd2450 in ?? () from /usr/lib/libglade-2.0.so.0
#37 0x00007ffff7bd25d3 in glade_xml_construct () from /usr/lib/libglade-2.0.so.0
#38 0x00007ffff7bd3246 in glade_xml_new () from /usr/lib/libglade-2.0.so.0
#39 0x000000000041b7b4 in main (argc=1, argv=0x7fffffffe628) at main.c:765
I have done some experimenting myself now; when I disable scim, this is what I see:
A stack trace from the core dump shows:
Code: Select all
# /u01/crossfire/crossfire-client-1.50.0/gtk-v2/src/crossfire-client-gtk2
[ INFO ] (Client Version) GTK V2 Unix Client 1.50.0 (using gtk-v2.glade)
Unable to access /usr/local/bin/cfsndserv sound server process
[ INFO ] (inventory.c::inventory_get_styles) Unable to find style for inv_magical
[ INFO ] (inventory.c::inventory_get_styles) Unable to find style for inv_cursed
[ INFO ] (inventory.c::inventory_get_styles) Unable to find style for inv_unpaid
[ INFO ] (inventory.c::inventory_get_styles) Unable to find style for inv_locked
[ INFO ] (inventory.c::inventory_get_styles) Unable to find style for inv_applied
[ INFO ] (info.c::info_get_styles) Unable to find base style info_default - will not process most info tag styles!
[ INFO ] (gtk::init_keys) Could not open ~/.crossfire/keys, trying to load global bindings
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'hp_bar_normal'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'hp_bar_low'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'hp_bar_super'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'hp_gradual_bar_normal'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'hp_gradual_bar_low'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'hp_gradual_bar_super'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'sp_bar_normal'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'sp_bar_low'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'sp_bar_super'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'sp_gradual_bar_normal'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'sp_gradual_bar_low'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'sp_gradual_bar_super'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'grace_bar_normal'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'grace_bar_low'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'grace_bar_super'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'grace_gradual_bar_normal'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'grace_gradual_bar_low'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'grace_gradual_bar_super'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'food_bar_normal'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'food_bar_low'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'food_bar_super'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'food_gradual_bar_normal'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'food_gradual_bar_low'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'food_gradual_bar_super'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'exp_bar_normal'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'exp_bar_low'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'exp_bar_super'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'exp_gradual_bar_normal'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'exp_gradual_bar_low'
[ INFO ] (stats.c::stats_get_styles()) Unable to find style 'exp_gradual_bar_super'
(crossfire-client-gtk2:3855): libglade-CRITICAL **: glade_get_widget_tree: assertion `widget != NULL' failed
(crossfire-client-gtk2:3855): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed
(crossfire-client-gtk2:3855): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed
(crossfire-client-gtk2:3855): libglade-CRITICAL **: glade_xml_get_widget: assertion `self != NULL' failed
Memory fault
Code: Select all
(gdb) bt
#0 0x0000000000411a3e in msgctrl_init (window_root=0x18250e0) at info.c:1380
#1 0x000000000041bad9 in main (argc=1, argv=0x7fff41353be8) at main.c:824