Actions
Bug #518
closedBabeltrace segfaults when non-ctf files exist in the session directory
Start date:
05/03/2013
Due date:
% Done:
100%
Estimated time:
Description
I collected traces (using Per-UID buffers), and then I added a non-ctf file to <session>/ust/uid/0/64-bit/ using touch
When I tried to convert the session using babeltrace, it segfaulted.
- 888ec52 (HEAD, origin/master, origin/HEAD) Fix: add missing error return when create_event_definitions fails
- a39683c Fix: ctf-text should link on libbabeltrace-ctf
Here is the backtrace:
(gdb) bt
#0 0x00007fe01247c42c in ?? () from /usr/lib64/libbabeltrace-ctf.so.0
#1 0x00007fe01247c91e in ?? () from /usr/lib64/libbabeltrace-ctf.so.0
#2 0x00007fe0126a5a16 in bt_context_add_trace () from /usr/lib64/libbabeltrace.so.0
#3 0x0000000000402315 in bt_context_add_traces_recursive ()
#4 0x0000000000402ca8 in main ()
Thanks,
Amer
Actions