* [lttng-dev] Need help in using lttng - module crashes
@ 2015-07-23 19:05 Selvamani Ramasamy
2015-07-23 23:33 ` Jérémie Galarneau
0 siblings, 1 reply; 4+ messages in thread
From: Selvamani Ramasamy @ 2015-07-23 19:05 UTC (permalink / raw)
Hi,
I am from Ericsson and we are trying to use lttng for one of our routing stack module. We are facing issue in using lttng with our code base. We are facing crash in our module when we register tracepoints. We are using lttng version 2.3.0. Any input will be appreciated. Thanks in advance.
Core was generated by `/usr/lib/siara/bin/bgpd'.
Program terminated with signal 6, Aborted.
#0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
135 ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or directory.
(gdb) bt
#0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00000035f640a6f7 in _L_lock_942 () from /lib64/libpthread.so.0
#2 0x00000035f640a520 in __GI___pthread_mutex_lock (mutex=0x2ae5bdc47340 <_biglock>) at ../nptl/pthread_mutex_lock.c:79
#3 0x00002ae5bda382b8 in _biglock_grab_for_group (thread_group=0, initial=initial at entry=0) at sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_biglock.c:174
#4 0x00002ae5bda38325 in __biglock_grab (initial=initial at entry=0) at sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_biglock.c:191
#5 0x00002ae5bda3a032 in fgets (s=s at entry=0x2ae5c09b8960 <metalib_pname> "/usr/lib/siara/bin/bgpd", size=size at entry=63, stream=stream at entry=0x807690)
at sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_filestream.c:51
#6 0x00002ae5c06b5818 in rbos_get_name_from_pid (pid=<optimized out>, pname=pname at entry=0x2ae5c09b8960 <metalib_pname> "/usr/lib/siara/bin/bgpd", len=len at entry=63) at sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/src/rbos_sysfunc.c:421
#7 0x00002ae5c05c9d83 in proc_get_name_from_pid (pid=<optimized out>, pname=pname at entry=0x2ae5c09b8960 <metalib_pname> "/usr/lib/siara/bin/bgpd", len=len at entry=63) at sw/se/xc/bsd/libsrc/utils/src/pmUtils.c:736
#8 0x00002ae5c061535f in metalib_init () at sw/se/xc/bsd/libsrc/issu/src/metalib.c:93
#9 0x00002ae5be095c62 in rbos_event_startup (attr=attr at entry=0x7fff8ada6810) at sw/se/xc/bsd/comp/events/lib/src/rbos_event_api.c:918
#10 0x0000000000505ca6 in bgp_ffn_eti_init () at sw/se/xc/bsd/routing/bgp/src/bgp_util_daemon.c:2727
#11 0x0000000000488d4e in bgp_main ()
#12 0x0000000000411fd9 in main (argc=<optimized out>, argv=<optimized out>) at sw/se/xc/bsd/routing/bgp/src/bgpd.c:6
Regards,
Selva
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150723/52785143/attachment-0001.html>
^ permalink raw reply [flat|nested] 4+ messages in thread* [lttng-dev] Need help in using lttng - module crashes
2015-07-23 19:05 [lttng-dev] Need help in using lttng - module crashes Selvamani Ramasamy
@ 2015-07-23 23:33 ` Jérémie Galarneau
2015-07-27 21:05 ` Selvamani Ramasamy
0 siblings, 1 reply; 4+ messages in thread
From: Jérémie Galarneau @ 2015-07-23 23:33 UTC (permalink / raw)
On Thu, Jul 23, 2015 at 3:05 PM, Selvamani Ramasamy <
selvamani.ramasamy at ericsson.com> wrote:
> Hi,
> I am from Ericsson and we are trying to use lttng for one of our routing
> stack module. We are facing issue in using lttng with our code base. We
> are facing crash in our module when we register tracepoints. We are using
> lttng version 2.3.0. Any input will be appreciated. Thanks in advance.
>
That's from a while ago. Any chance you can try with 2.6.0 and see if the
problem persists?
Regards,
J?r?mie
>
> Core was generated by `/usr/lib/siara/bin/bgpd'.
>
> Program terminated with signal 6, Aborted.
>
> #0 __lll_lock_wait () at
> ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
>
> 135 ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such
> file or directory.
>
> (gdb) bt
>
> #0 __lll_lock_wait () at
> ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
>
> #1 0x00000035f640a6f7 in _L_lock_942 () from /lib64/libpthread.so.0
>
> #2 0x00000035f640a520 in __GI___pthread_mutex_lock (mutex=0x2ae5bdc47340
> <_biglock>) at ../nptl/pthread_mutex_lock.c:79
>
> #3 0x00002ae5bda382b8 in _biglock_grab_for_group (thread_group=0,
> initial=initial at entry=0) at
> sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_biglock.c:174
>
> #4 0x00002ae5bda38325 in __biglock_grab (initial=initial at entry=0) at
> sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_biglock.c:191
>
> #5 0x00002ae5bda3a032 in fgets (s=s at entry=0x2ae5c09b8960 <metalib_pname>
> "/usr/lib/siara/bin/bgpd", size=size at entry=63, stream=stream at entry
> =0x807690)
>
> at
> sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_filestream.c:51
>
> #6 0x00002ae5c06b5818 in rbos_get_name_from_pid (pid=<optimized out>,
> pname=pname at entry=0x2ae5c09b8960 <metalib_pname>
> "/usr/lib/siara/bin/bgpd", len=len at entry=63) at
> sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/src/rbos_sysfunc.c:421
>
> #7 0x00002ae5c05c9d83 in proc_get_name_from_pid (pid=<optimized out>,
> pname=pname at entry=0x2ae5c09b8960 <metalib_pname>
> "/usr/lib/siara/bin/bgpd", len=len at entry=63) at
> sw/se/xc/bsd/libsrc/utils/src/pmUtils.c:736
>
> #8 0x00002ae5c061535f in metalib_init () at
> sw/se/xc/bsd/libsrc/issu/src/metalib.c:93
>
> #9 0x00002ae5be095c62 in rbos_event_startup (attr=attr at entry=0x7fff8ada6810)
> at sw/se/xc/bsd/comp/events/lib/src/rbos_event_api.c:918
>
> #10 0x0000000000505ca6 in bgp_ffn_eti_init () at
> sw/se/xc/bsd/routing/bgp/src/bgp_util_daemon.c:2727
>
> #11 0x0000000000488d4e in bgp_main ()
>
> #12 0x0000000000411fd9 in main (argc=<optimized out>, argv=<optimized
> out>) at sw/se/xc/bsd/routing/bgp/src/bgpd.c:6
>
>
> Regards,
>
> Selva
>
> _______________________________________________
> lttng-dev mailing list
> lttng-dev at lists.lttng.org
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>
>
--
J?r?mie Galarneau
EfficiOS Inc.
http://www.efficios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150723/f842477e/attachment.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
* [lttng-dev] Need help in using lttng - module crashes
2015-07-23 23:33 ` Jérémie Galarneau
@ 2015-07-27 21:05 ` Selvamani Ramasamy
2015-07-27 21:14 ` Jérémie Galarneau
0 siblings, 1 reply; 4+ messages in thread
From: Selvamani Ramasamy @ 2015-07-27 21:05 UTC (permalink / raw)
Thank you for your response. We will try with 2.6 and let you know. BTB, is there any workaround in 2.3 itself?
From: <jeremie.galarneau@gmail.com<mailto:jeremie.galarneau@gmail.com>> on behalf of J?r?mie Galarneau <jeremie.galarneau@efficios.com<mailto:jeremie.galarneau@efficios.com>>
Date: Thursday, July 23, 2015 at 4:33 PM
To: Ericsson <selvamani.ramasamy at ericsson.com<mailto:selvamani.ramasamy at ericsson.com>>
Cc: "lttng-dev at lists.lttng.org<mailto:lttng-dev at lists.lttng.org>" <lttng-dev at lists.lttng.org<mailto:lttng-dev at lists.lttng.org>>
Subject: Re: [lttng-dev] Need help in using lttng - module crashes
On Thu, Jul 23, 2015 at 3:05 PM, Selvamani Ramasamy <selvamani.ramasamy at ericsson.com<mailto:selvamani.ramasamy at ericsson.com>> wrote:
Hi,
I am from Ericsson and we are trying to use lttng for one of our routing stack module. We are facing issue in using lttng with our code base. We are facing crash in our module when we register tracepoints. We are using lttng version 2.3.0. Any input will be appreciated. Thanks in advance.
That's from a while ago. Any chance you can try with 2.6.0 and see if the problem persists?
Regards,
J?r?mie
Core was generated by `/usr/lib/siara/bin/bgpd'.
Program terminated with signal 6, Aborted.
#0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
135 ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such file or directory.
(gdb) bt
#0 __lll_lock_wait () at ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
#1 0x00000035f640a6f7 in _L_lock_942 () from /lib64/libpthread.so.0
#2 0x00000035f640a520 in __GI___pthread_mutex_lock (mutex=0x2ae5bdc47340 <_biglock>) at ../nptl/pthread_mutex_lock.c:79
#3 0x00002ae5bda382b8 in _biglock_grab_for_group (thread_group=0, initial=initial at entry=0) at sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_biglock.c:174
#4 0x00002ae5bda38325 in __biglock_grab (initial=initial at entry=0) at sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_biglock.c:191
#5 0x00002ae5bda3a032 in fgets (s=s at entry=0x2ae5c09b8960 <metalib_pname> "/usr/lib/siara/bin/bgpd", size=size at entry=63, stream=stream at entry=0x807690)
at sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_filestream.c:51
#6 0x00002ae5c06b5818 in rbos_get_name_from_pid (pid=<optimized out>, pname=pname at entry=0x2ae5c09b8960 <metalib_pname> "/usr/lib/siara/bin/bgpd", len=len at entry=63) at sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/src/rbos_sysfunc.c:421
#7 0x00002ae5c05c9d83 in proc_get_name_from_pid (pid=<optimized out>, pname=pname at entry=0x2ae5c09b8960 <metalib_pname> "/usr/lib/siara/bin/bgpd", len=len at entry=63) at sw/se/xc/bsd/libsrc/utils/src/pmUtils.c:736
#8 0x00002ae5c061535f in metalib_init () at sw/se/xc/bsd/libsrc/issu/src/metalib.c:93
#9 0x00002ae5be095c62 in rbos_event_startup (attr=attr at entry=0x7fff8ada6810) at sw/se/xc/bsd/comp/events/lib/src/rbos_event_api.c:918
#10 0x0000000000505ca6 in bgp_ffn_eti_init () at sw/se/xc/bsd/routing/bgp/src/bgp_util_daemon.c:2727
#11 0x0000000000488d4e in bgp_main ()
#12 0x0000000000411fd9 in main (argc=<optimized out>, argv=<optimized out>) at sw/se/xc/bsd/routing/bgp/src/bgpd.c:6
Regards,
Selva
_______________________________________________
lttng-dev mailing list
lttng-dev at lists.lttng.org<mailto:lttng-dev at lists.lttng.org>
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
J?r?mie Galarneau
EfficiOS Inc.
http://www.efficios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150727/a4f4f8f6/attachment.html>
^ permalink raw reply [flat|nested] 4+ messages in thread* [lttng-dev] Need help in using lttng - module crashes
2015-07-27 21:05 ` Selvamani Ramasamy
@ 2015-07-27 21:14 ` Jérémie Galarneau
0 siblings, 0 replies; 4+ messages in thread
From: Jérémie Galarneau @ 2015-07-27 21:14 UTC (permalink / raw)
You could also try the latest 2.3.x releases which may already contain a
fix for this issue. However, note that the 2.3.x release is no longer
maintained.
lttng-tools 2.3.2 [1]
lttng-ust 2.3.2 [2]
lttng-modules 2.3.5 [3]
Regards,
J?r?mie
[1] https://lttng.org/files/lttng-tools/lttng-tools-2.3.2.tar.bz2
[2] https://lttng.org/files/lttng-ust/lttng-ust-2.3.2.tar.bz2
[3] https://lttng.org/files/lttng-modules/lttng-modules-2.3.5.tar.bz2
On Mon, Jul 27, 2015 at 5:05 PM, Selvamani Ramasamy <
selvamani.ramasamy at ericsson.com> wrote:
> Thank you for your response. We will try with 2.6 and let you know.
> BTB, is there any workaround in 2.3 itself?
>
> From: <jeremie.galarneau@gmail.com> on behalf of J?r?mie Galarneau <
> jeremie.galarneau at efficios.com>
> Date: Thursday, July 23, 2015 at 4:33 PM
> To: Ericsson <selvamani.ramasamy at ericsson.com>
> Cc: "lttng-dev at lists.lttng.org" <lttng-dev at lists.lttng.org>
> Subject: Re: [lttng-dev] Need help in using lttng - module crashes
>
>
>
> On Thu, Jul 23, 2015 at 3:05 PM, Selvamani Ramasamy <
> selvamani.ramasamy at ericsson.com> wrote:
>
>> Hi,
>> I am from Ericsson and we are trying to use lttng for one of our routing
>> stack module. We are facing issue in using lttng with our code base. We
>> are facing crash in our module when we register tracepoints. We are using
>> lttng version 2.3.0. Any input will be appreciated. Thanks in advance.
>>
>
> That's from a while ago. Any chance you can try with 2.6.0 and see if
> the problem persists?
>
> Regards,
> J?r?mie
>
>
>>
>> Core was generated by `/usr/lib/siara/bin/bgpd'.
>>
>> Program terminated with signal 6, Aborted.
>>
>> #0 __lll_lock_wait () at
>> ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
>>
>> 135 ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: No such
>> file or directory.
>>
>> (gdb) bt
>>
>> #0 __lll_lock_wait () at
>> ../nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S:135
>>
>> #1 0x00000035f640a6f7 in _L_lock_942 () from /lib64/libpthread.so.0
>>
>> #2 0x00000035f640a520 in __GI___pthread_mutex_lock (mutex=0x2ae5bdc47340
>> <_biglock>) at ../nptl/pthread_mutex_lock.c:79
>>
>> #3 0x00002ae5bda382b8 in _biglock_grab_for_group (thread_group=0,
>> initial=initial at entry=0) at
>> sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_biglock.c:174
>>
>> #4 0x00002ae5bda38325 in __biglock_grab (initial=initial at entry=0) at
>> sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_biglock.c:191
>>
>> #5 0x00002ae5bda3a032 in fgets (s=s at entry=0x2ae5c09b8960
>> <metalib_pname> "/usr/lib/siara/bin/bgpd", size=size at entry=63,
>> stream=stream at entry=0x807690)
>>
>> at
>> sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/interceptor/src/interceptor_filestream.c:51
>>
>> #6 0x00002ae5c06b5818 in rbos_get_name_from_pid (pid=<optimized out>,
>> pname=pname at entry=0x2ae5c09b8960 <metalib_pname>
>> "/usr/lib/siara/bin/bgpd", len=len at entry=63) at
>> sw/se/xc/bsd/libsrc/rboslib/osdeps/linux/src/rbos_sysfunc.c:421
>>
>> #7 0x00002ae5c05c9d83 in proc_get_name_from_pid (pid=<optimized out>,
>> pname=pname at entry=0x2ae5c09b8960 <metalib_pname>
>> "/usr/lib/siara/bin/bgpd", len=len at entry=63) at
>> sw/se/xc/bsd/libsrc/utils/src/pmUtils.c:736
>>
>> #8 0x00002ae5c061535f in metalib_init () at
>> sw/se/xc/bsd/libsrc/issu/src/metalib.c:93
>>
>> #9 0x00002ae5be095c62 in rbos_event_startup (attr=attr at entry=0x7fff8ada6810)
>> at sw/se/xc/bsd/comp/events/lib/src/rbos_event_api.c:918
>>
>> #10 0x0000000000505ca6 in bgp_ffn_eti_init () at
>> sw/se/xc/bsd/routing/bgp/src/bgp_util_daemon.c:2727
>>
>> #11 0x0000000000488d4e in bgp_main ()
>>
>> #12 0x0000000000411fd9 in main (argc=<optimized out>, argv=<optimized
>> out>) at sw/se/xc/bsd/routing/bgp/src/bgpd.c:6
>>
>>
>> Regards,
>>
>> Selva
>>
>> _______________________________________________
>> lttng-dev mailing list
>> lttng-dev at lists.lttng.org
>> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
>>
>>
>
>
> --
> J?r?mie Galarneau
> EfficiOS Inc.
> http://www.efficios.com
>
--
J?r?mie Galarneau
EfficiOS Inc.
http://www.efficios.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150727/4c86a51d/attachment-0001.html>
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-07-27 21:14 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-23 19:05 [lttng-dev] Need help in using lttng - module crashes Selvamani Ramasamy
2015-07-23 23:33 ` Jérémie Galarneau
2015-07-27 21:05 ` Selvamani Ramasamy
2015-07-27 21:14 ` Jérémie Galarneau
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox