Game Development Community

Weird crash, on mac, works fine on windows

by Nikhil Haldar-Sinha · in Torque Game Engine · 08/09/2006 (2:28 pm) · 1 replies

I'm using the following drop in grenade tutorial:
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=7075

This works fine on Windows. On my Macbook Pro, it crashes soon after the grenade is thrown. I think it's when the grenade hits the ground. The crash info is at http://www.geocities.com/incorrigibleideal/crash.html. However, I think the grenade may not be the only cause, since the grenade has worked on my mac in the past.

I've already attempted a clean and rebuild.

Thanks.

-Nick

#1
08/14/2006 (1:33 pm)
There was a codegen bug in gcc that caused a crash in the same place as your code is crashing.
Try this: get the very latest version of Xcode ( 2.4 at this time ), and try a clean rebuild with that.

Failing that, check out our CVS repo. A release candidate for 1.4.2 is there, and should have modified code in ExtrudedPolyList::extrude() to work around the bug.

Share and Enjoy.
/Paul