[Bug 27721] Sound Recorder fails with memory error on any operation that changed sound length

wine-bugs at winehq.org wine-bugs at winehq.org
Thu Nov 14 10:13:52 CST 2013


http://bugs.winehq.org/show_bug.cgi?id=27721

Nachanon Vetjasit <Nachanon_Vetjasit at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID

--- Comment #2 from Nachanon Vetjasit <Nachanon_Vetjasit at 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=ru&tl=en&u=http://habrahabr.ru/post/89763/)

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.

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list