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

Wade Farnsworth wade_farnsworth at mentor.com
Fri May 3 09:53:26 EDT 2013


Hi Mathieu,

Commit 4ef415a92af77f9324026b62e023e15824330dcd fixed the problem for
me.  Sorry for not being more explicit about this.

Regards,

Wade

Mathieu Desnoyers wrote:
> 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
> 


-- 
Wade Farnsworth | Sr. Embedded Linux Dev. Engr.
Mentor Embedded™
Nucleus® | Linux® | Android™ | Services | UI | Multi-OS
Android is a trademark of Google Inc. Use of this trademark is subject
to Google Permissions.
Linux is the registered trademark of Linus Torvalds in the U.S. and
other countries




More information about the lttng-dev mailing list