Actions
Bug #394
closedEnabling an event after a started session containing no event makes tracing fails and assert for UST
Start date:
11/08/2012
Due date:
% Done:
100%
Estimated time:
Description
$ lttng create
$ lttng start
$ lttng enable-event ...
$ lttng stop
---> Failure
For kernel, see bug346.
For UST, when stopping the trace, a wonderful assert is triggered!
ust-app.c:2354: ust_app_stop_trace: Assertion `ua_sess->started == 1' failed
This is explained by the fact that on start, there is no kernel nor ust session so nothing exists until the enable event. The started flag is never set thus creating this code flow error triggered by the assert above.
When enabling an event, we need a way to know if a start command was already done when creating a newly UST/kernel session and start it if so.
This is critical thus making it a priority.
Updated by David Goulet about 12 years ago
- Status changed from Confirmed to Resolved
- % Done changed from 0 to 100
Applied in changeset 9b6c7ec5aebd1b1e3610ea54bbd0d6d4e9efaa82.
Actions