Hello Leonardo,

>   What version are you trying to run? I've just tried 0.75 and
> couldn't reproduce the crash following the steps you mentioned.

I was using the svn version of 0.76.

> 
>   Try running leocad from gdb "gdb leocad" then when it crashes look
> at the callstack by typing "bt" from inside gdb.

Thanks for the information. Now, I was able to produce a backtrace. It
is attached to this mail.
Currently, the only thing I can make out of it is that something goes
wrong at step #2.

king boy l
(gdb) run
Starting program: /home/koos/downloads/software_install/leocad/bin/leocad 
[Thread debugging using libthread_db enabled]
[New Thread 0xb74116c0 (LWP 7601)]

(leocad:7601): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 
`GTK_IS_WIDGET (widget)' failed

(leocad:7601): Gtk-CRITICAL **: gtk_widget_set_sensitive: assertion 
`GTK_IS_WIDGET (widget)' failed

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0xb74116c0 (LWP 7601)]
Project::MouseUpdateOverlays (this=0x8122a90, x=145, y=784) at 
common/project.cpp:8582
8582            const float OverlayScale = m_ActiveView->m_OverlayScale;
(gdb) bt
#0  Project::MouseUpdateOverlays (this=0x8122a90, x=145, y=784) at 
common/project.cpp:8582
#1  0x080b2145 in Project::OnMouseMove (this=0x8122a90, view=0x8134540, x=145, 
y=784, bControl=false, 
    bShift=false) at common/project.cpp:8008
#2  0x080bb366 in View::OnMouseMove (this=0x8134540, x=145, y=784, 
bControl=<value optimized out>, 
    bShift=<value optimized out>) at common/view.cpp:142
#3  0x08069b95 in pointer_motion_event (widget=0x8101d60, event=0x8399a50, 
data=0x8134540)
    at linux/glwindow.cpp:113
#4  0xb7d0f8d4 in _gtk_marshal_BOOLEAN__BOXED (closure=0x817b480, 
return_value=0xbff4ce40, n_param_values=2, 
    param_values=0xbff4cf24, invocation_hint=0xbff4ce2c, marshal_data=0x8069b20)
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmarshalers.c:84
#5  0xb7a32749 in IA__g_closure_invoke (closure=0x817b480, 
return_value=0xbff4ce40, n_param_values=2, 
    param_values=0xbff4cf24, invocation_hint=0xbff4ce2c)
    at /build/buildd/glib2.0-2.16.6/gobject/gclosure.c:490
#6  0xb7a46f7b in signal_emit_unlocked_R (node=0x810b258, detail=0, 
instance=0x8101d60, 
    emission_return=0xbff4d0e4, instance_and_params=0xbff4cf24)
    at /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:2440
#7  0xb7a48937 in IA__g_signal_emit_valist (instance=0x8101d60, signal_id=32, 
detail=0, 
    var_args=0xbff4d160 
"x���P\2329\b`\035\020\b?4��`\035\020\b8a\020\b")
    at /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:2209
#8  0xb7a48f59 in IA__g_signal_emit (instance=0x8101d60, signal_id=32, detail=0)
    at /build/buildd/glib2.0-2.16.6/gobject/gsignal.c:2243
#9  0xb7e2e667 in gtk_widget_event_internal (widget=0x8101d60, event=0x8399a50)
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkwidget.c:4678
#10 0xb7d08b21 in IA__gtk_propagate_event (widget=0x8101d60, event=0x8399a50)
    at /build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c:2336
#11 0xb7d09d88 in IA__gtk_main_do_event (event=0x8399a50) at 
/build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c:1556
#12 0xb7b82a9a in gdk_event_dispatch (source=0x8104f80, callback=0, 
user_data=0x0)
    at /build/buildd/gtk+2.0-2.12.9/gdk/x11/gdkevents-x11.c:2351
#13 0xb79a5cf6 in IA__g_main_context_dispatch (context=0x8104fc8)
    at /build/buildd/glib2.0-2.16.6/glib/gmain.c:2012
#14 0xb79a90b3 in g_main_context_iterate (context=0x8104fc8, block=1, 
dispatch=1, self=0x8146be8)
    at /build/buildd/glib2.0-2.16.6/glib/gmain.c:2645
#15 0xb79a9497 in IA__g_main_loop_run (loop=0x838e718) at 
/build/buildd/glib2.0-2.16.6/glib/gmain.c:2853
#16 0xb7d0a264 in IA__gtk_main () at 
/build/buildd/gtk+2.0-2.12.9/gtk/gtkmain.c:1163
#17 0x0806083d in main (argc=135037624, argv=0xbff4e474) at linux/main.cpp:695

_______________________________________________
Leocad mailing list
[email protected]
https://list.gerf.org/listinfo/leocad

Reply via email to