Jump to content
Muxe Inc Forums
Sign in to follow this  
dandv

Crash On Viewing Locked Files Without Auto Code Page

Recommended Posts

dandv    0

Okay, this bug was very fun and hard to pinpoint. I manage to bring it down to only two settings that have to be changed. Here's how to reproduce:

 

1. Get a fresh NDN beta 2.30.8497

For reference, go view a file in use by another application. For example, one of the .tmp files in %TEMP% if you have Outlook and Word running; places.sqlite-journal from Firefox's profiles directory. NDN will show a dialog box saying it can't open the file.

2. Disable System Setup -> Internal Viewer and view (F3) the file again. NDN won't display the dialog box.

3. Disable Auto code page in Editor and view the file again. NDN will crash with the following error message:

 

Exception EAccessViolation in module ndn.exe at 000D3224

File: f:\NDN\source\Microed\microed2.pas Line#: 569

Access violation at address 004D3224. Read of address 0000000C.

 

As a side note, with the software world switching to Unicode, I'd recommend that the "Auto code page" option be Off by default. (I don't know how things are in Russia, though... those guys seem to really love the KOI mess ;-)

 

HTH,

Dan Dascalescu

Share this post


Link to post
Share on other sites
dandv    0
Fixed, as well as http://forums.muxe.com/index.php?showtopic=3178.

 

Thank you for your the reports,

Stefan / AH

 

Awesome, that was a rapid fix!

 

I just found another very similar bug. If you view this SRT file with Internal Viewer off, and Auto Code Page off, NDN will crash with the following error:

Exception EAccessViolation in module ndn.exe at 000D3501.
File: f:\NDN\source\Microed\microed2.pas Line#: 654
Access violation at address 004D3501. Read of address 6D616E71.

 

PS: I tried to upload the file here, but got an error: "Upload failed. Please ask the administrator to ensure the uploads directory is available"

Share this post


Link to post
Share on other sites

Hi Dan,

 

I will release a new version this weekend, maybe you want to retry this bug yourself too. :)

 

I never have uploaded anything here... aren't you admin in here?

You should also know whom to contact :P

 

All the best, until sunday,

Stefan / AH

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×