On Mon, Jan 06, 2014 at 03:47:04PM +0100, Richard Cochran wrote:
> On Mon, Jan 06, 2014 at 12:48:04PM +0000, Rohrer Hansjoerg wrote:
> > 
> > The problem seems to be the latest ptp4l binary:
> > ptp4l actual version: 1.3-00056-g6205c1d
> > 
> > With the former ptp4l version there was no problem
> > ptp4l former version: 1.3-00047-g847e49c

> This is a classic case for git bisect. Please try it.

I'm seeing some strange problems with pmc and uds too. Bisecting
didn't really help me, it pointed to e2586a, which was a merge commit
and both merged branches didn't show the problem.

After more debugging it seems the problem is that the name from struct
port for UDS is pointing to a local variable of clock_create(), which
doesn't call port_renew_transport(), when the socket is actually
created.

It looks like an old bug, which become only visible when so much code
was added to ptp4l that the port name on stack is overwritten before
the socket is created.

Should be the interface name and pod variables copied in port_open()?

-- 
Miroslav Lichvar

------------------------------------------------------------------------------
Rapidly troubleshoot problems before they affect your business. Most IT 
organizations don't have a clear picture of how application performance 
affects their revenue. With AppDynamics, you get 100% visibility into your 
Java,.NET, & PHP application. Start your 15-day FREE TRIAL of AppDynamics Pro!
http://pubads.g.doubleclick.net/gampad/clk?id=84349831&iu=/4140/ostg.clktrk
_______________________________________________
Linuxptp-devel mailing list
Linuxptp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-devel

Reply via email to