wine crashes on every win32 application (null ptr access early); winedbg adventures

Saulius Menkevičius saulius.menkevicius at gmail.com
Wed Nov 22 17:38:24 CST 2006


Hi,

Recently I got a problem that every app crashes on my system, like:

-- begin winedbg output --
bob at highland:~$ winedbg ~/bin/win32/mirc/mirc.exe
WineDbg starting on pid 0x12
First chance exception: page fault on read access to 0x00000000 in 
32-bit code (0x00000000).
Register dump:
  CS:0073 SS:007b DS:007b ES:007b FS:0033 GS:003b
  EIP:00000000 ESP:0034eb18 EBP:0034ec3c EFLAGS:00210216(   - 00 
-RIAP1)
  EAX:00000000 EBX:00000000 ECX:00000000 EDX:000000c8
  ESI:7c165cd0 EDI:00000000
Stack dump:
0x0034eb18:  7dcd7ffc 7c165cd0 7c16a430 7c16a430
0x0034eb28:  7c165cd0 7c167564 00000000 0034ec3c
0x0034eb38:  00000000 7deaf7d4 7c165cd0 0000005c
0x0034eb48:  00000000 7dcd778f 7c165cd0 7dcd7700
0x0034eb58:  00000001 7dcba235 7c165cd0 7c165cd0
0x0034eb68:  7c165cd0 7c066498 7c0f23c0 7d8d0000
Backtrace:
=>1 0x00000000 (0x0034ec3c)
   2 0x00000040 (0x00000002)
   3 0x00000000 (0x00000000)
0x00000000: addb        %al,0x0(%eax)
Wine-dbg>
-- end of winedbg --

I tried to remove wine configs, then recompile it from git, still the same.

As a separate issue while trying to debug, I find winedbg not acting 
according to the man page (either that or I'm a dork). Would like to try 
to digest the stack frames:

-- begin winedbg output --
Wine-dbg>l * 7dcd7ffc
syntax error
Wine-dbg>list * 7dcd7ffc
syntax error
Wine-dbg>list * 0x7dcd7ffc
syntax error
Wine-dbg>watch * 7dcd7ffc
Watchpoint 1 at 0x00000007
syntax error
Wine-dbg>
-- end winedbg output --

So the "watch * <addr>" is working (kinda) properly, but list * doesn't. 
Am I missing something?

Thanks



More information about the wine-devel mailing list