Re: Crash in wrapper_base.cpp
Drew McLean <[email protected]> Thu, 7 Jul 2011 11:44:29 -0700
| Newsgroups | gmane.comp.lang.lua.bind.user |
|---|---|
| Message-ID | <CAGo0s8PWdJt=FP1wuxT2ZjO6YoQ6crBtSW3K+BYuAh8heMy8xQ@mail.gmail.com> |
I don't think that's the case since I'm printing at the point where I unregister an object (in a common function). And there is no loop where I release a bunch at once, they each complete in their own time. My global table uses the object as the key and the value. Is there something wrong with that? I can't see why. Drew On Wed, Jul 6, 2011 at 6:39 PM, Nigel Atkinson <[email protected]>wrote: > 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 > _______________________________________________ > luabind-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/luabind-user > -- Drew McLean Lead Tech Programmer A Priori Games (250) 508-3346 www.apriorigames.com ------------------------------------------------------------------------------ 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 _______________________________________________ luabind-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/luabind-user