Horde3D

Next-Generation Graphics Engine
It is currently 24.11.2024, 19:18

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 26.06.2012, 19:24 
Offline

Joined: 09.06.2012, 14:21
Posts: 12
Latest collada converter crashes for me. When running it in debug I get the following:

Quote:
Unhandled exception at 0x778d15de in ColladaConv.exe: 0xC0000005: Access violation reading location 0xfeeefef2.


The is caused by
Code:
for( unsigned int i = 0; i < children.size(); ++i ) delete children[i];

in SceneNode::~SceneNode()

So it appears that someone else has deleted the nodes... perhaps the deletes in Converter::~Converter() ?

Edit: If I remove
Code:
for( unsigned int i = 0; i < _joints.size(); ++i ) delete _joints[i];


from Converter::~Converter() then it doesn't crash either... so it appears they are referring to the same nodes as those being deleted in ~SceneNode()


Top
 Profile  
Reply with quote  
PostPosted: 27.06.2012, 15:13 
Offline
Tool Developer

Joined: 13.11.2007, 11:07
Posts: 1150
Location: Germany
I just (hopefully) fixed it, thanks for reporting.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group