This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

seg fault in cygwin1.dll during gdb session


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

Attachment: tree.c
Description: Binary data

Attachment: cygcheck.out
Description: Binary data

--
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/

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]