<html><body><div style="font-family: arial, helvetica, sans-serif; font-size: 12pt; color: #000000"><div><span id="zwchr" data-marker="__DIVIDER__">----- On Apr 4, 2019, at 3:26 PM, Mosleh Uddin <mosleh1235@gmail.com> wrote:<br></span></div><div data-marker="__QUOTED_TEXT__"><blockquote style="border-left:2px solid #1010FF;margin-left:5px;padding-left:5px;color:#000;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetica,Arial,sans-serif;font-size:12pt;"><div dir="ltr">Hello,<br><div>I am building an application which I am compiling with the 'lttng-ust' flag. When I try to debug the application using gdb, I get a 'Suspended: Signal: SIG33:Real-time event 33' message. This only happens when I compile with the 'lttng-ust' flag, if I remove it I no longer have this issue. Any insight?</div><br></div></blockquote></div><div>Hi,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Based on the signal(7) man page, it appears that real-time signal 33 is used by the NPTL<br data-mce-bogus="1"></div><div>threading library from glibc.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Indeed, lttng-ust creates 2 threads within the processes it's linked into, so<br data-mce-bogus="1"></div><div>your application needs to appropriately interact with glibc NPTL in order to link<br data-mce-bogus="1"></div><div>lttng-ust into it.<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Can you provide more details on the nature of your application ? What version<br data-mce-bogus="1"></div><div>of gdb do you use ? On which architecture ?<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Thanks,<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div>Mathieu<br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div><br data-mce-bogus="1"></div><div data-marker="__SIG_POST__">-- <br></div><div>Mathieu Desnoyers<br>EfficiOS Inc.<br>http://www.efficios.com</div></div></body></html>