Re: 3.7 , lua , coredump

Jan Willamowius <[email protected]>
Newsgroups gmane.comp.telephony.openh323gk.user
Organization GNU Gatekeeper Project
Message-ID <[email protected]>
Thats the bug I fixed a few days ago.
I just added afew more error checks now.

Just switch to the CVS code and you should be fine.

Regards,
Jan

Dmitry Melekhov wrote:
> 15.12.2014 16:40, Dmitry Melekhov пишет:
> > oops, I'm sorry, you need backtrace...
> > ASAP :-)
> 
> ok, here it is:
> 
> Program terminated with signal 11, Segmentation fault.
> #0  0x00002ab4174617e1 in lua_close () from /usr/lib64/liblua-5.1.so
> (gdb) bt
> #0  0x00002ab4174617e1 in lua_close () from /usr/lib64/liblua-5.1.so
> #1  0x0000000000550fda in Routing::LuaPolicy::~LuaPolicy() ()
> #2  0x00000000004b6993 in deletepair<std::pair<PString const, 
> Routing::Policy*> > 
> std::for_each<std::_Rb_tree_const_iterator<std::pair<PString const, 
> Routing::Policy*> >, deletepair<std::pair<PString const, 
> Routing::Policy*> > >(std::_Rb_tree_const_iterator<std::pair<PString 
> const, Routing::Policy*> >, 
> std::_Rb_tree_const_iterator<std::pair<PString const, Routing::Policy*> 
>  >, deletepair<std::pair<PString const, Routing::Policy*> >) ()
> #3  0x00000000004b69d6 in void DeleteObjectsInMap<std::map<PString, 
> Routing::Policy*, pstr_prefix_lesser, std::allocator<std::pair<PString 
> const, Routing::Policy*> > > >(std::map<PString, Routing::Policy*, 
> pstr_prefix_lesser, std::allocator<std::pair<PString const, 
> Routing::Policy*> > > const&) ()
> #4  0x00000000004aa86a in Routing::Analyzer::OnReload() ()
> #5  0x00000000004e5b30 in RasServer::LoadConfig() ()
> #6  0x0000000000527287 in ReloadHandler() ()
> #7  0x0000000000483a05 in StatusClient::ExecCommand(PString) ()
> #8  0x00000000004869b8 in SimpleClassJobA<StatusClient, PString>::Run() ()
> #9  0x0000000000458e54 in Worker::Main() ()
> #10 0x00000000007b4451 in PThread::PX_ThreadStart(void*) ()
> #11 0x0000003243c0683d in start_thread () from /lib64/libpthread.so.0
> #12 0x0000003242cd503d in clone () from /lib64/libc.so.6
> (gdb)
> 
> 
> looks like apparmor prevents core files creation, so I did this on 
> another server.
> 
> Really, I just didn't create lua script file, gnugk starts, but crashes 
> on reload.
> 
> Thank you!
> 
> >
> >
> > 15.12.2014 16:37, Dmitry Melekhov пишет:
> >> 15.12.2014 16:17, Jan Willamowius пишет:
> >>> Hi Dmitry,
> >> Hello!
> >>
> >>> please send me a backtrace of the crash you are seeing.
> >>> See manual section 14.3
> >>> http://www.gnugk.org/gnugk-manual-14.html#ss14.3
> >>
> >> It is attached, but I don't see anything really useful here.
> >> On console I see:
> >>
> >> 2014/12/15 16:29:23.822    4          osutil.cxx(196)    PWLib File 
> >> handle low water mark set: 9 PTextFile
> >> Segmentation fault (core dumped)
> >>
> >>> I already fixed another crash in the LUA code in the CVS for 3.8, but
> >>> that one was on shutdown.
> >>
> >> As I said I get this one on reload and it is always reproducable ,if 
> >> gnugk can't read lua script file.
> >>
> >>> Regards,
> >>> Jan

------------------------------------------------------------------------------
Download BIRT iHub F-Type - The Free Enterprise-Grade BIRT Server
from Actuate! Instantly Supercharge Your Business Reports and Dashboards
with Interactivity, Sharing, Native Excel Exports, App Integration & more
Get technology previously reserved for billion-dollar corporations, FREE
http://pubads.g.doubleclick.net/gampad/clk?id=164703151&iu=/4140/ostg.clktrk
_______________________________________________________

Posting: mailto:[email protected]
Archive: http://sourceforge.net/mailarchive/forum.php?forum_name=openh323gk-users
Unsubscribe: http://lists.sourceforge.net/lists/listinfo/openh323gk-users
Homepage: http://www.gnugk.org/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.