lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


Sorry, forget it
This was about an object copy without a copy method. So this produce two
destructions of the same lua_state.

I'm stupid.  

Nick Trout a écrit :
> 
> > I use Lua 4.0 under Linux in my project.
> > This is a Corba Server with multiple Lua state.
> > I get a SIGSEGV, Segmentation fault at lua_close.
> > This is the stack when it hang.
> >   ...
> >   Script::~Script
> >   lua_close()
> >   luaC_collect()
> >   collectstrings()
> >   checktab()
> >   luaS_resize()
> >   luaM_realloc()
> >   free()              from libc.so.6
> >   free()              from libc.so.6
> >
> > Do you have any idea !!
> 
> Are you freeing an object that was created with new?
> 
> N