Open GoogleCodeExporter opened 9 years ago
This might be bug in libunwind rather than gperftools. Please provide more
information:
* what version of libunwind you're running ?
* have you tried using different version of libunwind ? If so please do
* do you see same issue with libtcmalloc (without debug) ?
Original comment by alkondratenko
on 19 Aug 2015 at 3:46
if i use libtcmalloc, the issue does NOT happen.
i am using libunwind-x86_64.so.8.0.1.
Original comment by gaurab.p...@gmail.com
on 19 Aug 2015 at 4:43
so.8.0.1 seems to be libunwind version 1.1. Please consider testing with
different version.
Original comment by alkondratenko
on 20 Aug 2015 at 4:43
does tcmalloc support coroutines ?
Original comment by gaurab.p...@gmail.com
on 22 Aug 2015 at 1:32
As long as you don't switch your coroutines in the middle of malloc/free (say
via signal or from inside malloc hooks), coroutines should work fine.
Original comment by alkondratenko
on 22 Aug 2015 at 1:41
ok we allocate the co-routines on the heap. and the coroutines stack size is
4K. once i increased the stack size to 8K the problem went away. hence wanted
to know what might be going wrong.
Original comment by gaurab.p...@gmail.com
on 22 Aug 2015 at 4:28
Most likely it means that your coroutines consume more than 4k of stack. So
when you allocate 4k of stack your code simply corrupts memory beyond the stack.
Original comment by alkondratenko
on 22 Aug 2015 at 5:28
Original issue reported on code.google.com by
gaurab.p...@gmail.com
on 19 Aug 2015 at 7:01