Supermodel crashes after quit

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Supermodel crashes after quit

Postby Juttar » Fri Mar 10, 2023 2:35 am

Since Supermodel version 2023-02-25 (the Mac-OS-readme-update) the emulator crashes after quit. This crashes are invisible for me but I can see the crash dumps in CCleaner. My os: Windows 10. My source:

http://www.emu-france.com/emulateurs/6- ... model-wip/

:(
User avatar
Juttar
 
Posts: 17
Joined: Fri Nov 08, 2019 2:11 pm

Re: Supermodel crashes after quit

Postby gm_matthew » Fri Mar 10, 2023 6:27 am

Try running the latest build from the official website and see if that exits without crashing.
gm_matthew
 
Posts: 224
Joined: Fri Oct 07, 2011 7:29 am
Location: Bristol, UK

Re: Supermodel crashes after quit

Postby Juttar » Fri Mar 10, 2023 7:24 am

gm_matthew wrote:Try running the latest build from the official website and see if that exits without crashing.

Thanks, but this doesn't change anything. :cry:

Image
User avatar
Juttar
 
Posts: 17
Joined: Fri Nov 08, 2019 2:11 pm

Re: Supermodel crashes after quit

Postby gm_matthew » Fri Mar 10, 2023 8:12 am

Is there a file called Supermodel.log? If so, what does it contain?
gm_matthew
 
Posts: 224
Joined: Fri Oct 07, 2011 7:29 am
Location: Bristol, UK

Re: Supermodel crashes after quit

Postby Juttar » Fri Mar 10, 2023 1:46 pm

gm_matthew wrote:Is there a file called Supermodel.log? If so, what does it contain?

Nothing unsusual.

Code: Select all
[Info]  Supermodel Version 0.3a-git-ae5af4c
[Info]  Started as:
[Info]    argv[0] = Supermodel.exe
[Info]    argv[1] = .\ROMs\scuddx.zip
[Info]  Opened .\ROMs\scuddx.zip.
[Info]  Opened .\ROMs\scud.zip.
[Info]  scuddx:
[Info]    banked_crom: stride=8, chunk size=2, byte swap=1
[Info]      mpr-19589.4, crc32=0x5482238f, offset=0x00000000
[Info]      mpr-19590.3, crc32=0xa5cd4718, offset=0x00000002
[Info]      mpr-19591.2, crc32=0x48e1aaff, offset=0x00000004
[Info]      mpr-19592.1, crc32=0xd9003b6f, offset=0x00000006
[Info]      mpr-19593.8, crc32=0x21e48ff8, offset=0x01000000
[Info]      mpr-19594.7, crc32=0x654c26b0, offset=0x01000002
[Info]      mpr-19595.6, crc32=0xd06fd9d6, offset=0x01000004
[Info]      mpr-19596.5, crc32=0x5672e3f4, offset=0x01000006
[Info]      mpr-19597.12, crc32=0x4d0ffe60, offset=0x02000000
[Info]      mpr-19598.11, crc32=0xa081592e, offset=0x02000002
[Info]      mpr-19599.10, crc32=0x65c1d33c, offset=0x02000004
[Info]      mpr-19600.9, crc32=0xa25da127, offset=0x02000006
[Info]    crom: stride=8, chunk size=2, byte swap=1
[Info]      epr-19607a.20, crc32=0x24301a12, offset=0x00000000
[Info]      epr-19608a.19, crc32=0x1426160e, offset=0x00000002
[Info]      epr-19609a.18, crc32=0xec418b68, offset=0x00000004
[Info]      epr-19610a.17, crc32=0x53f5cd94, offset=0x00000006
[Info]    driveboard_program: stride=1, chunk size=1, byte swap=0
[Info]      epr-19338a.bin, crc32=0xc9fac464, offset=0x00000000
[Info]    mpeg_music: stride=1, chunk size=1, byte swap=0
[Info]      mpr-19603.57, crc32=0xb1b1765f, offset=0x00000000
[Info]      mpr-19604.58, crc32=0x6ac85b49, offset=0x00200000
[Info]      mpr-19605.59, crc32=0xbec891eb, offset=0x00400000
[Info]      mpr-19606.60, crc32=0xadad46b2, offset=0x00600000
[Info]    mpeg_program: stride=1, chunk size=1, byte swap=0
[Info]      epr-19612.2, crc32=0x13978fd4, offset=0x00000000
[Info]    sound_program: stride=1, chunk size=1, byte swap=1
[Info]      epr-19611a.21, crc32=0x9d4a34f6, offset=0x00000000
[Info]    sound_samples: stride=1, chunk size=1, byte swap=1
[Info]      mpr-19601.22, crc32=0xba350fcc, offset=0x00000000
[Info]      mpr-19602.24, crc32=0xa92231c1, offset=0x00400000
[Info]    vrom: stride=32, chunk size=2, byte swap=0
[Info]      mpr-19574.26, crc32=0x9be8f314, offset=0x00000000
[Info]      mpr-19573.27, crc32=0x57b61d65, offset=0x00000002
[Info]      mpr-19576.28, crc32=0x85f9b587, offset=0x00000004
[Info]      mpr-19575.29, crc32=0xdab11c34, offset=0x00000006
[Info]      mpr-19578.30, crc32=0xae882c42, offset=0x00000008
[Info]      mpr-19577.31, crc32=0x36a1fe5d, offset=0x0000000a
[Info]      mpr-19580.32, crc32=0x62503cee, offset=0x0000000c
[Info]      mpr-19579.33, crc32=0xaf9698d0, offset=0x0000000e
[Info]      mpr-19582.34, crc32=0xc8b9cf1a, offset=0x00000010
[Info]      mpr-19581.35, crc32=0x8863c2d7, offset=0x00000012
[Info]      mpr-19584.36, crc32=0x256b056c, offset=0x00000014
[Info]      mpr-19583.37, crc32=0xc22cb5aa, offset=0x00000016
[Info]      mpr-19586.38, crc32=0xac37163e, offset=0x00000018
[Info]      mpr-19585.39, crc32=0xe2598012, offset=0x0000001a
[Info]      mpr-19588.40, crc32=0x42e20ae9, offset=0x0000001c
[Info]      mpr-19587.41, crc32=0xc288c910, offset=0x0000001e
[Info]  Runtime configuration:
[Info]    GameXMLFile=Config/Games.xml
[Info]    InitStateFile=
[Info]    MultiThreaded=1
[Info]    GPUMultiThreaded=1
[Info]    PowerPCFrequency=49
[Info]    MultiTexture=1
[Info]    VertexShader=
[Info]    FragmentShader=
[Info]    VertexShaderFog=
[Info]    FragmentShaderFog=
[Info]    VertexShader2D=
[Info]    FragmentShader2D=
[Info]    EmulateSound=1
[Info]    Balance=0.0
[Info]    BalanceLeftRight=0.0
[Info]    BalanceFrontRear=0.0
[Info]    NbSoundChannels=4
[Info]    SoundFreq=57.6
[Info]    EmulateDSB=1
[Info]    SoundVolume=100
[Info]    MusicVolume=100
[Info]    LegacySoundDSP=1
[Info]    ForceFeedback=1
[Info]    New3DEngine=1
[Info]    QuadRendering=1
[Info]    XResolution=1280
[Info]    YResolution=960
[Info]    WindowXPosition=<empty>
[Info]    WindowYPosition=<empty>
[Info]    FullScreen=0
[Info]    BorderlessWindow=0
[Info]    WideScreen=0
[Info]    Stretch=1
[Info]    WideBackground=0
[Info]    VSync=0
[Info]    Throttle=0
[Info]    RefreshRate=60.000
[Info]    ShowFrameRate=0
[Info]    Crosshairs=0
[Info]    FlipStereo=0
[Info]    InputSystem=xinput
[Info]    DirectInputConstForceLeftMax=100
[Info]    DirectInputConstForceRightMax=100
[Info]    DirectInputSelfCenterMax=100
[Info]    DirectInputFrictionMax=100
[Info]    DirectInputVibrateMax=100
[Info]    XInputConstForceThreshold=30
[Info]    XInputConstForceMax=100
[Info]    XInputVibrateMax=100
[Info]    XInputStereoVibration=1
[Info]    SDLConstForceMax=100
[Info]    SDLSelfCenterMax=100
[Info]    SDLFrictionMax=100
[Info]    SDLVibrateMax=100
[Info]    SDLConstForceThreshold=30
[Info]    Network=0
[Info]    SimulateNet=0
[Info]    PortIn=1970
[Info]    PortOut=1971
[Info]    AddressOut=127.0.0.1
[Info]    Outputs=none
[Info]    DumpTextures=0
[Info]    InputStart1=KEY_1,JOY1_BUTTON9
[Info]    InputStart2=KEY_2,JOY2_BUTTON9
[Info]    InputCoin1=KEY_3,JOY1_BUTTON10
[Info]    InputCoin2=KEY_4,JOY2_BUTTON10
[Info]    InputServiceA=KEY_5
[Info]    InputServiceB=KEY_7
[Info]    InputTestA=KEY_6
[Info]    InputTestB=KEY_8
[Info]    InputJoyUp=KEY_UP,JOY1_UP
[Info]    InputJoyDown=KEY_DOWN,JOY1_DOWN
[Info]    InputJoyLeft=KEY_LEFT,JOY1_LEFT
[Info]    InputJoyRight=KEY_RIGHT,JOY1_RIGHT
[Info]    InputJoyUp2=JOY2_UP
[Info]    InputJoyDown2=JOY2_DOWN
[Info]    InputJoyLeft2=JOY2_LEFT
[Info]    InputJoyRight2=JOY2_RIGHT
[Info]    InputPunch=KEY_A,JOY1_BUTTON1
[Info]    InputKick=KEY_S,JOY1_BUTTON2
[Info]    InputGuard=KEY_D,JOY1_BUTTON3
[Info]    InputEscape=KEY_F,JOY1_BUTTON4
[Info]    InputPunch2=JOY2_BUTTON1
[Info]    InputKick2=JOY2_BUTTON2
[Info]    InputGuard2=JOY2_BUTTON3
[Info]    InputEscape2=JOY2_BUTTON4
[Info]    InputShift=KEY_A,JOY1_BUTTON1
[Info]    InputBeat=KEY_S,JOY1_BUTTON2
[Info]    InputCharge=KEY_D,JOY1_BUTTON3
[Info]    InputJump=KEY_F,JOY1_BUTTON4
[Info]    InputShortPass=KEY_A,JOY1_BUTTON1
[Info]    InputLongPass=KEY_S,JOY1_BUTTON2
[Info]    InputShoot=KEY_D,JOY1_BUTTON3
[Info]    InputShortPass2=JOY2_BUTTON1
[Info]    InputLongPass2=JOY2_BUTTON2
[Info]    InputShoot2=JOY2_BUTTON3
[Info]    InputSteeringLeft=KEY_LEFT
[Info]    InputSteeringRight=KEY_RIGHT
[Info]    InputSteering=JOY1_XAXIS
[Info]    InputAccelerator=KEY_UP,JOY1_UP
[Info]    InputBrake=KEY_DOWN,JOY1_DOWN
[Info]    InputGearShiftUp=KEY_Y
[Info]    InputGearShiftDown=KEY_H
[Info]    InputGearShift1=KEY_Q,JOY1_BUTTON5
[Info]    InputGearShift2=KEY_W,JOY1_BUTTON6
[Info]    InputGearShift3=KEY_E,JOY1_BUTTON7
[Info]    InputGearShift4=KEY_R,JOY1_BUTTON8
[Info]    InputGearShiftN=KEY_T
[Info]    InputVR1=KEY_A,JOY1_BUTTON1
[Info]    InputVR2=KEY_S,JOY1_BUTTON2
[Info]    InputVR3=KEY_D,JOY1_BUTTON3
[Info]    InputVR4=KEY_F,JOY1_BUTTON4
[Info]    InputViewChange=KEY_A,JOY1_BUTTON1
[Info]    InputHandBrake=KEY_S,JOY1_BUTTON2
[Info]    InputRearBrake=KEY_S,JOY1_BUTTON2
[Info]    InputMusicSelect=KEY_D,JOY1_BUTTON3
[Info]    InputTwinJoyTurnLeft=KEY_Q,JOY1_RXAXIS_NEG
[Info]    InputTwinJoyTurnRight=KEY_W,JOY1_RXAXIS_POS
[Info]    InputTwinJoyForward=KEY_UP,JOY1_YAXIS_NEG
[Info]    InputTwinJoyReverse=KEY_DOWN,JOY1_YAXIS_POS
[Info]    InputTwinJoyStrafeLeft=KEY_LEFT,JOY1_XAXIS_NEG
[Info]    InputTwinJoyStrafeRight=KEY_RIGHT,JOY1_XAXIS_POS
[Info]    InputTwinJoyJump=KEY_E,JOY1_BUTTON1
[Info]    InputTwinJoyCrouch=KEY_R,JOY1_BUTTON2
[Info]    InputTwinJoyLeft1=NONE
[Info]    InputTwinJoyLeft2=NONE
[Info]    InputTwinJoyRight1=NONE
[Info]    InputTwinJoyRight2=NONE
[Info]    InputTwinJoyUp1=NONE
[Info]    InputTwinJoyUp2=NONE
[Info]    InputTwinJoyDown1=NONE
[Info]    InputTwinJoyDown2=NONE
[Info]    InputTwinJoyShot1=KEY_A,JOY1_BUTTON5
[Info]    InputTwinJoyShot2=KEY_S,JOY1_BUTTON6
[Info]    InputTwinJoyTurbo1=KEY_Z,JOY1_BUTTON7
[Info]    InputTwinJoyTurbo2=KEY_X,JOY1_BUTTON8
[Info]    InputAnalogJoyLeft=KEY_LEFT
[Info]    InputAnalogJoyRight=KEY_RIGHT
[Info]    InputAnalogJoyUp=KEY_UP
[Info]    InputAnalogJoyDown=KEY_DOWN
[Info]    InputAnalogJoyX=JOY_XAXIS,MOUSE_XAXIS
[Info]    InputAnalogJoyY=JOY_YAXIS,MOUSE_YAXIS
[Info]    InputAnalogJoyTrigger=KEY_A,JOY_BUTTON1,MOUSE_LEFT_BUTTON
[Info]    InputAnalogJoyEvent=KEY_S,JOY_BUTTON2,MOUSE_RIGHT_BUTTON
[Info]    InputAnalogJoyTrigger2=KEY_D,JOY_BUTTON2
[Info]    InputAnalogJoyEvent2=NONE
[Info]    InputGunLeft=KEY_LEFT
[Info]    InputGunRight=KEY_RIGHT
[Info]    InputGunUp=KEY_UP
[Info]    InputGunDown=KEY_DOWN
[Info]    InputGunX=MOUSE_XAXIS,JOY1_XAXIS
[Info]    InputGunY=MOUSE_YAXIS,JOY1_YAXIS
[Info]    InputTrigger=KEY_A,JOY1_BUTTON1,MOUSE_LEFT_BUTTON
[Info]    InputOffscreen=KEY_S,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON
[Info]    InputAutoTrigger=0
[Info]    InputGunLeft2=NONE
[Info]    InputGunRight2=NONE
[Info]    InputGunUp2=NONE
[Info]    InputGunDown2=NONE
[Info]    InputGunX2=JOY2_XAXIS
[Info]    InputGunY2=JOY2_YAXIS
[Info]    InputTrigger2=JOY2_BUTTON1
[Info]    InputOffscreen2=JOY2_BUTTON2
[Info]    InputAutoTrigger2=0
[Info]    InputAnalogGunLeft=KEY_LEFT
[Info]    InputAnalogGunRight=KEY_RIGHT
[Info]    InputAnalogGunUp=KEY_UP
[Info]    InputAnalogGunDown=KEY_DOWN
[Info]    InputAnalogGunX=MOUSE_XAXIS,JOY1_XAXIS
[Info]    InputAnalogGunY=MOUSE_YAXIS,JOY1_YAXIS
[Info]    InputAnalogTriggerLeft=KEY_A,JOY1_BUTTON1,MOUSE_LEFT_BUTTON
[Info]    InputAnalogTriggerRight=KEY_S,JOY1_BUTTON2,MOUSE_RIGHT_BUTTON
[Info]    InputAnalogGunLeft2=NONE
[Info]    InputAnalogGunRight2=NONE
[Info]    InputAnalogGunUp2=NONE
[Info]    InputAnalogGunDown2=NONE
[Info]    InputAnalogGunX2=NONE
[Info]    InputAnalogGunY2=NONE
[Info]    InputAnalogTriggerLeft2=NONE
[Info]    InputAnalogTriggerRight2=NONE
[Info]    InputSkiLeft=KEY_LEFT
[Info]    InputSkiRight=KEY_RIGHT
[Info]    InputSkiUp=KEY_UP
[Info]    InputSkiDown=KEY_DOWN
[Info]    InputSkiX=JOY1_XAXIS
[Info]    InputSkiY=JOY1_YAXIS
[Info]    InputSkiPollLeft=KEY_A,JOY1_BUTTON1
[Info]    InputSkiPollRight=KEY_S,JOY1_BUTTON2
[Info]    InputSkiSelect1=KEY_Q,JOY1_BUTTON3
[Info]    InputSkiSelect2=KEY_W,JOY1_BUTTON4
[Info]    InputSkiSelect3=KEY_E,JOY1_BUTTON5
[Info]    InputMagicalLeverUp1=KEY_UP
[Info]    InputMagicalLeverDown1=KEY_DOWN
[Info]    InputMagicalLeverUp2=NONE
[Info]    InputMagicalLeverDown2=NONE
[Info]    InputMagicalLever1=JOY1_YAXIS
[Info]    InputMagicalLever2=JOY2_YAXIS
[Info]    InputMagicalPedal1=KEY_A,JOY1_BUTTON1
[Info]    InputMagicalPedal2=KEY_S,JOY2_BUTTON1
[Info]    InputFishingRodLeft=KEY_LEFT
[Info]    InputFishingRodRight=KEY_RIGHT
[Info]    InputFishingRodUp=KEY_UP
[Info]    InputFishingRodDown=KEY_DOWN
[Info]    InputFishingStickLeft=KEY_A
[Info]    InputFishingStickRight=KEY_D
[Info]    InputFishingStickUp=KEY_W
[Info]    InputFishingStickDown=KEY_S
[Info]    InputFishingRodX=JOY1_XAXIS
[Info]    InputFishingRodY=JOY1_YAXIS
[Info]    InputFishingStickX=JOY1_RXAXIS
[Info]    InputFishingStickY=JOY1_RYAXIS
[Info]    InputFishingReel=KEY_SPACE,JOY1_ZAXIS_POS
[Info]    InputFishingCast=KEY_Z,JOY1_BUTTON1
[Info]    InputFishingSelect=KEY_X,JOY1_BUTTON2
[Info]    InputFishingTension=KEY_T,JOY1_ZAXIS_NEG
[Info]    port_in=1970
[Info]    port_out=1971
[Info]    addr_out=127.0.0.1
[Info]    EmulateNet=0
[Info]    LogOutput=Supermodel.log
[Info]    LogLevel=info
[Info] 
[Info]  OpenGL information:
[Info]    Vendor                   : NVIDIA Corporation
[Info]    Renderer                 : NVIDIA GeForce RTX 2060 SUPER/PCIe/SSE2
[Info]    Version                  : 4.5.0 NVIDIA 531.18
[Info]    Shading Language Version : 4.50 NVIDIA
[Info]    Maximum Vertex Array Size: 1048576 vertices
[Info]    Maximum Texture Size     : 32768 texels
[Info]    Maximum Vertex Attributes: 16
[Info]    Maximum Vertex Uniforms  : 4096
[Info]    Maximum Texture Img Units: 32
[Info] 
User avatar
Juttar
 
Posts: 17
Joined: Fri Nov 08, 2019 2:11 pm

Re: Supermodel crashes after quit

Postby Bart » Fri Mar 10, 2023 6:01 pm

Yours is definitely crashing because I don't see "Program terminated normally" at the end of the log.

Just tried it, works here. Same build, same ROM set. I'm not sure what could be wrong. I think Supermodel is generally statically linked so there shouldn't be any issues with run-time incompatibilities. Is there a way to inspect these crash dumps produced by Windows? Is there anything unusual about your system?

A couple more things to try:

1. Run it with -legacy3d: supermodel roms\scuddx.zip -legacy3d
2. Run it with the SDL input system: supermodel roms\scuddx.zip -input-system=sdl
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Supermodel crashes after quit

Postby Juttar » Sat Mar 11, 2023 3:16 am

Bart wrote:Is there a way to inspect these crash dumps produced by Windows? Is there anything unusual about your system?

Not that I know. I have uploaded one of this dump files:

https://www.mediafire.com/file/q2wkywz7 ... 4.dmp/file

Bart wrote:1. Run it with -legacy3d: supermodel roms\scuddx.zip -legacy3d
2. Run it with the SDL input system: supermodel roms\scuddx.zip -input-system=sdl

Neither helps. I've tried an older version (2022-12-12) from my backup. This version of Supermodel doesn't crash. :shock:

Edit: I've tried the versions from the download archive. The latest version without crash (on my computer) is "Supermodel_0.3a-git-69a458e_Win64.zip" from 2022-12-25. "Supermodel_0.3a-git-78f5056_Win64.zip" from 2022-12-28 (and every version that came after) crashes.
User avatar
Juttar
 
Posts: 17
Joined: Fri Nov 08, 2019 2:11 pm

Re: Supermodel crashes after quit

Postby Bart » Sat Mar 11, 2023 5:58 pm

Juttar wrote:Edit: I've tried the versions from the download archive. The latest version without crash (on my computer) is "Supermodel_0.3a-git-69a458e_Win64.zip" from 2022-12-25. "Supermodel_0.3a-git-78f5056_Win64.zip" from 2022-12-28 (and every version that came after) crashes.


That's really helpful. I'm puzzled by how the changes in 78f5056 could have introduced a problem on your machine. Do you mind emailing me so I can send you a few builds to try to specifically reproduce the problem?
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Supermodel crashes after quit

Postby Ian » Sun Mar 12, 2023 3:07 am

So crashes after this?
https://github.com/trzy/Supermodel/comm ... cf257f68a3

My best guess is the destructor for the netboard is doing something bad. Freeing memory that's already gone or possibly heap corruption.
Ian
 
Posts: 2044
Joined: Tue Feb 23, 2016 9:23 am

Re: Supermodel crashes after quit

Postby Juttar » Sun Mar 12, 2023 7:37 am

Bart wrote:
Juttar wrote:Do you mind emailing me so I can send you a few builds to try to specifically reproduce the problem?

Sure. I sent you a mail with my supermodel folder (uploaded @ MediaFire).

Ian wrote:My best guess is the destructor for the netboard is doing something bad. Freeing memory that's already gone or possibly heap corruption.

I'm sceptical. My network parameters are

Network=0
SimulateNet=0
User avatar
Juttar
 
Posts: 17
Joined: Fri Nov 08, 2019 2:11 pm

Next

Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest