[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: SIGSEGV, Segmentation fault at lua_close
- From: Jean Claude Morlier <morlier@...>
- Date: Tue, 12 Feb 2002 16:28:27 -0500
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