Winamp crashes on Add File in SHGetFileInfoW

Questions about Wine on Linux
Locked
averageradical
Newbie
Newbie
Posts: 3
Joined: Fri Aug 04, 2017 1:40 am

Winamp crashes on Add File in SHGetFileInfoW

Post by averageradical »

I've been using Winamp for years (go MilkDrop!) but I just upgraded to Fedora 26 which upgraded wine and Winamp started crashing. I experienced this before and simply downgraded wine but Fedora no longer makes the older versions available that work around the issue. So I went ahead and compiled from git source and launched winedbg to capture the crash. Any ideas how to fix?

Code: Select all

Unhandled exception: page fault on read access to 0x00000000 in 32-bit code (0x00000000).
fixme:dbghelp_dwarf:dwarf2_parse_const_type Unsupported children
Register dump:
 CS:0023 SS:002b DS:002b ES:002b FS:0063 GS:006b
 EIP:00000000 ESP:00966b3c EBP:00966b88 EFLAGS:00010216(  R- --  I   -A-P- )
 EAX:00000000 EBX:7e751000 ECX:00966b40 EDX:00000002
 ESI:00000001 EDI:00966bdc
Stack dump:
0x00966b3c:  7e6ceb58 02015b78 7e71c454 00966bdc
0x00966b4c:  7e6cead0 02018108 02018108 00000002
0x00966b5c:  7e71c454 02018108 7bc357ae 02015b78
0x00966b6c:  02016900 00966b78 7bc357ae 00966ba0
0x00966b7c:  7e751000 00000109 0096728c 00967238
0x00966b8c:  7e6b8334 00966b98 7bc357c0 00966bb8
Backtrace:
=>0 0x00000000 (0x00966b88)
  1 0x7e6b8334 SHGetFileInfoW+0x90f(path=<couldn't compute location>, dwFileAttributes=<couldn't compute location>, psfi=<couldn't compute location>, sizeofpsfi=<couldn't compute location>, flags=<couldn't compute location>) [/work/wine/src/dlls/shell32/shell32_main.c:662] in shell32 (0x00967238)
  2 0x7e6b8895 SHGetFileInfoA+0x88(path=<couldn't compute location>, dwFileAttributes=<couldn't compute location>, psfi=<couldn't compute location>, sizeofpsfi=<couldn't compute location>, flags=<couldn't compute location>) [/work/wine/src/dlls/shell32/shell32_main.c:797] in shell32 (0x00967558)
  3 0xf645f249 FILEDLG95_InitControls+0x2d9(hwnd=<is not available>) [/work/wine/src/dlls/comdlg32/filedlg.c:1468] in comdlg32 (0x00967ce8)
  4 0xf6462c14 FileOpenDlgProc95+0x130(hwnd=<couldn't compute location>, uMsg=<couldn't compute location>, wParam=<couldn't compute location>, lParam=<couldn't compute location>) [/work/wine/src/dlls/comdlg32/filedlg.c:1200] in comdlg32 (0x00967d58)
  5 0x7e9d05ba WINPROC_wrapper+0x19() in user32 (0x00967d98)
  6 0x7e9d0ceb call_dialog_proc+0x46(hwnd=0x20040, msg=0x110, wp=0x202e6, lp=0x9684c8, result=0x967e1c, arg=0xf6462ae3) [/work/wine/src/dlls/user32/winproc.c:266] in user32 (0x00967de8)
  7 0x7e9d2e21 WINPROC_CallDlgProcW+0xe2(func=0xffff0056, hwnd=0x20040, msg=0x110, wParam=0x202e6, lParam=0x9684c8) [/work/wine/src/dlls/user32/winproc.c:1055] in user32 (0x00967e38)
  8 0x7e96fc2c DefDlgProcW+0x78(hwnd=<couldn't compute location>, msg=<couldn't compute location>, wParam=<couldn't compute location>, lParam=<couldn't compute location>) [/work/wine/src/dlls/user32/defdlg.c:430] in user32 (0x00967e88)                                                                                                                                                                                           
  9 0x7e9d05ba WINPROC_wrapper+0x19() in user32 (0x00967ec8)                                                                                                                                                       
  10 0x7e9d0bf2 call_window_proc+0x49(hwnd=0x20040, msg=0x110, wp=0x202e6, lp=0x9684c8, result=0x967fbc, arg=0x7e96fbb3) [/work/wine/src/dlls/user32/winproc.c:245] in user32 (0x00967f18)                         
  11 0x7e9d2936 WINPROC_call_window+0xca(hwnd=0x20040, msg=0x110, wParam=0x202e6, lParam=0x9684c8, result=0x967fbc, unicode=0x1, mapping=9863296) [/work/wine/src/dlls/user32/winproc.c:901] in user32 (0x00967f68)
  12 0x7e99d866 call_window_proc+0x5f(hwnd=0x20040, msg=0x110, wparam=0x202e6, lparam=0x9684c8, unicode=0x1, same_thread=0x1, mapping=9863296) [/work/wine/src/dlls/user32/message.c:2223] in user32 (0x00967fd8)  
  13 0x7e9a1101 send_message+0x15e(info=0x968030, res_ptr=0x96805c, unicode=0x1) [/work/wine/src/dlls/user32/message.c:3268] in user32 (0x00968028)                                                                
  14 0x7e9a1268 SendMessageW+0x53(hwnd=<couldn't compute location>, msg=<couldn't compute location>, wparam=<couldn't compute location>, lparam=<couldn't compute location>) [/work/wine/src/dlls/user32/message.c:3468] in user32 (0x00968068)                                                                                                                                                                                       
fixme:dbghelp_dwarf:compute_location Only supporting one reg (ebp/22 -> -2)                                                                                                                                        
  15 0x7e975149 DIALOG_CreateIndirect+0x876(hInst=0xf6450000, dlgTemplate=0xf6503990, owner=<is not available>, dlgProc=0xf6462ae3, param=0x9684c8, unicode=0x1, modal_owner=0x968378) [/work/wine/src/dlls/user32/dialog.c:679] in user32 (0x00968328)
  16 0x7e975b78 DialogBoxIndirectParamAorW+0x39(hInstance=<couldn't compute location>, template=<couldn't compute location>, owner=<couldn't compute location>, dlgProc=<couldn't compute location>, param=<couldn't compute location>, flags=<couldn't compute location>) [/work/wine/src/dlls/user32/dialog.c:871] in user32 (0x00968358)
  17 0x7e975c13 DialogBoxIndirectParamW+0x31(hInstance=<couldn't compute location>, template=<couldn't compute location>, owner=<couldn't compute location>, dlgProc=<couldn't compute location>, param=<couldn't compute location>) [/work/wine/src/dlls/user32/dialog.c:892] in user32 (0x00968398)
  18 0xf645d72a GetFileName95+0x37c(fodInfos=0x9684c8) [/work/wine/src/dlls/comdlg32/filedlg.c:306] in comdlg32 (0x00968498)
  19 0xf645d82a GetFileDialog95+0x58(info=0x9684c8, dlg_type=0x2) [/work/wine/src/dlls/comdlg32/filedlg.c:464] in comdlg32 (0x009684b8)
  20 0xf6463380 GetOpenFileNameW+0x6d(ofn=<couldn't compute location>) [/work/wine/src/dlls/comdlg32/filedlg.c:4066] in comdlg32 (0x00968568)
  21 0x0041532b in winamp (+0x1532a) (0x00968b20)
  22 0x0044bd1d in winamp (+0x4bd1c) (0x0096c668)
  23 0x7e9d05ba WINPROC_wrapper+0x19() in user32 (0x0096c698)
  24 0x7e9d0bf2 call_window_proc+0x49(hwnd=0x10116, msg=0x111, wp=0x408, lp=0, result=0x96c72c, arg=0x44b77f) [/work/wine/src/dlls/user32/winproc.c:245] in user32 (0x0096c6e8)
  25 0x7e9d2b31 CallWindowProcA+0x8f(func=<couldn't compute location>, hwnd=<couldn't compute location>, msg=<couldn't compute location>, wParam=<couldn't compute location>, lParam=<couldn't compute location>) [/work/wine/src/dlls/user32/winproc.c:964] in user32 (0x0096c748)
  26 0x1000154c in unicodetaskbarfix.w5s (+0x154b) (0x0096c76c)
  27 0x07bde60b in ml_local (+0x2e60a) (0x009729f8)
  28 0x7e9d05ba WINPROC_wrapper+0x19() in user32 (0x00972a28)
  29 0x7e9d0bf2 call_window_proc+0x49(hwnd=0x10116, msg=0x111, wp=0x408, lp=0, result=0x972abc, arg=0x7bde3e8) [/work/wine/src/dlls/user32/winproc.c:245] in user32 (0x00972a78)
  30 0x7e9d2c0e CallWindowProcW+0x92(func=<couldn't compute location>, hwnd=<couldn't compute location>, msg=<couldn't compute location>, wParam=<couldn't compute location>, lParam=<couldn't compute location>) [/work/wine/src/dlls/user32/winproc.c:990] in user32 (0x00972ad8)
  31 0x07c618e0 in ml_playlists (+0x118df) (0x00972bc8)
  32 0x7e9d05ba WINPROC_wrapper+0x19() in user32 (0x00972bf8)
  33 0x7e9d0bf2 call_window_proc+0x49(hwnd=0x10116, msg=0x111, wp=0x408, lp=0, result=0x972c8c, arg=0x7c6171b) [/work/wine/src/dlls/user32/winproc.c:245] in user32 (0x00972c48)
  34 0x7e9d2c0e CallWindowProcW+0x92(func=<couldn't compute location>, hwnd=<couldn't compute location>, msg=<couldn't compute location>, wParam=<couldn't compute location>, lParam=<couldn't compute location>) [/work/wine/src/dlls/user32/winproc.c:990] in user32 (0x00972ca8)
  35 0x01c8ae3c in gen_jumpex (+0xae3b) (0x00972d48)
  36 0x7e9d05ba WINPROC_wrapper+0x19() in user32 (0x00972d78)
  37 0x7e9d0bf2 call_window_proc+0x49(hwnd=0x10116, msg=0x111, wp=0x408, lp=0, result=0x97331c, arg=0x1c8a71f) [/work/wine/src/dlls/user32/winproc.c:245] in user32 (0x00972dc8)
  38 0x7e9d2088 WINPROC_CallProcAtoW+0x474(callback=0x7e9d0ba8, hwnd=0x10116, msg=0x111, wParam=<is not available>, lParam=0, result=0x97331c, arg=0x1c8a71f, mapping=WMCHAR_MAP_SENDMESSAGE) [/work/wine/src/dlls/user32/winproc.c:604] in user32 (0x00973278)
  39 0x7e9d2a4d WINPROC_call_window+0x1e1(hwnd=0x10116, msg=0x111, wParam=0x408, lParam=0, result=0x97331c, unicode=0, mapping=WMCHAR_MAP_SENDMESSAGE) [/work/wine/src/dlls/user32/winproc.c:916] in user32 (0x009732c8)
  40 0x7e99d866 call_window_proc+0x5f(hwnd=0x10116, msg=0x111, wparam=0x408, lparam=0, unicode=0, same_thread=0x1, mapping=WMCHAR_MAP_SENDMESSAGE) [/work/wine/src/dlls/user32/message.c:2223] in user32 (0x00973338)
  41 0x7e9a1101 send_message+0x15e(info=0x973390, res_ptr=0x9733bc, unicode=0) [/work/wine/src/dlls/user32/message.c:3268] in user32 (0x00973388)
  42 0x7e9a3a40 SendMessageA+0x5a(hwnd=<couldn't compute location>, msg=<couldn't compute location>, wparam=<couldn't compute location>, lparam=<couldn't compute location>) [/work/wine/src/dlls/user32/message.c:3490] in user32 (0x009733c8)
  43 0x00446828 in winamp (+0x46827) (0x0097340c)
  44 0x00445e47 in winamp (+0x45e46) (0x00976f68)
  45 0x7e9d05ba WINPROC_wrapper+0x19() in user32 (0x00976f98)
  46 0x7e9d0bf2 call_window_proc+0x49(hwnd=0x10116, msg=0x201, wp=0x1, lp=0x610015, result=0x97702c, arg=0x44b77f) [/work/wine/src/dlls/user32/winproc.c:245] in user32 (0x00976fe8)
  47 0x7e9d2b31 CallWindowProcA+0x8f(func=<couldn't compute location>, hwnd=<couldn't compute location>, msg=<couldn't compute location>, wParam=<couldn't compute location>, lParam=<couldn't compute location>) [/work/wine/src/dlls/user32/winproc.c:964] in user32 (0x00977048)
  48 0x1000154c in unicodetaskbarfix.w5s (+0x154b) (0x0097706c)
  49 0x07bde60b in ml_local (+0x2e60a) (0x0097d2f8)
  50 0x7e9d05ba WINPROC_wrapper+0x19() in user32 (0x0097d328)
  51 0x7e9d0bf2 call_window_proc+0x49(hwnd=0x10116, msg=0x201, wp=0x1, lp=0x610015, result=0x97d3bc, arg=0x7bde3e8) [/work/wine/src/dlls/user32/winproc.c:245] in user32 (0x0097d378)
  52 0x7e9d2c0e CallWindowProcW+0x92(func=<couldn't compute location>, hwnd=<couldn't compute location>, msg=<couldn't compute location>, wParam=<couldn't compute location>, lParam=<couldn't compute location>) [/work/wine/src/dlls/user32/winproc.c:990] in user32 (0x0097d3d8)
  53 0x07c618e0 in ml_playlists (+0x118df) (0x0097d4c8)
  54 0x7e9d05ba WINPROC_wrapper+0x19() in user32 (0x0097d4f8)
  55 0x7e9d0bf2 call_window_proc+0x49(hwnd=0x10116, msg=0x201, wp=0x1, lp=0x610015, result=0x97d58c, arg=0x7c6171b) [/work/wine/src/dlls/user32/winproc.c:245] in user32 (0x0097d548)
  56 0x7e9d2c0e CallWindowProcW+0x92(func=<couldn't compute location>, hwnd=<couldn't compute location>, msg=<couldn't compute location>, wParam=<couldn't compute location>, lParam=<couldn't compute location>) [/work/wine/src/dlls/user32/winproc.c:990] in user32 (0x0097d5a8)
  57 0x01c8ae3c in gen_jumpex (+0xae3b) (0x0097d648)
  58 0x7e9d05ba WINPROC_wrapper+0x19() in user32 (0x0097d678)
  59 0x7e9d0bf2 call_window_proc+0x49(hwnd=0x10116, msg=0x201, wp=0x1, lp=0x610015, result=0x97d80c, arg=0x1c8a71f) [/work/wine/src/dlls/user32/winproc.c:245] in user32 (0x0097d6c8)
  60 0x7e9d2936 WINPROC_call_window+0xca(hwnd=0x10116, msg=0x201, wParam=0x1, lParam=0x610015, result=0x97d80c, unicode=0x1, mapping=WMCHAR_MAP_DISPATCHMESSAGE) [/work/wine/src/dlls/user32/winproc.c:901] in user32 (0x0097d718)
  61 0x7e99ed4a DispatchMessageW+0x8e(msg=<couldn't compute location>) [/work/wine/src/dlls/user32/message.c:4034] in user32 (0x0097d828)
  62 0x0046ef21 in winamp (+0x6ef20) (0x0097d868)
  63 0x00465980 in winamp (+0x6597f) (0x0097e9e8)
  64 0x7bc6f684 call_thread_func_wrapper+0xb() in ntdll (0x0097e9f8)
  65 0x7bc7222c call_thread_func+0x9c(entry=0x465286, arg=0x1, frame=0x97eb08) [/work/wine/src/dlls/ntdll/signal_i386.c:2912] in ntdll (0x0097eae8)
  66 0x7bc6f662 call_thread_entry_point+0x11() in ntdll (0x0097eb08)
  67 0x7bc79322 start_thread+0xa1(info=0x81ffcfb8) [/work/wine/src/dlls/ntdll/thread.c:487] in ntdll (0x0097f358)
  68 0xf753a2d9 start_thread+0xf8() in libpthread.so.0 (0x0097f428)
  69 0xf7458296 __clone+0x65() in libc.so.6 (0x00000000) [...]
averageradical
Newbie
Newbie
Posts: 3
Joined: Fri Aug 04, 2017 1:40 am

Re: Winamp crashes on Add File in SHGetFileInfoW

Post by averageradical »

averageradical
Newbie
Newbie
Posts: 3
Joined: Fri Aug 04, 2017 1:40 am

Re: Winamp crashes on Add File in SHGetFileInfoW

Post by averageradical »

Resolved by reinstalling without comctl32 winetrick:

Code: Select all

rm -rf ~/.wine/
wget https://raw.githubusercontent.com/Winetricks/winetricks/master/src/winetricks
chmod +x winetricks
WINEARCH='win32' sh winetricks wininet ie6 allfonts wmp9 d3dx9_36
wget https://averageradical.github.io/winamp5666_full_en-us_redux.exe
wine winamp5666_full_en-us_redux.exe
Locked