http://bugs.winehq.org/show_bug.cgi?id=27721
Summary: Sound Recorder fails with memory error on any operation that changed sound length Product: Wine Version: 1.3.23 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: Nachanon_Vetjasit@hotmail.com
Run Windows Sound Recorder (sndrec32.exe) picked from Windows installation (any version, Win9x to XP) Click record button Wait for 20 sec Click stop button
Sound Recorder will display an memory error "Not enough memory available to complete this operation. Quit one or more application to increase available memory, and then try again."
Wine console displays nothing about it.
Note that all operation that changed sound length will also fail with the same error.
Using wine 1.3.23 (source) on Debian GNU/Linux 5.0 (i386: Intel Pentium 4, 2.6GHz) Compiled without GStreamer, OpenCL, XInput2, and OSS Support.
Realtek ALC880/Intel HDA onboard audio. With wine audio settings: ALSA Driver, Full Hardware Acceleration, 44100Hz 16bit Stereo
http://bugs.winehq.org/show_bug.cgi?id=27721
--- Comment #1 from Austin English austinenglish@gmail.com 2013-11-13 16:52:44 CST --- This is your friendly reminder that there has been no bug activity for 2 years. Is this still an issue in current (1.7.6 or newer) wine? If so, please attach the terminal output in 1.7.6 (see http://wiki.winehq.org/FAQ#get_log).
http://bugs.winehq.org/show_bug.cgi?id=27721
Nachanon Vetjasit Nachanon_Vetjasit@hotmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #2 from Nachanon Vetjasit Nachanon_Vetjasit@hotmail.com 2013-11-14 10:13:52 CST --- Okay, I've found that this is actually a bug in Sound Recorder itself. It misuses signed 32 bit comparision for deciding if there's enough memory available for the pending operation.
Thus with > 2GiB memory available, the sum of free memory and sound-occupied memory eventually gone negative, setting off the not-enough-memory error dialog.
This also affects Sound Recorder running on Microsoft Windows XP itself.
Reduce system memory to somewhere below 2GiB (by appending mem=xxxM at Linux kernel boot line) and disable all swap space to work around this issue.
Resolving Invalid, as it's not a bug in WINE. Sorry for the delay.
Note: for more information on this issue: - http://en.wikipedia.org/wiki/Sound_Recorder_(Windows) - http://habrahabr.ru/post/89763/ In Russian, and includes instruction for one-byte patching on sndrec32.exe 5.1.2600.5512 to fix the issue. (Translation: http://translate.google.com/translate?hl=en&ie=UTF8&prev=_t&sl=r...)
sndrec32.exe: 4.0.90.3000 (Windows ME), 5.1.2600.5512 (Windows XP SP3) WINE 1.7.5 (source) on Debian GNU/Linux 5.0 (i386: Intel Pentium 4, 2.6GHz) installed without XInput2, OSMesa, OpenCL, CMS, GStreamer and OSS support. Realtek ALC880/Intel HDA onboard audio. WINE audio driver: winealsa.drv System memory limited to 1 GiB, with no swap space.
http://bugs.winehq.org/show_bug.cgi?id=27721
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Austin English austinenglish@gmail.com 2013-11-14 13:20:39 CST --- Closing.