Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


- - - - -

Crash in asCModule::InternalReset()


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
1 reply to this topic

#1 venz   Members   -  Reputation: 109

Like
0Likes
Like

Posted 27 February 2014 - 04:05 AM

Script global function is added to both globalFunctions and scriptFunctions containers. There has to be a check if refcount of it is exactly 2. Somehow I managed to make it 1 and got immediate crash by double disposal (Release from both containers).

 

Regards,

  Alexei


Edited by venz, 27 February 2014 - 04:48 AM.


Sponsor:

#2 Andreas Jonsson   Moderators   -  Reputation: 3417

Like
0Likes
Like

Posted 27 February 2014 - 07:40 PM

Script global function is added to both globalFunctions and scriptFunctions containers. There has to be a check if refcount of it is exactly 2. Somehow I managed to make it 1 and got immediate crash by double disposal (Release from both containers).

 

Regards,

  Alexei

 

Can you explain or show just how you managed to make it 1? And it doesn't count if you're releasing a reference that you don't own from the application :)


AngelCode.com - game development and more - Reference DB - game developer references
AngelScript - free scripting library - BMFont - free bitmap font generator - Tower - free puzzle game




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS