Export to GitHub

gnome2-globalmenu - issue #596

GlobalMenu makes Freeciv 2.2.0 crash


Posted on Apr 25, 2010 by Grumpy Lion

A user has reported that using globalmenu while playing Freeciv is causing crashes.

See the user report at https://gna.org/bugs/?15786

Comment #1

Posted on Apr 27, 2010 by Swift Monkey

Can you tell me which version of GlobalMenu you're using ?

Comment #2

Posted on Apr 27, 2010 by Grumpy Lion

Tried to contact the original reporter. Let's see if s/he replies.

Comment #3

Posted on Jul 11, 2010 by Grumpy Horse

can also confirm this issue and removing globalmenu resolves freeciv crash after meeting with diplomats of other nations.

globalmenu version was latest ubuntu version at time of this posting from: https://launchpad.net/~globalmenu-team/+archive/ppa

Comment #4

Posted on Sep 27, 2010 by Happy Dog

I can confirm it for freeciv 2.2.3. Here's the output of gdb:

thn@helios:~/Software/Applications/freeciv-2.2.3$ gdb client/freeciv-gtk2 GNU gdb (GDB) 7.1-ubuntu Copyright (C) 2010 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later http://gnu.org/licenses/gpl.html This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-linux-gnu". For bug reporting instructions, please see: http://www.gnu.org/software/gdb/bugs/... Reading symbols from /home/thn/Software/Applications/freeciv-2.2.3/client/freeciv-gtk2...done. (gdb) run Starting program: /home/thn/Software/Applications/freeciv-2.2.3/client/freeciv-gtk2 [Thread debugging using libthread_db enabled] 2: No real audio plugin present. 2: Proceeding with sound support disabled. 2: For sound support, install SDL_mixer 2: http://www.libsdl.org/projects/SDL_mixer/index.html Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve property GtkOptionMenu::indicator-size' of typeGtkRequisition' from rc file value "0" of type glong' Gtk-Message: (for origin information, set GTK_DEBUG): failed to retrieve propertyGtkOptionMenu::indicator-spacing' of type GtkBorder' from rc file value "0" of typeglong'

(freeciv-gtk2:3547): GLib-GObject-WARNING **: /build/buildd/glib2.0-2.24.1/gobject/gsignal.c:3079: signal name depressed' is invalid for instance0x3527310'

Program received signal SIGSEGV, Segmentation fault. 0x00007fffef4771c0 in ?? () from /usr/lib/gtk-2.0/modules/libglobalmenu-plugin.so (gdb) bt

0 0x00007fffef4771c0 in ?? () from /usr/lib/gtk-2.0/modules/libglobalmenu-plugin.so

1 0x00007ffff70d3f54 in ?? () from /usr/lib/libgdk-x11-2.0.so.0

2 0x00007ffff70d53f8 in ?? () from /usr/lib/libgdk-x11-2.0.so.0

3 0x00007ffff70d583e in ?? () from /usr/lib/libgdk-x11-2.0.so.0

4 0x00007ffff4eba8c2 in g_main_context_dispatch () from /lib/libglib-2.0.so.0

5 0x00007ffff4ebe748 in ?? () from /lib/libglib-2.0.so.0

6 0x00007ffff4ebec55 in g_main_loop_run () from /lib/libglib-2.0.so.0

7 0x00007ffff7461bb7 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0

8 0x0000000000416a39 in ui_main (argc=1, argv=0x7fffffffe368) at gui_main.c:1627

9 0x00000000004178ea in client_main (argc=, argv=0x7fffffffe368) at client_main.c:481

10 0x00007ffff48fac4d in __libc_start_main () from /lib/libc.so.6

11 0x0000000000412629 in _start ()

Well, maybe, freeciv is also using menus in some unusual ways, cause those (the menus) stays with the freeciv window, instead of being displayed in global-menu applet. Still the SIGSEGV happens on your "playground"

Hope that helps.

Comment #5

Posted on Sep 27, 2010 by Happy Dog

Comment deleted

Comment #6

Posted on Sep 27, 2010 by Happy Dog

Oh, forgot to mention in my previous comment. The system: Ubuntu Lucid (9.10) with global-menu installed from ppa.

Status: New

Labels:
Type-Defect Priority-Medium