Robert Reif wrote:
There is a bug in arts itself which causes arts to crash. I believe this has been fixed in the latest arts libraries.
From a user's perspective, even if arts crashes, it shouldn't be taking winecfg down with it. Counting on users to have correct audio setups across distros sounds a bit utopian. Obviously we can't fix sound for the users, but we can at least show an error message saying what failed. Also, people who have arts installed but don't run it as their sound mixer still crash (happens under Ubuntu too).
I'm running Kubuntu on my desktop and clicking the Audio tab under cvs gives this:
ALSA lib pcm_dmix.c:746:(snd_pcm_dmix_open) The dmix plugin supports only playback stream wine: Unhandled page fault on write access to 0x44fec1ec at address 0x7e6f49d1 (thread 0009), starting debugger... WineDbg starting on pid 0x8 Unhandled exception: page fault on write access to 0x44fec1ec in 32-bit code (0x7e6f49d1). In 32 bit mode. Register dump: CS:0073 SS:007b DS:007b ES:007b FS:1007 GS:0033 EIP:7e6f49d1 ESP:7fb0c91c EBP:7fb0c944 EFLAGS:00010216( - 00 -RIAP1) EAX:32373539 EBX:7e7912f0 ECX:7c293650 EDX:7c21ed08 ESI:00000004 EDI:7c1eac1c Stack dump: 0x7fb0c91c: 7e794a40 7fb0c960 00000001 00000000 0x7fb0c92c: 000007d0 00000000 00000001 7e7912f0 0x7fb0c93c: 7c293658 7e794a18 7fb0c974 7e6f50a2 0x7fb0c94c: 7e794a40 7c293650 0000002f 7e794a18 0x7fb0c95c: 00000000 4d9c109c 7c1e8ea8 7e7912f0 0x7fb0c96c: 0000002f 7fb0c9a7 7fb0c9b4 7e743488 0200: sel=1007 base=7fee6000 limit=00001fff 32-bit rw- Backtrace: =>1 0x7e6f49d1 (0x7e6f49d1) 2 0x7e6f50a2 (0x7e6f50a2) 3 0x7e743488 (0x7e743488) 4 0x4da87305 _ZN4Arts18TmpGlobalComm_impl3putERKSsS2_+0x215 in libmcop.so.1 (0x4da87305) 5 0x4da752a3 _ZN4Arts10DispatcherC1EPNS_9IOManagerENS0_11StartServerE+0xc03 in libmcop.so.1 (0x4da752a3) 6 0x7e7a4b27 arts_backend_init+0x87 in libartscbackend.so.0 (0x7e7a4b27) 7 0x4d5ad2d6 arts_init+0x46 in libartsc.so.0 (0x4d5ad2d6) 8 0x7e7c4f37 ARTS_WaveInit+0x27 [/home/prophet/monkey/wine/dlls/winmm/winearts/audio.c:398] in winearts (0x7e7c4f37) 9 0x7e7c11a2 ARTS_DriverProc(dwDevID=0x0, hDriv=0x7fe0b550, wMsg=0x1, dwParam1=0x0, dwParam2=0x0) [/home/prophet/monkey/wine/dlls/winmm/winearts/arts.c:66] in winearts (0x7e7c11a2) 10 0x7f46467f DRIVER_AddToList+0x1bf [/home/prophet/monkey/wine/dlls/winmm/driver.c:110] in winmm (0x7f46467f) 11 0x7f464ca9 DRIVER_TryOpenDriver32+0xc9(fn=0x7fb0cc3c, lParam2=0x0) [/home/prophet/monkey/wine/dlls/winmm/driver.c:298] in winmm (0x7f464ca9) 12 0x7f464fa9 OpenDriver+0x169(lpDriverName=0x7fe0b528, lpSectionName=0x0, lParam=0x0) [/home/prophet/monkey/wine/dlls/winmm/driver.c:365] in winmm (0x7f464fa9) 13 0x7f46507e OpenDriverA+0x3e(lpDriverName=0x7fb0d370, lpSectionName=0x0, lParam=0x0) [/home/prophet/monkey/wine/dlls/winmm/driver.c:340] in winmm (0x7f46507e) 14 0x7fb26c62 initAudioDlg+0x582 [/home/prophet/monkey/wine/programs/winecfg/audio.c:479] in winecfg (0x7fb26c62) 15 0x7fb27c18 AudioDlgProc+0x298(hDlg=0x10044, uMsg=0x110, wParam=0x0, lParam=0x7fdfdfc8) [/home/prophet/monkey/wine/programs/winecfg/audio.c:768] in winecfg (0x7fb27c18) 16 0x7f72880a WINPROC_wrapper in user32 (0x7f72880a) 17 0x7f7293b0 WINPROC_CallWndProc(wParam=0x0, lParam=0x7fdfdfc8) [/home/prophet/monkey/wine/dlls/user/winproc.c:416] in user32 (0x7f7293b0) 18 0x7f72e42e CallWindowProcW+0x1ae(func=0x7f788e9c, hwnd=0x10044, msg=0x110, wParam=0x0, lParam=0x7fdfdfc8) [/home/prophet/monkey/wine/dlls/user/winproc.c:3329] in user32 (0x7f72e42e) 19 0x7f6cf1f7 DefDlgProcW+0x57(hwnd=0x10044, msg=0x110, wParam=0x0, lParam=0x7fdfdfc8) [/home/prophet/monkey/wine/dlls/user/defdlg.c:510] in user32 (0x7f6cf1f7) 20 0x7f72880a WINPROC_wrapper+0x1a in user32 (0x7f72880a) 21 0x7f7293b0 WINPROC_CallWndProc+0x60(wParam=0x0, lParam=0x7fdfdfc8) [/home/prophet/monkey/wine/dlls/user/winproc.c:416] in user32 (0x7f7293b0) 22 0x7f72e676 CallWindowProcW+0x3f6(func=0x7f6cf1a0, hwnd=0x10044, msg=0x110, wParam=0x0, lParam=0x7fdfdfc8) [/home/prophet/monkey/wine/dlls/user/winproc.c:3310] in user32 (0x7f72e676) 23 0x7f6fd98f call_window_proc+0x10f(lparam=0x7fdfdfc8, unicode=0x1, same_thread=0x1) [/home/prophet/monkey/wine/dlls/user/message.c:1516] in user32 (0x7f6fd98f) 24 0x7f7010a6 SendMessageTimeoutW+0x156(hwnd=0x10044, msg=0x110, wparam=0x0, lparam=0x7fdfdfc8, flags=0x0, timeout=0x0, res_ptr=0x7fb0e478) [/home/prophet/monkey/wine/dlls/user/message.c:2349] in user32 (0x7f7010a6) 25 0x7f7010f5 SendMessageW+0x35(hwnd=0x10044, msg=0x110, wparam=0x0, lparam=0x7fdfdfc8) [/home/prophet/monkey/wine/dlls/user/message.c:2430] in user32 (0x7f7010f5) 26 0x7f6d4382 DIALOG_CreateIndirect+0xdf2(dlgProc=0x7fb27980, param=0x7fdfdfc8, unicode=0x1, modal=0x0) [/home/prophet/monkey/wine/dlls/user/dialog.c:638] in user32 (0x7f6d4382) 27 0x7f6d4d1d CreateDialogIndirectParamAorW+0x2d(hInst=0x7fb20000, dlgTemplate=0x7fe095a8, owner=0x10024, dlgProc=0x7fb27980, param=0x7fdfdfc8, flags=0x0) [/home/prophet/monkey/wine/dlls/user/dialog.c:697] in user32 (0x7f6d4d1d) 28 0x7f6d4d5b CreateDialogIndirectParamW(hInst=0x7fb20000, dlgTemplate=0x7fe095a8, owner=0x10024, dlgProc=0x7fb27980, param=0x7fdfdfc8) [/home/prophet/monkey/wine/dlls/user/dialog.c:715] in user32 (0x7f6d4d5b) 29 0x7f536713 PROPSHEET_CreatePage(ppshpage=0x7fdfdfc8) [/home/prophet/monkey/wine/dlls/comctl32/propsheet.c:1523] in comctl32 (0x7f536713) 30 0x7f537a51 PROPSHEET_SetCurSel+0x3c1(hpage=0x0) [/home/prophet/monkey/wine/dlls/comctl32/propsheet.c:2079] in comctl32 (0x7f537a51) 31 0x7f53963a PROPSHEET_DialogProc+0x95a(hwnd=0x10024, uMsg=0x4e, wParam=0x3020, lParam=0x7fb0f558) [/home/prophet/monkey/wine/dlls/comctl32/propsheet.c:3511] in comctl32 (0x7f53963a) 32 0x7f72880a WINPROC_wrapper+0x1a in user32 (0x7f72880a) 33 0x7f7293b0 WINPROC_CallWndProc+0x60(wParam=0x3020, lParam=0x7fb0f558) [/home/prophet/monkey/wine/dlls/user/winproc.c:416] in user32 (0x7f7293b0) 34 0x7f72e42e CallWindowProcW+0x1ae(func=0x7f788e74, hwnd=0x10024, msg=0x4e, wParam=0x3020, lParam=0x7fb0f558) [/home/prophet/monkey/wine/dlls/user/winproc.c:3329] in user32 (0x7f72e42e) 35 0x7f6cf1f7 DefDlgProcW+0x57(hwnd=0x10024, msg=0x4e, wParam=0x3020, lParam=0x7fb0f558) [/home/prophet/monkey/wine/dlls/user/defdlg.c:510] in user32 (0x7f6cf1f7) 36 0x7f72880a WINPROC_wrapper+0x1a in user32 (0x7f72880a) 37 0x7f7293b0 WINPROC_CallWndProc+0x60(wParam=0x3020, lParam=0x7fb0f558) [/home/prophet/monkey/wine/dlls/user/winproc.c:416] in user32 (0x7f7293b0) 38 0x7f72e676 CallWindowProcW+0x3f6(func=0x7f6cf1a0, hwnd=0x10024, msg=0x4e, wParam=0x3020, lParam=0x7fb0f558) [/home/prophet/monkey/wine/dlls/user/winproc.c:3310] in user32 (0x7f72e676) 39 0x7f6fd98f call_window_proc+0x10f(lparam=0x7fb0f558, unicode=0x1, same_thread=0x1) [/home/prophet/monkey/wine/dlls/user/message.c:1516] in user32 (0x7f6fd98f) 40 0x7f7010a6 SendMessageTimeoutW+0x156(hwnd=0x10024, msg=0x4e, wparam=0x3020, lparam=0x7fb0f558, flags=0x0, timeout=0x0, res_ptr=0x7fb0f538) [/home/prophet/monkey/wine/dlls/user/message.c:2349] in user32 (0x7f7010a6) 41 0x7f7010f5 SendMessageW+0x35(hwnd=0x10024, msg=0x4e, wparam=0x3020, lparam=0x7fb0f558) [/home/prophet/monkey/wine/dlls/user/message.c:2430] in user32 (0x7f7010f5) 42 0x7f54b3ec TAB_SendSimpleNotify+0x3c [/home/prophet/monkey/wine/dlls/comctl32/tab.c:183] in comctl32 (0x7f54b3ec) 43 0x7f54f476 TAB_WindowProc(hwnd=0x1002e, uMsg=0x201, wParam=0x1, lParam=0x1000ab) [/home/prophet/monkey/wine/dlls/comctl32/tab.c:502] in comctl32 (0x7f54f476) 44 0x7f72880a WINPROC_wrapper in user32 (0x7f72880a) 45 0x7f7293b0 WINPROC_CallWndProc(wParam=0x1, lParam=0x1000ab) [/home/prophet/monkey/wine/dlls/user/winproc.c:416] in user32 (0x7f7293b0) 46 0x7f72e42e CallWindowProcW+0x1ae(func=0x7f788dfc, hwnd=0x1002e, msg=0x201, wParam=0x1, lParam=0x1000ab) [/home/prophet/monkey/wine/dlls/user/winproc.c:3329] in user32 (0x7f72e42e) 47 0x7f6fe18c DispatchMessageW+0x16c(msg=0x7fb0fca4) [/home/prophet/monkey/wine/dlls/user/message.c:2987] in user32 (0x7f6fe18c) 48 0x7f6d2e42 IsDialogMessageW+0xe2(hwndDlg=0x10024, msg=0x7fb0fca4) [/home/prophet/monkey/wine/dlls/user/dialog.c:1163] in user32 (0x7f6d2e42) 49 0x7f53556b do_loop [/home/prophet/monkey/wine/dlls/comctl32/propsheet.c:2780] in comctl32 (0x7f53556b) 50 0x7f537196 PropertySheetW+0x246(lppsh=0x7fb0fe60) [/home/prophet/monkey/wine/dlls/comctl32/propsheet.c:2905] in comctl32 (0x7f537196) 51 0x7fb2c155 WinMain(hInstance=0x7fb20000, hPrev=0x0, szCmdLine=0x7fd95dff, nShow=0x1) [/home/prophet/monkey/wine/programs/winecfg/main.c:273] in winecfg (0x7fb2c155) 52 0x7fb2f8be main(argc=0x1, argv=0x7fd90430) [/home/prophet/monkey/wine/dlls/winecrt0/exe_main.c:49] in winecfg (0x7fb2f8be) 53 0x7fb2f80a __wine_spec_exe_entry(peb=0x7beffc60) [/home/prophet/monkey/wine/dlls/winecrt0/exe_entry.c:36] in winecfg (0x7fb2f80a) 54 0x7fcfdc67 start_process+0xb7(arg=0x0) [/home/prophet/monkey/wine/dlls/kernel/process.c:1027] in kernel32 (0x7fcfdc67) 55 0xb7f21c17 wine_switch_to_stack+0x17 in libwine.so.1 (0xb7f21c17) 0x7e6f49d1: decl 0x0(%edx,%eax,4) Modules: Module Address Debug info Name (101 modules) ELF 0x4bcff000-4bd15000 Deferred ld-linux.so.2 ELF 0x4bd17000-4be45000 Deferred libc.so.6 ELF 0x4be47000-4be4a000 Deferred libdl.so.2 ELF 0x4be4c000-4be6e000 Deferred libm.so.6 ELF 0x4be70000-4bf30000 Deferred libx11.so.6 ELF 0x4bf32000-4bf35000 Deferred libxau.so.6 ELF 0x4bf37000-4bf3b000 Deferred libxdmcp.so.6 ELF 0x4bf3d000-4bf4a000 Deferred libxext.so.6 ELF 0x4bf4c000-4bf60000 Deferred libz.so.1 ELF 0x4bf62000-4bf74000 Deferred libpthread.so.0 ELF 0x4bf76000-4bf7d000 Deferred libsm.so.6 ELF 0x4bf7f000-4bf98000 Deferred libice.so.6 ELF 0x4bf9a000-4bfea000 Deferred libxt.so.6 ELF 0x4bfec000-4c056000 Deferred libfreetype.so.6 ELF 0x4c058000-4c063000 Deferred libgcc_s.so.1 ELF 0x4c065000-4c084000 Deferred libexpat.so.1 ELF 0x4c197000-4c1c5000 Deferred libfontconfig.so.1 ELF 0x4c1cc000-4c1d4000 Deferred libxrender.so.1 ELF 0x4c1e5000-4c1ee000 Deferred libxcursor.so.1 ELF 0x4c1f0000-4c1f4000 Deferred libxfixes.so.3 ELF 0x4c22c000-4c2ad000 Deferred libglib-2.0.so.0 ELF 0x4c2c3000-4c2d7000 Deferred libaudio.so.2 ELF 0x4c2d9000-4c2dc000 Deferred libgmodule-2.0.so.0 ELF 0x4cb2e000-4cb43000 Deferred libnsl.so.1 ELF 0x4d442000-4d45f000 Deferred libcups.so.2 ELF 0x4d442000-4d45f000 Deferred libcups.so.2 ELF 0x4d442000-4d45f000 Deferred libcups.so.2 ELF 0x4d4f4000-4d4f8000 Deferred libgpg-error.so.0 ELF 0x4d4fa000-4d546000 Deferred libgcrypt.so.11 ELF 0x4d548000-4d5aa000 Deferred libgnutls.so.11 ELF 0x4d5ac000-4d5b2000 Export libartsc.so.0 ELF 0x4d5b4000-4d5b8000 Deferred libgthread-2.0.so.0 ELF 0x4d5ba000-4d5c2000 Deferred libvorbisfile.so.3 ELF 0x4d5ba000-4d5c2000 Deferred libvorbisfile.so.3 ELF 0x4d5c4000-4d612000 Deferred libkmedia2_idl.so.1 ELF 0x4d61f000-4d6d2000 Deferred libasound.so.2 ELF 0x4d6d4000-4d6fb000 Deferred libvorbis.so.0 ELF 0x4d6fd000-4d702000 Deferred libogg.so.0 ELF 0x4d704000-4d728000 Deferred libaudiofile.so.0 ELF 0x4d72a000-4d734000 Deferred libesd.so.0 ELF 0x4d736000-4d835000 Deferred libvorbisenc.so.2 ELF 0x4d837000-4d9b3000 Deferred libartsflow.so.1 ELF 0x4d9b5000-4dae2000 Export libmcop.so.1 ELF 0x4dae4000-4dbb8000 Deferred libartsflow_idl.so.1 ELF 0x4dbba000-4dc2f000 Deferred libsoundserver_idl.so.1 ELF 0x7395b000-7395d000 Deferred xlcutf8load.so.2 ELF 0x7be8c000-7bf00000 Deferred ntdll<elf> -PE 0x7bea0000-7bf00000 \ ntdll ELF 0x7bf00000-7bf03000 Deferred <wine-loader> ELF 0x7e79b000-7e7af000 Export libartscbackend.so.0 ELF 0x7e7af000-7e7c9000 Stabs winearts<elf> -PE 0x7e7c0000-7e7c9000 \ winearts ELF 0x7ea38000-7ea5a000 Deferred msacm32<elf> -PE 0x7ea40000-7ea5a000 \ msacm32 ELF 0x7ea5a000-7ea71000 Deferred msacm<elf> -PE 0x7ea60000-7ea71000 \ msacm ELF 0x7ea71000-7ea99000 Deferred winealsa<elf> -PE 0x7ea80000-7ea99000 \ winealsa ELF 0x7ebfa000-7ec15000 Deferred imm32<elf> -PE 0x7ec00000-7ec15000 \ imm32 ELF 0x7ec15000-7ec31000 Deferred ximcp.so.2 ELF 0x7ec3e000-7ec53000 Deferred midimap<elf> -PE 0x7ec40000-7ec53000 \ midimap ELF 0x7ec53000-7f396000 Deferred fglrx_dri.so ELF 0x7f396000-7f40f000 Deferred winex11<elf> -PE 0x7f3a0000-7f40f000 \ winex11 ELF 0x7f40f000-7f43f000 Deferred uxtheme<elf> -PE 0x7f420000-7f43f000 \ uxtheme ELF 0x7f43f000-7f4c0000 Stabs winmm<elf> -PE 0x7f450000-7f4c0000 \ winmm ELF 0x7f4c0000-7f4e8000 Deferred winspool<elf> -PE 0x7f4d0000-7f4e8000 \ winspool ELF 0x7f4e8000-7f597000 Stabs comctl32<elf> -PE 0x7f4f0000-7f597000 \ comctl32 ELF 0x7f597000-7f5b5000 Deferred iphlpapi<elf> -PE 0x7f5a0000-7f5b5000 \ iphlpapi ELF 0x7f5b5000-7f5f9000 Deferred rpcrt4<elf> -PE 0x7f5d0000-7f5f9000 \ rpcrt4 ELF 0x7f5f9000-7f680000 Deferred gdi32<elf> -PE 0x7f610000-7f680000 \ gdi32 ELF 0x7f680000-7f799000 Stabs user32<elf> -PE 0x7f6a0000-7f799000 \ user32 ELF 0x7f799000-7f7d5000 Deferred advapi32<elf> -PE 0x7f7a0000-7f7d5000 \ advapi32 ELF 0x7f7d5000-7f85b000 Deferred ole32<elf> -PE 0x7f7f0000-7f85b000 \ ole32 ELF 0x7f85b000-7f8b0000 Deferred shlwapi<elf> -PE 0x7f870000-7f8b0000 \ shlwapi ELF 0x7f8b0000-7f96e000 Deferred shell32<elf> -PE 0x7f8d0000-7f96e000 \ shell32 ELF 0x7f96e000-7fa00000 Deferred comdlg32<elf> -PE 0x7f980000-7fa00000 \ comdlg32 ELF 0x7fb12000-7fb4c000 Stabs winecfg<elf> -PE 0x7fb20000-7fb4c000 \ winecfg ELF 0x7fc94000-7fd90000 Stabs kernel32<elf> -PE 0x7fcb0000-7fd90000 \ kernel32 ELF 0x7feb0000-7feba000 Deferred libnss_files.so.2 ELF 0x7feba000-7fec3000 Deferred libnss_nis.so.2 ELF 0x7fec3000-7fecc000 Deferred libnss_compat.so.2 ELF 0x7fee9000-7ffe0000 Deferred libwine_unicode.so.1 ELF 0xb7f1d000-b7f37000 DIA libwine.so.1 Threads: process tid prio (all id:s are in hex) 00000008 (D) c:\windows\system\winecfg.exe 0000000a 0 00000009 0 <== WineDbg terminated on pid 0x8