[Bug 30294] New: Crash in notepad when loading big text file
http://bugs.winehq.org/show_bug.cgi?id=30294 Bug #: 30294 Summary: Crash in notepad when loading big text file Product: Wine Version: 1.5.0 Platform: x86-64 OS/Version: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs(a)winehq.org ReportedBy: frederic.delanoy(a)gmail.com Classification: Unclassified Created attachment 39590 --> http://bugs.winehq.org/attachment.cgi?id=39590 crash backtrace in wine-1.5.0-204-ga179b50 Download attachment 28858 [details] from bug 23193 and uncompress it. Open it in 'wine notepad'. Full log: wine: Unhandled page fault on write access to 0x00000018 at address 0x7e6fc4f8 (thread 0024), starting debugger... wine client error:24: read: Bad address -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30294 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |23193 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30294 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Blocks| |23195 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30294 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |regression CC| |aric(a)codeweavers.com Component|-unknown |user32 Regression SHA1| |3b5e14a9b0a925052e2b1b71f76 | |a7f1eff6d84bf --- Comment #1 from Austin English <austinenglish(a)gmail.com> 2012-03-29 13:50:37 CDT --- austin(a)aw25 ~/wine-rt $ git bisect bad 3b5e14a9b0a925052e2b1b71f76a7f1eff6d84bf is the first bad commit commit 3b5e14a9b0a925052e2b1b71f76a7f1eff6d84bf Author: Aric Stewart <aric(a)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 -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30294 --- Comment #2 from Aric Stewart <aric(a)codeweavers.com> 2012-03-30 09:57:13 CDT --- (In reply to comment #1)
austin(a)aw25 ~/wine-rt $ git bisect bad 3b5e14a9b0a925052e2b1b71f76a7f1eff6d84bf is the first bad commit commit 3b5e14a9b0a925052e2b1b71f76a7f1eff6d84bf Author: Aric Stewart <aric(a)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.
http://bugs.winehq.org/show_bug.cgi?id=30294 --- Comment #3 from Alexandre Julliard <julliard(a)winehq.org> 2012-03-30 10:11:28 CDT --- This file has 30,000 lines, it shouldn't be a problem to store it all in memory. There's definitely something wrong here. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30294 --- Comment #4 from Aric Stewart <aric(a)codeweavers.com> 2012-03-30 10:14:27 CDT --- (In reply to comment #3)
This file has 30,000 lines, it shouldn't be a problem to store it all in memory. There's definitely something wrong here.
Yup, noticing that myself. We are definitely running out of memory. Uniscribe can be a memory hog especially with all the caching it does. I am working on how to improve things. -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30294 Frédéric Delanoy <frederic.delanoy(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #5 from Frédéric Delanoy <frederic.delanoy(a)gmail.com> 2012-05-04 13:05:52 CDT --- Works in wine-1.5.3-143-g081b06c -- 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.
http://bugs.winehq.org/show_bug.cgi?id=30294 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #6 from Alexandre Julliard <julliard(a)winehq.org> 2012-05-11 13:21:57 CDT --- Closing bugs fixed in 1.5.4. -- 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.
participants (1)
-
wine-bugs@winehq.org