pkgsrc-Users archive

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

Re: gcc/cpp segfaulting on i386-9.99.17?



On Sun, 3 Nov 2019, John D. Baker wrote:

> Although it claims "gcc" got SIGSEGV, the only core file I find under
> ${WRKSRC} is for python37.  Will see if the same holds true when again
> attempting to build "at-spi2-core".

With "at-spi2-core", although it claims "cpp" got SIGSEGV, the only core
file I find under ${WRKSRC} is for python37.

'gdb' says:

[...]
Reading symbols from python3.7...
(No debugging symbols found in python3.7)
[New process 1]
Core was generated by `python3.7'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xb53df3b3 in ?? ()
(gdb) bt
#0  0xb53df3b3 in ?? ()
#1  0xb743375e in _fork () at /x/current/src/lib/libc/gen/pthread_atfork.c:173
#2  0xb766c3a2 in os_fork () from /usr/pkg/lib/libpython3.7.so.1.0
#3  0xb757b6dc in _PyMethodDef_RawFastCallKeywords ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#4  0xb757b856 in _PyCFunction_FastCallKeywords ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#5  0xb76b5688 in _PyEval_EvalFrameDefault ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#6  0xb761e27c in _PyEval_EvalCodeWithName ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#7  0xb757b248 in _PyFunction_FastCallKeywords ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#8  0xb76b3de0 in _PyEval_EvalFrameDefault ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#9  0xb761e27c in _PyEval_EvalCodeWithName ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#10 0xb757b248 in _PyFunction_FastCallKeywords ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#11 0xb76b3de0 in _PyEval_EvalFrameDefault ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#12 0xb76acf81 in function_code_fastcall ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#13 0xb76b49da in _PyEval_EvalFrameDefault ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#14 0xb761e27c in _PyEval_EvalCodeWithName ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#15 0xb757b248 in _PyFunction_FastCallKeywords ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#16 0xb76b3de0 in _PyEval_EvalFrameDefault ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#17 0xb76acf81 in function_code_fastcall ()
   from /usr/pkg/lib/libpython3.7.so.1.0
--Type <RET> for more, q to quit, c to continue without paging--
#18 0xb76b49da in _PyEval_EvalFrameDefault ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#19 0xb76acf81 in function_code_fastcall ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#20 0xb76b49da in _PyEval_EvalFrameDefault ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#21 0xb76acf81 in function_code_fastcall ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#22 0xb76b49da in _PyEval_EvalFrameDefault ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#23 0xb76acf81 in function_code_fastcall ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#24 0xb76b4c30 in _PyEval_EvalFrameDefault ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#25 0xb76acf81 in function_code_fastcall ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#26 0xb76b4c30 in _PyEval_EvalFrameDefault ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#27 0xb761e27c in _PyEval_EvalCodeWithName ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#28 0xb761e3f5 in PyEval_EvalCodeEx () from /usr/pkg/lib/libpython3.7.so.1.0
#29 0xb761e469 in PyEval_EvalCode () from /usr/pkg/lib/libpython3.7.so.1.0
#30 0xb7643461 in run_mod () from /usr/pkg/lib/libpython3.7.so.1.0
#31 0xb764564c in PyRun_FileExFlags () from /usr/pkg/lib/libpython3.7.so.1.0
#32 0xb76457a6 in PyRun_SimpleFileExFlags ()
   from /usr/pkg/lib/libpython3.7.so.1.0
#33 0xb7645c28 in PyRun_AnyFileExFlags () from /usr/pkg/lib/libpython3.7.so.1.0
#34 0xb7660438 in pymain_main () from /usr/pkg/lib/libpython3.7.so.1.0
#35 0xb76609a0 in _Py_UnixMain () from /usr/pkg/lib/libpython3.7.so.1.0
#36 0x080489c4 in main ()

Clues anyone?

I'll see about rebuilding python37 with debug info.

-- 
|/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
|\ / jdbaker[snail]consolidated[flyspeck]net  OpenBSD            FreeBSD
| X  No HTML/proprietary data in email.   BSD just sits there and works!
|/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645


Home | Main Index | Thread Index | Old Index