And with gdb:

xvii:~> gdb xmlcopyeditor
head: cannot open ‘xmlcopyeditor’ for reading: No such file or directory
GNU gdb (GDB) 7.6.2 (Debian 7.6.2-1.1+b1)
Copyright (C) 2013 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 /usr/bin/xmlcopyeditor...Reading symbols from 
/usr/lib/debug/.build-id/8f/a3da12ec4baa6e04bf55580f9bbf713a840ee3.debug...done.
done.
(gdb) break IA__gdk_window_process_updates
Function "IA__gdk_window_process_updates" not defined.
Make breakpoint pending on future shared library load? (y or [n]) y

Breakpoint 1 (IA__gdk_window_process_updates) pending.
(gdb) run
Starting program: /usr/bin/xmlcopyeditor 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
14:56:27: Debug: Failed to connect to session manager: SESSION_MANAGER 
environment variable not defined

Breakpoint 1, IA__gdk_window_process_updates (window=0x0, update_children=1)
    at /tmp/buildd/gtk+2.0-2.24.23/gdk/gdkwindow.c:5760
5760    /tmp/buildd/gtk+2.0-2.24.23/gdk/gdkwindow.c: No such file or directory.
(gdb) bt
#0  IA__gdk_window_process_updates (window=0x0, update_children=1)
    at /tmp/buildd/gtk+2.0-2.24.23/gdk/gdkwindow.c:5760
#1  0x00000000004b04bf in InsertPanel::update (this=0xa06040, 
    docParameter=docParameter@entry=0xa41990, parentParameter=..., 
    grandparentParameter=...) at insertpanel.cpp:146
#2  0x0000000000441244 in MyFrame::newDocument (this=this@entry=0x7f28d0, 
    s="", path=..., canSave=canSave@entry=false) at xmlcopyeditor.cpp:2920
#3  0x00000000004416b7 in MyFrame::newDocument (this=this@entry=0x7f28d0, 
    s=..., path=..., canSave=canSave@entry=false) at xmlcopyeditor.cpp:2871
#4  0x000000000045e7ca in MyFrame::MyFrame (this=0x7f28d0, title=..., 
    configParameter=<optimized out>, locale=..., 
    singleInstanceCheckParameter=<optimized out>, 
    langParameter=<optimized out>) at xmlcopyeditor.cpp:1036
#5  0x00000000004605fc in MyApp::OnInit (this=0x78a890)
    at xmlcopyeditor.cpp:383
#6  0x00007ffff5ef68ac in wxEntry(int&, wchar_t**) ()
   from /usr/lib/x86_64-linux-gnu/libwx_baseu-3.0.so.0
#7  0x000000000042bf72 in main (argc=1, argv=<optimized out>)
    at xmlcopyeditor.cpp:207
(gdb) continue 
Continuing.

(xmlcopyeditor:31776): Gdk-CRITICAL **: IA__gdk_window_process_updates: 
assertion 'GDK_IS_WINDOW (window)' failed

Breakpoint 1, IA__gdk_window_process_updates (window=0xa7a7e0, 
    update_children=1) at /tmp/buildd/gtk+2.0-2.24.23/gdk/gdkwindow.c:5760
5760    in /tmp/buildd/gtk+2.0-2.24.23/gdk/gdkwindow.c

See the window=0x0 at the first IA__gdk_window_process_updates call.

-- 
Vincent Lefèvre <[email protected]> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / AriC project (LIP, ENS-Lyon)


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to