Re: demo_crash
"Bram Stolk" <[email protected]> Tue, 20 Nov 2007 08:30:10 -0800
| Newsgroups | gmane.comp.lib.ode |
|---|---|
| Message-ID | <[email protected]> |
--===============0437891371==
Content-Type: multipart/alternative;
boundary="----=_Part_25088_17384787.1195576210689"
------=_Part_25088_17384787.1195576210689
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
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 <[email protected]>
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.
------=_Part_25088_17384787.1195576210689
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
I added an assert on dGeoms[IndexPair.id0]<br>This gets triggered.<br>Printing out the IndexPair.id0 shows that it is the first iteration, and the value is:<br><br>IndexPair.id0 is 49016<br><br>ODE INTERNAL ERROR 1: assertion "geoms[
IndexPair.id0]" failed in BoxPruning() [collision_sapspace.cpp]<br><br>Program received signal SIGABRT, Aborted.<br>[Switching to Thread -1223977248 (LWP 13520)]<br>0xffffe410 in __kernel_vsyscall ()<br>(gdb) print geoms[49016];
<br>No symbol "geoms" in current context.<br>(gdb) up<br>#1 0xb7b0b875 in raise () from /lib/tls/i686/cmov/libc.so.6<br>(gdb) up<br>#2 0xb7b0d201 in abort () from /lib/tls/i686/cmov/libc.so.6<br>(gdb) up<br>#3 0x0805732a in dDebug (num=1,
<br> msg=0x80e209c "assertion \"geoms[IndexPair.id0]\" failed in %s() [%s]")<br> at error.cpp:102<br>102 abort();<br>(gdb) up<br>#4 0x0805ddbe in dxSAPSpace::BoxPruning (this=0x81983b8, count=82,
<br> geoms=0x8265ce8, pairs=@0xbfde525c) at collision_sapspace.cpp:474<br>474 dIASSERT(geoms[IndexPair.id0]);<br>(gdb) print geoms[49016]<br>$1 = (const class dxGeom *) 0x0<br>(gdb) <br><br>
BTW: geoms[0], [1], [2] etc... look fine.<br><br><br><div class="gmail_quote">On Nov 20, 2007 1:59 AM, David Walters <<a href="mailto:[email protected]">[email protected]</a>> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>I don't agree with reverting back a perfectly good test case when<br>we're not in a build cycle - sweeping it under the carpet is only<br>going to come back and bite us later.<br></blockquote><div><br>agreed.<br>
<br> </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Dave<br></blockquote></div><br><br clear="all"><br>-- <br>Zapp: Captain's log, stardate...er..
<br>Kif: Ohhh. April 13th.<br>Zapp: April 13th. Point 2.
------=_Part_25088_17384787.1195576210689--
--===============0437891371==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
_______________________________________________
ODE mailing list
[email protected]
http://ode.org/mailman/listinfo/ode
--===============0437891371==--