[lttng-dev] LTTng sessiond daemon Assertion `buf' failed and killed

Yonghong Yan yanyh15 at gmail.com
Fri Jan 12 08:12:21 EST 2024


I am not sure whether this is my setting problem or a bug with a
more recent kernel. lttng-sessiond was killed when I tried to "enable
event" after a session was created. See below part of the verbose output of
the sessiond. It is observed on Ubuntu 22.04, kernel 6.5.0-14-generic
#14~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC, lttng (LTTng Trace Control) 2.13.10
- Nordicité.


The same version of LTTng works on another Ubuntu 22.04 machine, but with
kernel 6.2.0-33-generic. Any suggestion on what I should try?


Thank you

Yonghong



c:1016)

DBG1 - 00:24:25.134138433 [Client management]: Getting session
auto-20240112-002417 by name (in process_client_msg() at client.c:1133)

DBG1 - 00:24:25.134148894 [Client management]: Creating UST session (in
create_ust_session() at client.c:510)

DBG1 - 00:24:25.134267958 [Client management]: Spawning consumerd (in
spawn_consumerd() at client.c:204)

DBG1 - 00:24:25.135155823 [Client management]: Waiting for consumer
management thread to be ready (in wait_until_thread_is_ready() at
manage-consumer.c:46)

DBG1 - 00:24:25.135247552 [Consumer management]: Entering thread entry
point (in launch_thread() at thread.c:65)

DBG1 - 00:24:25.135293542 [Consumer management]: [thread] Manage consumer
started (in thread_consumer_management() at manage-consumer.c:65)

DBG1 - 00:24:25.135335776 [Client management]: Using 64-bit UST consumer
at: /usr/lib/x86_64-linux-gnu/lttng/libexec/lttng-consumerd (in
spawn_consumerd() at client.c:284)

DBG1 - 00:24:25.240725883 [Consumer management]: Consumer command socket
ready (fd: 61) (in thread_consumer_management() at manage-consumer.c:204)

DBG1 - 00:24:25.240746802 [Consumer management]: Consumer metadata socket
ready (fd: 62) (in thread_consumer_management() at manage-consumer.c:205)

DBG1 - 00:24:25.240775318 [Consumer management]: Sending consumer
initialization command (in consumer_init() at consumer.c:1791)

DBG1 - 00:24:25.241066762 [Consumer management]: Marking consumer
management thread as ready (in mark_thread_as_ready() at
manage-consumer.c:31)

DBG1 - 00:24:25.241100481 [Client management]: Consumer management thread
is ready (in wait_until_thread_is_ready() at manage-consumer.c:48)

DBG1 - 00:24:25.241138386 [Client management]: Setting relayd for session
auto-20240112-002417 (in cmd_setup_relayd() at cmd.c:1004)

lttng-sessiond: unix.c:185: lttcomm_recv_unix_sock: Assertion `buf' failed.

Error: Events: No session daemon is available (channel channel0, session
auto-20240112-002417)

[1]+  Aborted                 (core dumped) lttng-sessiond --verbose

DBG1 - 00:24:26.357769106 [Run-as worker]: run_as worker exiting (ret = 0)
(in run_as_create_worker_no_lock() at runas.c:1526)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.lttng.org/pipermail/lttng-dev/attachments/20240112/461b806c/attachment.htm>


More information about the lttng-dev mailing list