[Xorp-hackers] rtrmgr crash on SIGABRT because of pop_front in task_done

Ben Greear greearb at candelatech.com
Thu Oct 29 09:53:44 PDT 2009


On 10/29/2009 08:16 AM, Li Zhao wrote:
> I am puzzled by operator delete(prt=0x0). But inside deallocate(this=0x8d55238, __p=0x8d55238), the __p is not 0x0. pop_front means "removes and deletes". So somewhere else this list node was deleted again?
>
> --- On Thu, 10/29/09, Li Zhao<lizhaous2000 at yahoo.com>  wrote:
>
>> From: Li Zhao<lizhaous2000 at yahoo.com>
>> Subject: [Xorp-hackers] rtrmgr crash on SIGABRT because of pop_front in task_done
>> To: xorp-hackers at icir.org
>> Date: Thursday, October 29, 2009, 10:54 AM
>> I added a new protocol and I can
>> start it in CLI by command "create protocol XXX", but the
>> rtrmgr crashed after command "delete protocol XXX".
>> I can also easily reproduce the exactlt same crash via the
>> following steps:
>>
>> 0. I am running xorp processes on an embedded system.
>> 1. start rtrmgr from linux shell on the system;
>> 2. manually start xorp_static_routes from linux shell. This
>> static will hijack the xrl channels to rtrmgr;
>> 3. use cli command "create protocol static" to start a
>> second xorp_static_routes.
>> 4. use cli command "delete protocol static" to stop static.
>> both xorp_static_routes were terminated. depended process
>> like fea, rib and policy were also terminated. rtrmgr
>> crash.

I can reproduce it here..will take a quick look to see if
I can figure it out.

Thanks,
Ben


-- 
Ben Greear <greearb at candelatech.com>
Candela Technologies Inc  http://www.candelatech.com



More information about the Xorp-hackers mailing list