[Openais] Re: openais segfault

Mark Haverkamp markh at osdl.org
Wed Apr 5 11:42:52 PDT 2006


On Wed, 2006-04-05 at 11:28 -0700, Steven Dake wrote:
> Mark
> 
> It works for me on 32 and 64 bit arches with revision 966.
> 
> It could be one of your binaries is out of sync.
> 
> Try this
> 
> rm -rf /home/localmark/view/svn/openais_work
> cd /home/localmark/view/svn/openais_work
> svn update
> make
> cd exec
> ./aisexec
> 
> that should ensure that your view is up to date and no binaries are
> sitting around

Same thing.

> 
> If it still crashes, print out the lcr_component_instance_database data
> structure.  It could be there is a bug in iteration.

(gdb) p lcr_component_instance_database
$1 = {handle_count = 1, handles = 0x88fc4c0, iterator = 1}

> 
> Regards
> -steve
> On Wed, 2006-04-05 at 09:22 -0700, Mark Haverkamp wrote:
> > I just updated my tree this morning and recompiled.  I am seeing this
> > segfault on startup.
> > 
> > (gdb) r
> > Starting program: /home/localmarkh/views/svn/openais_work/exec/aisexec
> > [Thread debugging using libthread_db enabled]
> > [New Thread -151132480 (LWP 23794)]
> > 
> > Program received signal SIGSEGV, Segmentation fault.
> > [Switching to Thread -151132480 (LWP 23794)]
> > 0x08065a37 in lcr_ifact_reference (iface_handle=0xfee0f1f0,
> >     iface_name=0x8068336 "objdb", version=0, iface=0xfee0f1ec, context=0x0)
> >     at lcr_ifact.c:102
> > 102                     for (i = 0; i < instance->iface_count; i++) {
> > (gdb) bt
> > #0  0x08065a37 in lcr_ifact_reference (iface_handle=0xfee0f1f0,
> >     iface_name=0x8068336 "objdb", version=0, iface=0xfee0f1ec, context=0x0)
> >     at lcr_ifact.c:102
> > #1  0x0805fcfa in main () at main.c:1179
> > (gdb)
> > 
-- 
Mark Haverkamp <markh at osdl.org>




More information about the Openais mailing list