seg fault in cygwin1.dll during gdb session

Dierk Bolten dbolten@web.de
Fri Feb 3 13:20:00 GMT 2006


Hi!

While playing around with an example file of the libxml2 library (2.6.22-1), I ran into problems using the gdb debugger (I used the ddd and insight front-end, but the problem also comes up when invoking gdb (GNU gdb 6.3.50_2004-12-28-cvs (cygwin-special)) directly). The example file (tree.c attached) was compiled using:

gcc `xml2-config --cflags` -g -o tree tree.c `xml2-config --libs` 


when I run tree.exe on an example xml file inside bash it works fine, but when 
I start the program inside gdb (or ddd), gdb receives a sig fault


Program received signal SIGSEGV, Segmentation fault.
0x610ae938 in pthread_key_create () from /usr/bin/cygwin1.dll


at line 82

doc = xmlReadFile(argv[1], NULL, 0);

Does somebody have a clue what is going on? Any help is much appreciated!
Thanks,
Dierk



______________________________________________________________________
XXL-Speicher, PC-Virenschutz, Spartarife & mehr: Nur im WEB.DE Club!		
Jetzt gratis testen! http://freemail.web.de/home/landingpad/?mc=021130

-------------- next part --------------
A non-text attachment was scrubbed...
Name: tree.c
Type: application/octet-stream
Size: 2739 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060203/04c65992/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cygcheck.out
Type: application/octet-stream
Size: 35343 bytes
Desc: not available
URL: <http://cygwin.com/pipermail/cygwin/attachments/20060203/04c65992/attachment-0001.obj>
-------------- next part --------------
--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/


More information about the Cygwin mailing list