Crashing with Simutrans game

Please let our ADS show!

This sites offers only FREE software and it's supported by a few advertisement boxes (no intrusive popups).
Please:

  • disable your AdBlocker by adding CoolSoft website to whitelist
  • give the proper cookie consent
  • enable JavaScript for this website

This seconds wait is to let you update your browser configuration...

Ok, I've done the required changes... now show me your content!
!!! Please enable JavaScript !!!
Posts: 3
Joined: September 15, 2015 - 04:35
Crashing with Simutrans game

I am trying to play Simutrans using VirtualMidiSynth and the game crashes randomly when trying to play other sounds. I have windbg installed and captured a backtrace:

ModLoad: 00000000`711b0000 00000000`711ba000   C:\Windows\SysWOW64\mciseq.dll
ModLoad: 00000000`59130000 00000000`59180000   C:\Windows\SysWOW64\VirtualMIDISynth\BASS.dll
ModLoad: 00000000`71170000 00000000`711a8000   C:\Windows\SysWOW64\VirtualMIDISynth\BASSMIDI.dll
(21ec.204c): Access violation - code c0000005 (first chance)
BASSMIDI+0x52fc:
711752fc 0fb6431c        movzx   eax,byte ptr [ebx+1Ch]     ds:002b:14c514e1=??

I also attached a more detailed log, I know the traces have no symbols, but maybe they can provide some info.

Things I tried:

  • Set realtime off
  • Set hardware mixer off
  • Set preload off

 

App versions:

  • VirtualMidiSynth 1.13.2
  • SF2 SGM-V2.01 (tried others with same result)
  • Simutrans 120.0.1
  • Windows 7 64bit
Attachments (Only registered users)
virtualmidisynth_205c_2015-09-14_23-48-12-160.zip
Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Crashing with Simutrans game

I've tested Simutrans 120.0.1 with the just released VirtualMIDISynth 1.14.0 and I can't reproduce the issue.

Please update your VMS to the just released one and retry.
If you still have the crash, please give me more details on how to reproduce it: I mean "start a new game, open config dialog, ..." or, better, a saved game status to start from.

Posts: 3
Joined: September 15, 2015 - 04:35
Re: Crashing with Simutrans game

Just tested with the new release, I can still make it crash. Attached is a save file that makes it crash quickly, using the following steps:

  1. - start simutrans using Pak 128 German 0.6.1 (important)
  2. - load savegame
  3. - immediately zoom out
  4. - click first button in menu (disk icon)
  5. - select sound
  6. - change music
  7. - zoom in/out
  8. - repeat from step 6 until crash

 

Using this graphics pack is important, since others may not have the same audio files used in the save.

The savegame must be extracted to Documents/simutrans/save path so the game can load it.

Attachments (Only registered users)
crash-ge128.zip
Posts: 3
Joined: September 15, 2015 - 04:35
Re: Crashing with Simutrans game

I have posted on the BASS forums, it seems BassMidi 2.4.9.15 fixes the crash.

http://www.un4seen.com/forum/?topic=16741.0

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Crashing with Simutrans game
lkraider wrote:
it seems BassMidi 2.4.9.15 fixes the crash

Thanks for your detailed bugfixing ;)
I somehow missed that update.

Will release an official VirtualMIDISynth 1.14.1 with updated BASS+BASSMIDI versions.

Posts: 1972
Joined: March 25, 2012 - 01:19
Re: Crashing with Simutrans game

Version 1.14.1 released, it includes latest BASS.dll and BASSMIDI.dll versions.

Thanks again for your help.