View Issue Details

IDProjectCategoryView StatusLast Update
0000443OpenMPTGeneralpublic2013-10-26 01:03
ReporterVinCMG Assigned To 
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionno change required 
Platformx64OSWindowsOS Version7
Product VersionOpenMPT 1.22.05.00 (upgrade first) 
Summary0000443: Crash when opening the file browser to select a module to load
Description

When I click the Open File button or select Open File from the File menu, a window displays the message "Unhandled exception 0xC0000005 at address 778832B0 occured", and the program crashes to desktop.

Additional Information

This only started happening a few days ago.

Opening modules by selecting one from the recently opened list in the File menu works fine.

TagsNo tags attached.
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2013-10-22 07:18

administrator   ~0001352

Last edited: 2013-10-22 07:19

It would be helpful if you occoured the crash dump that was generated at the location that is displayed in the error message.
Also, is it reproducable, i.e. can you force the crash by loading the same file twice? If no, does it use any plugins?

VinCMG

VinCMG

2013-10-22 13:27

reporter   ~0001353

I tried to upload the crash dump when I submitted the report but the page kept telling me that it's an invalid file type for upload. I just uploaded it to Dropbox, though: https://db.tt/ErDHlIkm

It seems to happen before I can even select a file to open from the file browser. I click Open File, the file browser opens up, the same error message displays, and once I click OK to close the message the program crashes. I tried this at least 5 times and it behaved exactly the same each time.

It doesn't use any plugins as far as I know.

Saga Musix

Saga Musix

2013-10-22 13:33

administrator   ~0001354

Memory dumps can be quite big, hence you'd have to zip it before uploading to the issue tracker (we're not a file hoster after all).

Anyway, this crash appears to happen deep in the system, i.e. not somewhere in our own code. Are you sure that no other applications are affected by this? All OpenMPT odes is opening the system's file browser, and then the file browser code crashes.

Saga Musix

Saga Musix

2013-10-24 14:31

administrator   ~0001358

In case you can still reproduce the problem and can confirm that it only happens in OpenMPT, please get the latest test version at http://sagagames.de/stuff/mptrack.exe - if this one also crashes, please start it with the command line option /fullMemDump to generate a complete memory dump (this one will be severeal hundred MB in size instead of just a few hundred KB). Please compress it and upload it somewhere.

VinCMG

VinCMG

2013-10-24 23:15

reporter   ~0001359

I've tried almost all of the programs on my computer and OpenMPT is still the only one that seems to be affected. The test version behaves the same as before except that it doesn't show the error message before crashing.

Is the complete memory dump in the same location as the regular crash dumps? I can't seem to find it.

Saga Musix

Saga Musix

2013-10-25 07:37

administrator   ~0001360

Last edited: 2013-10-25 07:39

Yeah, it should be created at %TEMP%\OpenMPT Crash Files. Does the crash dump get created when you don't specify the /fullMemDump switch? Do I understand correctly that you don't have any files open in OpenMPT while the crash happens?

Edit: Also, another thing I'd like you to try to copy mptrack.exe to a different folder and start it with the /portable command line switch from there.

VinCMG

VinCMG

2013-10-25 23:42

reporter   ~0001361

The dump does get created when I don't use the switch. I don't usually have any files open when I crash the program, but it's possible to have one open while it happens if I opened a file from the recently opened file list at the bottom of the File menu.

I just tried using the /portable command and that seems to make the program work correctly without crashing.

Saga Musix

Saga Musix

2013-10-25 23:49

administrator   ~0001362

Please test if running from the new folder without the /portable switch results in no crash as well.
Also, please share your mptrack.ini from the non-portable version (located in %APPDATA%\OpenMPT).

VinCMG

VinCMG

2013-10-25 23:53

reporter   ~0001363

It crashed when I ran it without the switch. Here's the .ini: https://db.tt/xIIKJXWT

Saga Musix

Saga Musix

2013-10-25 23:58

administrator   ~0001364

Last edited: 2013-10-25 23:59

That's really strange. The only difference between using the switch and leaving it out would be that OpenMPT doesn't try to open the file selector in the default location (which would be Songs_Directory=C:\Users\Vincent\Music\MPTracker MODs in your case). Just to see if this is really the cause for the problem, locate the line starting with Songs_Directory in the portable mptrack.ini (which you can find in the same directory as the mptrack.exe that you used the /portable switch with) and replace it with the Songs_Directory line quoted above.

VinCMG

VinCMG

2013-10-26 00:07

reporter   ~0001365

I tried that and it still crashed, but I discovered that if I changed the default song directory through the settings from "MPTracker MODs" to "My MPT Modules" (where I save the ones that I write) it suddenly works. Could it be something with that specific folder?

Saga Musix

Saga Musix

2013-10-26 00:14

administrator   ~0001366

This confirms my suspicion but I still don't know why it causes the problem... And I somehow think that I will never get to know because it seems like a system issue to me. But let's try a few things:

  • Does navigating to that folder from somewhere else make OpenMPT crash as well?
  • Try to rename that folder to something different. Does it still crash?
  • If it does, try copying the folder. Does the new copy still make OpenMPT crash?
VinCMG

VinCMG

2013-10-26 01:02

reporter   ~0001367

I think it is entirely an issue with my system now, because accessing the folder or any of its copies causes Windows Explorer itself to crash.

Saga Musix

Saga Musix

2013-10-26 01:03

administrator   ~0001368

That's kind of what I suspected. It might be some damage in your file system. Anyway, I guess this a good point in time to close this issue. Good luck with rescuing that folder. ;)

Issue History

Date Modified Username Field Change
2013-10-22 04:53 VinCMG New Issue
2013-10-22 07:18 Saga Musix Note Added: 0001352
2013-10-22 07:19 Saga Musix Note Edited: 0001352
2013-10-22 13:27 VinCMG Note Added: 0001353
2013-10-22 13:33 Saga Musix Note Added: 0001354
2013-10-24 14:31 Saga Musix Note Added: 0001358
2013-10-24 23:15 VinCMG Note Added: 0001359
2013-10-25 07:37 Saga Musix Note Added: 0001360
2013-10-25 07:39 Saga Musix Note Edited: 0001360
2013-10-25 23:42 VinCMG Note Added: 0001361
2013-10-25 23:49 Saga Musix Note Added: 0001362
2013-10-25 23:53 VinCMG Note Added: 0001363
2013-10-25 23:58 Saga Musix Note Added: 0001364
2013-10-25 23:59 Saga Musix Note Edited: 0001364
2013-10-26 00:07 VinCMG Note Added: 0001365
2013-10-26 00:14 Saga Musix Note Added: 0001366
2013-10-26 01:02 VinCMG Note Added: 0001367
2013-10-26 01:03 Saga Musix Note Added: 0001368
2013-10-26 01:03 Saga Musix Status new => closed
2013-10-26 01:03 Saga Musix Resolution open => no change required