You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@trafficserver.apache.org by "JosiahWI (via GitHub)" <gi...@apache.org> on 2023/06/15 22:42:57 UTC

[GitHub] [trafficserver] JosiahWI opened a new issue, #9861: ATS segfaults when compiled with TCMalloc4

JosiahWI opened a new issue, #9861:
URL: https://github.com/apache/trafficserver/issues/9861

   ```
   #0  0x0000ffff7e273c68 in ?? () from /lib64/libunwind.so.8
   #1  0x0000ffff7e279708 [PAC] in _ULaarch64_step () from /lib64/libunwind.so.8
   #2  0x0000ffff7eb40dd8 [PAC] in ?? () from /lib64/libtcmalloc.so.4
   #3  0x0000ffff7eb40180 [PAC] in ?? () from /lib64/libtcmalloc.so.4
   #4  0x0000ffff7eb46658 [PAC] in GetStackTrace(void**, int, int) () from /lib64/libtcmalloc.so.4
   #5  0x0000ffff7eb39004 [PAC] in tcmalloc::PageHeap::GrowHeap(unsigned long) () from /lib64/libtcmalloc.so.4
   #6  0x0000ffff7eb392a4 [PAC] in tcmalloc::PageHeap::New(unsigned long) () from /lib64/libtcmalloc.so.4
   #7  0x0000ffff7eb39388 [PAC] in tcmalloc::CentralFreeList::Populate() () from /lib64/libtcmalloc.so.4
   #8  0x0000ffff7eb395e8 [PAC] in tcmalloc::CentralFreeList::FetchFromOneSpansSafe(int, void**, void**) () from /lib64/libtcmalloc.so.4
   #9  0x0000ffff7eb3969c [PAC] in tcmalloc::CentralFreeList::RemoveRange(void**, void**, int) () from /lib64/libtcmalloc.so.4
   #10 0x0000ffff7eb39824 [PAC] in tcmalloc::ThreadCache::FetchFromCentralCache(unsigned int, int, void* (*)(unsigned long)) () from /lib64/libtcmalloc.so.4
   #11 0x0000ffff7eb49508 [PAC] in tcmalloc::allocate_full_malloc_oom(unsigned long) () from /lib64/libtcmalloc.so.4
   #12 0x0000ffff7e7dc668 [PAC] in ?? () from /lib64/libstdc++.so.6
   #13 0x0000ffff7f760d24 [PAC] in call_init () from /lib/ld-linux-aarch64.so.1
   #14 0x0000ffff7f760e2c [PAC] in _dl_init () from /lib/ld-linux-aarch64.so.1
   #15 0x0000ffff7f777078 [PAC] in _start () from /lib/ld-linux-aarch64.so.1
   ```
   
   The first time I observed this, the crash even managed to corrupt the system's package manager so that it would segfault and could not add or remove software. With CMake, this is easy to reproduce, but it looks like autotools does not really add libtcmalloc to the linker flags even when it is supposedly enabled. I tested with libtcmalloc4 on an OpenSUSE Tumbleweed docker image.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [trafficserver] bneradt closed issue #9861: ATS segfaults when compiled with TCMalloc4

Posted by "bneradt (via GitHub)" <gi...@apache.org>.
bneradt closed issue #9861: ATS segfaults when compiled with TCMalloc4
URL: https://github.com/apache/trafficserver/issues/9861


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@trafficserver.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org