WoW under wine and winecfg segfault

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
daemonflower
Newbie
Newbie
Posts: 2
Joined: Sun Mar 15, 2009 2:39 pm

WoW under wine and winecfg segfault

Post by daemonflower »

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: Select all

$ 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: Select all

 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: Select all

$ 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: Select all

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: Select all

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: Select all

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...
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Re: WoW under wine and winecfg segfault

Post by vitamin »

daemonflower wrote:open("/dev/snd/controlC0", O_RDWR) = 15
ioctl(15, USBDEVFS_CONTROL, 0x33eab8) = 0
ioctl(15, USBDEVFS_RELEASEINTERFACE <unfinished ...>
+++ killed by SIGSEGV +++
Looks like another bug with pulseaudio. Have you completelly removed pulseaudio from your system? And all of it's libraries that might interfere with ALSA?
daemonflower
Newbie
Newbie
Posts: 2
Joined: Sun Mar 15, 2009 2:39 pm

Post by daemonflower »

Gee, good hint! I didn't even have an idea I had anything pulseaudio-related installed, but there were libs in a package called "emul-linux-x86-soundlibs".

I removed them and both WoW and winecfg start up properly. In winecfg I can't select any audio drivers though, and sound doesn't work. Does that mean I can't have sound? (I could live with that, though.)

Thanks!
vitamin
Moderator
Moderator
Posts: 6605
Joined: Sat Feb 23, 2008 2:29 pm

Post by vitamin »

daemonflower wrote:Gee, good hint! I didn't even have an idea I had anything pulseaudio-related installed, but there were libs in a package called "emul-linux-x86-soundlibs".

I removed them and both WoW and winecfg start up properly. In winecfg I can't select any audio drivers though, and sound doesn't work. Does that mean I can't have sound? (I could live with that, though.)
Looks like that package contains all the 32-bit sound libraries not just pulseaudio. So you probably need to put it back if you want sound.

You can try set via registry sound to oss:

Code: Select all

[HKEY_CURRENT_USER\Software\Wine\Drivers]
Audio="oss"
v2k

WoW under wine and winecfg segfault

Post by v2k »

I'm having the same problem with winecfg. It just stopped working. I've
tried nuking .wine and reinstalling 1.1.15, and also 1.1.17. I still can't
get winecfg (or anything to run)

I'm using:
Linux spectre 2.6.28-sabayon #1 SMP Wed Mar 11 14:25:13 UTC 2009 x86_64
Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz GenuineIntel GNU/Linux

winecfg gives no output.. it just sits there. sometimes I get:
err:process:__wine_kernel_init boot event wait timed out

I put wineserver in foreground and there is a ton of spew. Here's the las
bit:

0010: close_handle( handle=0010 )
0010: close_handle() = 0
0010: create_key( parent=0000, access=000f003f, attributes=00000040,
options=00000000, namelen=44, name=L"\\Registry\\User\\S-1-5-4", class=L"" )
0010: create_key() = 0 { hkey=0010, created=0 }
0010: open_key( parent=0010, access=000f003f, attributes=00000000,
name=L"Environment" )
0010: open_key() = OBJECT_NAME_NOT_FOUND { hkey=0000 }
0010: close_handle( handle=0010 )
0010: close_handle() = 0
0010: open_key( parent=0000, access=000f003f, attributes=00000000,
name=L"Machine\\Software\\Microsoft\\Windows
NT\\CurrentVersion\\ProfileList" )
0010: open_key() = 0 { hkey=0010 }
0010: get_key_value( hkey=0010, name=L"ProfilesDirectory" )
0010: get_key_value() = 0 { type=2, total=40,
data={43,00,3a,00,5c,00,77,00,69,00,6e,00,64,00,6f,00,77,00,73,00,5c,00,70,00,72,00,6f,00,66,00,69,00,6c,00,65,00,73,00,00,00}
}
0010: get_key_value( hkey=0010, name=L"AllUsersProfile" )
0010: get_key_value() = OBJECT_NAME_NOT_FOUND { type=-1, total=0, data={} }
0010: close_handle( handle=0010 )
0010: close_handle() = 0
0010: create_file( access=00000000, attributes=00000040, sharing=00000000,
create=1, options=00000021, attrs=00000000,
objattr={rootdir=0000,sd={},name=L""},
filename="/home/v2k/.wine/dosdevices/z:/home/v2k" )
0010: create_file() = 0 { handle=0010 }
0010: get_handle_fd( handle=0010 )
0010: *fd* 0010 -> 41
0010: get_handle_fd() = 0 { type=2, removable=0, access=00000000,
options=00000021 }
0010: terminate_process( handle=ffffffff, exit_code=2 )
0010: terminate_process() = 0 { self=1 }
0010: *killed* exit_code=2
000f: *process killed*



vitamin wrote:

daemonflower wrote:
Gee, good hint! I didn't even have an idea I had anything
pulseaudio-related installed, but there were libs in a package called
"emul-linux-x86-soundlibs".

I removed them and both WoW and winecfg start up properly. In winecfg I
can't select any audio drivers though, and sound doesn't work. Does that
mean I can't have sound? (I could live with that, though.)
Looks like that package contains all the 32-bit sound libraries not just
pulseaudio. So you probably need to put it back if you want sound.

You can try set via registry sound to oss:

Code:
[HKEY_CURRENT_USER\Software\Wine\Drivers]
Audio="oss"








--
View this message in context: http://www.nabble.com/WoW-under-wine-an ... 32559.html
Sent from the Wine - Users mailing list archive at Nabble.com.
Locked