Closed GoogleCodeExporter closed 8 years ago
One wierd thing that might be related:
The condition in fbtFile.cpp line 258 is never true:
if (chunk.m_code == SDNA)
{
chunk.m_code = DNA1;
stream->seek(-status, SEEK_CUR);
chunk.m_len = stream->size() - stream->position();
}
void* curPtr = fbtMalloc(chunk.m_len);
Original comment by xavier.thomas.1980@gmail.com
on 20 Jul 2011 at 3:15
>The crash only happen in the tests using "be32bit.blend"
Heap is corrupted in array member copy & swap.
It is fixed on r984.
Original comment by harkon...@gmail.com
on 18 Aug 2011 at 6:13
great thanks a lot.
Original comment by xavier.thomas.1980@gmail.com
on 18 Aug 2011 at 9:47
I was about to report this bug. 32 bit files crashes gamekit on 64 bit. It does
work the other way around (re-saving the same file). Not sure if I used blender
2.59 or 2.60 when it happened.
Original comment by kungfoobar@gmail.com
on 9 Nov 2011 at 11:53
So this issue is fixed and can be closed?
Original comment by erwin.coumans
on 17 Nov 2011 at 12:07
No, it still happens. Using Blender 2.60a, but I think it crashes with previous
blender versions, too.
I've attached a (almost blank) 32 bit blend for testing. It crashes at
gkBlendFile::readCurSceneInfo(Blender::Scene*).
Original comment by kungfoobar@gmail.com
on 17 Nov 2011 at 6:57
Attachments:
r984 by Harkon fixed the unit test crash but using kungfoobar blend file it
still crashes.
Original comment by xavier.thomas.1980@gmail.com
on 22 Jan 2012 at 4:31
This is definitively a different bug than the first one.
The kungfoobar untitled.blend crash the Runtime (AppOgreKit) indeed but only
when the runtime is compiled to use bParse, when using FileTools (FBT) it works
OK.
Original comment by xavier.thomas.1980@gmail.com
on 22 Jan 2012 at 4:48
[deleted comment]
Oh I thought I was using FBT instead of bParse. Now I know why some changes I
was doing were crashing.
What are the advantages of one versus the other?
(sorry for the double post)
Original comment by kungfoobar@gmail.com
on 22 Jan 2012 at 5:09
FBT code was written by Charlie (who wrote bParse wiht Erwin) as a replacement
for bParse. with better code and easier way to implement your own file format
with no need to use python scripts to update the format.It also has a GUI to
explore/debug files.
In brief the FBT code is more "next-gen" and developer friendly but also much
less tested than bParse.
I will close this bug as fixed. Please open another bug report with your test
file and a better title.
Thanks.
Original comment by xavier.thomas.1980@gmail.com
on 22 Jan 2012 at 5:41
Original issue reported on code.google.com by
xavier.thomas.1980@gmail.com
on 20 Jul 2011 at 3:02