This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/39291] _Unwind_Backtrace fails.
- From: "pluto at agmk dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 16 Mar 2009 21:24:23 -0000
- Subject: [Bug target/39291] _Unwind_Backtrace fails.
- References: <bug-39291-7667@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #6 from pluto at agmk dot net 2009-03-16 21:24 -------
i've tested u-dw2.exe on wine and got more info.
$ ./u-dw2.exe
err:process:start_wineboot failed to start wineboot, err 2
err:process:__wine_kernel_init boot event wait timed out
fixme:msvcrt:__lconv_init stub
foo:enter
bar:enter
zoo:enter
boom!
signalHandler:enter
lookupSymbol: 00401887
lookupSymbol: 0040166A
signalHandler:longjmp
err:seh:raise_exception Unhandled exception code c0000096 flags 0 addr 0x409461
$ i486-pc-mingw32-objdump -hw u-dw2.exe
u-dw2.exe: file format pei-i386
Sections:
Idx Name Size VMA LMA File off Algn
Flags
0 .text 000054c4 00401000 00401000 00000400 2**4 CONTENTS,
ALLOC, LOAD, READONLY, CODE, DATA
1 .data 00000030 00407000 00407000 00005a00 2**2 CONTENTS,
ALLOC, LOAD, DATA
2 .rdata 00000c28 00408000 00408000 00005c00 2**2 CONTENTS,
ALLOC, LOAD, READONLY, DATA
3 .bss 00000538 00409000 00409000 00000000 2**5 ALLOC
4 .idata 00000558 0040a000 0040a000 00006a00 2**2 CONTENTS,
ALLOC, LOAD, DATA
5 .CRT 00000034 0040b000 0040b000 00007000 2**2 CONTENTS,
ALLOC, LOAD, DATA
6 .tls 00000008 0040c000 0040c000 00007200 2**2 CONTENTS,
ALLOC, LOAD, DATA
the 0xc0000096 code means 'EXCEPTION_PRIV_INSTRUCTION'
and the 0x409461 points to the .bss section.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39291