On Wed, Jan 19, 2011 at 1:38 PM, David Necas (Yeti) <[email protected]> wrote:
>    gdb /usr/bin/gwyddion
> →   break gdk_x_error
>    run --sync
>    bt
>

$ gdb /usr/bin/gwyddion
GNU gdb 6.8-debian
Copyright (C) 2008 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"...
(no debugging symbols found)
(gdb) break gdk_x_error
Function "gdk_x_error" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y
Breakpoint 1 (gdk_x_error) pending.
(gdb) run --sync
Starting program: /usr/bin/gwyddion --sync
(no debugging symbols found)

<snip>

(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 0x7fc855d27700 (LWP 6922)]
[Switching to Thread 0x7fc855d27700 (LWP 6922)]

Breakpoint 1, gdk_x_error (display=0x1dd8070, error=0x7fff5dd62e40) at
/tmp/buildd/gtk+2.0-2.12.12/gdk/x11/gdkmain-x11.c:613
613     /tmp/buildd/gtk+2.0-2.12.12/gdk/x11/gdkmain-x11.c: No such file or
directory.
        in /tmp/buildd/gtk+2.0-2.12.12/gdk/x11/gdkmain-x11.c
(gdb) bt
#0  gdk_x_error (display=0x1dd8070, error=0x7fff5dd62e40) at
/tmp/buildd/gtk+2.0-2.12.12/gdk/x11/gdkmain-x11.c:613
#1  0x00000036f8a4735c in _XError () from /usr/lib/libX11.so.6
#2  0x00000036f8a4f1b3 in _XReply () from /usr/lib/libX11.so.6
#3  0x0000003705c45aa6 in ?? () from /usr/lib/libGL.so.1
#4  0x0000003705c24706 in ?? () from /usr/lib/libGL.so.1
#5  0x0000003705c21486 in glXChooseVisual () from /usr/lib/libGL.so.1
#6  0x00000036ff8440cc in ?? () from /usr/lib/libgdkglext-x11-1.0.so.0
#7  0x00000036ff8281ef in ?? () from /usr/lib/libgdkglext-x11-1.0.so.0
#8  0x00000036ff828317 in ?? () from /usr/lib/libgdkglext-x11-1.0.so.0
#9  0x0000003704e461a0 in gwy_widgets_gl_init () from /usr/lib/libgwydgets2.so.0
#10 0x00000036fe83dea4 in gwy_app_gl_init () from /usr/lib/libgwyapp2.so.0
#11 0x000000000040b8e4 in ?? ()
#12 0x000000000040ab41 in main ()
(gdb)

------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Gwyddion-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gwyddion-users

Reply via email to