https://bugs.lttng.org/https://bugs.lttng.org/themes/lttng/favicon/a.ico?14249722912013-06-25T16:37:03ZLTTng bugs repositoryLTTng-modules - Bug #574: lttng 2.2.0-rc2: reliable crashhttps://bugs.lttng.org/issues/574?journal_id=15742013-06-25T16:37:03ZDavid Goulet
<ul></ul><p>I'm unable to reproduce this issue with the exact same command.</p>
<p>Do you have any applications running during that test ?</p>
<p>Also, can you provide the logs of the session daemon with "-vvv --verbose-consumer". That would be very helpful since I can't reproduce that :S.</p> LTTng-modules - Bug #574: lttng 2.2.0-rc2: reliable crashhttps://bugs.lttng.org/issues/574?journal_id=15752013-06-25T17:16:02ZDavid Goulet
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Confirmed</i></li><li><strong>Assignee</strong> set to <i>David Goulet</i></li></ul><p>It has been reproduced on Christian computer. We are hunting this one down!</p> LTTng-modules - Bug #574: lttng 2.2.0-rc2: reliable crashhttps://bugs.lttng.org/issues/574?journal_id=15762013-06-25T17:26:44ZDaniel U. Thibaultdaniel.thibault@drdc-rddc.gc.ca
<ul><li><strong>File</strong> <a href="/attachments/247">bug-574.txt</a> <a class="icon-only icon-download" title="Download" href="/attachments/download/247/bug-574.txt">bug-574.txt</a> added</li></ul><p>Attached is my capture of the session daemon output.</p> LTTng-modules - Bug #574: lttng 2.2.0-rc2: reliable crashhttps://bugs.lttng.org/issues/574?journal_id=15792013-06-25T19:05:15ZDavid Goulet
<ul><li><strong>Assignee</strong> deleted (<del><i>David Goulet</i></del>)</li><li><strong>Target version</strong> changed from <i>2.2</i> to <i>2.3</i></li></ul><p>This affects lttng-modules HEAD master.</p>
<p>lttng-modules-2.2.0-rc2-11-5ca7b8a --> "5ca7b8a" is a commit from master and not the 2-2.0-rc2 tag.</p>
<p>Tagging this for 2.3 since it's an issue added for the next 2.3 release (in master branch).</p> LTTng-modules - Bug #574: lttng 2.2.0-rc2: reliable crashhttps://bugs.lttng.org/issues/574?journal_id=15802013-06-25T19:06:25ZMathieu Desnoyersmathieu.desnoyers@efficios.com
<ul></ul><p>Simplified script to reproduce:</p>
<pre>
lttng create sss
sleep 2
lttng enable-channel k0 -k
sleep 2
lttng start
sleep 2
lttng stop
sleep 2
lttng start
sleep 2
lttng stop
sleep 2
</pre>
<p>It only occurs with master branch of lttng-modules. This is 2.3 material.</p> LTTng-modules - Bug #574: lttng 2.2.0-rc2: reliable crashhttps://bugs.lttng.org/issues/574?journal_id=15812013-06-25T19:07:52ZMathieu Desnoyersmathieu.desnoyers@efficios.com
<ul><li><strong>Assignee</strong> set to <i>Julien Desfossez</i></li></ul><p>commit:</p>
<pre>
commit d83004aa718065e5221d8ef4b99e4302b70b3df9
Author: Julien Desfossez <jdesfossez@efficios.com>
Date: Thu Jun 6 16:38:48 2013 -0400
Metadata cache and multiple metadata channels
Implement a cache for the kernel metadata and a list of metadata
channels.
When new metadata is appended, all metadata channels are awakened so
they can return from poll and get the newly added metadata
This allows to request the metadata multiple times by creating multiple
metadata channels (useful for snapshots).
With this new feature, the poll and get_subbuf ring buffer operations
are now overridden by lttng-abi for the metadata channels, to check the
cache before doing these operations.
Signed-off-by: Julien Desfossez <jdesfossez@efficios.com>
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
</pre>
<p>is very likely the cause of this issue.</p> LTTng-modules - Bug #574: lttng 2.2.0-rc2: reliable crashhttps://bugs.lttng.org/issues/574?journal_id=15942013-06-28T18:42:29ZMathieu Desnoyersmathieu.desnoyers@efficios.com
<ul><li><strong>Project</strong> changed from <i>LTTng-tools</i> to <i>LTTng-modules</i></li><li><strong>Status</strong> changed from <i>Confirmed</i> to <i>Resolved</i></li><li><strong>Assignee</strong> changed from <i>Julien Desfossez</i> to <i>Mathieu Desnoyers</i></li></ul><p>Resolved by commit:<br /><pre>
commit 9de2c21569afcb6b983e81a2e9b1d0c2b83c98f0
Author: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
Date: Wed Jun 26 13:55:31 2013 -0400
Fix: don't do 0 byte event reservation
Caused sequence of:
lttng create
lttng enable-event -k sched_switch
lttng start
lttng stop
lttng start
lttng stop
to hang on waiting for data......
Issue appeared in
commit d83004aa718065e5221d8ef4b99e4302b70b3df9
Author: Julien Desfossez <jdesfossez@efficios.com>
Date: Thu Jun 6 16:38:48 2013 -0400
Metadata cache and multiple metadata channels
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
</pre></p>