1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

Ticket #556 (closed defect: fixed)

Opened 2 years ago

Last modified 8 weeks ago

Bullet assertion triggered

Reported by: hikerstk Owned by:
Priority: normal Milestone: 0.8
Component: SuperTuxKart Version: 0.7.3
Keywords: Cc:

Description (last modified by auria) (diff)

As reported by Arthur on IRC

Program received signal SIGABRT, Aborted.
0x00007ffff5682935 in raise () from /lib/libc.so.6
(gdb) thread apply all bt

Thread 5 (Thread 0x7fffe31ca700 (LWP 24506)):
#0  0x00007ffff7bcaba7 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x00007fffedc59c90 in pa_threaded_mainloop_wait ()
   from /usr/lib/libpulse.so.0
#2  0x00007ffff68614da in ?? () from /usr/lib/libopenal.so.1
#3  0x00007ffff6840e4a in ?? () from /usr/lib/libopenal.so.1
#4  0x00007ffff7bc6e7a in start_thread () from /lib/libpthread.so.0
#5  0x00007ffff5730bad in clone () from /lib/libc.so.6
#6  0x0000000000000000 in ?? ()

Thread 4 (Thread 0x7fffe79cc700 (LWP 24505)):
#0  0x00007ffff57288b3 in poll () from /lib/libc.so.6
#1  0x00007fffedc5966f in ?? () from /usr/lib/libpulse.so.0
#2  0x00007fffedc4aa8c in pa_mainloop_poll () from /usr/lib/libpulse.so.0
#3  0x00007fffedc4b0f9 in pa_mainloop_iterate () from /usr/lib/libpulse.so.0
#4  0x00007fffedc4b1b0 in pa_mainloop_run () from /usr/lib/libpulse.so.0
#5  0x00007fffedc5961f in ?? () from /usr/lib/libpulse.so.0
#6  0x00007fffed800858 in ?? () from /usr/lib/libpulsecommon-1.1.so
#7  0x00007ffff7bc6e7a in start_thread () from /lib/libpthread.so.0
#8  0x00007ffff5730bad in clone () from /lib/libc.so.6
#9  0x0000000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---

Thread 2 (Thread 0x7fffee696700 (LWP 24503)):
#0  0x00007ffff7bcabc4 in pthread_cond_wait@@GLIBC_2.3.2 ()
   from /lib/libpthread.so.0
#1  0x000000000070a230 in NetworkHttp::mainLoop (obj=0x1ba97e0)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/addons/network_http.cpp:154
#2  0x00007ffff7bc6e7a in start_thread () from /lib/libpthread.so.0
#3  0x00007ffff5730bad in clone () from /lib/libc.so.6
#4  0x0000000000000000 in ?? ()

Thread 1 (Thread 0x7ffff7fc77c0 (LWP 24500)):
#0  0x00007ffff5682935 in raise () from /lib/libc.so.6
#1  0x00007ffff5683dab in abort () from /lib/libc.so.6
#2  0x00007ffff567b98e in __assert_fail_base () from /lib/libc.so.6
#3  0x00007ffff567ba32 in __assert_fail () from /lib/libc.so.6
#4  0x000000000083fd81 in btRigidBody::applyCentralImpulse (this=0x21184160, 
    impulse=...)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/bullet/src/BulletDynamics/Dynamics/btRigidBody.h:332
#5  0x00000000008853f0 in btKart::updateVehicle (this=0x21182430, 
    step=0.0166666675)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/physics/btKart.cpp:442
---Type <return> to continue, or q <return> to quit---
#6  0x0000000000889f8d in btKart::updateAction (this=0x21182430, 
    collisionWorld=0x1f64be10, step=0.0166666675)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/physics/btKart.hpp:181
#7  0x0000000000d2d020 in btDiscreteDynamicsWorld::updateActions (
    this=0x1f64be10, timeStep=0.0166666675)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/bullet/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp:448
#8  0x0000000000d2cb54 in btDiscreteDynamicsWorld::internalSingleStepSimulation
    (this=0x1f64be10, timeStep=0.0166666675)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/bullet/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp:347
#9  0x0000000000d2c973 in btDiscreteDynamicsWorld::stepSimulation (
    this=0x1f64be10, timeStep=0.0120000001, maxSubSteps=3, 
    fixedTimeStep=0.0166666675)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/bullet/src/BulletDynamics/Dynamics/btDiscreteDynamicsWorld.cpp:290
#10 0x000000000089817b in Physics::update (this=0x1e813d50, dt=0.0120000001)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/physics/physics.cpp:114
#11 0x00000000008712ea in World::update (this=0x1e7fbb60, dt=0.0120000001)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/modes/world.cpp:635
#12 0x0000000000861d2f in LinearWorld::update (this=0x1e7fbb60, 
    dt=0.0120000001)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/modes/linear_world.cpp:136---Type <return> to continue, or q <return> to quit---

#13 0x000000000087119d in World::updateWorld (this=0x1e7fbb60, dt=0.0120000001)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/modes/world.cpp:598
#14 0x000000000085f002 in MainLoop::updateRace (this=0x1c50370, 
    dt=0.0120000001)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/main_loop.cpp:112
#15 0x000000000085f0fd in MainLoop::run (this=0x1c50370)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/main_loop.cpp:137
#16 0x000000000085d3bb in main (argc=1, argv=0x7fffffffe778)
    at /home/magne/SuperTuxKart/supertuxkart-work/src/main.cpp:1354

Change History

Changed 2 years ago by hikerstk

  • status changed from new to closed
  • resolution set to fixed

That should be fixed in r10827 (a vector was normalised that could potentially be (0,0,0), resulting in NANs in the impulse).

Changed 8 weeks ago by auria

  • description modified (diff)
Note: See TracTickets for help on using tickets.