Re: Crash in wrapper_base.cpp
Nigel Atkinson <[email protected]> Thu, 07 Jul 2011 11:39:25 +1000
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <1310002765.1607.25.camel@virNatty> |
On Wed, 2011-07-06 at 17:45 -0700, Drew McLean wrote: > Hmmm, that's a possible crash workaround but I'm not sure it will help > in my use case. I think my scenario is a little different than yours > since my object isn't supposed to be garbage collected at all because > it hasn't been removed from my global Lua table. It's almost like the > garbage collection has erroneously chosen that instance to dispose of > when it shouldn't have but also didn't call the finalizer. I need my > object to continue to function until I unregister it from the global > Lua table. This is why I think it's probably a Luabind bug as opposed > to a usage bug. Ah I see, hmm. Perhaps when you 'unregister' an object, could you be zapping the wrong one (the one before, or the one after, etc)? Or perhaps if you do many at once, your doing 1 too many? Nigel ------------------------------------------------------------------------------ All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2