Hi,

As said by JazzyNico in the following bug reports, unfortunately gdb is currently broken with the trunk version...
https://bugs.launchpad.net/inkscape/+bug/965322

2012/4/25 mathog <mathog@caltech.edu>
The debugging tips for windows here:

http://wiki.inkscape.org/wiki/index.php/Debugging_Inkscape#Debugging_Tips_for_Windows

gives this example (extraneous text removed, program output in []):

gdb
file inkscape.exe inkscape.dbg
run Tekening.svg
[  Program received signal SIGSEGV, Segmentation fault.
   0x005c94ec in Inkscape::UI::Widget::Scalar::setValue () ]
bt
[  #0  0x005c94ec in Inkscape::UI::Widget::Scalar::setValue ()
   #1  0x0044fc11 in Inkscape::CanvasXYGrid::readRepr ()
   #2  0x0044de22 in Inkscape::CanvasXYGrid::onReprAttrChanged () ]

except that is NOT what I see on bt. What I see is always something
like this:

(gdb) bt
#0  0x7c912669 in stricmp () from C:\WINDOWS\system32\ntdll.dll
#1  0x7c911649 in ntdll!RtlInitializeHandleTable () from
C:\WINDOWS\system32\ntdll.dll
#2  0x7c91911f in ntdll!RtlRealPredecessor () from
C:\WINDOWS\system32\ntdll.dll
#3  0x044bc000 in ?? ()
#4  0x00016000 in ?? ()
#5  0x000000f7 in ?? ()
#6  0x7c912482 in stricmp () from C:\WINDOWS\system32\ntdll.dll
#7  0x77c2c3c9 in msvcrt!free () from C:\WINDOWS\system32\msvcrt.dll
#8  0x003f0000 in ?? ()
#9  0x00000000 in ?? ()
(gdb)

Which is pretty useless.  The Tips says that compiling with -g is not
required.  Is there some
magic gdb incantation that must be applied to enable bt to show
something useful, specifically, the
names of the methods?

Thank you,

David Mathog
mathog@caltech.edu
Manager, Sequence Analysis Facility, Biology Division, Caltech

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and
threat landscape has changed and how IT managers can respond. Discussions
will include endpoint security, mobile security and the latest in malware
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
Inkscape-devel mailing list
Inkscape-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/inkscape-devel