[ODE] demo_crash

Bram Stolk b.stolk at gmail.com
Tue Nov 20 09:30:10 MST 2007


I added an assert on dGeoms[IndexPair.id0]
This gets triggered.
Printing out the IndexPair.id0 shows that it is the first iteration, and the
value is:

IndexPair.id0 is 49016

ODE INTERNAL ERROR 1: assertion "geoms[IndexPair.id0]" failed in
BoxPruning() [collision_sapspace.cpp]

Program received signal SIGABRT, Aborted.
[Switching to Thread -1223977248 (LWP 13520)]
0xffffe410 in __kernel_vsyscall ()
(gdb) print geoms[49016];
No symbol "geoms" in current context.
(gdb) up
#1  0xb7b0b875 in raise () from /lib/tls/i686/cmov/libc.so.6
(gdb) up
#2  0xb7b0d201 in abort () from /lib/tls/i686/cmov/libc.so.6
(gdb) up
#3  0x0805732a in dDebug (num=1,
    msg=0x80e209c "assertion \"geoms[IndexPair.id0]\" failed in %s() [%s]")
    at error.cpp:102
102       abort();
(gdb) up
#4  0x0805ddbe in dxSAPSpace::BoxPruning (this=0x81983b8, count=82,
    geoms=0x8265ce8, pairs=@0xbfde525c) at collision_sapspace.cpp:474
474                             dIASSERT(geoms[IndexPair.id0]);
(gdb) print geoms[49016]
$1 = (const class dxGeom *) 0x0
(gdb)

BTW: geoms[0], [1], [2] etc... look fine.


On Nov 20, 2007 1:59 AM, David Walters <hidden.asbestos at googlemail.com>
wrote:

>
> I don't agree with reverting back a perfectly good test case when
> we're not in a build cycle - sweeping it under the carpet is only
> going to come back and bite us later.
>

agreed.



>
> Dave
>



-- 
Zapp: Captain's log, stardate...er..
Kif: Ohhh. April 13th.
Zapp: April 13th. Point 2.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://ode.org/pipermail/ode/attachments/20071120/b29fd38d/attachment-0001.htm


More information about the ODE mailing list