<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
Hi All, </div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I am observing lttng crash while trying to interface LTTNG for one of my python3 application. </div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
I just tried the following things, </div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
Added "import lttngust " in the code. </div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted0 ContentPasted1">
</div>
# lttng create clagd
<div>Session clagd created.</div>
<div>Traces will be written in /root/lttng-traces/clagd-20230905-062210</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2 ContentPasted3">
# lttng enable-event --python clagd<br class="ContentPasted2">
#lttng start<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2 ContentPasted3">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2 ContentPasted3 ContentPasted4">
#service clagd start</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2 ContentPasted3 ContentPasted4">
<b><br>
</b></div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2 ContentPasted3 ContentPasted4">
<div class="ContentPasted5"><b>cumulus-core: Running cl-support for core files "clagd-ust.95410.1693895062.core"</b></div>
<div><br class="ContentPasted5">
</div>
<div class="ContentPasted6">#0 0x00007f134fb938eb in raise () from /lib/x86_64-linux-gnu/libc.so.6
<div class="ContentPasted6">#1 0x00007f134fb7e535 in abort () from /lib/x86_64-linux-gnu/libc.so.6</div>
<div class="ContentPasted6">#2 0x00007f134fb7e40f in ?? () from /lib/x86_64-linux-gnu/libc.so.6</div>
<div class="ContentPasted6">#3 0x00007f134fb8c1a2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6</div>
<div class="ContentPasted6">#4 0x00007f134f1a9677 in lttng_ust_add_fd_to_tracker () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted6">#5 0x00007f134f1bdcf4 in lttng_ust_elf_create () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted6">#6 0x00007f134f1bf8de in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted6">#7 0x00007f134fc8f957 in dl_iterate_phdr () from /lib/x86_64-linux-gnu/libc.so.6</div>
<div class="ContentPasted6">#8 0x00007f134f1bff6b in lttng_ust_dl_update () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted6">#9 0x00007f134f1c061a in do_lttng_ust_statedump () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted6">#10 0x00007f134f1b5ca9 in lttng_handle_pending_statedump () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted6">#11 0x00007f134f1ab6d1 in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted6">#12 0x00007f134f1ad7eb in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted6">#13 0x00007f134ff0dfa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0</div>
<div class="ContentPasted6">#14 0x00007f134fc5506f in clone () from /lib/x86_64-linux-gnu/libc.so.6</div>
<br>
</div>
<div class="ContentPasted6"><br>
</div>
When I stop the lttng session, I see another core </div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2 ContentPasted3 ContentPasted4">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2 ContentPasted3 ContentPasted4 ContentPasted7">
#0 0x00007fad951988eb in raise () from /lib/x86_64-linux-gnu/libc.so.6
<div class="ContentPasted7">[Current thread is 1 (Thread 0x7fad9331f700 (LWP 2221103))]</div>
<div class="ContentPasted7">(gdb) bt</div>
<div class="ContentPasted7">#0 0x00007fad951988eb in raise () from /lib/x86_64-linux-gnu/libc.so.6</div>
<div class="ContentPasted7">#1 0x00007fad95183535 in abort () from /lib/x86_64-linux-gnu/libc.so.6</div>
<div class="ContentPasted7">#2 0x00007fad9518340f in ?? () from /lib/x86_64-linux-gnu/libc.so.6</div>
<div class="ContentPasted7">#3 0x00007fad951911a2 in __assert_fail () from /lib/x86_64-linux-gnu/libc.so.6</div>
<div class="ContentPasted7">#4 0x00007fad947e8d9f in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted7">#5 0x00007fad947e98e3 in shm_object_table_destroy () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted7">#6 0x00007fad947e4d9a in channel_destroy () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted7">#7 0x00007fad947ba6b5 in lttng_session_destroy () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted7">#8 0x00007fad947b47c6 in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted7">#9 0x00007fad947b4bac in lttng_ust_objd_unref () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted7">#10 0x00007fad947b4bac in lttng_ust_objd_unref () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted7">#11 0x00007fad947b4bac in lttng_ust_objd_unref () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted7">#12 0x00007fad947b5304 in lttng_ust_objd_table_owner_cleanup () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted7">#13 0x00007fad947b2b75 in ?? () from /lib/x86_64-linux-gnu/liblttng-ust.so.0</div>
<div class="ContentPasted7">#14 0x00007fad95512fa3 in start_thread () from /lib/x86_64-linux-gnu/libpthread.so.0</div>
<div class="ContentPasted7">#15 0x00007fad9525a06f in clone () from /lib/x86_64-linux-gnu/libc.so.6</div>
<div><br class="ContentPasted7">
</div>
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2 ContentPasted3 ContentPasted4 ContentPasted7">
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. </div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2 ContentPasted3 ContentPasted4 ContentPasted7">
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2 ContentPasted3 ContentPasted4 ContentPasted7">
Regards,</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof ContentPasted2 ContentPasted3 ContentPasted4 ContentPasted7">
Lakshmi</div>
</body>
</html>