[Bug 26389] New: Win3.1 Notepad crashes when opening a large file

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 12 10:10:52 CST 2011


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

           Summary: Win3.1 Notepad crashes when opening a large file
           Product: Wine
           Version: 1.2.2
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: -unknown
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: spammis at spam.la


Created an attachment (id=33605)
 --> (http://bugs.winehq.org/attachment.cgi?id=33605)
DOSBox (left) and Wine (right)

This bug applies to the version of Notepad bundled with Windows 3.1.

Old versions of Notepad can't open big text files. Instead, Notepad displays a
message saying "The file FILENAME is too large for Notepad. Use another editor
to edit the file." Wine crashes instead of displaying this message.

A giant file can be created in numerous ways. I used a small python script:
for i in range(1999999):
   print i
"python script.py > giant.txt" gives a giant file.

I tried opening the file using Wine running Notepad and using DOSBox running
Windows 3.1 running Notepad. Windows 3.1 is just a normal DOS application, so
it runs fine under DOSBox. I'm attaching a PNG file displaying the differences
between Wine and DOSBox. In this case, DOSBox is correct while Wine is wrong.

-- 
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