View Issue Details

IDProjectCategoryView StatusLast Update
0000391OpenMPTPlayback Compatibilitypublic2013-05-15 09:38
ReporterTheRetroGuy Assigned Tomanx  
PriorityhighSeveritycrashReproducibilityalways
Status resolvedResolutionfixed 
Platformx86OSWindowsOS Version7
Product VersionOpenMPT 1.22.02.00 (upgrade first) 
Target VersionOpenMPT 1.22.03.00 (upgrade first)Fixed in VersionOpenMPT 1.22.03.00 (upgrade first) 
Summary0000391: Crashes when playing XMs
Description

I loaded an XM created by a previous version of OpenMPT and it crashes when I try to play it.

TagsNo tags attached.
Attached Files
crashingxm.zip (416,183 bytes)
Has the bug occurred in previous versions?
Tested code revision (in case you know it)

Activities

Saga Musix

Saga Musix

2013-04-28 11:33

administrator   ~0001205

Nope, doesn't crash here. Neither in the official version, nor in the latest test build. Try this: http://sagagames.de/stuff/mptrack.exe does it still crash?

TheRetroGuy

TheRetroGuy

2013-04-28 16:14

reporter   ~0001217

For some reason it still crashes when I try to play it.

Saga Musix

Saga Musix

2013-04-28 16:16

administrator   ~0001218

Does it only happen with this particular file? Can you please provide the crash dump that is generated when OpenMPT crashes? But please use the official OpenMPT 1.22.02.00 release for that.

TheRetroGuy

TheRetroGuy

2013-04-28 16:24

reporter   ~0001220

Last edited: 2013-04-28 16:27

It happens with all the XM and Midi files I have and it happens when I try to play instruments. It gives me a OpenMPT has stopped working message from Windows.

Saga Musix

Saga Musix

2013-04-28 16:25

administrator   ~0001221

And you don't get any "OpenMPT has crashed and needs to be closed (...)" message before that?

TheRetroGuy

TheRetroGuy

2013-04-28 16:29

reporter   ~0001222

Last edited: 2013-04-28 16:30

No it just crashes and the Windows Error Reporting message comes up.

Saga Musix

Saga Musix

2013-04-28 16:35

administrator   ~0001223

That's really weird. Are you sure it's a crash, or is it actually a hang? A hang can be identified by the OpenMPT window turning white, and when clicking on it, Windows says that the application isn't responding.
Either way, it would be useful to have a memory dump of this. To create one, open the task manager, right-click mptrack.exe after it has crashed, and click "create dump file". This should create a (rather large) memory dump of OpenMPT. Compress it using something good like 7zip (zip alone might create a much bigger file) and upload it somewhere (Dropbox or whatever is enough, but that file will certainly too big for the issue tracker's attachment feature). Note: You have specified to run Win7 x86, but in case that was a mistake and you are running a 64-Bit Windows, please tell so, because the steps to create a memory dump will be slightly different there.

TheRetroGuy

TheRetroGuy

2013-04-28 17:00

reporter   ~0001224

Last edited: 2013-04-28 17:01

I created a dump file of when OpenMPT crashes using a 32-bit (x86) version of Windows.
https://www.dropbox.com/s/497b3vhtqon4mk0/mptrack.zip

Saga Musix

Saga Musix

2013-04-28 17:08

administrator   ~0001226

According to the dump, OpenMPT made its way into its own error reporting routine, but didn't get as far as displaying the error message I was asking for above. Still, it should have created a smaller memory dump before it crashed. That memory dump is located in "%TEMP%\OpenMPT Crash Files" (type that into Explorer's address bar and %TEMP% will automatically resolve to your temporary folder). Can you upload the DMP file(s) found in that directory as well?

TheRetroGuy

TheRetroGuy

2013-04-28 17:13

reporter   ~0001227

This is the dump created by OpenMPT. https://www.dropbox.com/s/8jpmgecr9ixvunb/crash.zip

Saga Musix

Saga Musix

2013-04-28 17:23

administrator   ~0001228

Alright, this is really, really weird. I am not sure at all what is going on there. So let's try a few more things.

TheRetroGuy

TheRetroGuy

2013-04-28 17:40

reporter   ~0001229

Last edited: 2013-04-28 17:42

It works perfectly in this version. It seems to work with my default sound card.
For some reason the WASAPI driver on my machine doesn't work with this.
These are my settings for this version and I used the same settings in the OpenMPT 1.22
https://www.dropbox.com/s/snjtcvfsm5ig58u/mptrackini.zip

Saga Musix

Saga Musix

2013-04-28 17:45

administrator   ~0001230

Thanks, now I could finally reproduce it - the crash is indeed caused by your playback settings. The memory dumps pointed at completely different parts of the code, which puzzled me quite a bit.

TheRetroGuy

TheRetroGuy

2013-04-28 18:16

reporter   ~0001231

I made a backup copy of mptrack.ini and deleted the original and that seemed to fix it as it created another file.

Saga Musix

Saga Musix

2013-04-28 18:18

administrator   ~0001232

Yes, for the time being, you can simply disable Quad surround in the Sound Card settings. That gets rid of the issue.

Saga Musix

Saga Musix

2013-04-28 21:58

administrator   ~0001233

Now it shouldn't crash anymore even with Quad surround enabled. http://sagagames.de/stuff/mptrack.exe

TheRetroGuy

TheRetroGuy

2013-05-15 02:34

reporter   ~0001265

Last edited: 2013-05-15 05:58

I tried the newer revision and it works perfectly even with my old settings.

Issue History

Date Modified Username Field Change
2013-04-28 07:31 TheRetroGuy New Issue
2013-04-28 07:31 TheRetroGuy File Added: crashingxm.zip
2013-04-28 07:32 TheRetroGuy Description Updated
2013-04-28 07:34 TheRetroGuy Fixed in Version => OpenMPT 1.22.01.00 (upgrade first)
2013-04-28 07:34 TheRetroGuy Description Updated
2013-04-28 07:35 TheRetroGuy Description Updated
2013-04-28 07:35 TheRetroGuy Fixed in Version OpenMPT 1.22.01.00 (upgrade first) =>
2013-04-28 11:33 Saga Musix Note Added: 0001205
2013-04-28 11:33 Saga Musix Assigned To => Saga Musix
2013-04-28 11:33 Saga Musix Status new => feedback
2013-04-28 16:14 TheRetroGuy Note Added: 0001217
2013-04-28 16:14 TheRetroGuy Status feedback => assigned
2013-04-28 16:16 Saga Musix Note Added: 0001218
2013-04-28 16:24 TheRetroGuy Note Added: 0001220
2013-04-28 16:24 TheRetroGuy Note Edited: 0001220
2013-04-28 16:25 TheRetroGuy Note Edited: 0001220
2013-04-28 16:25 Saga Musix Note Added: 0001221
2013-04-28 16:27 TheRetroGuy Note Edited: 0001220
2013-04-28 16:29 TheRetroGuy Note Added: 0001222
2013-04-28 16:30 TheRetroGuy Note Edited: 0001222
2013-04-28 16:35 Saga Musix Note Added: 0001223
2013-04-28 17:00 TheRetroGuy Note Added: 0001224
2013-04-28 17:01 TheRetroGuy Note Edited: 0001224
2013-04-28 17:08 Saga Musix Note Added: 0001226
2013-04-28 17:13 TheRetroGuy Note Added: 0001227
2013-04-28 17:23 Saga Musix Note Added: 0001228
2013-04-28 17:40 TheRetroGuy Note Added: 0001229
2013-04-28 17:42 TheRetroGuy Note Edited: 0001229
2013-04-28 17:45 Saga Musix Note Added: 0001230
2013-04-28 18:16 TheRetroGuy Note Added: 0001231
2013-04-28 18:18 Saga Musix Note Added: 0001232
2013-04-28 21:58 Saga Musix Note Added: 0001233
2013-04-28 21:58 Saga Musix Assigned To Saga Musix => manx
2013-04-28 21:58 Saga Musix Status assigned => feedback
2013-04-28 21:58 Saga Musix Target Version => OpenMPT 1.22.03.00 (upgrade first)
2013-05-15 02:34 TheRetroGuy Note Added: 0001265
2013-05-15 02:34 TheRetroGuy Status feedback => assigned
2013-05-15 03:09 TheRetroGuy Note Edited: 0001265
2013-05-15 05:58 TheRetroGuy Note Edited: 0001265
2013-05-15 09:38 Saga Musix Status assigned => resolved
2013-05-15 09:38 Saga Musix Resolution open => fixed
2013-05-15 09:38 Saga Musix Fixed in Version => OpenMPT 1.22.03.00 (upgrade first)