Comment 0 for bug 502375

Revision history for this message
phanyx (phanyx-deactivatedaccount) wrote : Wine randomly cannot initialize sound

Binary package hint: wine1.2

I have a problem with wine - it randomly don't initialize sound.

The following cases were tested by running winecfg multiple times, one after another:

1. With wine1.2 set to use ALSA and when there is no more applications, that are producing sound, wine randomly gives multiple errors, that say: “mmap() failed: Cannot allocate memory”, but eventually starts and works properly.

2. With wine1.2 set to use ALSA and when there are applications, that are producing sound (e. g. Audacious2, Firefox while playing flash movies), wine randomly gives multiple errors, that say: “mmap() failed: Cannot allocate memory”, and one error, that says: “ALSA lib pcm_dmix.c:1008:(snd_pcm_dmix_open) unable to open slave”. After that wine runs the requested application, but without sound.

3. With wine1.2 from Neil Wilson's PPA with unofficial pulseaudio support and set to use Pulseaudio, wine randomly gives multiple errors, that say: “mmap() failed: Cannot allocate memory”, and one error, that say:
“xe: pulse.c:716: PULSE_WaveInit: Assertion `PULSE_context' failed.
err:module:attach_process_dlls "winmm.dll" failed to initialize, aborting
err:module:LdrInitializeThunk Main exe initialization for L"C:\\windows\\system32\\winecfg.exe" failed, status 80000101”.
After that, wine don't even start the requested application. That case occurs even, when there are no applications, that are producing sound at the moment.

The strange thing is, that the issue occurs randomly: sometimes wine will start just fine, but sometimes it will not. The issue is very frequent though.

ProblemType: Bug
Architecture: i386
Card0.Amixer.info:
 Card hw:0 'CA0106'/'Audigy SE [SB0570] at 0xd400 irq 17'
   Mixer name : 'CA0106'
   Components : ''
   Controls : 35
   Simple ctrls : 18
Date: Sat Jan 2 17:44:26 2010
DistroRelease: Ubuntu 9.10
InstallationMedia: Ubuntu 9.10 "Karmic Koala" - Release i386 (20091028.5)
NonfreeKernelModules: nvidia
Package: pulseaudio 1:0.9.19-0ubuntu4
ProcEnviron:
 LANG=pl_PL.UTF-8
 SHELL=/bin/bash
ProcVersionSignature: Ubuntu 2.6.31-17.54-generic
SourcePackage: pulseaudio
Uname: Linux 2.6.31-17-generic i686
mtime.conffile..etc.pulse.daemon.conf: 2009-12-07T01:27:14.270441