[Bug 2061] New: "Unhandled exception" when running nearly any EXE

Wine Bugs wine-bugs at winehq.org
Fri Feb 27 03:26:43 CST 2004


http://bugs.winehq.org/show_bug.cgi?id=2061

           Summary: "Unhandled exception" when running nearly any EXE
           Product: Wine
           Version: 20040213
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: critical
          Priority: P2
         Component: wine-kernel
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: crazycomputers at yahoo.com
                CC: crazycomputers at yahoo.com


(I'm not sure if this is the Wine kernel causing this, but none of the others 
looked promising.)

Except for console EXEs compiled with VC++, most everything else causes an 
exception, including the lightweight Windows Calculator.  Here is Wine's output:

[chris at pyromaniacs windows]$ wine calc.exe
fixme:thunk:CommonUnimpStub generic stub: ?
fixme:thunk:CommonUnimpStub generic stub: ?
wine: Unhandled exception (thread 0009), starting debugger...
WineDbg starting on pid 8
Can't find file for ELF 'wine-kthread' ((nil))
No debug information in ELF 'wine-pthread' ((nil))
Breakpoint 1 at 0x4000d1b0 (_end+0x3fefadd0)
No debug information in ELF '/usr/lib/libwine.so.1' (0x4002c000)
No debug information in ELF '/lib/i686/libpthread.so.0' (0x40045000)
No debug information in ELF '/lib/i686/libc.so.6' (0x40096000)
No debug information in ELF '/lib/libdl.so.2' (0x401ce000)
No debug information in ELF '/lib/i686/libm.so.6' (0x401d2000)
No debug information in ELF '/lib/ld-linux.so.2' (0x40000000)
Loaded debug information from ELF '/usr/lib/wine/ntdll.dll.so' (0x401f4000)
No debug information in ELF '/usr/lib/libwine_unicode.so.1' (0x40261000)
No debug information in ELF '/lib/libnss_files.so.2' (0x40018000)
Loaded debug information from ELF '/usr/lib/wine/kernel32.dll.so' (0x40470000)
No debug information in ELF '/usr/lib/wine/gdi32.dll.so' (0x408d0000)
No debug information in ELF '/usr/lib/wine/user32.dll.so' (0x4094e000)
No debug information in ELF '/usr/lib/libfreetype.so.6' (0x40a97000)
No debug information in 32bit DLL 'C:\windows\calc.exe' (0x1000000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM32\NTDLL.DLL' (0x40210000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM32\KERNEL32.DLL' 
(0x404a0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0xbfe80000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM32\GDI32.DLL' (0x408f0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM32\USER32.DLL' (0x40970000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSVCRT.DLL' (0x78000000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHLWAPI.DLL' (0x70bd0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMCTL32.DLL' (0xbfb70000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHELL32.DLL' (0x7fcb0000)
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code 
(0x4091cb90).
In 32-bit mode.
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:1007 GS:0007
 EIP:4091cb90 ESP:408cf9f8 EBP:408cfd60 EFLAGS:00010246(  R- 00  I  Z- -P1 )
 EAX:00000000 EBX:4093dc54 ECX:40384b08 EDX:00000000
 ESI:408cfa1c EDI:00000000
Stack dump:
0x408cf9f8 (_end+0x34cd38):  00000000 408cfa24 408cfa20 408cfa1c
0x408cfa08 (_end+0x34cd48):  408cfa30 40384b70 408cfb44 4093d6c8
0x408cfa18 (_end+0x34cd58):  00000001 000010c8 408cfa40 806e3a50
0x408cfa28 (_end+0x34cd68):  000010c8 40371d28 00000030 6e69772f
0x408cfa38 (_end+0x34cd78):  69772f63 776f646e 6f662f73 0073746e
0x408cfa48 (_end+0x34cd88):  00000000 00000000 00000000 00000000
0x408cfa58 (_end+0x34cd98):

0200: sel=1007 base=40016000 limit=00001f83 32-bit rw-
Backtrace:
=>0 0x4091cb90 (WineEngInit+0x6b0 in GDI32.DLL) (ebp=408cfd60)
  1 0x4090cffb (GDI_Init+0x2ab in GDI32.DLL) (ebp=408cfd7c)
  2 0x40920e1c (DllMain+0x28 in GDI32.DLL) (ebp=408cfd88)
  3 0x408f457d (GDI32.DLL.EntryPoint+0x5d in GDI32.DLL) (ebp=408cfda8)
  4 0x4022c6ff (MODULE_InitDLL+0x12f [loader.c] in NTDLL.DLL) (ebp=408cfe10)
  5 0x4022c867 (process_attach+0xc7 [loader.c] in NTDLL.DLL) (ebp=408cfe34)
  6 0x4022c83f (process_attach+0x9f [loader.c] in NTDLL.DLL) (ebp=408cfe54)
  7 0x4022c83f (process_attach+0x9f [loader.c] in NTDLL.DLL) (ebp=408cfe74)
  8 0x4022eaef (LdrInitializeThunk+0x37f in NTDLL.DLL) (ebp=408cff20)
  9 0x404edc63 (start_process+0x43 [process.c] in KERNEL32.DLL) (ebp=408cfff4)
  10 0x40030839 (wine_switch_to_stack+0x11 in libwine.so.1) (ebp=00000000)

0x4091cb90 (WineEngInit+0x6b0 in GDI32.DLL): cmpw       $0,0x0(%edi)
Modules:
Address                 Module  Name
0x01000000-01017000     (PE)    C:\windows\calc.exe
0x40210000-40261000     (PE)    C:\WINDOWS\SYSTEM32\NTDLL.DLL
0x404a0000-40583000     (PE)    C:\WINDOWS\SYSTEM32\KERNEL32.DLL
0x408f0000-4094e000     (PE)    C:\WINDOWS\SYSTEM32\GDI32.DLL
0x40970000-40a81000     (PE)    C:\WINDOWS\SYSTEM32\USER32.DLL
0x70bd0000-70c33400     (PE)    C:\WINDOWS\SYSTEM\SHLWAPI.DLL
0x78000000-78044000     (PE)    C:\WINDOWS\SYSTEM\MSVCRT.DLL
0x7fcb0000-7fe06000     (PE)    C:\WINDOWS\SYSTEM\SHELL32.DLL
0xbfb70000-bfbfd400     (PE)    C:\WINDOWS\SYSTEM\COMCTL32.DLL
0xbfe80000-bfe90000     (PE)    C:\WINDOWS\SYSTEM\ADVAPI32.DLL
Threads:
process  tid      prio
00000008 (D) C:\windows\calc.exe
        00000009    0 <==
WineDbg terminated on pid 8



The output is very similar for other programs.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list