RE: [luabind] Crash with overloaded functions.
Brought to you by:
arvidn,
daniel_wallin
From: Jens E. <jeg...@la...> - 2003-11-26 12:57:11
|
The crash appears in visual studio in void overload_rep_base::get_signature(...) It happens when int luabind::detail::class_rep::function_dispatcher(lua_State* L) tries to concat an error message in because the overloaded function is not found. I haven't really looked a lot into it but m_get_signature_fun is 0xcdcdcd00 (which is not good). It seems that LuaBind thinks there is one more overloaded function then there is. Does this sound likely? Hope you can help. - Jens -----Original Message----- From: lua...@li... [mailto:lua...@li...]On Behalf Of Arvid Norberg Sent: 25. november 2003 14:58 To: lua...@li... Subject: Re: [luabind] Crash with overloaded functions. Jens Egeblad wrote: > Hi > > I am using a CVS version which is about two days old but I am experiencing > some crashing. > > Firstly I constantly experience crashes whenever LuaBind is searching for an > overloaded function (in a class) which does not exist. Could anyone please > tell me if this is a known bug in the current CVS version. What kind of crash is this? When a function call doesn't match any overload we trigger a lua_error(). If you run your lua code froma luabind function wrapper (functor or object) any lua error will throw an exception (luabind::error), if this is the case, could it be an uncaught exception that may look like a crash? or is it a segment violation? -- Arvid Norberg ------------------------------------------------------- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ _______________________________________________ luabind-user mailing list lua...@li... https://lists.sourceforge.net/lists/listinfo/luabind-user |