[lttng-dev] More LTTng problems
David Goulet
dgoulet at efficios.com
Mon Aug 20 10:42:28 EDT 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hi,
This is pretty odd... it seems the execl() of the consumer failed...
We'll have to confirm this with the perror code I guess. Can you apply
this patch and re-run again.
diff --git a/src/bin/lttng-sessiond/main.c b/src/bin/lttng-sessiond/main.c
index c952fc0..d3c378b 100644
- --- a/src/bin/lttng-sessiond/main.c
+++ b/src/bin/lttng-sessiond/main.c
@@ -1782,6 +1782,7 @@ static pid_t spawn_consumerd(struct
consumer_data *consumer_data)
free(tmpnew);
}
if (ret) {
+ PERROR("execl 32-bit consumer");
goto error;
}
break;
If you want, to speed things up, you can come on OFTC irc server on
#lttng and we'll be able to assist you in real time to find this problem.
Cheers
David
Henrik Hautakoski:
> Ok so I attached the output from lttng-sessiond (it's large).
>
> the commands was:
>
> # lttng-sessiond --vvv --no-kernel --verbose-consumer
>
> # lttng list -u
>
> # lttng create mysession
>
> # lttng enable-event -a -u
>
> Nothing shows up in dmesg.
>
> On Fri, Aug 17, 2012 at 5:15 PM, David Goulet
> <dgoulet at efficios.com> wrote: Hi,
>
> Actually, this error means that a problem occurred *during* the 32
> bit consumer spawning process... It seems the binary was found but
> failed to exec it.
>
> Running the session daemon (lttng-sessiond) with options "-vvv
> --verbose-consumer" will help us pin down the problem.
>
> Send me back the output, I'll be able to tell you what's going on
> (and also the series of command you guys did before the
> enable-event).
>
> Last thing, make sure the lttng-consumerd did not segfault (dmesg)
> or any other lttng-tools component.
>
> Thanks! David
>
> Mathieu Desnoyers:
>>>> It looks like you did not build a 32-bit consumer. I'm ccing
>>>> David Goulet, maintainer of lttng-tools.
>>>>
>>>> Thanks,
>>>>
>>>> Mathieu
>>>>
>>>> * Henrik Hautakoski (henrik at fiktivkod.org) wrote:
>>>>> Hi. got lttng working now. but when given the following
>>>>> command, we get an error.
>>>>>
>>>>> $ lttng enable-event -a -u Error: Events: 32-bit UST
>>>>> consumer start failed (channel channel0, session
>>>>> mysession)
>>>>>
>>>>> Could not find any information about this error massage. do
>>>>> you have any ideas?
>>>>>
>>>>> -- Henrik Hautakoski henrik at fiktivkod.org
>>>>
>
>
>
-----BEGIN PGP SIGNATURE-----
iQEcBAEBCgAGBQJQMkzRAAoJEELoaioR9I02cTIIAIxjeagCL1uvHB4WT/SGAdOz
5eIDXhRyjto+7af4VkjibAozT28XZpnJweWJKkeGJjtRLD/1KFMq06QWREUO6sSz
NqkU+i+5FHTSCAK4cRS80e0AcqmOCCAo0zfeLpurNCfeu654rHgzk+03XIj+Zn3a
QhY7Uw9S9SuJ0NPPP6f50bmlsdh6VGLHmJQMi2nNJQZPFiuwLHF9V7mUOO66ZWqF
ikqN5NGDMsmjOoY7XPwcalF7BK1vq9bMv+f9zyWImFV/ky8iHw0d1Cemy9O1cWw1
cbM1wyEqzfDV5QIoFqa0ZKIsbuUzuwy4/bkk7pTrqOaTDLuwOOoqYs108yeJgUg=
=mDFB
-----END PGP SIGNATURE-----
More information about the lttng-dev
mailing list