Re: seg fault produces stackdump with no stack trace

2008-08-04 Thread Steve Waldo
Christopher Faylor writes: > I just checked in a fix which should keep the stack trace going even > when it finds a return address of zero. That'll be great. Thanks much! --Steve -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problem

Re: seg fault produces stackdump with no stack trace

2008-08-01 Thread Steve Waldo
Brian Dessent dessent.net> writes: > (gdb) bt > #0 0x in ?? () > #1 0x00401052 in letsCrash () at tc.c:4 > #2 0x00401083 in main () at tc.c:9 > (gdb) Many thanks Brian! 'bt' was what I'd forgotten. Sorry about the newbie mistake - I haven't used gdb in ages. I'm actually using 'ddd'

Re: seg fault produces stackdump with no stack trace

2008-08-01 Thread Steve Waldo
Thanks to all for your prompt replies! Much appreciated. I'm amazed that the stack trace is so wimpy. All I did to trigger the example was to add a call to this function to intentionally crash: int letsCrash() { int (*myfunc)() = 0; return myfunc(); } With the debugger, it produces the fo

seg fault produces stackdump with no stack trace

2008-08-01 Thread Steve Waldo
Hello, I've seen other postings that show stackdump examples that include the expected list of addresses in the stack trace. I'm not getting that list. When my app gets a seg fault it produces the expected stackdump file: [1]- Segmentation fault (core dumped) ./ResourceMgr but the result