http://bugs.winehq.org/show_bug.cgi?id=2059
Summary: Crash when playing sound in winearts.drv Product: Wine Version: CVS Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: wine-multimedia AssignedTo: wine-bugs@winehq.org ReportedBy: andre@masella.no-ip.org
I have recently upgraded to KDE 3.2 (well, CVS) and WINE began to crash when any application tried to access the sound card. I have tried the latest stable version of WINE and several CVS releases (last one check out on Feb 26) and several releases of aRts (the stable one included with 3.2 and the current CVS). The problem seems to be between aRts and gthreads. I have recompiled glib with no effect. The following is a crash and back trace from Lucas Arts' Grimfandango, but any app that accesses the sound card will produce the same output. I have GCC 3.3.2.
Warning: could not find wine config [Drive x] entry for current working directory /home/root; starting in windows directory. mcop warning: user defined signal handler found for SIG_PIPE, overriding
GThread-ERROR **: file gthread-posix.c: line 135 (): error 'No such process' during 'pthread_getschedparam (pthread_self(), &policy, &sched)' aborting... wine: Unhandled exception (thread 0009), starting debugger... WineDbg starting on pid 8 Loaded debug information from ELF 'wine-kthread' ((nil)) Breakpoint 1 at 0x4000ad10 (_end+0x3fef3ecc) Loaded debug information from ELF '/usr/local/lib/libwine.so.1' (0x40031000) Loaded debug information from ELF '/lib/libc.so.6' (0x40049000) Unsupported debug information in ELF '/lib/libdl.so.2' (0x4016e000) Loaded debug information from ELF '/lib/libm.so.6' (0x40171000) Loaded debug information from ELF '/lib/ld-linux.so.2' (0x40000000) Loaded debug information from ELF '/usr/local/lib/wine/ntdll.dll.so' (0x40194000) Loaded debug information from ELF '/usr/local/lib/libwine_unicode.so.1' (0x40208000) Unsupported debug information in ELF '/lib/libnss_files.so.2' (0x40018000) Loaded debug information from ELF '/usr/local/lib/wine/kernel32.dll.so' (0x40410000) Loaded debug information from ELF '/usr/local/lib/wine/user32.dll.so' (0x40670000) Loaded debug information from ELF '/usr/local/lib/wine/gdi32.dll.so' (0x407c3000) Loaded debug information from ELF '/usr/local/lib/wine/advapi32.dll.so' (0x4084c000) Loaded debug information from ELF '/usr/local/lib/wine/comdlg32.dll.so' (0x40880000) Loaded debug information from ELF '/usr/local/lib/wine/shell32.dll.so' (0x40909000) Loaded debug information from ELF '/usr/local/lib/wine/ole32.dll.so' (0x40999000) Loaded debug information from ELF '/usr/local/lib/wine/rpcrt4.dll.so' (0x40a19000) Loaded debug information from ELF '/usr/local/lib/wine/shlwapi.dll.so' (0x40a65000) Loaded debug information from ELF '/usr/local/lib/wine/comctl32.dll.so' (0x40ac2000) Loaded debug information from ELF '/usr/local/lib/wine/winspool.drv.so' (0x40b77000) Loaded debug information from ELF '/usr/local/lib/wine/winmm.dll.so' (0x40bec000) Loaded debug information from ELF '/usr/local/lib/wine/dsound.dll.so' (0x40c74000) Loaded debug information from ELF '/usr/local/lib/wine/dinput.dll.so' (0x40cbe000) Loaded debug information from ELF '/usr/local/lib/wine/ddraw.dll.so' (0x40cf2000) Unsupported debug information in ELF '/usr/X11R6/lib/libSM.so.6' (0x40022000) Unsupported debug information in ELF '/usr/X11R6/lib/libICE.so.6' (0x40d8a000) Unsupported debug information in ELF '/usr/X11R6/lib/libXrandr.so.2' (0x4002b000) Unsupported debug information in ELF '/usr/X11R6/lib/libXrender.so.1' (0x40561000) Unsupported debug information in ELF '/usr/X11R6/lib/libXv.so.1' (0x402fb000) Unsupported debug information in ELF '/usr/X11R6/lib/libXext.so.6' (0x40da1000) Unsupported debug information in ELF '/usr/X11R6/lib/libX11.so.6' (0x40daf000) Unsupported debug information in ELF '/usr/lib/libfreetype.so.6' (0x41390000) Unsupported debug information in ELF '/usr/lib/libz.so.1' (0x413ec000) Loaded debug information from ELF '/usr/local/lib/wine/x11drv.dll.so' (0x413fb000) Unsupported debug information in ELF '/usr/lib/libGL.so.1' (0x41480000) Unsupported debug information in ELF '/lib/libpthread.so.0' (0x414f3000) Unsupported debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2' (0x40569000) Unsupported debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2' (0x41508000) Unsupported debug information in ELF '/usr/lib/gconv/ISO8859-1.so' (0x4056c000) Loaded debug information from ELF '/usr/local/lib/wine/imm32.dll.so' (0x41526000) Unsupported debug information in ELF '/usr/X11R6/lib/libXcursor.so.1' (0x40e76000) Loaded debug information from ELF '/usr/local/lib/wine/winearts.drv.so' (0x41662000) Unsupported debug information in ELF '/opt/kde/lib/libartsc.so.0' (0x41682000) Unsupported debug information in ELF '/opt/gnome/lib/libgmodule-2.0.so.0' (0x41688000) Unsupported debug information in ELF '/opt/gnome/lib/libgthread-2.0.so.0' (0x4168c000) Unsupported debug information in ELF '/opt/gnome/lib/libglib-2.0.so.0' (0x41c80000) Unsupported debug information in ELF '/opt/kde/lib/libartscbackend.so.0' (0x40d6f000) Unsupported debug information in ELF '/opt/kde/lib/libartsflow.so.1' (0x41ce8000) Unsupported debug information in ELF '/opt/kde/lib/libsoundserver_idl.so.1' (0x41e2c000) Unsupported debug information in ELF '/opt/kde/lib/libkmedia2_idl.so.1' (0x41e98000) Unsupported debug information in ELF '/usr/lib/./libaudiofile.so.0' (0x41edd000) Unsupported debug information in ELF '/usr/lib/./libasound.so.2' (0x41f02000) Unsupported debug information in ELF '/usr/lib/./libvorbisfile.so.3' (0x40d81000) Unsupported debug information in ELF '/usr/lib/./libvorbis.so.0' (0x41fa4000) Unsupported debug information in ELF '/usr/lib/./libogg.so.0' (0x41691000) Unsupported debug information in ELF '/opt/kde/lib/libartsflow_idl.so.1' (0x41fc4000) Unsupported debug information in ELF '/opt/kde/lib/libmcop.so.1' (0x4207f000) Unsupported debug information in ELF '/usr/lib/./libgcc_s.so.1' (0x41695000) No debug information in 32bit DLL 'C:\Program Files\LucasArts\Grim\grimfandango.exe' (0x400000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x401b0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL' (0x40440000) No debug information in 32bit DLL 'C:\PROGRAM FILES\LUCASARTS\GRIM\LUA.DLL' (0x10000000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL' (0x40860000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0x407e0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x40690000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\RPCRT4.DLL' (0x40a30000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLE32.DLL' (0x409b0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHLWAPI.DLL' (0x40a80000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMCTL32.DLL' (0x40ad0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHELL32.DLL' (0x40930000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINSPOOL.DRV' (0x40b80000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMDLG32.DLL' (0x40890000) No debug information in 32bit DLL 'C:\PROGRAM FILES\LUCASARTS\GRIM\CHORE.DLL' (0x40b9d000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINMM.DLL' (0x40c00000) No debug information in 32bit DLL 'C:\PROGRAM FILES\LUCASARTS\GRIM\HMIFXLIB.DLL' (0x40c5f000) No debug information in 32bit DLL 'C:\PROGRAM FILES\LUCASARTS\GRIM\IMUSE.DLL' (0x40bb5000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\DSOUND.DLL' (0x40c90000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\DINPUT.DLL' (0x40cd0000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\DDRAW.DLL' (0x40d10000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0x41410000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\IMM32.DLL' (0x41530000) No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEARTS.DRV' (0x41670000) err:ntdll:RtlpWaitForCriticalSection section 0x401ff340 "loader.c: loader_section" wait timed out in thread 000a, blocked by 0009, retrying (60 sec) Unhandled exception: assertion failed in 32-bit code (0x40073181). In 32-bit mode. 0x40073181 (__kill+0x11 [__kill] in libc.so.6): movl %edx,%ebx Unable to open file __kill Wine-dbg>bt Backtrace: =>0 0x40073181 (__kill+0x11 [__kill] in libc.so.6) (ebp=4066edf4) 1 0x40074965 (abort+0x175 in libc.so.6) (ebp=4066ef34) 2 0x41ca958c (g_logv+0x37c in libglib-2.0.so.0) (ebp=4066f394) 3 0x41ca95c4 (g_log+0x34 in libglib-2.0.so.0) (ebp=4066f3b4) 4 0x4168d52c (g_thread_impl_init+0xac [gthread-impl.c] in libgthread-2.0.so.0) (ebp=4066f3f4) 5 0x4168e99f (g_thread_init+0x21f in libgthread-2.0.so.0) (ebp=4066f414) 6 0x41d46c6e (_ZN4Arts13StdFlowSystemC1Ev+0x1ce in libartsflow.so.1) (ebp=4066f494) 7 0x41d4a8f3 (_ZN4Arts13SetFlowSystem7startupEv+0x33 in libartsflow.so.1) (ebp=4066f4b4) 8 0x42106d4d (_ZN4Arts14StartupManager7startupEv+0x4d in libmcop.so.1) (ebp=4066f514) 9 0x420e49f9 (_ZN4Arts10DispatcherC1EPNS_9IOManagerENS0_11StartServerE+0xc99 in libmcop.so.1) (ebp=4066f894) 10 0x40d77ce2 (arts_backend_init+0x162 in libartscbackend.so.0) (ebp=4066f934) 11 0x41683762 (arts_init+0x42 in libartsc.so.0) (ebp=4066f944) 12 0x41678514 (ARTS_Init+0x14 [audio.c:313] in WINEARTS.DRV) (ebp=4066f950) 13 0x416785d8 (ARTS_WaveInit+0x28 [audio.c:355] in WINEARTS.DRV) (ebp=4066f98c) 14 0x41678217 (.L19 [arts.c] in WINEARTS.DRV) (ebp=4066f9b0) 15 0x40c15171 (DRIVER_SendMessage+0x91(lpDrv=0x40346aa0, msg=0x1, lParam1=0x0, lParam2=0x0) [driver.c:98] in WINMM.DLL) (ebp=4066f9f0) 16 0x40c141bf (DRIVER_AddToList+0x11f(lpNewDrv=0x40346aa0, lParam1=0x0, lParam2=0x0) [driver.c:168] in WINMM.DLL) (ebp=4066fa14) 17 0x40c143aa (DRIVER_TryOpenDriver32+0x12a(fn=0x4066fa70, lParam2=0x0) [driver.c:268] in WINMM.DLL) (ebp=4066fa48) 18 0x40c146ff (OpenDriverA+0x1bf(lpDriverName=0x4066fbf8, lpSectionName=0x0, lParam2=0x0) [driver.c:298] in WINMM.DLL) (ebp=4066fafc) 19 0x40c17e38 (MMDRV_Install+0x128(drvRegName=0x4066fbf8, drvFileName=0x4066fbf8, bIsMapper=0x0) [lolvldrv.c:623] in WINMM.DLL) (ebp=4066fbbc) 20 0x40c185fe (MMDRV_InitFromRegistry+0x11e [lolvldrv.c:721] in WINMM.DLL) (ebp=4066fd04) 21 0x40c187ab (MMDRV_Init+0xb [lolvldrv.c:759] in WINMM.DLL) (ebp=4066fd10) 22 0x40c22011 (DllMain+0x71(hInstDLL=0x40c00000, fdwReason=0x1, fImpLoad=0x1) [winmm.c:154] in WINMM.DLL) (ebp=4066fd40) 23 0x40c06d8a (__wine_dll_main+0x6a(inst=0x40c00000, reason=0x1, reserved=0x1) [winmm.spec.c:7861] in WINMM.DLL) (ebp=4066fd60) 24 0x401ce6d6 (MODULE_InitDLL+0x106(wm=0x40301690, reason=0x1, lpReserved=0x1) [loader.c:692] in NTDLL.DLL) (ebp=4066fddc) 25 0x401ce89d (process_attach+0x8d(wm=0x40301690, lpReserved=0x1) [loader.c:765] in NTDLL.DLL) (ebp=4066fe0c) 26 0x401ce958 (process_attach+0x148(wm=0x403015d8, lpReserved=0x1) [loader.c:757] in NTDLL.DLL) (ebp=4066fe3c) 27 0x401ce958 (process_attach+0x148(wm=0x40300a68, lpReserved=0x1) [loader.c:757] in NTDLL.DLL) (ebp=4066fe6c) 28 0x401d0fdb (LdrInitializeThunk+0x21b(main_file=0x14, unknown2=0x0, unknown3=0x0, unknown4=0x0) [loader.c:1870] in NTDLL.DLL) (ebp=4066ff20) 29 0x4049a980 (start_process+0xc0(arg=0x0) [process.c:749] in KERNEL32.DLL) (ebp=4066fff4) 30 0x400359f1 (wine_switch_to_stack+0x11 in libwine.so.1) (ebp=00000000)
Wine-dbg>