Game crash loading Rhino in flatpak

Game crash loading Rhino in flatpak

Postby rchar » 11 May 2023, 13:05

Hello,
I have a problem with a flatpak.
Something that always crashes the game while loading a track is
selecting the "Rhino" car. Tracks load nearly completely, but
then the game crashes before the scene gets displayed. All other cars I
tried work normally. And with Rhino all tracks crash.

The game is running in flatpak.
Last message from terminal:

/usr/include/c++/12.1.0/bits/stl_vector.h:1123: std::vector<_Tp, _Alloc>::reference std::vector<_Tp, _Alloc>::operator[](size_type) [with _Tp = CARWHEEL; _Alloc = std::allocator<CARWHEEL>; reference = CARWHEEL&; size_type = long unsigned int]: Assertion '__n < this->size()' failed.

https://github.com/stuntrally/stuntrall ... 1692063081

Do you have any ideas what is wrong?
rchar
 
Posts: 2
Joined: 11 May 2023, 13:03

Re: Game crash loading Rhino in flatpak

Postby CryHam » 13 May 2023, 01:33

I'm not sure why this crashes, why in flatpak and why only for Rhino. I can drive it in my 2.7 build.
Let's check if all files are okay inside flatpak, do you have these files, and same content as in our repo:
https://github.com/stuntrally/stuntrall ... ars/MO.car
https://github.com/stuntrally/stuntrall ... ars/MO.car
probably less important, all here:
https://github.com/stuntrally/stuntrall ... ta/cars/MO
If all is the same, then I guess could be something different with C++, STL or build options? IDK.
User avatar
CryHam
SR Moderator
 
Posts: 1047
Joined: 25 Nov 2012, 08:40

Re: Game crash loading Rhino in flatpak

Postby rchar » 15 May 2023, 10:41

The contents of the files are the same.
Is there anything else I can check?
How can I further debug this error?
rchar
 
Posts: 2
Joined: 11 May 2023, 13:03

Re: Game crash loading Rhino in flatpak

Postby CryHam » 15 May 2023, 17:19

Not sure if flatpak has debug symbols, if it has you could try Debugging yourself bottom of this page, this could get us an idea where it crashes from, but not much more.
Other way is to try building from sources info here, it isn't easy, may be difficult, but it could give us all info needed.
User avatar
CryHam
SR Moderator
 
Posts: 1047
Joined: 25 Nov 2012, 08:40

Who is online

Users browsing this forum: No registered users and 1 guest