https://bugs.kde.org/show_bug.cgi?id=393387
--- Comment #4 from Milian Wolff <m...@milianw.de> --- Neither strace, GDB or rr work. But `perf trace` works! And that's actually quite interesting: perf trace --no-syscalls record -m 16M -e signal:signal_deliver -e signal:signal_generate --call-graph dwarf ./AppRun -s test a SIGCHLD is received while we are writing: kdevelop 8054 [000] 244815.920388: signal:signal_deliver: sig=17 errno=0 code=1 sa_handler=7fdf2fd03570 sa_flags=4000005 ffffffff8508c817 get_signal ([kernel.kallsyms]) e747b __GI___libc_write (/usr/lib/libc-2.26.so) 791ec _IO_new_file_write (inlined) 784ce new_do_write (/usr/lib/libc-2.26.so) 7a3e8 _IO_new_do_write (inlined) 798e6 _IO_new_file_xsputn (inlined) 4cf7b _IO_vfprintf_internal (inlined) 104d15 ___fprintf_chk (inlined) 7fd2 fprintf (inlined) 7fd2 writeLine<long unsigned int, unsigned int, long unsigned int> (inlined) 7fd2 handleMalloc (inlined) 7fd2 heaptrack_malloc (/home/milian/projects/compiled/other/lib/heaptrack/libheaptrack_preload.so) 31d6 malloc (/home/milian/projects/compiled/other/lib/heaptrack/libheaptrack_preload.so) 8d088 operator new (/usr/lib/libstdc++.so.6.0.24) 220553 QAbstractItemModel::QAbstractItemModel (/tmp/KDevelop-5.2.1-x86_64/usr/lib/libQt5Core.so.5) ... then shortly after we get the SIGPIPE when heaptrack_interpret quits after receiving the bogus data: kdevelop 8054 [000] 244815.967719: signal:signal_generate: sig=13 errno=0 code=0 comm=kdevelop pid=8054 grp=0 res=1 ffffffff8508ab72 __send_signal ([kernel.kallsyms]) ffffffff8508ab72 __send_signal ([kernel.kallsyms]) e747b __GI___libc_write (/usr/lib/libc-2.26.so) 791ec _IO_new_file_write (inlined) 784ce new_do_write (/usr/lib/libc-2.26.so) 7a3e8 _IO_new_do_write (inlined) 798e6 _IO_new_file_xsputn (inlined) 4e57d _IO_vfprintf_internal (inlined) 104d15 ___fprintf_chk (inlined) 7f5a fprintf (inlined) 7f5a writeLine<long unsigned int, unsigned int> (inlined) 7f5a operator() (inlined) 7f5a index<(anonymous namespace)::HeapTrack::handleMalloc(void*, size_t, const Trace&)::<lambda(uintptr_t, uint32_t)> > (inlined) 7f5a handleMalloc (inlined) 7f5a heaptrack_malloc (/home/milian/projects/compiled/other/lib/heaptrack/libheaptrack_preload.so) 31d6 malloc (/home/milian/projects/compiled/other/lib/heaptrack/libheaptrack_preload.so) 8d088 operator new (/usr/lib/libstdc++.so.6.0.24) f8a83 QHashData::rehash (/tmp/KDevelop-5.2.1-x86_64/usr/lib/libQt5Core.so.5) ... could that be the reason here? -- You are receiving this mail because: You are watching all bug changes.