URL:
  <http://gna.org/bugs/?8513>

                 Summary: using airhammer cause some Missed assertion
                 Project: Wormux
            Submitted by: sharkk
            Submitted on: Tuesday 20/02/07 at 21:28
                  Hidden: None
                Category: Physics
                Severity: 2 - Minor
                Priority: 5 - Normal
                  Status: None
             Assigned to: None
        Originator Email: 
             Open/Closed: Open
                 Release: 0.7.9-svn, 0.7.9
         Discussion Lock: Any

    _______________________________________________________

Details:

i'm on an amd64 system, when i use airhammer this is what i get:
- animation finish
- print ~20 missed assertion
- finish turn
- the game continue normally

[ Starting a new game ]
...
o Artificial Intelligence engine initialization

object/physical_obj.cpp:158: Missed assertion "m_width != 0".

object/physical_obj.cpp:163: Missed assertion "m_height != 0".
...other same ~20 missed assertion...
object/physical_obj.cpp:158: Missed assertion "m_width != 0".

object/physical_obj.cpp:163: Missed assertion "m_height != 0".
FIN PARTIE
[ Quit Wormux ]


this is the backtrace of gdb(when compiled with debug flag):

/home/sharkk/prj/wormux/src/object/physical_obj.cpp:158: Missed assertion
"m_width != 0".

Program received signal SIGABRT, Aborted.
[Switching to Thread 47573323464608 (LWP 31877)]
0x00002b44830a2ab7 in kill () from /lib/libc.so.6
(gdb) bt
#0  0x00002b44830a2ab7 in kill () from /lib/libc.so.6
#1  0x000000000056798f in WakeUpDebugger () at
/home/sharkk/prj/wormux/src/tool/error.cpp:41
#2  0x0000000000567a14 in MissedAssertion (
    filename=0x59ddd0 "/home/sharkk/prj/wormux/src/object/physical_obj.cpp",
line=158,
    message=0x59decf "m_width != 0") at
/home/sharkk/prj/wormux/src/tool/error.cpp:53
#3  0x000000000054930c in PhysicalObj::GetWidth (this=0x4937c30)
    at /home/sharkk/prj/wormux/src/object/physical_obj.cpp:158
#4  0x000000000054b97e in PhysicalObj::NotifyMove (this=0x4937c30, oldPos=
      {static EPS_ZERO = <optimized out>, x = 1355.8299456967138, y =
2187.2660361473681}, newPos=
      {static EPS_ZERO = <optimized out>, x = 1353.0168421304816, y =
2216.5279740139003})
    at /home/sharkk/prj/wormux/src/object/physical_obj.cpp:287
#5  0x000000000054e8a0 in Physics::RunPhysicalEngine (this=0x4937c30)
    at /home/sharkk/prj/wormux/src/object/physics.cpp:512
#6  0x000000000054afad in PhysicalObj::UpdatePosition (this=0x4937c30)
    at /home/sharkk/prj/wormux/src/object/physical_obj.cpp:405
#7  0x00000000005518dd in GroundParticle::Refresh (this=0x4937c30)
    at /home/sharkk/prj/wormux/src/particles/ground_particles.cpp:43
#8  0x0000000000552ba8 in ParticleEngine::Refresh () at
/home/sharkk/prj/wormux/src/particles/particle.cpp:337
#9  0x00000000004bd643 in GameLoop::RefreshObject (this=0x13962b0)
    at /home/sharkk/prj/wormux/src/game/game_loop.cpp:292
#10 0x00000000004bd87f in GameLoop::Run (this=0x13962b0) at
/home/sharkk/prj/wormux/src/game/game_loop.cpp:411
#11 0x00000000004bb2be in Game::Start (this=0x10f9fc0) at
/home/sharkk/prj/wormux/src/game/game.cpp:143
#12 0x000000000051aa8e in GameMenu::__sig_ok (this=0x7fff28b254f0)
    at /home/sharkk/prj/wormux/src/menu/game_menu.cpp:156
#13 0x00000000005236f5 in Menu::sig_ok (this=0x7fff28b254f0) at
/home/sharkk/prj/wormux/src/menu/menu.cpp:75
#14 0x00000000005232b3 in Menu::BasicOnClic (this=0x7fff28b254f0,
[EMAIL PROTECTED])
    at /home/sharkk/prj/wormux/src/menu/menu.cpp:89
#15 0x000000000052348d in Menu::Run (this=0x7fff28b254f0) at
/home/sharkk/prj/wormux/src/menu/menu.cpp:152
#16 0x000000000050610a in AppWormux::main (this=0x71c700, argc=1,
argv=0x7fff28b257d8)
    at /home/sharkk/prj/wormux/src/main.cpp:92
#17 0x000000000050658d in main (argc=1, argv=0x7fff28b257d8) at
/home/sharkk/prj/wormux/src/main.cpp:254
(gdb)     




    _______________________________________________________

Reply to this item at:

  <http://gna.org/bugs/?8513>

_______________________________________________
  Message sent via/by Gna!
  http://gna.org/


_______________________________________________
Wormux-gna mailing list
[email protected]
https://mail.gna.org/listinfo/wormux-gna

Reply via email to