supertuxkart-sourceforge-migration / stk-migration-test

0 stars 0 forks source link

STK often crashes on exit 3 Strikes Battle #789

Closed supertuxkart-sourceforge-migration closed 10 years ago

supertuxkart-sourceforge-migration commented 10 years ago

Author: deveee

When I tried to reproduce #1109 I often get crashes.

It doesn't matter on which arena. I hit a kart, then I touch the tire. Then I do the same using second kart and I click "escape" and "exit". This usually causes crash.

Backtrace in attachment.

Tested trunk version, not 0.8.1 branch.

Not sure when exactly 0.8.1 will be released, but fix it would be great.

supertuxkart-sourceforge-migration commented 10 years ago

Author: deveee Once or twice I noticed that tire disappeared (for example when it hit the wall or tree), and then I had crash on exit. Perhaps it was caused by this? I don't have better idea...

supertuxkart-sourceforge-migration commented 10 years ago

Author: deveee http://youtu.be/-77vYf9W5cE

I removed build folder, disabled ccache and built whole source once again - but with the same effect.

Tested with gcc 4.8.1 on linux.

I was unable to reproduce it using visual studio and windows.

supertuxkart-sourceforge-migration commented 10 years ago

Author: hikerstk We have not been able to reproduce the problem. For the original reporter the problem goes away if m_insert_tire is changed from private to public. This issue appears to be either a memory corruption (i.e. m_insert_tire apparently changes from one frame to the next, without kartHit() (the only function that sets m_insert_tire) being called.

I'll do some more valgrind for this case, but don't consider this a release blocker.

supertuxkart-sourceforge-migration commented 10 years ago

Author: deveee Actually m_insert_tire and a lot of wheels was other problem and it didn't cause crash ;)

But if it works for others, there is nothing which can be done. I can check official build if I will be able to cause this crash :p