pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: clang++ core dump when building firefox



On Tue, May 12, 2020 at 05:29:27PM +0200, Thomas Klausner wrote:
> [New process 29646]
> Core was generated by `clang++'.
> Program terminated with signal SIGSEGV, Segmentation fault.
> #0  0x00007319b83ab52c in CrashRecoverySignalHandler (Signal=11)
>     at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/Support/CrashRecoveryContext.cpp:345
> 345     /scratch/lang/llvm/work/llvm-10.0.0.src/lib/Support/CrashRecoveryContext.cpp: No such file or directory.
> (gdb) bt
> #0  0x00007319b83ab52c in CrashRecoverySignalHandler (Signal=11)
>     at /scratch/lang/llvm/work/llvm-10.0.0.src/lib/Support/CrashRecoveryContext.cpp:345
> #1  0x00007319b6ab00b0 in _opendir (name=<optimized out>) at /disk/6/archive/foreign/src/lib/libc/gen/opendir.c:72
> #2  0x000000010000000b in ?? ()
> #3  0x0000000000000000 in ?? ()
> 
> 
> Any ideas?

Kill CrashRecoverySignalHandler!
(then get a real backtrace...)

Index: dist/llvm/lib/Support/CrashRecoveryContext.cpp
===================================================================
RCS file: /cvsroot/src/external/apache2/llvm/dist/llvm/lib/Support/CrashRecoveryContext.cpp,v
retrieving revision 1.1.1.1
diff -u -r1.1.1.1 CrashRecoveryContext.cpp
--- dist/llvm/lib/Support/CrashRecoveryContext.cpp	8 Nov 2019 14:29:21 -0000	1.1.1.1
+++ dist/llvm/lib/Support/CrashRecoveryContext.cpp	13 May 2020 07:55:41 -0000
@@ -286,8 +286,7 @@
 
 #include <signal.h>
 
-static const int Signals[] =
-    { SIGABRT, SIGBUS, SIGFPE, SIGILL, SIGSEGV, SIGTRAP };
+static const int Signals[] = { SIGTRAP };
 static const unsigned NumSignals = array_lengthof(Signals);
 static struct sigaction PrevActions[NumSignals];
 



Home | Main Index | Thread Index | Old Index