View Issue Details

IDProjectCategoryView StatusLast Update
0000115OpenMPTGeneralpublic2012-03-08 22:13
Reporterjmkz Assigned To 
PrioritylowSeveritycrashReproducibilitysometimes
Status closedResolutionunable to reproduce 
Platformx86OSWindowsOS VersionXP
Product VersionOpenMPT 1.19.01.00 (upgrade first) 
Summary0000115: Unusual crashes of OpenMPT (see description)
Description

For more about four times, OpenMPT crashes with no symptoms. I have no new things (VST related, or changes on my system) is the same as always. OpenMPT hangs for about half second an then closes. Neither is reported by Dr. Watson. OpenMPT just
disappear. One strange thing is that if I use the most stable VST's (only P8 and Synth1) and doesn't happen for the current .01.00 release.

PS: I am using the 1.19.01.03 testing version.

Additional Information

In several attempts, the program quit unexpectedly, while playing the song.

TagsNo tags attached.
Attached Files
01-115.png (37,101 bytes)   
01-115.png (37,101 bytes)   
02-115.png (9,290 bytes)   
02-115.png (9,290 bytes)   
03-115.png (8,600 bytes)   
03-115.png (8,600 bytes)   
Has the bug occurred in previous versions?Yes, for current 1.19.01
Tested code revision (in case you know it)

Activities

harbinger

harbinger

2011-04-19 19:30

reporter   ~0000151

I'd suggest that you do a few more tests and report what you find:

  1. Move the old mptrack.ini file out of the current directory, and restart so that MPT makes a new INI file. You'll hate to hafta reset all the paths and settings, but it'll help you narrow down the source of the problem.

  2. Is there a certain point where it crashes (e.g., clicking on a button, at a given time after starting up, only during playback, etc.)? Keep making it crash to see if you can replicate the behavior.

  3. Often i've noticed un-asserted crashes tend to be memory run-ins or access problems.

  4. I've also noticed some applications within and outside of Windows have a problem with DEEPLY nested pathnames. Try pulling your MPT folder out to the desktop and running it from there. Also try this with your plugin folders.

  5. I believe there is a debug or logging command (Jojo would know this), so research that and see if that helps.

Tell us what you find here...

Saga Musix

Saga Musix

2011-04-19 19:56

administrator   ~0000152

  1. The access "problems" you are talking about are called access violations and happen when accessing memory that has been freed before or trying to access a null pointer or f.e. when accessing a vector element that is out of range.

  2. Only happens with path names close to 250 characters.

  3. There isn't, but I can provide additional files for debugging if you have Visual Studio installed (preferrably VS2008, I guess any flavour (Trial/Pro/...) should do).

jmkz

jmkz

2011-04-19 20:23

reporter   ~0000153

I am currently testing in various scenarios, but is still hard to get results.

@Saga_Musix

  1. I have VS2010 Pro Trial, but not installed. I can install for more analysys on this bug.

Please tell me more what else should I do.

Saga Musix

Saga Musix

2011-04-19 20:46

administrator   ~0000154

I'll send you a PM with additional information on how to debug using some additional files.

jmkz

jmkz

2011-04-21 05:29

reporter   ~0000155

I guess that you sent me a debug build of OpenMPT, but un near six hours of testing I cannot make it crash, just one time at this time and JIT debugger don't have recognized the error (only the "Error found in program" [send bug report to MS or whatever I don't know how it is in english :P ]. This last error I think that is related with VST's but I am still unsure.

Saga Musix

Saga Musix

2011-04-21 07:05

administrator   ~0000156

Maybe it was related to a recent fix then. Have you, by any chance, used the Cleanup dialog? I know that there was a crash in that dialog in 1.19.01.03.

jmkz

jmkz

2011-04-21 09:23

reporter   ~0000157

No, I have not use it.

jmkz

jmkz

2011-04-23 01:04

reporter   ~0000161

Last edited: 2011-04-23 01:09

Instead of crashin it only hangs (for the 1.19.01.04). The window disappear but the process remains on menory, perhaps to be a bug in a plugin bundled with Acoustica Mixcraft. http://www.acoustica.com/mixcraft/download.htm

.\Acoustica Mixcraft 5\VST\Acoustica\Acoustica Instruments.dll
.\Acoustica Mixcraft 5\VST\Acoustica\Acoustica Expanded Instruments.dll

jmkz

jmkz

2011-04-23 01:12

reporter   ~0000162

Has the bug occurred in previous versions? Yes, but not in the same way.

Saga Musix

Saga Musix

2011-04-23 01:41

administrator   ~0000163

You might have to click the window if it seems to be hanging. You should get a crash dialog then.

jmkz

jmkz

2011-04-23 04:08

reporter   ~0000164

It hangs, but you need to force task kill.

jmkz

jmkz

2011-04-27 08:22

reporter   ~0000166

Here is a result of JIT:
Unhandled exception at 0x000c6c93 in mptrack.exe: 0xC0000005: Access violation reading location 0x000c6c93.

Saga Musix

Saga Musix

2011-04-27 08:54

administrator   ~0000167

The addresses are unluckily not that helpful. Didn't you manage to create a debugging instance as described in my PM? You should get the chance to do so when you get the crash prompt.

jmkz

jmkz

2011-04-27 09:39

reporter   ~0000168

The bug says that were on CControlBar, but I cannot remember the section of barcore.cpp

jmkz

jmkz

2011-04-27 09:44

reporter   ~0000169

If I am not wrong were occured on this line: LRESULT CControlBar::WindowProc(UINT nMsg, WPARAM wParam, LPARAM lParam)
and I can remember something here but in line 507

Saga Musix

Saga Musix

2011-04-27 20:56

administrator   ~0000170

That function would be part of the MFC library, but I can't even find it being used anywhere...

jmkz

jmkz

2011-04-28 10:38

reporter   ~0000171

I have an active current bug (in debugger) What data do you need?

jmkz

jmkz

2011-04-28 12:54

reporter   ~0000172

Last edited: 2011-08-06 09:45

I think that you get this useful http://www.mediafire.com/file/fccxwy4oqogl14n/dbg-mptrack.7z

EDIT: Updated link.

Saga Musix

Saga Musix

2011-04-28 13:49

administrator   ~0000173

Those screenshots appear to be a bit more useful. However you need revision 859 of the code so the debugger will give reliable results (one of the screenshots say that sndmix.cpp doesn't match, so it might give wrong results). With revision 859, you should be able to see the exact line where it crashed and the current state of all variables.

jmkz

jmkz

2011-04-28 22:22

reporter   ~0000174

It's the 859 downloaded as tarball on SVN repository. I don't why appear that warning if I have the r859

Saga Musix

Saga Musix

2011-08-05 22:00

administrator   ~0000320

Reminder sent to: jmkz

Any news on this?

jmkz

jmkz

2011-08-06 09:39

reporter   ~0000321

Let me some time to provide feedback; I'm currently not working on songs that crash OpenMPT. Also, how useful is dump openmpt memory(?) when debugging from VS? I guess it's useful but I don't know if you need other files for debugging. Another issue I have, is a hang of OpenMPT, but not a crash. Please let me know what you need for proper debugging.

jmkz

jmkz

2011-09-02 17:51

reporter   ~0000385

Still pending, I'll go into v1.19.01 and debug (try to) if I am able.

jmkz

jmkz

2012-03-08 22:10

reporter   ~0000644

Last edited: 2012-03-08 22:11

I do a lot of test regarding this issue on XP but I cannot reproduce, now I have updated my main system to Windows 7 and tested too. Still without successful results, so I have decided to close this.

Issue History

Date Modified Username Field Change
2011-04-19 01:11 jmkz New Issue
2011-04-19 19:30 harbinger Note Added: 0000151
2011-04-19 19:56 Saga Musix Note Added: 0000152
2011-04-19 20:23 jmkz Note Added: 0000153
2011-04-19 20:46 Saga Musix Note Added: 0000154
2011-04-21 05:29 jmkz Note Added: 0000155
2011-04-21 07:05 Saga Musix Note Added: 0000156
2011-04-21 09:23 jmkz Note Added: 0000157
2011-04-23 01:04 jmkz Note Added: 0000161
2011-04-23 01:09 jmkz Note Edited: 0000161
2011-04-23 01:12 jmkz Has the bug occurred in previous versions? Unsure => Yes, for current 1.19.01
2011-04-23 01:12 jmkz Note Added: 0000162
2011-04-23 01:12 jmkz Severity major => crash
2011-04-23 01:41 Saga Musix Note Added: 0000163
2011-04-23 04:06 jmkz File Added: 01-115.png
2011-04-23 04:06 jmkz File Added: 02-115.png
2011-04-23 04:06 jmkz File Added: 03-115.png
2011-04-23 04:08 jmkz Note Added: 0000164
2011-04-27 08:22 jmkz Note Added: 0000166
2011-04-27 08:54 Saga Musix Note Added: 0000167
2011-04-27 09:39 jmkz Note Added: 0000168
2011-04-27 09:44 jmkz Note Added: 0000169
2011-04-27 20:56 Saga Musix Note Added: 0000170
2011-04-28 10:38 jmkz Note Added: 0000171
2011-04-28 12:54 jmkz Note Added: 0000172
2011-04-28 12:54 jmkz Note View State: 0000172: private
2011-04-28 12:54 jmkz Note View State: 0000172: public
2011-04-28 13:49 Saga Musix Note Added: 0000173
2011-04-28 22:22 jmkz Note Added: 0000174
2011-08-05 22:00 Saga Musix Note Added: 0000320
2011-08-06 09:39 jmkz Note Added: 0000321
2011-08-06 09:45 jmkz Note Edited: 0000172
2011-09-02 17:51 jmkz Note Added: 0000385
2011-09-02 17:51 jmkz Priority normal => low
2011-09-02 17:51 jmkz Steps to Reproduce Updated
2012-03-08 22:10 jmkz Note Added: 0000644
2012-03-08 22:10 jmkz Resolution open => no change required
2012-03-08 22:11 jmkz Note Edited: 0000644
2012-03-08 22:13 Saga Musix Status new => closed
2012-03-08 22:13 Saga Musix Resolution no change required => unable to reproduce