[lttng-dev] babeltrace assertion "`pos->offset <= pos->content_size' failed"

Mathieu Desnoyers mathieu.desnoyers at efficios.com
Fri May 3 09:15:39 EDT 2013


Are you still experiencing this issue ?

Thanks,

Mathieu

* Wade Farnsworth (wade_farnsworth at mentor.com) wrote:
> Hi,
>
> I'm occasionally seeing the following error when I pass a trace through  
> babeltrace:
>
> babeltrace: ../../include/babeltrace/ctf/types.h:203: ctf_pos_get_event:  
> Assertion `pos->offset <= pos->content_size' failed.
> Aborted
>
> Here are my platform details:
>
> Board: ARM Pandaboard
> Kernel: v3.1.0 from  
> git://dev.omapzoom.org/pub/scm/integration/kernel-ubuntu.git
> lttng-modules: v2.0.5
> lttng-tools: v2.0.3
> babeltrace: 1.0.0-rc5
>
> Now, I'm not very familiar with the internal workings of, but it seems  
> like this situation should be prevented by the call to v_cmpxchg in  
> lib_ring_buffer_check_deliver() which claims to have exclusive subbuffer  
> access when the content_size field is written.  Is this understanding  
> correct?
>
> Does anyone have any suggestions on where the problem might be?  Any  
> help you might be able to give me would be appreciated.
>
> Thanks,
>
> Wade Farnsworth
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

-- 
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com



More information about the lttng-dev mailing list