Page 1 of 1

Game crash loading Rhino in flatpak

PostPosted: 11 May 2023, 13:05
by rchar
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?

Re: Game crash loading Rhino in flatpak

PostPosted: 13 May 2023, 01:33
by CryHam
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.

Re: Game crash loading Rhino in flatpak

PostPosted: 15 May 2023, 10:41
by rchar
The contents of the files are the same.
Is there anything else I can check?
How can I further debug this error?

Re: Game crash loading Rhino in flatpak

PostPosted: 15 May 2023, 17:19
by CryHam
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.