Mirror of the lttng-dev mailing list
 help / color / mirror / Atom feed
From: aravind.ht@gmail.com (Aravind HT)
Subject: [lttng-dev] Valgrind Memory Error in lttng-relayd
Date: Mon, 29 Jun 2015 23:51:25 +0530	[thread overview]
Message-ID: <CACd+_b7wB+RQNMBnFj6HZgHi4_a3-_giVfBJFBwkLeCbi8Hr9Q@mail.gmail.com> (raw)

Hi,

I ran valgrind on lttng-relayd for a soft hang issue that I had reported
earlier.
http://lists.lttng.org/pipermail/lttng-dev/2015-May/024533.html

Below are the list of errors that I found.

==793== Thread 4:
==793== Invalid write of size 8
==793==    at 0x406038: cds_list_add (list.h:53)
==793==    by 0x409442: queue_stream (main.c:1175)
==793==    by 0x409AB7: relay_add_stream (main.c:1274)
==793==    by 0x40C47A: relay_process_control (main.c:2099)
==793==    by 0x40DBB1: relay_thread_worker (main.c:2574)
==793==    by 0x5BDAFE2: start_thread (pthread_create.c:312)
==793==    by 0x5ED8AFC: clone (clone.S:111)
==793==  Address 0x6e09040 is 64 bytes inside a block of size 312 free'd
==793==    at 0x4C2898C: free (in
/usr/lib64/valgrind/vgpreload_memcheck-amd64-linux.so)
==793==    by 0x418EF8: rcu_destroy_stream (stream.c:33)
==793==    by 0x5079C94: ??? (in /usr/lib64/liburcu.so.2.0.0)
==793==    by 0x5BDAFE2: start_thread (pthread_create.c:312)
==793==    by 0x5ED8AFC: clone (clone.S:111)
==793==

Are there any known bugs/fixes for these ?


Regards,
Aravind.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lttng.org/pipermail/lttng-dev/attachments/20150629/c96be394/attachment.html>


                 reply	other threads:[~2015-06-29 18:21 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=CACd+_b7wB+RQNMBnFj6HZgHi4_a3-_giVfBJFBwkLeCbi8Hr9Q@mail.gmail.com \
    --to=aravind.ht@gmail.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