[Bug 30294] Crash in notepad when loading big text file

wine-bugs at winehq.org wine-bugs at winehq.org
Fri Mar 30 09:57:13 CDT 2012


--- Comment #2 from Aric Stewart <aric at codeweavers.com> 2012-03-30 09:57:13 CDT ---
(In reply to comment #1)
> austin at aw25 ~/wine-rt $ git bisect bad
> 3b5e14a9b0a925052e2b1b71f76a7f1eff6d84bf is the first bad commit
> commit 3b5e14a9b0a925052e2b1b71f76a7f1eff6d84bf
> Author: Aric Stewart <aric at codeweavers.com>
> Date:   Fri Oct 21 11:29:05 2011 -0500
>     user32: Use Uniscribe in the multiline edit control.
> :040000 040000 3cade3e51f7827bcb33e2ffb29d813b1b281eee3
> 36d7773ef67ae9d2a462fc856024bebed3a15aaa M    dlls

Not too surprisingly.  The failure involves E_OUTOFMEMORY.

The edit control is presently loading every line in the control and we are
running out of memory (not to mention being slow) on really huge files.

It will take a bit of work to redesign it to properly only work with lines that
are visible on the screen. 

I am presuming that this is not a new problem with the above commit it is just
that using uniscribe results in more memory allocated per line so we are
running out of memory sooner than we would before. Thus this bug manifests on
shorter files.

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