ModPlug Central

OpenMPT => Help and Questions => Topic started by: corlenbelspar on January 06, 2012, 12:02:25

Title: OpenMPT crashes randomly when play or stop is pressed.
Post by: corlenbelspar on January 06, 2012, 12:02:25
So yeah, seemingly at random when I play or stop a song in OpenMPT, the program just freezes for a moment then crashes.  Any ideas how I can fix this?  It is very annoying where I have to redo the same thing in a song like three times or more before I can save it. 
Title: Re: OpenMPT crashes randomly when play or stop is pressed.
Post by: LPChip on January 06, 2012, 12:22:39
It helps if you tell us a bit more about your song and configuration.

Are you using VSTi's, if so, which ones and how many of them? The same for VST effects of course.

Can you reproduce this with a simple 1 pattern song?
Title: Re: OpenMPT crashes randomly when play or stop is pressed.
Post by: corlenbelspar on January 06, 2012, 13:13:45
Sure thing, what would you like me to tell you specifically about the song's configuration?  I don't think I could reproduce it off hand with a simple 1 pattern song because it seemingly happens entirely at random, although I'm sure it would still happen.

If it helps, I'm using version 1.19.04.00, the current version of course, and the IT actually has multiple songs in it, set up with position jump effects.

I am using no VSTs or VSTis.
Title: Re: OpenMPT crashes randomly when play or stop is pressed.
Post by: Saga Musix on January 06, 2012, 13:32:37
Does it happen with any file or just that specific file? Did this always happen, or did it start to happen at a certain point, when upgrading to a new version of OpenMPT, when upgrading drivers or hardware components / etc? It's possible that the crashes are caused by bad sound drivers. There still seems to be a very common onboard driver which crashes OpenMPT constantly on some configurations and I couldn't understand yet where and why it happens.
Title: Re: OpenMPT crashes randomly when play or stop is pressed.
Post by: corlenbelspar on January 06, 2012, 17:17:32
It only started happening when I downloaded OpenMPT (I used to just have Modplug Tracker) and I haven't tested other files yet.  It may very well be the drivers, I will try fiddling with them and get back to you guys on that.
Title: Re: OpenMPT crashes randomly when play or stop is pressed.
Post by: Saga Musix on January 06, 2012, 18:44:45
Please try the latest test version (http://sagagames.de/stuff/mptrack.exe) of OpenMPT - it should create a memory dump when it encounters a crash which can help me isolating the problem.
Title: Re: OpenMPT crashes randomly when play or stop is pressed.
Post by: LPChip on January 07, 2012, 00:01:52
Are you working on older songs created in Modplug tracker 1.16, or does it also happen with newly created songs, that never were made/saved in the old tracker?
Title: Re: OpenMPT crashes randomly when play or stop is pressed.
Post by: corlenbelspar on January 07, 2012, 06:36:46
I'm using the latest version, how do I find the memory dump?  Since I swapped the sound driver to Auto (Wave Mapper) it seems to not be crashing anymore.  It was set on one of the ASIO drivers in the list when it was crashing.
Title: Re: OpenMPT crashes randomly when play or stop is pressed.
Post by: Saga Musix on January 07, 2012, 13:45:29
The location of the memory dump is displayed when it is created. It is only created with the latest test versions (1.20), not with the current stable (1.19). It pretty much sounds like your ASIO driver is broken then. You should try updating it, or try ASIO4All if that also doesn't help, since ASIO generally provides the best audio performance in OpenMPT.
Title: Re: OpenMPT crashes randomly when play or stop is pressed.
Post by: corlenbelspar on January 07, 2012, 16:32:41
I'm using an onboard soundcard right now on a netbook because my desktop computer is in another country right now, which has a soundcard specifically designed to do ASIO.  If I get another crash I'll let you know what the dump says.  I'm fine with using wave mapper anyway so I guess if it doesn't crash anymore then problem solved.
Title: Re: OpenMPT crashes randomly when play or stop is pressed.
Post by: Saga Musix on January 07, 2012, 16:53:20
The main problem with Wave Mapper and DirectSound is that they don't sync pattern scrolling perfectly with the music - with ASIO, the pattern display never "stutters". But yes, if you get any more crashes, please provide a memory dump.
Title: Re: OpenMPT crashes randomly when play or stop is pressed.
Post by: corlenbelspar on January 08, 2012, 04:44:58
Yeah I know, ASIO bypasses the latency problems that are associated with non-ASIO soundcards.  I will provide that memory dump if I get the chance anyway.