Ticket #618 (closed defect: duplicate)

Opened 3 years ago

Last modified 3 years ago

Crash when colliding with some objects in YoFrankie

Reported by: xordan Owned by: jorrit
Priority: major Milestone:
Component: general Version: V1.9
Keywords: Cc:

Description

If I run into a tree when running YoFrankie, celstart will usually crash. I haven't got a bt yet, it seems to just exit without giving one, even when run in a debugger.

If I'm running in a profiler when this happens, I see csopcode have a lot more of the cpu samples.

This is 'normal':  http://img12.imageshack.us/img12/8854/modulesdp3.jpg  http://img13.imageshack.us/img13/3934/csopcodelr4.jpg  http://img11.imageshack.us/img11/2815/libcsxc1.jpg

This is when I get this crash:  http://img22.imageshack.us/img22/1251/moduleskz6.jpg  http://img25.imageshack.us/img25/133/csopcodesv6.jpg  http://img23.imageshack.us/img23/5519/libcsuc1.jpg

Attachments

Change History

  Changed 3 years ago by xordan

This crash has happened when running into a wall, or river bank too.

follow-up: ↓ 3   Changed 3 years ago by xordan

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

Ah, this seems to be a duplicate of #587. I don't seem to get this assert in debug mode.

DistributeLeafObjects failed: !leaf_replaced

This node contains the following objects:

0: 'franky_frankie' (14.8491,-1.#QNAN,-1.#QNAN)-(15.5517,-1.#QNAN,-1.#QNAN)

in reply to: ↑ 2   Changed 3 years ago by res

Replying to xordan:

I don't seem to get this assert in debug mode.

So you never get the assert? B/C they only trigger in debug mode, in optimize mode they are compiled to nothing ...

  Changed 3 years ago by xordan

Correct, it doesn't assert. It does "exit (-1);"

void csKDTree::DebugExit () {

fflush (stdout); fflush (stderr);

#ifdef CS_DEBUG

CS_ASSERT (false);

#else

exit (-1);

#endif }

Add/Change #618 (Crash when colliding with some objects in YoFrankie)

Author


E-mail address and user name can be saved in the Preferences.


Action
as closed
 
Note: See TracTickets for help on using tickets.