From: Lakshmi Deverkonda via lttng-dev <lttng-dev@lists.lttng.org>
To: "lttng-dev@lists.lttng.org" <lttng-dev@lists.lttng.org>
Subject: [lttng-dev] LTTNG LIB UST Crash
Date: Tue, 5 Sep 2023 06:30:48 +0000 [thread overview]
Message-ID: <MW3PR12MB4555EFAAF7F86C5EFA8DB849D9E8A@MW3PR12MB4555.namprd12.prod.outlook.com> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 3477 bytes --]
Hi All,
I am observing lttng crash while trying to interface LTTNG for one of my python3 application.
I just tried the following things,
Added "import lttngust " in the code.
# lttng create clagd
Session clagd created.
Traces will be written in /root/lttng-traces/clagd-20230905-062210
# lttng enable-event --python clagd
#lttng start
#service clagd start
cumulus-core: Running cl-support for core files "clagd-ust.95410.1693895062.core"
#0 0x00007f134fb938eb in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007f134fb7e535 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007f134fb7e40f in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007f134fb8c1a2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x00007f134f1a9677 in lttng_ust_add_fd_to_tracker () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#5 0x00007f134f1bdcf4 in lttng_ust_elf_create () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#6 0x00007f134f1bf8de in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#7 0x00007f134fc8f957 in dl_iterate_phdr () from /lib/x86_64-linux-gnu/libc.so.6
#8 0x00007f134f1bff6b in lttng_ust_dl_update () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#9 0x00007f134f1c061a in do_lttng_ust_statedump () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#10 0x00007f134f1b5ca9 in lttng_handle_pending_statedump () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#11 0x00007f134f1ab6d1 in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#12 0x00007f134f1ad7eb in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#13 0x00007f134ff0dfa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#14 0x00007f134fc5506f in clone () from /lib/x86_64-linux-gnu/libc.so.6
When I stop the lttng session, I see another core
#0 0x00007fad951988eb in raise () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7fad9331f700 (LWP 2221103))]
(gdb) bt
#0 0x00007fad951988eb in raise () from /lib/x86_64-linux-gnu/libc.so.6
#1 0x00007fad95183535 in abort () from /lib/x86_64-linux-gnu/libc.so.6
#2 0x00007fad9518340f in ?? () from /lib/x86_64-linux-gnu/libc.so.6
#3 0x00007fad951911a2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6
#4 0x00007fad947e8d9f in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#5 0x00007fad947e98e3 in shm_object_table_destroy () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#6 0x00007fad947e4d9a in channel_destroy () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#7 0x00007fad947ba6b5 in lttng_session_destroy () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#8 0x00007fad947b47c6 in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#9 0x00007fad947b4bac in lttng_ust_objd_unref () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#10 0x00007fad947b4bac in lttng_ust_objd_unref () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#11 0x00007fad947b4bac in lttng_ust_objd_unref () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#12 0x00007fad947b5304 in lttng_ust_objd_table_owner_cleanup () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#13 0x00007fad947b2b75 in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0
#14 0x00007fad95512fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0
#15 0x00007fad9525a06f in clone () from /lib/x86_64-linux-gnu/libc.so.6
Can you please help here if I'm missing something. This is a critical task item for us but are currently stuck with multiple lttng crashes.
Regards,
Lakshmi
[-- Attachment #1.2: Type: text/html, Size: 9370 bytes --]
[-- Attachment #2: Type: text/plain, Size: 156 bytes --]
_______________________________________________
lttng-dev mailing list
lttng-dev@lists.lttng.org
https://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
next reply other threads:[~2023-09-05 14:32 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-09-05 6:30 Lakshmi Deverkonda via lttng-dev [this message]
2023-09-05 15:27 ` Kienan Stewart via lttng-dev
[not found] ` <b16699e8-92de-2088-2912-e956443f4a3e@efficios.com>
2023-09-06 10:02 ` Lakshmi Deverkonda via lttng-dev
2023-09-06 15:31 ` Kienan Stewart via lttng-dev
2023-09-07 11:46 ` Lakshmi Deverkonda via lttng-dev
2023-09-07 16:06 ` Kienan Stewart via lttng-dev
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=MW3PR12MB4555EFAAF7F86C5EFA8DB849D9E8A@MW3PR12MB4555.namprd12.prod.outlook.com \
--to=lttng-dev@lists.lttng.org \
--cc=laksd@nvidia.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox