Ghemical won't start up (breezy amd64)

Bug #5632 reported by Jeroen
6
Affects Status Importance Assigned to Milestone
ghemical (Ubuntu)
Fix Released
Medium
MOTU Science

Bug Description

Ghemical won't start up. AMD64 5.10/breezy.

jeroen@gnubuntu:~$ ghemical
OpenGL extension version - 1.2
WARNING : SetCurrent() called before widget was realized ; skipping...
GL is not yet initialized -> skipping light setup!
added local light.
WARNING : SetCurrent() called before widget was realized ; skipping...
WARNING : Update() called before widget was realized ; skipping...

jeroen@gnubuntu:~$

I have to stop it with control-c, because it just will not do anything.

Following https://wiki.ubuntu.com/DebuggingProgramCrash, I buildt a debugging version, and ran it with gdb. Output:

jeroen@gnubuntu:~$ gdb ghemical
GNU gdb 6.3-debian
Copyright 2004 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 "x86_64-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) handle SIG33 pass nostop noprint
Signal Stop Print Pass to program Description
SIG33 No No Yes Real-time event 33
(gdb) run
Starting program: /usr/bin/ghemical
[Thread debugging using libthread_db enabled]
[New Thread 46912688887792 (LWP 30309)]
OpenGL extension version - 1.2
WARNING : SetCurrent() called before widget was realized ; skipping...
GL is not yet initialized -> skipping light setup!
added local light.
WARNING : SetCurrent() called before widget was realized ; skipping...
WARNING : Update() called before widget was realized ; skipping...

Program received signal SIGINT, Interrupt.
[Switching to Thread 46912688887792 (LWP 30309)]
0x00002aaab6db5b32 in __driUtilUpdateDrawableInfo ()
   from /usr/lib/dri/r200_dri.so
(gdb) thread apply all bt

Thread 1 (Thread 46912688887792 (LWP 30309)):
#0 0x00002aaab6db5b32 in __driUtilUpdateDrawableInfo ()
   from /usr/lib/dri/r200_dri.so
#1 0x00002aaaab3bf888 in glXMakeCurrentReadSGI () from /usr/lib/libGL.so.1
#2 0x00002aaaacea28dc in gdk_gl_window_new ()
   from /usr/lib/libgdkglext-x11-1.0.so.0
#3 0x0000000000475fc3 in gtk_ogl_view::SetCurrent (this=0x12f7b10)
    at ./gtk_views.cpp:176
#4 0x0000000000446211 in graphics_view::InitGL (this=0x12f7b48)
    at ./views.cpp:229
#5 0x00002aaaac8903c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#6 0x00002aaaac89f26d in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#7 0x00002aaaac8a03ec in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#8 0x00002aaaac8a07a3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#9 0x00002aaaab71ff94 in gtk_widget_realize ()
   from /usr/lib/libgtk-x11-2.0.so.0
#10 0x00002aaaab720108 in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#11 0x00002aaaab654488 in gtk_notebook_get_tab_label ()
   from /usr/lib/libgtk-x11-2.0.so.0
#12 0x00002aaaac8903c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#13 0x00002aaaac89eab1 in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#14 0x00002aaaac8a03ec in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#15 0x00002aaaac8a07a3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#16 0x00002aaaab7200cb in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#17 0x00002aaaab65e3ef in gtk_paned_add1 () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x00002aaaab5b9b69 in gtk_container_get_focus_hadjustment ()
   from /usr/lib/libgtk-x11-2.0.so.0
#19 0x00002aaaac8903c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#20 0x00002aaaac89eab1 in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#21 0x00002aaaac8a03ec in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#22 0x00002aaaac8a07a3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#23 0x00002aaaab7200cb in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#24 0x00002aaaab581eb0 in gtk_box_reorder_child ()
   from /usr/lib/libgtk-x11-2.0.so.0
#25 0x00002aaaab5b9b69 in gtk_container_get_focus_hadjustment ()
   from /usr/lib/libgtk-x11-2.0.so.0
#26 0x00002aaaac8903c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#27 0x00002aaaac89eab1 in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
---Type <return> to continue, or q <return> to quit---
#28 0x00002aaaac8a03ec in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#29 0x00002aaaac8a07a3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#30 0x00002aaaab7200cb in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x00002aaaab728c35 in gtk_window_reshow_with_initial_size ()
   from /usr/lib/libgtk-x11-2.0.so.0
#32 0x00002aaaac8903c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#33 0x00002aaaac89eab1 in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#34 0x00002aaaac8a03ec in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#35 0x00002aaaac8a07a3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#36 0x00002aaaab7200cb in gtk_widget_map () from /usr/lib/libgtk-x11-2.0.so.0
#37 0x00002aaaab72afc2 in gtk_window_get_position ()
   from /usr/lib/libgtk-x11-2.0.so.0
#38 0x00002aaaac8903c0 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#39 0x00002aaaac89eab1 in g_signal_stop_emission ()
   from /usr/lib/libgobject-2.0.so.0
#40 0x00002aaaac8a03ec in g_signal_emit_valist ()
   from /usr/lib/libgobject-2.0.so.0
#41 0x00002aaaac8a07a3 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#42 0x00002aaaab7208cd in gtk_widget_show () from /usr/lib/libgtk-x11-2.0.so.0
#43 0x000000000042a575 in gtk_app (this=Variable "this" is not available.
) at ./main.cpp:287
---Type <return> to continue, or q <return> to quit---
#44 0x000000000042a607 in gtk_app::GetInstance () at ./main.cpp:297
#45 0x000000000042a85d in main (argc=1, argv=0x7fffffb6bbb8) at ./main.cpp:754
(gdb)

Jeroen (jeroenubuntu)
Changed in ghemical:
assignee: nobody → motuscience
Revision history for this message
LaserJock (laserjock) wrote :

We where unable to duplicate this. Looking at the dbg output, it could be your X driver so maybe try using the vesa driver instead.

Revision history for this message
Jeroen (jeroenubuntu) wrote :

First it was this

Section "Device"
        Identifier "ATI Technologies, Inc. Radeon 9200 SE (RV280)"
        Driver "ati"
        BusID "PCI:1:0:0"
EndSection

After:

Section "Device"
        Identifier "ATI Technologies, Inc. Radeon 9200 SE (RV280)"
        Driver "vesa"
        BusID "PCI:1:0:0"
EndSection

Now it starts up, though I can segfault it very easily. The vesa driver is crap though, so I'm switching back.

Revision history for this message
LaserJock (laserjock) wrote :

Can you please try version 1.91-2ubuntu2 in dapper?

Changed in ghemical:
status: Unconfirmed → Needs Info
Revision history for this message
Jeroen (jeroenubuntu) wrote :

works

Changed in ghemical:
status: Needs Info → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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