Half-Life 1.1.1.0 on wine-20030911

Zaphod Beeblebrox trillian at froschstern.de
Thu Sep 18 20:58:14 CDT 2003


Hi, recently I patch my (until then absolutely fine running) Half-Life 
1.0.6.0 to version 1.1.1.0 it isn't running properly.

The initial HL menu is shown, but if you click an entry, wine get stuck in 
a deadlock. At this point a sound should be played.

Then I kill it and start it again, attach the proc in gdb (since winedbg is 
hard to love for a developer...no history, no completion etc...) and after 
interrupting the proc you can get this:

Program received signal SIGINT, Interrupt.
0x402d2cd4 in read () from /lib/libc.so.6
(gdb) bt
#0  0x402d2cd4 in read () from /lib/libc.so.6
#1  0x400de2c8 in __DTOR_END__ () from /usr/lib/libntdll.dll.so
#2  0x400b963c in NTDLL_wait_for_multiple_objects (count=1, 
handles=0x4079fb34, flags=4, timeout=0x0) at sync.c:578
#3  0x400b96c1 in NtWaitForMultipleObjects (count=1, handles=0x4079fb34, 
wait_all=0, alertable=0, timeout=0x0) at sync.c:602
#4  0x4009c904 in WaitForMultipleObjectsEx (count=1, handles=0x4079fc5c, 
wait_all=0, timeout=4294967295, alertable=0)
    at ../../scheduler/synchro.c:139
#5  0x4009c773 in WaitForSingleObject (handle=0x5c, timeout=4294967295)
    at ../../scheduler/synchro.c:67
#6  0x40de41ac in MULTIMEDIA_PlaySound (pszSound=0x3cfa678, hmod=0x0, 
fdwSound=1, bUnicode=0) at playsound.c:444
#7  0x40de42f4 in sndPlaySoundA (
    pszSoundA=0x3cfa678 "valve\\media\\launch_upmenu1.wav", uFlags=1)
    at playsound.c:492
#8  0x00463cf4 in ?? ()
#9  0x452e7c80 in ?? ()

This problem just occures after the patch, before hl running very well! If 
I switch of any sound by a console switch, it doesn't occure. of course. To 
prevent such questions (;-): Yes, I also tried wineX, but there hl doesn't 
even start :-( , and:
Yes, it is a bit stupid to upgrade, if everything is fine. I want to play 
counter strike, therefore I think it is a good idea to patch. 
unfortunately. But nobody really has valve's new steam-shit running under 
wine...black future for cs...

A last question: if I build wine --with-npt(bla) I can't get hl even 
spawned. which glibc is definitely needed for threading in wine??? mine is 
2.2.4



More information about the wine-users mailing list