WoW Model Viewer crashes on start (wxGTK application)

Bug #598715 reported by Maia Everett
28
This bug affects 8 people
Affects Status Importance Assigned to Milestone
DBus Menu
Fix Released
Low
Ted Gould

Bug Description

1. Install the build dependencies:

sudo apt-get install build-essential cmake libwxbase2.8-dev libwxgtk2.8-dev libjpeg62-dev libpng12-dev libglew1.5-dev libbz2-dev subversion

2. Checkout from SVN and build:

svn checkout http://wowmodelviewer.googlecode.com/svn/trunk/ wowmodelviewer
cd wowmodelviewer
mkdir build
cd build
cmake ../src
make

3. Run the program (you will need to point it to a World of Warcraft installed directory at start):

./wowmodelviewer

If you have RGBA enabled, you will need to run GTK_RGBA_APPS="" ./wowmodelviewer.

You will see an error message:

** ERROR **: Failed to register GObject with DBusConnection

Stack trace:

Program received signal SIGTRAP, Trace/breakpoint trap.
0xb6d79a9f in g_logv () from /lib/libglib-2.0.so.0
(gdb) bt
#0 0xb6d79a9f in g_logv () from /lib/libglib-2.0.so.0
#1 0xb6d79f02 in g_log () from /lib/libglib-2.0.so.0
#2 0xb2d451c2 in dbus_g_connection_register_g_object () from /usr/lib/libdbus-glib-1.so.2
#3 0xb2d616bd in ?? () from /usr/lib/libdbusmenu-glib.so.1
#4 0xb6e26786 in ?? () from /usr/lib/libgobject-2.0.so.0
#5 0xb6e2768c in g_object_newv () from /usr/lib/libgobject-2.0.so.0
#6 0xb6e283fc in g_object_new_valist () from /usr/lib/libgobject-2.0.so.0
#7 0xb6e28517 in g_object_new () from /usr/lib/libgobject-2.0.so.0
#8 0xb2d61041 in dbusmenu_server_new () from /usr/lib/libdbusmenu-glib.so.1
#9 0xb3fa4e43 in ?? () from /usr/lib/gtk-2.0/2.10.0/menuproxies/libappmenu.so
#10 0xb6e2f3cc in g_cclosure_marshal_VOID__PARAM () from /usr/lib/libgobject-2.0.so.0
#11 0xb6e201ca in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#12 0xb6e3819d in ?? () from /usr/lib/libgobject-2.0.so.0
#13 0xb6e39804 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#14 0xb6e39f72 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#15 0xb6e24841 in ?? () from /usr/lib/libgobject-2.0.so.0
#16 0xb6e20f4f in ?? () from /usr/lib/libgobject-2.0.so.0
#17 0xb6e262b3 in g_object_notify () from /usr/lib/libgobject-2.0.so.0
#18 0xb7390b1f in gtk_widget_set_parent () from /usr/lib/libgtk-x11-2.0.so.0
#19 0xb7c5629e in gtk_pizza_put () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#20 0xb7caa3be in wxFrame::AttachMenuBar(wxMenuBar*) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#21 0xb7d0ec8b in wxFrameBase::SetMenuBar(wxMenuBar*) () from /usr/lib/libwx_gtk2u_core-2.8.so.0
#22 0x08189c1d in ModelViewer::InitMenu() ()
#23 0x08184da0 in ModelViewer::ModelViewer() ()
#24 0x080f1eb1 in WowModelViewApp::OnInit() ()
#25 0x080f4d46 in wxAppConsole::CallOnInit() ()
#26 0xb7ef2780 in wxEntry(int&, wchar_t**) () from /usr/lib/libwx_baseu-2.8.so.0
#27 0xb7ef2987 in wxEntry(int&, char**) () from /usr/lib/libwx_baseu-2.8.so.0
#28 0x080f1a97 in main ()

Related branches

Revision history for this message
Maia Everett (linneris) wrote :

This issue does not occur if I run the program with UBUNTU_MENUPROXY="", but then I do not see the global menu, only the local one.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I have a similar problem running shotwell that can also be worked around by setting UBUNTU_MENUPROXY="".

Revision history for this message
David Barth (dbarth) wrote :

Thanks for your feedback. Can you detail the versions you're using? lucid? maverick? indicator-appmenu, appmenu-gtk? Does the crasher occur with "simple" applications like gedit as well?

Changed in indicator-appmenu:
status: New → Incomplete
assignee: nobody → Cody Russell (bratsche)
assignee: Cody Russell (bratsche) → Ted Gould (ted)
Revision history for this message
Maia Everett (linneris) wrote :

Lucid, with the latest PPA build. And no, it doesn't occur with most applications, only with WoW Model Viewer, and Shotwell 0.6 (from the upstream PPA) whenever I click anything.

Changed in indicator-appmenu:
status: Incomplete → New
David Barth (dbarth)
Changed in indicator-appmenu:
status: New → Triaged
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Hi David,

I'm using Lucid with the shotwell PPA as well. gedit and other apps that integrate with the app indicator applet work fine.

ii indicator-applet 0.4.2-0lucid1 GNOME panel indicator applet
ii indicator-applet-session 0.4.2-0lucid1 Clone of the GNOME panel indicator applet
ii shotwell 0.6.0-1~lucid3 Digital photo manager

I'm using the shotwell from the yorba PPA (ppa:yorba/ppa)

Revision history for this message
David Barth (dbarth) wrote :

Hey Jelmer,

The SIGTRAP looks weird: it sounds more like wowmodelviewer is running under gdb and that it's g_log that's causing the app. to stop because it considers a "critical" message to be a show stopper, probably because there is a g_return_if_fail on its path.

I'll try the svn checkout procedure to try and make it crash myself.

Revision history for this message
David Barth (dbarth) wrote :

Can't get the upstream shotwell to crash here. Either with an empty library, or with photos in it.

Revision history for this message
David Barth (dbarth) wrote :

Unfortunately I don't have a a WOW data folder to try to reproduce the wowmodelviewer crasher :-(

David Barth (dbarth)
Changed in indicator-appmenu:
importance: Undecided → Low
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

I could only get shotwell to crash when I clicked on a particular photo or set, not immediately at startup.

Upgrading to Maverick (I was running Lucid) has made the problem go away.

Revision history for this message
Ted Gould (ted) wrote :

I can't recreate this, but the only thing that I can think of that could cause it is not getting the session bus. I've poseted a branch that checks for that and does not register the object in that case.

affects: indicator-appmenu → dbusmenu
Changed in dbusmenu:
milestone: none → 0.3.5
Ted Gould (ted)
Changed in dbusmenu:
status: Triaged → Fix Committed
Ted Gould (ted)
Changed in dbusmenu:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.