[Bug 4920] New: Regression: winecfg and many other stuff broken (crash with an unhandled exception after a while)

Wine Bugs wine-bugs at winehq.org
Thu Mar 23 18:21:39 CST 2006


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

           Summary: Regression: winecfg and many other stuff broken (crash
                    with an unhandled exception after a while)
           Product: Wine
           Version: CVS
          Platform: PC
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: major
          Priority: P2
         Component: wine-binary
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: leon_fraitak at mail.ru


The patch
http://source.winehq.org/git/?p=wine.git;a=commit;h=9873494ced8405113381266b4d99c2a9f3002cb1
introduced weird behavior: all applications that are installed on my system 
are crashing after a while with an unhandled exception and with theming 
enabled, some controls look weird and even contribute to the crashing. Here's 
an example backtrace for winecfg:

wine: Unhandled page fault on read access to 0x00000060 at address 0x60 
(thread 0009), starting debugger...
WineDbg starting on pid 0x8
Unhandled exception: page fault on read access to 0x00000060 in 32-bit code 
(0x00000060).
Register dump:
 CS:0073 SS:007b DS:007b ES:007b FS:003b GS:0033
 EIP:00000060 ESP:4073e3ac EBP:4073e3d8 EFLAGS:00210206(   - 00      - RIP1)
 EAX:00000060 EBX:40b0e7fc ECX:00000000 EDX:40b290a4
 ESI:4073edc0 EDI:4073e940
Stack dump:
0x4073e3ac:  40ae6b0e 00010048 00000081 00000000
0x4073e3bc:  4073ed90 40b0e7fc 4073edc0 4073e3d8
0x4073e3cc:  40b0e7fc 4073edc0 4073e940 4073e418
0x4073e3dc:  40ae705e 00000060 00010048 00000081
0x4073e3ec:  00000000 4073ed90 4073edc0 4073e408
0x4073e3fc:  00000000 40b290a0 40b0e7fc 4073e418
Backtrace:
=>1 0x00000060 (0x00000060)
  2 0x40ae705e WINPROC_CallWndProc+0xc9(proc=0x60, hwnd=0x10048, msg=0x81, 
wParam=0x0, lParam=0x4073ed90) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:416] in user32 
(0x40ae705e)
  3 0x40aefe95 CallWindowProcW+0x5f(func=0x60, hwnd=0x10048, msg=0x81, 
wParam=0x0, lParam=0x4073ed90) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:3309] in user32 
(0x40aefe95)
  4 0x40a666f3 DefDlgProcW+0x9a(hwnd=0x10048, msg=0x81, wParam=0x0, 
lParam=0x4073ed90) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/defdlg.c:510] in user32 
(0x40a666f3)
  5 0x40ae6b0e WINPROC_wrapper+0x1a in user32 (0x40ae6b0e)
  6 0x40ae705e WINPROC_CallWndProc+0xc9(proc=0x40a66659, hwnd=0x10048, 
msg=0x81, wParam=0x0, lParam=0x4073ed90) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:416] in user32 
(0x40ae705e)
  7 0x40aefe95 CallWindowProcW+0x5f(func=0x40a66659, hwnd=0x10048, msg=0x81, 
wParam=0x0, lParam=0x4073ed90) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:3309] in user32 
(0x40aefe95)
  8 0x40cf7f33 THEMING_CallOriginalClass+0x65(wnd=0x10048, msg=0x81, 
wParam=0x0, lParam=0x4073ed90) 
[/home/leon/Downloads/tarballs/wine/git/dlls/comctl32/theming.c:178] in 
comctl32 (0x40cf7f33)
  9 0x40cf6767 THEMING_ComboSubclassProc+0x3bf(hwnd=0x10048, msg=0x81, 
wParam=0x0, lParam=0x4073ed90, dwRefData=0x0) 
[/home/leon/Downloads/tarballs/wine/git/dlls/comctl32/theme_combo.c:316] in 
comctl32 (0x40cf6767)
  10 0x40cf77c3 subclass_proc1+0xf6(wnd=0x10048, msg=0x81, wParam=0x0, 
lParam=0x4073ed90) 
[/home/leon/Downloads/tarballs/wine/git/dlls/comctl32/theming.c:90] in 
comctl32 (0x40cf77c3)
  11 0x40ae6b0e WINPROC_wrapper+0x1a in user32 (0x40ae6b0e)
  12 0x40ae705e WINPROC_CallWndProc+0xc9(proc=0x40cf76cd, hwnd=0x10048, 
msg=0x81, wParam=0x0, lParam=0x4073ed90) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:416] in user32 
(0x40ae705e)
  13 0x40aefe95 CallWindowProcW+0x5f(func=0x40cf76cd, hwnd=0x10048, msg=0x81, 
wParam=0x0, lParam=0x4073ed90) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:3309] in user32 
(0x40aefe95)
  14 0x40aac483 call_window_proc+0x115(hwnd=0x10048, msg=0x81, wparam=0x0, 
lparam=0x4073ed90, unicode=0x1, same_thread=0x1) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/message.c:1528] in user32 
(0x40aac483)
  15 0x40aaeacf SendMessageTimeoutW+0x126(hwnd=0x10048, msg=0x81, wparam=0x0, 
lparam=0x4073ed90, flags=0x0, timeout=0x0, res_ptr=0x4073e820) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/message.c:2364] in user32 
(0x40aaeacf)
  16 0x40aaeeac SendMessageW+0x50(hwnd=0x10048, msg=0x81, wparam=0x0, 
lparam=0x4073ed90) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/message.c:2445] in user32 
(0x40aaeeac)
  17 0x40f8d357 X11DRV_CreateWindow+0x576(hwnd=0x10048, cs=0x4073ed90, 
unicode=0x1) [/home/leon/Downloads/tarballs/wine/git/dlls/x11drv/window.c:951] 
in winex11 (0x40f8d357)
  18 0x40addc4e WIN_CreateWindowEx+0xb16(cs=0x4073ed90, classAtom=0xc00b, 
type=0x3) [/home/leon/Downloads/tarballs/wine/git/dlls/user/win.c:1068] in 
user32 (0x40addc4e)
  19 0x40ade599 CreateWindowExW+0x1a1(exStyle=0x4, className=0x40af9124, 
windowName=0x403dc31e, style=0x50210003, x=0x17, y=0x27, width=0x159, 
height=0x17, parent=0x10042, menu=0x57d, instance=0x405e0000, data=0x0) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/win.c:1278] in user32 
(0x40ade599)
  20 0x40a6a2ec DIALOG_CreateControls32+0x21d(hwnd=0x10042, 
template=0x403dc324, dlgTemplate=0x4073ef28, hInst=0x405e0000, unicode=0x1) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/dialog.c:277] in user32 
(0x40a6a2ec)
  21 0x40a6b7e0 DIALOG_CreateIndirect+0x9da(hInst=0x405e0000, 
dlgTemplate=0x403dc2ac, owner=0x10024, dlgProc=0x405fb3f0, param=0x403db290, 
unicode=0x1, modal=0x0) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/dialog.c:634] in user32 
(0x40a6b7e0)
  22 0x40a6ba95 CreateDialogIndirectParamAorW+0x43(hInst=0x405e0000, 
dlgTemplate=0x403dc278, owner=0x10024, dlgProc=0x405fb3f0, param=0x403db290, 
flags=0x0) [/home/leon/Downloads/tarballs/wine/git/dlls/user/dialog.c:697] in 
user32 (0x40a6ba95)
  23 0x40a6bb25 CreateDialogIndirectParamW+0x41(hInst=0x405e0000, 
dlgTemplate=0x403dc278, owner=0x10024, dlgProc=0x405fb3f0, param=0x403db290) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/dialog.c:714] in user32 
(0x40a6bb25)
  24 0x40cce604 PROPSHEET_CreatePage+0x448(hwndParent=0x10024, index=0x3, 
psInfo=0x403da9c8, ppshpage=0x403db290) 
[/home/leon/Downloads/tarballs/wine/git/dlls/comctl32/propsheet.c:1523] in 
comctl32 (0x40cce604)
  25 0x40ccfbb6 PROPSHEET_SetCurSel+0x1f2(hwndDlg=0x10024, index=0x3, 
skipdir=0x1, hpage=0x0) 
[/home/leon/Downloads/tarballs/wine/git/dlls/comctl32/propsheet.c:2087] in 
comctl32 (0x40ccfbb6)
  26 0x40cd3f52 PROPSHEET_DialogProc+0xa3d(hwnd=0x10024, uMsg=0x4e, 
wParam=0x3020, lParam=0x4073f988) 
[/home/leon/Downloads/tarballs/wine/git/dlls/comctl32/propsheet.c:3514] in 
comctl32 (0x40cd3f52)
  27 0x40ae6b0e WINPROC_wrapper+0x1a in user32 (0x40ae6b0e)
  28 0x40ae705e WINPROC_CallWndProc+0xc9(proc=0x40cd3515, hwnd=0x10024, 
msg=0x4e, wParam=0x3020, lParam=0x4073f988) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:416] in user32 
(0x40ae705e)
  29 0x40aeff98 CallWindowProcW+0x162(func=0x40b4aeb8, hwnd=0x10024, msg=0x4e, 
wParam=0x3020, lParam=0x4073f988) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:3328] in user32 
(0x40aeff98)
  30 0x40a666f3 DefDlgProcW+0x9a(hwnd=0x10024, msg=0x4e, wParam=0x3020, 
lParam=0x4073f988) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/defdlg.c:510] in user32 
(0x40a666f3)
  31 0x40ae6b0e WINPROC_wrapper+0x1a in user32 (0x40ae6b0e)
  32 0x40ae705e WINPROC_CallWndProc+0xc9(proc=0x40a66659, hwnd=0x10024, 
msg=0x4e, wParam=0x3020, lParam=0x4073f988) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:416] in user32 
(0x40ae705e)
  33 0x40aefe95 CallWindowProcW+0x5f(func=0x40a66659, hwnd=0x10024, msg=0x4e, 
wParam=0x3020, lParam=0x4073f988) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:3309] in user32 
(0x40aefe95)
  34 0x40cf7f33 THEMING_CallOriginalClass+0x65(wnd=0x10024, msg=0x4e, 
wParam=0x3020, lParam=0x4073f988) 
[/home/leon/Downloads/tarballs/wine/git/dlls/comctl32/theming.c:178] in 
comctl32 (0x40cf7f33)
  35 0x40cf6c6c THEMING_DialogSubclassProc+0x4ec(hWnd=0x10024, msg=0x4e, 
wParam=0x3020, lParam=0x4073f988, dwRefData=0x0) 
[/home/leon/Downloads/tarballs/wine/git/dlls/comctl32/theme_dialog.c:139] in 
comctl32 (0x40cf6c6c)
  36 0x40cf766a subclass_proc0+0xf6(wnd=0x10024, msg=0x4e, wParam=0x3020, 
lParam=0x4073f988) 
[/home/leon/Downloads/tarballs/wine/git/dlls/comctl32/theming.c:89] in 
comctl32 (0x40cf766a)
  37 0x40ae6b0e WINPROC_wrapper+0x1a in user32 (0x40ae6b0e)
  38 0x40ae705e WINPROC_CallWndProc+0xc9(proc=0x40cf7574, hwnd=0x10024, 
msg=0x4e, wParam=0x3020, lParam=0x4073f988) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:416] in user32 
(0x40ae705e)
  39 0x40aefe95 CallWindowProcW+0x5f(func=0x40cf7574, hwnd=0x10024, msg=0x4e, 
wParam=0x3020, lParam=0x4073f988) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:3309] in user32 
(0x40aefe95)
  40 0x40aac483 call_window_proc+0x115(hwnd=0x10024, msg=0x4e, wparam=0x3020, 
lparam=0x4073f988, unicode=0x1, same_thread=0x1) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/message.c:1528] in user32 
(0x40aac483)
  41 0x40aaeacf SendMessageTimeoutW+0x126(hwnd=0x10024, msg=0x4e, 
wparam=0x3020, lparam=0x4073f988, flags=0x0, timeout=0x0, res_ptr=0x4073f960) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/message.c:2364] in user32 
(0x40aaeacf)
  42 0x40aaeeac SendMessageW+0x50(hwnd=0x10024, msg=0x4e, wparam=0x3020, 
lparam=0x4073f988) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/message.c:2445] in user32 
(0x40aaeeac)
  43 0x40cedddb TAB_SendSimpleNotify+0x5f(infoPtr=0x403ddcd8, code=0xfffffdd9) 
[/home/leon/tmp/Downloads/tarballs/wine/git/dlls/comctl32/tab.c:181] in 
comctl32 (0x40cedddb)
  44 0x40ceec40 TAB_LButtonDown+0x18a(infoPtr=0x403ddcd8, wParam=0x1, 
lParam=0x22015d) 
[/home/leon/tmp/Downloads/tarballs/wine/git/dlls/comctl32/tab.c:636] in 
comctl32 (0x40ceec40)
  45 0x40cf5070 TAB_WindowProc+0x89e(hwnd=0x1002e, uMsg=0x201, wParam=0x1, 
lParam=0x22015d) 
[/home/leon/tmp/Downloads/tarballs/wine/git/dlls/comctl32/tab.c:3274] in 
comctl32 (0x40cf5070)
  46 0x40ae6b0e WINPROC_wrapper+0x1a in user32 (0x40ae6b0e)
  47 0x40ae705e WINPROC_CallWndProc+0xc9(proc=0x40cf47d2, hwnd=0x1002e, 
msg=0x201, wParam=0x1, lParam=0x22015d) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:416] in user32 
(0x40ae705e)
  48 0x40aeff98 CallWindowProcW+0x162(func=0x40b4addc, hwnd=0x1002e, 
msg=0x201, wParam=0x1, lParam=0x22015d) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/winproc.c:3328] in user32 
(0x40aeff98)
  49 0x40ab0457 DispatchMessageW+0x1ad(msg=0x4073fbe0) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/message.c:3027] in user32 
(0x40ab0457)
  50 0x40a6cdba IsDialogMessageW+0x615(hwndDlg=0x10024, msg=0x4073fbe0) 
[/home/leon/Downloads/tarballs/wine/git/dlls/user/dialog.c:1190] in user32 
(0x40a6cdba)
  51 0x40cd1def do_loop+0x3f(psInfo=0x403da9c8) 
[/home/leon/Downloads/tarballs/wine/git/dlls/comctl32/propsheet.c:2780] in 
comctl32 (0x40cd1def)
  52 0x40cd22f8 PropertySheetW+0x22a(lppsh=0x4073fc78) 
[/home/leon/Downloads/tarballs/wine/git/dlls/comctl32/propsheet.c:2902] in 
comctl32 (0x40cd22f8)
  53 0x405f8d12 doPropertySheet+0x73e(hInstance=0x405e0000, hOwner=0x0) 
[/home/leon/Downloads/tarballs/wine/git/programs/winecfg/main.c:207] in 
winecfg (0x405f8d12)
  54 0x405f8e52 WinMain+0xc3(hInstance=0x405e0000, hPrev=0x0, 
szCmdLine=0x403708df, nShow=0x1) 
[/home/leon/Downloads/tarballs/wine/git/programs/winecfg/main.c:264] in 
winecfg (0x405f8e52)
  55 0x405fea26 main+0x11a(argc=0x1, argv=0x40370430) 
[/home/leon/Downloads/tarballs/wine/git/dlls/winecrt0/exe_main.c:48] in 
winecfg (0x405fea26)
  56 0x405fe8f2 __wine_spec_exe_entry+0x6e(peb=0x40212480) 
[/home/leon/Downloads/tarballs/wine/git/dlls/winecrt0/exe_entry.c:36] in 
winecfg (0x405fe8f2)
  57 0x404fc4e8 start_process+0x111(arg=0x0) 
[/home/leon/Downloads/tarballs/wine/git/dlls/kernel/process.c:845] in kernel32 
(0x404fc4e8)
  58 0x4001e367 wine_switch_to_stack+0x17 in libwine.so.1 (0x4001e367)
0x00000060: addb        %al,0x0(%eax)
Modules:
Module  Address                 Debug info      Name (73 modules)
ELF     0x40000000-40017000     Deferred        ld-linux.so.2
ELF     0x40018000-40033000     DIA             libwine.so.1
ELF     0x4003c000-4003e000     Deferred        libnvidia-tls.so.1
ELF     0x40042000-4004b000     Deferred        libsm.so.6
ELF     0x4004b000-40050000     Deferred        libxxf86dga.so.1
ELF     0x40050000-40052000     Deferred        xlcutf8load.so.2
ELF     0x40052000-40064000     Deferred        libpthread.so.0
ELF     0x40064000-40183000     Deferred        libc.so.6
ELF     0x40183000-40187000     Deferred        libdl.so.2
ELF     0x40188000-40213000     Deferred        ntdll<elf>
  \-PE  0x401a0000-40213000     \               ntdll
ELF     0x40213000-4030a000     Deferred        libwine_unicode.so.1
ELF     0x4030a000-40330000     Deferred        libm.so.6
ELF     0x40365000-4036a000     Deferred        libxxf86vm.so.1
ELF     0x4036a000-4036e000     Deferred        libxrandr.so.2
ELF     0x40480000-4059a000     Stabs           kernel32<elf>
  \-PE  0x404a0000-4059a000     \               kernel32
ELF     0x405d5000-4062b000     Stabs           winecfg<elf>
  \-PE  0x405e0000-4062b000     \               winecfg
ELF     0x40740000-407e5000     Deferred        comdlg32<elf>
  \-PE  0x40750000-407e5000     \               comdlg32
ELF     0x407e5000-408c2000     Deferred        shell32<elf>
  \-PE  0x40800000-408c2000     \               shell32
ELF     0x408c2000-40924000     Deferred        shlwapi<elf>
  \-PE  0x408e0000-40924000     \               shlwapi
ELF     0x40924000-409c6000     Deferred        ole32<elf>
  \-PE  0x40940000-409c6000     \               ole32
ELF     0x409c6000-40a09000     Deferred        advapi32<elf>
  \-PE  0x409d0000-40a09000     \               advapi32
ELF     0x40a09000-40b5b000     Stabs           user32<elf>
  \-PE  0x40a20000-40b5b000     \               user32
ELF     0x40b5b000-40bfb000     Deferred        gdi32<elf>
  \-PE  0x40b70000-40bfb000     \               gdi32
ELF     0x40bfb000-40c4a000     Deferred        rpcrt4<elf>
  \-PE  0x40c10000-40c4a000     \               rpcrt4
ELF     0x40c4a000-40c6a000     Deferred        iphlpapi<elf>
  \-PE  0x40c50000-40c6a000     \               iphlpapi
ELF     0x40c6a000-40d4f000     Stabs           comctl32<elf>
  \-PE  0x40c70000-40d4f000     \               comctl32
ELF     0x40d4f000-40d7c000     Deferred        winspool<elf>
  \-PE  0x40d60000-40d7c000     \               winspool
ELF     0x40d7c000-40e0d000     Deferred        winmm<elf>
  \-PE  0x40d90000-40e0d000     \               winmm
ELF     0x40e0d000-40e3f000     Deferred        uxtheme<elf>
  \-PE  0x40e10000-40e3f000     \               uxtheme
ELF     0x40e3f000-40e5e000     Deferred        ximcp.so.2
ELF     0x40e5e000-40ecc000     Deferred        libfreetype.so.6
ELF     0x40ecc000-40edf000     Deferred        libz.so.1
ELF     0x40edf000-40f0f000     Deferred        libfontconfig.so.1
ELF     0x40f0f000-40f2f000     Deferred        libexpat.so.0
ELF     0x40f2f000-40fc4000     Stabs           winex11<elf>
  \-PE  0x40f40000-40fc4000     \               winex11
ELF     0x40fc4000-40fdc000     Deferred        libice.so.6
ELF     0x40fdc000-40fea000     Deferred        libxext.so.6
ELF     0x40fea000-410e3000     Deferred        libx11.so.6
ELF     0x410e3000-41162000     Deferred        libgl.so.1
ELF     0x41162000-418cb000     Deferred        libglcore.so.1
ELF     0x41926000-4192e000     Deferred        libxrender.so.1
ELF     0x4197f000-4199c000     Deferred        imm32<elf>
  \-PE  0x41990000-4199c000     \               imm32
ELF     0x419bb000-419c4000     Deferred        libxcursor.so.1
ELF     0x422f0000-42340000     Deferred        wineoss<elf>
  \-PE  0x42300000-42340000     \               wineoss
ELF     0x42340000-42370000     Deferred        winealsa<elf>
  \-PE  0x42350000-42370000     \               winealsa
ELF     0x42370000-4238a000     Deferred        msacm<elf>
  \-PE  0x42380000-4238a000     \               msacm
ELF     0x4238f000-42452000     Deferred        libasound.so.2
ELF     0x42487000-424b0000     Deferred        msacm32<elf>
  \-PE  0x42490000-424b0000     \               msacm32
ELF     0x425c0000-425d5000     Deferred        midimap<elf>
  \-PE  0x425d0000-425d5000     \               midimap
ELF     0x7bf00000-7bf03000     Deferred        <wine-loader>
Threads:
process  tid      prio (all id:s are in hex)
0000000a
        0000000b    0
00000008 (D) c:\windows\system32\winecfg.exe
        00000009    0 <==

I know that theming is broken and unsupported, however applications crash also 
without theming and before this patch everything worked fine.

I hope that Alexandre Julliard will revert this patch as soon as possible 
because it is really critical since it breaks _every_ application including 
winecfg and regedit. I couldn't even use regedit because it crashed when I 
tried to edit a registry entry!

-- 
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