https://bugs.lttng.org/https://bugs.lttng.org/themes/lttng/favicon/a.ico?14249722912017-11-08T22:10:22ZLTTng bugs repositoryLTTng-tools - Bug #1134: lttng-consumerd: hashtable.c:383: lttng_ht_add_unique_u64: Assertion `node_ptr == &node->node' failed.https://bugs.lttng.org/issues/1134?journal_id=32702017-11-08T22:10:22ZJulien Desfossezjdesfossez@efficios.com
<ul></ul><p>The problem is with this:<br /><pre>
consumer_add_metadata_stream
lttng_ht_add_unique_u64(consumer_data.stream_per_chan_id_ht,
&stream->node_channel_id);
consumer_add_data_stream
lttng_ht_add_u64(consumer_data.stream_per_chan_id_ht,
&stream->node_channel_id);
</pre></p>
<p>The node_channel_id is the channel_key which is not unique, we just happen to be lucky usually and the metadata_stream is added before the data_stream.</p> LTTng-tools - Bug #1134: lttng-consumerd: hashtable.c:383: lttng_ht_add_unique_u64: Assertion `node_ptr == &node->node' failed.https://bugs.lttng.org/issues/1134?journal_id=33112018-02-28T16:45:04ZJulien Desfossezjdesfossez@efficios.com
<ul><li><strong>Status</strong> changed from <i>New</i> to <i>Resolved</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset <a class="changeset" title="Fix: stream_per_chan_id_ht should allow duplicates Fixes: #1134 Signed-off-by: Julien Desfossez..." href="https://bugs.lttng.org/projects/lttng-tools/repository/lttng-tools/revisions/446156b4cba25f3d9abc835dd0d531a447d52941">lttng-tools|446156b4cba25f3d9abc835dd0d531a447d52941</a>.</p>