[Xorp-hackers] xorp_static_routes easy to crash.

Ben Greear greearb at candelatech.com
Fri Dec 11 08:51:59 PST 2009


On 12/11/2009 08:21 AM, Bruce Simpson wrote:
> Li Zhao wrote:
>> In many test cases, I found xorp_static_routes is very easy to crash. It is
>> very timer sensitive.
>
> Known issue... first person to fix it wins!
>
> My favoured approach would be to refactor XrlPFSender objects to use a
> Boost shared_ptr<XrlPFSender>, and turn Xrl's embedded XrlPFSender*
> pointer into a weak_ptr<XrlPFSender>.

I think I already fixed this crash in my tree (or at least worked around it),
though it's not how Bruce is suggesting...

At least in the case that I debugged previously, this would only happen when a sender
lost communication somehow, so the root cause may still exist and cause troubles.

Thanks,
Ben


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



More information about the Xorp-hackers mailing list