Author Topic: crashes immedately when starting  (Read 8354 times)

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1536
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: crashes immedately when starting
« Reply #15 on: May 24, 2021, 08:11:47 AM »
I have someone else reporting the same thing at present its rare though

I have the same problem; SDL crash with version 0.10.20.

Do you have multiple monitors as well?

wdlwmp

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: crashes immedately when starting
« Reply #16 on: May 26, 2021, 01:22:00 AM »
In case it helps narrow stuff down, I still had the error after disconnecting one monitor (leaving only one connected to the computer) and rebooting.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1536
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: crashes immedately when starting
« Reply #17 on: May 26, 2021, 02:56:26 PM »
It does. As far as I can tell, this was caused by the update to the latest SDL library. This update enables support for sensors, e.g. force feedback, gyro measurement, etc. RetroFE initializes everything by default, but apparently some Windows installations restrict access to those sensors. I'll have to run some trial and error tests (since I cannot reproduce the problem on my own systems) to see which of the flags causes this issue, and to see whether RetroFE can do without that flag.
https://wiki.libsdl.org/SDL_Init

wdlwmp

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: crashes immedately when starting
« Reply #18 on: May 26, 2021, 06:32:31 PM »
I'm happy to help test, if you'd like.  My system is very reliable at failing this way.

Doctrine5D

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: crashes immedately when starting
« Reply #19 on: May 28, 2021, 05:28:32 PM »
I have someone else reporting the same thing at present its rare though

I have the same problem; SDL crash with version 0.10.20.

Do you have multiple monitors as well?

I have one monitor only.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1536
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: crashes immedately when starting
« Reply #20 on: May 29, 2021, 10:36:43 AM »
Ok, try this executable. It should still crash, but if you upload the log file it should at least show me WHY it crashes. I should be able to fix it from there.

wdlwmp

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: crashes immedately when starting
« Reply #21 on: May 29, 2021, 04:57:41 PM »
Very strange.  Unfortunately (I think) this one didn't crash and it started up fine.

Doctrine5D

  • Newbie
  • *
  • Posts: 3
  • Karma: +0/-0
    • View Profile
Re: crashes immedately when starting
« Reply #22 on: May 29, 2021, 05:42:50 PM »
Ok, try this executable. It should still crash, but if you upload the log file it should at least show me WHY it crashes. I should be able to fix it from there.

It works. Did you modified SDL Function ?

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1536
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: crashes immedately when starting
« Reply #23 on: May 29, 2021, 07:17:45 PM »
That’s odd. I replaced the initialize everything with an initialize for each individual subsystem. Unless they forgot to update their documentation, this should have crashed....
Oh well, if it works, it works.

Pieter Hulshoff

  • Administrator
  • Hero Member
  • *****
  • Posts: 1536
  • Karma: +46/-14
    • View Profile
    • Towel 42
Re: crashes immedately when starting
« Reply #24 on: May 30, 2021, 11:27:37 AM »
Turns out they forgot to update the documentation. I just checked the source code, and there’re an additional flag in the latest versions that initializes the sensors.

wdlwmp

  • Newbie
  • *
  • Posts: 11
  • Karma: +0/-0
    • View Profile
Re: crashes immedately when starting
« Reply #25 on: May 30, 2021, 05:01:48 PM »
Nice find -- thank you!