FS#54506 - [qemu] segfault in jemalloc since jemalloc upgrade to 5.0.0-2
Attached to Project:
Arch Linux
Opened by Dominique Martinet (asmadeus) - Sunday, 18 June 2017, 15:49 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 18 June 2017, 15:52 GMT
Opened by Dominique Martinet (asmadeus) - Sunday, 18 June 2017, 15:49 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 18 June 2017, 15:52 GMT
|
Details
Description:
qemu-system-x86_64 started segfaulting since jemalloc got upgraded from 4.5.0-1 to 5.0.0-2 There have been other upgrades since last run (e.g. glibc from 2.25-2 to 2.25-3) but jemalloc sounds like the most likely culprit Additional info: * package version(s): qemu 2.9.0-1, jemalloc 5.0.0-2 * segfault does not occur right away, but after ~30-40 minutes of running. I only took time to reproduce twice, partial backtraces below, but both are related to jemalloc and thread local storage. * probably a duplicate of https://bugs.archlinux.org/index.php?do=details&action=details.addvote&task_id=54483 but its summary is really bad and I cannot edit it ; I also think jemalloc "just" broke its ABI from 4.5 to 5.0 so qemu needs a recompile (a local build fixes things for me) ; unclear which package is wrong there. Sorry if duplicating brings more work, I'd just rather not stay with a badly named jemalloc report :) backtraces: first - (gdb) bt #0 0x00007f869c80a1d1 in () at /usr/lib/libjemalloc.so.2 #1 0x00007f869c80b860 in () at /usr/lib/libjemalloc.so.2 #2 0x00007f869c80b9d4 in () at /usr/lib/libjemalloc.so.2 #3 0x00007f869c80c9a1 in () at /usr/lib/libjemalloc.so.2 #4 0x00007f869c7be29a in calloc () at /usr/lib/libjemalloc.so.2 #5 0x00007f86a2a16852 in allocate_dtv () at /lib64/ld-linux-x86-64.so.2 #6 0x00007f86a2a171ce in _dl_allocate_tls () at /lib64/ld-linux-x86-64.so.2 #7 0x00007f869bc66dca in pthread_create@@GLIBC_2.2.5 () at /usr/lib/libpthread.so.0 #8 0x0000559e3e77e475 in qemu_thread_create () #9 0x0000559e3e7792a7 in () #10 0x0000559e3e779308 in () #11 0x00007f869bc66297 in start_thread () at /usr/lib/libpthread.so.0 #12 0x00007f869b9a725f in clone () at /usr/lib/libc.so.6 second - (gdb) bt #0 0x00007f7dfd2954d3 in () at /usr/lib/libjemalloc.so.2 #1 0x00007f7dfd2955cd in () at /usr/lib/libjemalloc.so.2 #2 0x00007f7dfd2977d8 in () at /usr/lib/libjemalloc.so.2 #3 0x00007f7dfc6f03c8 in __nptl_deallocate_tsd.part.4 () at /usr/lib/libpthread.so.0 #4 0x00007f7dfc6f135d in start_thread () at /usr/lib/libpthread.so.0 #5 0x00007f7dfc43225f in clone () at /usr/lib/libc.so.6 Steps to reproduce: run a VM with /usr/bin/qemu-system-x86_64 and wait for a while. |
This task depends upon
Closed by Doug Newgard (Scimmia)
Sunday, 18 June 2017, 15:52 GMT
Reason for closing: Duplicate
Additional comments about closing: FS#54483
Sunday, 18 June 2017, 15:52 GMT
Reason for closing: Duplicate
Additional comments about closing: