Re: Missing backtrace when debugging a game

2011-04-23 Thread Eric Pouech

Le 23/04/2011 11:34, Jerome Leclanche a écrit :

I'm currently trying to debug http://bugs.winehq.org/show_bug.cgi?id=25977.

Even when running "winedbg bin/release/loader.exe", this is what happens:

Unhandled exception: page fault on read access to 0x in 32-bit
code (0x00365327).
Register dump:
  CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
  EIP:00365327 ESP:0033dd20 EBP:03d9 EFLAGS:00010246(  R- --  I  Z- -P- )
EBP has a "strange" value, so likely the current function has been 
compiled without frame pointer support

(or has been screwed up)
you need the debug info associated with that program to go further. do 
you have it ?

or does the exec contain FPO information (winedump could be handy here)

"reading" the stack shows that calling function is at 0x3670f9
so disas 0x3670f9 might give you better info

A+

--
Eric Pouech
"The problem with designing something completely foolproof is to underestimate the 
ingenuity of a complete idiot." (Douglas Adams)





Re: Missing backtrace when debugging a game

2011-04-23 Thread Stefan Dösinger
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


Am 23.04.2011 um 11:34 schrieb Jerome Leclanche:
> Any advice, or idea why this would happen?
For example the stack could be broken

> Furthermore, is it a bug with winedbg, and worth filing?
If you think it is some problem with the debugger you may have more luck with 
gdb. On OSX this sometimes gives more helpful output. But I am afraid you'll 
need other debugging techniques like logfiles.

-BEGIN PGP SIGNATURE-
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)

iQIcBAEBAgAGBQJNsqKRAAoJEN0/YqbEcdMwjHIP+wZc/5gVsQ/a7NpNHu4w0bcm
u7ZBMZFfa2vPFTj+FrvqCEI0YawIs7Jzu/f9mzslzKrAnp3Jj0u2ZnNClYOBeRSV
EE1b+R91hyeclW9CybmgFX+gfQQcZR1Mu+8qHs9Bi3RtDkoeQc5HEpa2Y6lpf5Zj
7zEDoXFoR1wKW0GF2TC8AIeDmRH9ZV1UYkSPtvrGH54hSHH0tW+QReg1oXlwitym
xvvqeBfvobOGSiC9faD6CG8R+YizDkUz6/4pjkV4B0qzpMEYn19f6cWRg32HduVh
gXZPmkvOZTMTaBVRarKXAkSlNy++5U9tiQcdY4DM1zS/SMVBHWSXOnHLsMpFNgEU
pJuSmBN3n0YJx2AcnVMNLO6UxkLCoyAF4GKhlfa74BNfQ5jNbdW4+MpiB/S+yIiC
55NIgXzh7b6k9iK1gJz8FAq/APIxNICKiOaoSiPX4NvTMqChZAZZ1akjJITbav/d
msUuL98uxRjfvxu4b7k5qDf1rfY8AhKEC3fTRxuKoGNaqAcgKmGFVYyCQ2yw12NW
pWugHQNgtxJU3pF7gc3DP2wEeQYZcq1gdkQs/NlftlWnKWuxcn1i+iEbfCjzBRcb
krads/XDe/w8OP1LJdtLhR9LCU27evL+9YQ5xTMBJ1A2QG6uS3fVy0AiiRdEHi0x
eN1II6SuucLuh3fdDB0w
=J71s
-END PGP SIGNATURE-




Missing backtrace when debugging a game

2011-04-23 Thread Jerome Leclanche
I'm currently trying to debug http://bugs.winehq.org/show_bug.cgi?id=25977.

Even when running "winedbg bin/release/loader.exe", this is what happens:

Unhandled exception: page fault on read access to 0x in 32-bit
code (0x00365327).
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00365327 ESP:0033dd20 EBP:03d9 EFLAGS:00010246(  R- --  I  Z- -P- )
 EAX: EBX: ECX:0018e268 EDX:0011
 ESI:0018e268 EDI:0016e560
Stack dump:
0x0033dd20:   0018e268 003670f9 0033dd9c
0x0033dd30:  0033fb68 0002002a 001712b0 0005
0x0033dd40:  100d2e46 00401920 0002002a 0033e39c
0x0033dd50:  0033ddc8 7edb2ff4  
0x0033dd60:    0690 041a
0x0033dd70:  002c  0001 
000c: sel=0067 base= limit= 16-bit rw-
Backtrace:
0x00365327: movl0x0(%eax),%ecx
Wine-dbg>bt
Backtrace:

Any advice, or idea why this would happen?
Furthermore, is it a bug with winedbg, and worth filing?



J. Leclanche