You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "Bryan Call (JIRA)" <ji...@apache.org> on 2015/11/12 21:24:11 UTC

[jira] [Comment Edited] (TS-3863) Add support for ASAN leak detection

    [ https://issues.apache.org/jira/browse/TS-3863?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15002854#comment-15002854 ] 

Bryan Call edited comment on TS-3863 at 11/12/15 8:23 PM:
----------------------------------------------------------

Issue 3 - Seeing this on RHEL 7.1 with gcc 4.9.3:
{code}
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffcdc78700 (LWP 22961)]
0x00007ffff40945d7 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff40945d7 in raise () from /lib64/libc.so.6
#1  0x00007ffff4095cc8 in abort () from /lib64/libc.so.6
#2  0x00007ffff69b9d1d in __gnu_cxx::__verbose_terminate_handler () at ../../.././libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007ffff69b7d86 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../.././libstdc++-v3/libsupc++/eh_terminate.cc:47
#4  0x00007ffff69b7dd1 in std::terminate () at ../../.././libstdc++-v3/libsupc++/eh_terminate.cc:57
#5  0x00007ffff69b888f in __cxxabiv1::__cxa_pure_virtual () at ../../.././libstdc++-v3/libsupc++/pure.cc:50
#6  0x0000000000c4342b in NetAccept::do_blocking_accept (this=this@entry=0x61100001ef40, t=t@entry=0x7fffcdf80800) at UnixNetAccept.cc:275
#7  0x0000000000c451eb in NetAccept::acceptLoopEvent (this=0x61100001ef40, event=<optimized out>, e=<optimized out>) at UnixNetAccept.cc:494
#8  0x0000000000ce72ff in handleEvent (data=<optimized out>, event=1, this=<optimized out>) at I_Continuation.h:146
#9  EThread::execute (this=0x7fffcdf80800) at UnixEThread.cc:275
#10 0x0000000000ce46c9 in spawn_thread_internal (a=0x6040000a9710) at Thread.cc:86
#11 0x00007ffff4eaddf5 in start_thread () from /lib64/libpthread.so.0
#12 0x00007ffff41551ad in clone () from /lib64/libc.so.6
{code}

Oh how I hate you pure virtual function...


was (Author: bcall):
Issue 3 - Seeing this on RHEL 6.5 with gcc 4.9.3:
{code}
Program received signal SIGABRT, Aborted.
[Switching to Thread 0x7fffcdc78700 (LWP 22961)]
0x00007ffff40945d7 in raise () from /lib64/libc.so.6
(gdb) bt
#0  0x00007ffff40945d7 in raise () from /lib64/libc.so.6
#1  0x00007ffff4095cc8 in abort () from /lib64/libc.so.6
#2  0x00007ffff69b9d1d in __gnu_cxx::__verbose_terminate_handler () at ../../.././libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007ffff69b7d86 in __cxxabiv1::__terminate (handler=<optimized out>) at ../../.././libstdc++-v3/libsupc++/eh_terminate.cc:47
#4  0x00007ffff69b7dd1 in std::terminate () at ../../.././libstdc++-v3/libsupc++/eh_terminate.cc:57
#5  0x00007ffff69b888f in __cxxabiv1::__cxa_pure_virtual () at ../../.././libstdc++-v3/libsupc++/pure.cc:50
#6  0x0000000000c4342b in NetAccept::do_blocking_accept (this=this@entry=0x61100001ef40, t=t@entry=0x7fffcdf80800) at UnixNetAccept.cc:275
#7  0x0000000000c451eb in NetAccept::acceptLoopEvent (this=0x61100001ef40, event=<optimized out>, e=<optimized out>) at UnixNetAccept.cc:494
#8  0x0000000000ce72ff in handleEvent (data=<optimized out>, event=1, this=<optimized out>) at I_Continuation.h:146
#9  EThread::execute (this=0x7fffcdf80800) at UnixEThread.cc:275
#10 0x0000000000ce46c9 in spawn_thread_internal (a=0x6040000a9710) at Thread.cc:86
#11 0x00007ffff4eaddf5 in start_thread () from /lib64/libpthread.so.0
#12 0x00007ffff41551ad in clone () from /lib64/libc.so.6
{code}

Oh how I hate you pure virtual function...

> Add support for ASAN leak detection
> -----------------------------------
>
>                 Key: TS-3863
>                 URL: https://issues.apache.org/jira/browse/TS-3863
>             Project: Traffic Server
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Bryan Call
>            Assignee: Bryan Call
>              Labels: yahoo
>             Fix For: 6.1.0
>
>
> We will need to call exit() instead of _exit() and fix all the coredumps that happen when objects are being cleaned up.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)