Error after upgrading kubuntu

Open forum for end-user questions about Wine. Before asking questions, check out the Wiki as a first step.
Forum Rules
Locked
jiachen
Newbie
Newbie
Posts: 3
Joined: Tue Aug 05, 2008 10:39 am

Error after upgrading kubuntu

Post by jiachen »

Hi there,

I recently upgraded my kubuntu system to 8.04.1 (Hardy Heron), and one of the my data collection software under wine gives me this error every time I run it.

Code: Select all

err:ntdll:RtlpWaitForCriticalSection section 0x7b92b280 "syslevel.c: Win16Mutex" wait timed out in thread 001c, blocked by 0019, retrying (60 sec)
wine: Critical section 7b92b280 wait failed at address 0x7bc3a930 (thread 001c), starting debugger...
Unhandled exception: wait failed on critical section 0x7b92b280
err:seh:raise_exception Unhandled exception code c0000194 flags 0 addr 0x7bc3a930
Process of pid=0017 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process  tid      prio (all id:s are in hex)
0000000c
        00000012    0
        0000000e    0
        0000000d    0
0000000f
        00000016    0
        00000015    0
        00000011    0
        00000010    0
0000001a
        0000001b    0
You must be attached to a process to run this command.
No process loaded, cannot execute 'detach'
Previously, my kubuntu version was 7.10 (Gutsy Gibbon), and this program (called DataStream) worked fine.

I googled "err:ntdll:RtlpWaitForCriticalSection" for solution and found a few posts.
Such as this one,
http://appdb.winehq.org/commentview.php ... adId=13763
I don't know what they mean by "switching to OSS or try driver emulation"

None of any other posts seems to give a solution.

I have not yet tried anything to fix this myself.

Does anyone know how to fix this? Thanks.
kwentzell
Newbie
Newbie
Posts: 2
Joined: Tue Aug 05, 2008 3:12 pm

Post by kwentzell »

Run the "winecfg" application, and in the audio tab, try some different settings. To install OSS, i believe the package that wraps OSS around alsa (so you don't have to have OSS AND alsa installed) is "alsa-oss"

So, execute "sudo apt-get install alsa-oss"
Then run winecfg and fiddle with the settings, try emulation etc. You'll also have to restart winecfg after changing sound engines in order for sound to be tested correctly.
jiachen
Newbie
Newbie
Posts: 3
Joined: Tue Aug 05, 2008 10:39 am

Post by jiachen »

kwentzell wrote:Run the "winecfg" application, and in the audio tab, try some different settings. To install OSS, i believe the package that wraps OSS around alsa (so you don't have to have OSS AND alsa installed) is "alsa-oss"

So, execute "sudo apt-get install alsa-oss"
Then run winecfg and fiddle with the settings, try emulation etc. You'll also have to restart winecfg after changing sound engines in order for sound to be tested correctly.
I tried OSS in the audio setting tab and tried emulation as well as many other options.
But the problem still persists.

I think my sound and graphics works fine for other programs under wine.
User avatar
dimesio
Moderator
Moderator
Posts: 13367
Joined: Tue Mar 25, 2008 10:30 pm

Post by dimesio »

When you upgraded your OS, did you also delete your old ~/.wine and reinstall your Windows programs to a clean ~/.wine? If you didn't, try that.

Regarding the sound problem, have you disabled Pulseaudio? http://forum.winehq.org/viewtopic.php?t=1457
jiachen
Newbie
Newbie
Posts: 3
Joined: Tue Aug 05, 2008 10:39 am

Post by jiachen »

dimesio wrote:When you upgraded your OS, did you also delete your old ~/.wine and reinstall your Windows programs to a clean ~/.wine? If you didn't, try that.

Regarding the sound problem, have you disabled Pulseaudio? http://forum.winehq.org/viewtopic.php?t=1457
I removed wine by using

Code: Select all

sudo aptitude remove wine
then, I deleted the directory ~/.wine by

Code: Select all

rm -rf ~/.wine
finally, I reinstalled the program that I had problem with, DSWINDOW. However, the problem is still the same because terminal prints the similar (same) error message and nothing happens after that.

Can anyone read this error message or does anyone see similar ones before?

Code: Select all

err:ntdll:RtlpWaitForCriticalSection section 0x7b92ec60 "syslevel.c: Win16Mutex" wait timed out in thread 001c, blocked by 0019, retrying (60 sec)
wine: Critical section 7b92ec60 wait failed at address 0x7bc3ac50 (thread 001c), starting debugger...
Unhandled exception: wait failed on critical section 0x7b92ec60
err:seh:raise_exception Unhandled exception code c0000194 flags 0 addr 0x7bc3ac50
Process of pid=0017 has terminated
No process loaded, cannot execute 'echo Modules:'
Cannot get info on module while no process is loaded
No process loaded, cannot execute 'echo Threads:'
process  tid      prio (all id:s are in hex)
0000000c
        00000012    0
        0000000e    0
        0000000d    0
0000000f
        00000016    0
        00000015    0
        00000011    0
        00000010    0
0000001a
        0000001b    0
You must be attached to a process to run this command.
No process loaded, cannot execute 'detach'
Locked