[Wine] WoW under wine and winecfg segfault

daemonflower wineforum-user at winehq.org
Sun Mar 15 14:42:26 CDT 2009


I am using wine actually only to play WoW on Gentoo Linux. On my desktop PC that works, but on my laptop the program crashes. This appears to be a fault in wine, because I cannot even use winecfg - it segfaults immediately:

Code:
$ winecfg
wine: created the configuration directory '/home/helge/.wine'
err:process:__wine_kernel_init boot event wait timed out
Segmentation fault


I tried this with every wine version from 1.1.14 to 1.1.17, compiled with gcc 4.1.2, 4.2.4 and 4.3.3, and with and without deleting the .wine directory first. 

Here's some debugging info that may or may not be of interest:

Code:
 uname -a
Linux charon 2.6.28-tuxonice-r1 #3 SMP PREEMPT Fri Feb 6 13:08:52 CET 2009 x86_64 Intel(R) Core(TM)2 Duo CPU T7100 @ 1.80GHz GenuineIntel GNU/Linux



(The system on my desktop, which works, differs in the kernel (2.6.28-gentoo-r2) and the processor (AMD Athlon X2).)

Code:
$ strace winecfg 2>&1 | tail -n 20
close(14)                               = 0
munmap(0xf7c30000, 4096)                = 0
semop(0, 0x33e92e, 1)                   = 0
open("/dev/snd/controlC0", O_RDONLY)    = 14
close(14)                               = 0
stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8967, ...}) = 0
open("/dev/snd/controlC0", O_RDONLY)    = 14
close(14)                               = 0
open("/dev/snd/controlC0", O_RDWR)      = 14
ioctl(14, USBDEVFS_CONTROL, 0x33e938)   = 0
ioctl(14, USBDEVFS_CONNECTINFO, 0x33e940) = 0
ioctl(14, 0xc008551a, 0x7d560230)       = 0
stat64("/usr/share/alsa/alsa.conf", {st_mode=S_IFREG|0644, st_size=8967, ...}) = 0
open("/dev/snd/controlC0", O_RDONLY)    = 15
close(15)                               = 0
open("/dev/snd/controlC0", O_RDWR)      = 15
ioctl(15, USBDEVFS_CONTROL, 0x33eab8)   = 0
ioctl(15, USBDEVFS_RELEASEINTERFACE <unfinished ...>
+++ killed by SIGSEGV +++
[ Process PID=2897 runs in 32 bit mode. ]




Code:
wine Desktop/TryWoW.exe
err:process:__wine_kernel_init boot event wait timed out
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"
fixme:actctx:parse_depend_manifests Could not find dependent assembly L"Microsoft.Windows.Common-Controls"
err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject class {8856f961-340a-11d0-a96b-00c04fd705a2} not registered
err:ole:CoGetClassObject no class object {8856f961-340a-11d0-a96b-00c04fd705a2} could be created for context 0x3
wine: Unhandled page fault on read access to 0x00000010 at address 0x422bc4 (thread 0009), starting debugger...
Unhandled exception: page fault on read access to 0x00000010 in 32-bit code (0x00422bc4).
Register dump: [...]


BTW, the line 
Code:
err:process:__wine_kernel_init boot event wait timed out 

 which appears in the output of both winecfg and wine, suuggests that the pproblem lies in wineserver, but that is misleading. The line vanishes when I start wineserver manually, but the crashes remain.

The last lines of the output of wineserver -d -f after running winecfg:

Code:
0009: load_dll( handle=0000, base=7e130000, name=00127a18, size=176128, dbg_offset=0, dbg_size=0, filename=L"C:\\windows\\system32\\winealsa.drv" )
0009: load_dll() = 0
0009: open_key( parent=001c, access=00000001, attributes=00000000, name=L"Software\\Wine\\Alsa Driver" )
0009: open_key() = OBJECT_NAME_NOT_FOUND { hkey=0000 }
0009: *killed* exit_code=0
0008: *process killed*
wineserver: shutting down
000d: *wakeup* signaled=0
000d: close_handle( handle=0038 )
000d: close_handle() = 0
000d: close_handle( handle=0020 )
000d: close_handle() = 0
000d: terminate_process( handle=ffffffff, exit_code=0 )
000e: *killed* exit_code=0
000d: terminate_process() = 0 { self=1 }
000d: *killed* exit_code=0
000c: *process killed*
wineserver: exiting (pid=11242)


Another clue is that there might be something wrong with the ALSA drivers, but I have no idea how to tell wine/winecfg not to use sound...







More information about the wine-users mailing list