Skip to contentSkip to conversation

babeltrace assertion "`pos->offset <= pos->content_size' failed"

DISCUSSION Mathieu Desnoyers 2 participants 2 messages May 3, 2013 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw

Are you still experiencing this issue ?

Thanks,

Mathieu

Quoted 35 lines · * Wade Farnsworth ([email protected]) 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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 3 lines
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com

A message that is not in the archive (sent off-list or not yet received): 20130503131538.GA31382@Krystal

#3 lore raw

Hi Mathieu,

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

Regards,

Wade

Quoted 43 lines · Mathieu Desnoyers

Are you still experiencing this issue ?

Thanks,

Mathieu

Quoted 35 lines · * Wade Farnsworth ([email protected]) 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
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev

Signature · 7 lines
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