http://bugs.winehq.org/show_bug.cgi?id=2146
Summary: SHELL_GetPathFromIDListW broken Product: Wine Version: 20040309 Platform: Other OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-winelib AssignedTo: wine-bugs@winehq.org ReportedBy: mmokrejs@natur.cuni.cz
I wanted to install the unicows.dll file. Get the exe fiel from http://www.microsoft.com/downloads/details.aspx?FamilyId=73BA7BD7-ED06-4F0D-... and execute it, browse to c:\Windows\System, after pressing OK you get this crash:
$ wine ~/unicows.exe 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 0x4000c1f0 (_end+0x3fef9ce0) No debug information in ELF '/usr/lib/wine/lib/libwine.so.1' (0x40016000) No debug information in ELF '/lib/libpthread.so.0' (0x4004b000) No debug information in ELF '/lib/libc.so.6' (0x4009c000) No debug information in ELF '/lib/libdl.so.2' (0x401ce000) No debug information in ELF '/lib/libm.so.6' (0x401d2000) No debug information in ELF '/lib/ld-linux.so.2' (0x40000000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/ntdll.dll.so' (0x401f4000) No debug information in ELF '/usr/lib/wine/lib/libwine_unicode.so.1' (0x40256000) No debug information in ELF '/lib/libnss_compat.so.2' (0x40030000) No debug information in ELF '/lib/libnsl.so.1' (0x40366000) No debug information in ELF '/lib/libnss_nis.so.2' (0x40038000) No debug information in ELF '/lib/libnss_files.so.2' (0x40041000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/kernel32.dll.so' (0x40490000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/advapi32.dll.so' (0x408c0000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/gdi32.dll.so' (0x408f2000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/user32.dll.so' (0x40970000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/comctl32.dll.so' (0x40aac000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/version.dll.so' (0x40b57000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/lz32.dll.so' (0x40b71000) Unsupported debug information in ELF '/usr/X11R6/lib/libfreetype.so.6' (0x40ba4000) Unsupported debug information in ELF '/usr/X11R6/lib/libfontconfig.so.1' (0x40bf6000) Unsupported debug information in ELF '/usr/X11R6/lib/libexpat.so.0' (0x40c1e000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/x11drv.dll.so' (0x40c41000) No debug information in ELF '/usr/X11R6/lib/libSM.so.6' (0x40351000) No debug information in ELF '/usr/X11R6/lib/libICE.so.6' (0x40cb1000) No debug information in ELF '/usr/X11R6/lib/libXxf86dga.so.1' (0x4035a000) No debug information in ELF '/usr/X11R6/lib/libXxf86vm.so.1' (0x40cc8000) No debug information in ELF '/usr/X11R6/lib/libXrandr.so.2' (0x40362000) No debug information in ELF '/usr/X11R6/lib/libXrender.so.1' (0x40cce000) No debug information in ELF '/usr/X11R6/lib/libXv.so.1' (0x4037b000) No debug information in ELF '/usr/X11R6/lib/libXext.so.6' (0x40cd6000) No debug information in ELF '/usr/X11R6/lib/libX11.so.6' (0x40ce6000) No debug information in ELF '/usr/X11R6/lib/libGL.so.1' (0x40dc6000) No debug information in ELF '/usr/X11R6/lib/libXcursor.so.1' (0x40e3a000) No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2' (0x40b87000) No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2' (0x40e44000) No debug information in ELF '/usr/lib/gconv/ISO8859-2.so' (0x40b92000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/imm32.dll.so' (0x40e61000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/shell32.dll.so' (0x40e7e000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/ole32.dll.so' (0x40ef4000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/rpcrt4.dll.so' (0x40f69000) Loaded debug information from ELF '/usr/lib/wine/lib/wine/shlwapi.dll.so' (0x40fb2000) No debug information in 32bit DLL 'H:\unicows.exe' (0x1000000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x40210000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0x404c0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0x408d0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0x40910000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x40990000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMCTL32.DLL' (0x40ac0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\LZ32.DLL' (0x40b80000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\VERSION.DLL' (0x40b60000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0x40c50000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\IMM32.DLL' (0x40e70000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\RPCRT4.DLL' (0x40f80000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLE32.DLL' (0x40f10000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHLWAPI.DLL' (0x40fd0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHELL32.DLL' (0x40ea0000) Unhandled exception: page fault on write access to 0x00000000 in 32-bit code (0x40eb7311). In 32-bit mode. 0x40eb7311 (SHELL_GetPathFromIDListW+0x21 [pidl.c:1377] in SHELL32.DLL): movw $0x0,0x0(%eax) Unable to open file /var/tmp/portage/wine-20040309/work/wine-20040309/dlls/shell32/pidl.c Wine-dbg> Wine-dbg>where Backtrace: =>0 0x40eb7311 (SHELL_GetPathFromIDListW+0x21(pidl=0x403cd710, pszPath=0x0, uOutSize=0x104) [pidl.c:1377] in SHELL32.DLL) (ebp=408bf288) 1 0x40eb7570 (SHGetPathFromIDListW+0x40(pidl=0x403cd710, pszPath=0x0) [pidl.c:1447] in SHELL32.DLL) (ebp=408bf2a4) 2 0x40eab763 (BrsFolderDlgProc+0x173(hWnd=0x10027, msg=0x111, wParam=0x1, lParam=0x10028) [brsfolder.c:395] in SHELL32.DLL) (ebp=408bf2d8) 3 0x40a0a87f (WINPROC_wrapper+0x17 in USER32.DLL) (ebp=408bf2fc) 4 0x40a0a8fb (WINPROC_CallWndProc+0x6b(proc=0x40eab5f0, hwnd=0x10027, msg=0x111, wParam=0x1, lParam=0x10028) [winproc.c:230] in USER32.DLL) (ebp=408bf330) 5 0x40a11810 (CallWindowProcW+0xc0(func=0x40a9b228, hwnd=0x10027, msg=0x111, wParam=0x1, lParam=0x10028) [winproc.c:3144] in USER32.DLL) (ebp=408bf360) 6 0x409dfc9a (DefDlgProcW+0x6a(hwnd=0x10027, msg=0x111, wParam=0x1, lParam=0x10028) [defdlg.c:407] in USER32.DLL) (ebp=408bf38c) 7 0x40a0a87f (WINPROC_wrapper+0x17 in USER32.DLL) (ebp=408bf3b0) 8 0x40a0a8fb (WINPROC_CallWndProc+0x6b(proc=0x409dfc30, hwnd=0x10027, msg=0x111, wParam=0x1, lParam=0x10028) [winproc.c:230] in USER32.DLL) (ebp=408bf3e4) 9 0x40a11810 (CallWindowProcW+0xc0(func=0x409dfc30, hwnd=0x10027, msg=0x111, wParam=0x1, lParam=0x10028) [winproc.c:3144] in USER32.DLL) (ebp=408bf414) 10 0x40a23a00 (call_window_proc+0xe0(hwnd=0x10027, msg=0x111, wparam=0x1, lparam=0x10028, unicode=0x1, same_thread=0x1) [message.c:1450] in USER32.DLL) (ebp=408bf470) 11 0x40a24851 (SendMessageTimeoutW+0x161(hwnd=0x10027, msg=0x111, wparam=0x1, lparam=0x10028, flags=0x0, timeout=0xffffffff, res_ptr=0x408bf4f8) [message.c:1913] in USER32.DLL) (ebp=408bf4d4) 12 0x40a24b21 (SendMessageW+0x51(hwnd=0x10027, msg=0x111, wparam=0x1, lparam=0x10028) [message.c:1994] in USER32.DLL) (ebp=408bf500) 13 0x409adde0 (ButtonWndProc_common+0xb90(hWnd=0x10028, uMsg=0x202, wParam=0x0, lParam=0x14001a, unicode=0x1) [button.c:395] in USER32.DLL) (ebp=408bf5e0) 14 0x409ae376 (ButtonWndProcW+0x66(hWnd=0x10028, uMsg=0x202, wParam=0x0, lParam=0x14001a) [button.c:480] in USER32.DLL) (ebp=408bf604) 15 0x40a0a87f (WINPROC_wrapper+0x17 in USER32.DLL) (ebp=408bf628) 16 0x40a0a8fb (WINPROC_CallWndProc+0x6b(proc=0x409ae310, hwnd=0x10028, msg=0x202, wParam=0x0, lParam=0x14001a) [winproc.c:230] in USER32.DLL) (ebp=408bf65c) 17 0x40a11810 (CallWindowProcW+0xc0(func=0x40a9ada8, hwnd=0x10028, msg=0x202, wParam=0x0, lParam=0x14001a) [winproc.c:3144] in USER32.DLL) (ebp=408bf68c) 18 0x409eef2b (DispatchMessageW+0xbb(msg=0x408bf718) [message.c:889] in USER32.DLL) (ebp=408bf6c0) 19 0x409e40f8 (.L322+0x19 [dialog.c] in USER32.DLL) (ebp=408bf6f4) 20 0x409e3751 (DIALOG_DoDialogBox+0x121(hwnd=0x10027, owner=0x20021) [dialog.c:790] in USER32.DLL) (ebp=408bf744) 21 0x409e392d (DialogBoxParamW+0x9d(hInst=0x40ea0000, name=0x40ef10c0, owner=0x20021, dlgProc=0x40eab5f0, param=0x408bf79c) [dialog.c:832] in USER32.DLL) (ebp=408bf774) 22 0x40eabc56 (SHELL32.DLL.SHBrowseForFolder+0xf6 in SHELL32.DLL) (ebp=408bf7c8) 23 0x010047a7 (unicows.exe..text+0x37a7 in unicows.exe) (ebp=408bf814) 24 0x01004ee3 (unicows.exe..text+0x3ee3 in unicows.exe) (ebp=408bf834) 25 0x40a0a87f (WINPROC_wrapper+0x17 in USER32.DLL) (ebp=408bf858) 26 0x40a0a8fb (WINPROC_CallWndProc+0x6b(proc=0x1004e56, hwnd=0x20021, msg=0x111, wParam=0x836, lParam=0x20024) [winproc.c:230] in USER32.DLL) (ebp=408bf88c) 27 0x40a1172d (CallWindowProcA+0xed(func=0x40a9b204, hwnd=0x20021, msg=0x111, wParam=0x836, lParam=0x20024) [winproc.c:3101] in USER32.DLL) (ebp=408bf8bc) 28 0x409dfa9a (DefDlgProcA+0x6a(hwnd=0x20021, msg=0x111, wParam=0x836, lParam=0x20024) [defdlg.c:354] in USER32.DLL) (ebp=408bf8e8) 29 0x40a0a87f (WINPROC_wrapper+0x17 in USER32.DLL) (ebp=408bf90c) 30 0x40a0a8fb (WINPROC_CallWndProc+0x6b(proc=0x409dfa30, hwnd=0x20021, msg=0x111, wParam=0x836, lParam=0x20024) [winproc.c:230] in USER32.DLL) (ebp=408bf940) 31 0x40a11188 (WINPROC_CallProc32WTo32A+0xa8(func=0x409dfa30, hwnd=0x20021, msg=0x111, wParam=0x836, lParam=0x20024) [winproc.c:2920] in USER32.DLL) (ebp=408bf974) 32 0x40a1183d (CallWindowProcW+0xed(func=0x40a9ae6a, hwnd=0x20021, msg=0x111, wParam=0x836, lParam=0x20024) [winproc.c:3140] in USER32.DLL) (ebp=408bf9a4) 33 0x40a23a00 (call_window_proc+0xe0(hwnd=0x20021, msg=0x111, wparam=0x836, lparam=0x20024, unicode=0x1, same_thread=0x1) [message.c:1450] in USER32.DLL) (ebp=408bfa00) 34 0x40a24851 (SendMessageTimeoutW+0x161(hwnd=0x20021, msg=0x111, wparam=0x836, lparam=0x20024, flags=0x0, timeout=0xffffffff, res_ptr=0x408bfa88) [message.c:1913] in USER32.DLL) (ebp=408bfa64) 35 0x40a24b21 (SendMessageW+0x51(hwnd=0x20021, msg=0x111, wparam=0x836, lparam=0x20024) [message.c:1994] in USER32.DLL) (ebp=408bfa90) 36 0x409adde0 (ButtonWndProc_common+0xb90(hWnd=0x20024, uMsg=0x202, wParam=0x0, lParam=0x10001b, unicode=0x0) [button.c:395] in USER32.DLL) (ebp=408bfb70) 37 0x409ae3e3 (ButtonWndProcA+0x63(hWnd=0x20024, uMsg=0x202, wParam=0x0, lParam=0x10001b) [button.c:490] in USER32.DLL) (ebp=408bfb94) 38 0x40a0a87f (WINPROC_wrapper+0x17 in USER32.DLL) (ebp=408bfbb8) 39 0x40a0a8fb (WINPROC_CallWndProc+0x6b(proc=0x409ae380, hwnd=0x20024, msg=0x202, wParam=0x0, lParam=0x10001b) [winproc.c:230] in USER32.DLL) (ebp=408bfbec) 40 0x40a11188 (WINPROC_CallProc32WTo32A+0xa8(func=0x409ae380, hwnd=0x20024, msg=0x202, wParam=0x0, lParam=0x10001b) [winproc.c:2920] in USER32.DLL) (ebp=408bfc20) 41 0x40a1183d (CallWindowProcW+0xed(func=0x40a9ad84, hwnd=0x20024, msg=0x202, wParam=0x0, lParam=0x10001b) [winproc.c:3140] in USER32.DLL) (ebp=408bfc50) 42 0x409eef2b (DispatchMessageW+0xbb(msg=0x408bfcdc) [message.c:889] in USER32.DLL) (ebp=408bfc84) 43 0x409e40f8 (.L322+0x19 [dialog.c] in USER32.DLL) (ebp=408bfcb8) 44 0x409e3751 (DIALOG_DoDialogBox+0x121(hwnd=0x20021, owner=0x0) [dialog.c:790] in USER32.DLL) (ebp=408bfd08) 45 0x409e39a9 (DialogBoxIndirectParamAorW+0x69(hInstance=0x1000000, template=0x100fbc8, owner=0x0, dlgProc=0x1004e56, param=0x0, flags=0x2) [dialog.c:845] in USER32.DLL) (ebp=408bfd34) 46 0x409e3a04 (DialogBoxIndirectParamA+0x44(hInstance=0x1000000, template=0x100fbc8, owner=0x0, dlgProc=0x1004e56, param=0x0) [dialog.c:854] in USER32.DLL) (ebp=408bfd58) 47 0x010041a3 (unicows.exe..text+0x31a3 in unicows.exe) (ebp=408bfd80) 48 0x010058f3 (unicows.exe..text+0x48f3 in unicows.exe) (ebp=408bfeb0) 49 0x01005947 (unicows.exe..text+0x4947 in unicows.exe) (ebp=408bff20) 50 0x4050ba87 (start_process+0xe7(arg=0x0) [process.c:763] in KERNEL32.DLL) (ebp=408bfff4) 51 0x4001a8b1 (wine_switch_to_stack+0x11 in libwine.so.1) (ebp=00000000)
Wine-dbg>