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:

> With "at-spi2-core", although it claims "cpp" got SIGSEGV, the only core
> file I find under ${WRKSRC} is for python37.
> 
> I'll see about rebuilding python37 with debug info.

'gdb' now says:

[...]
Reading symbols from python3.7...
[New process 1]
Core was generated by `python3.7'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0xb71783b3 in ?? ()
(gdb) bt
#0  0xb71783b3 in ?? ()
#1  0xb91c375e in _fork () at /x/current/src/lib/libc/gen/pthread_atfork.c:173
#2  0xb93fc3a2 in os_fork_impl (module=0xb8f0e07c, module@entry=0x0)
    at ./Modules/posixmodule.c:5447
#3  os_fork (module=module@entry=0xb8f0e07c, 
    _unused_ignored=_unused_ignored@entry=0x0)
    at ./Modules/clinic/posixmodule.c.h:1913
#4  0xb930b6dc in _PyMethodDef_RawFastCallKeywords (
    method=0xb951e7a0 <posix_methods+608>, self=0xb8f0e07c, 
    args=args@entry=0xb84a1740, nargs=nargs@entry=0, kwnames=kwnames@entry=0x0)
    at Objects/call.c:633
#5  0xb930b856 in _PyCFunction_FastCallKeywords (func=0xb8f0e8bc, 
    args=args@entry=0xb84a1740, nargs=nargs@entry=0, kwnames=kwnames@entry=0x0)
    at Objects/call.c:734
#6  0xb9445688 in call_function (kwnames=0x0, oparg=<optimized out>, 
    pp_stack=<synthetic pointer>) at Python/ceval.c:4568
#7  _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at Python/ceval.c:3093
#8  0xb93ae27c in _PyEval_EvalCodeWithName (_co=0xb85f6f60, 
    globals=globals@entry=0xb85dd47c, locals=locals@entry=0x0, 
    args=args@entry=0xb7ee8ed4, argcount=argcount@entry=2, kwnames=0xb85d47b8, 
    kwargs=kwargs@entry=0xb7ee8edc, kwcount=1, kwstep=kwstep@entry=1, 
    defs=0xb85dd9f8, defcount=3, kwdefs=kwdefs@entry=0x0, 
    closure=closure@entry=0x0, name=name@entry=0xb85dd650, 
    qualname=qualname@entry=0xb85dd650) at Python/ceval.c:3930
#9  0xb930b248 in _PyFunction_FastCallKeywords (func=0xb863869c, 
    stack=0xb7ee8ed4, nargs=2, kwnames=0xb85d47ac) at Objects/call.c:433
#10 0xb9443de0 in call_function (kwnames=0xb85d47ac, oparg=<optimized out>, 
    pp_stack=<synthetic pointer>) at Python/ceval.c:4616
#11 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>)
    at Python/ceval.c:3139
#12 0xb93ae27c in _PyEval_EvalCodeWithName (_co=0xb85f6d20, 
    globals=globals@entry=0xb85dd47c, locals=locals@entry=0x0, 
--Type <RET> for more, q to quit, c to continue without paging--c
    args=args@entry=0xb7ee8d4c, argcount=argcount@entry=1, kwnames=0xb85d4418, kwargs=kwargs@entry=0xb7ee8d50, kwcount=1, kwstep=kwstep@entry=1, defs=0xb85dd998, defcount=3, kwdefs=kwdefs@entry=0x0, closure=closure@entry=0x0, name=name@entry=0xb86564c0, qualname=qualname@entry=0xb86564c0) at Python/ceval.c:3930
#13 0xb930b248 in _PyFunction_FastCallKeywords (func=0xb8630f1c, stack=0xb7ee8d4c, nargs=1, kwnames=0xb85d440c) at Objects/call.c:433
#14 0xb9443de0 in call_function (kwnames=0xb85d440c, oparg=<optimized out>, pp_stack=<synthetic pointer>) at Python/ceval.c:4616
#15 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3139
#16 0xb943cf81 in function_code_fastcall (co=<optimized out>, args=<optimized out>, nargs=2, globals=0xb8603d4c) at Objects/call.c:283
#17 0xb930b39f in _PyFunction_FastCallKeywords (func=<optimized out>, stack=<optimized out>, nargs=2, kwnames=0x0) at Objects/call.c:415
#18 0xb94449da in call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>) at Python/ceval.c:4616
#19 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3110
#20 0xb93ae27c in _PyEval_EvalCodeWithName (_co=0xb861e3e0, globals=globals@entry=0xb8603a1c, locals=locals@entry=0x0, args=args@entry=0xb84a0e64, argcount=argcount@entry=1, kwnames=0xb860d548, kwargs=kwargs@entry=0xb84a0e68, kwcount=5, kwstep=kwstep@entry=1, defs=0xb8603f98, defcount=5, kwdefs=kwdefs@entry=0x0, closure=closure@entry=0x0, name=name@entry=0xb8650e80, qualname=qualname@entry=0xb8af1dc0) at Python/ceval.c:3930
#21 0xb930b248 in _PyFunction_FastCallKeywords (func=0xb863b9dc, stack=0xb84a0e64, nargs=1, kwnames=0xb860d53c) at Objects/call.c:433
#22 0xb9443de0 in call_function (kwnames=0xb860d53c, oparg=<optimized out>, pp_stack=<synthetic pointer>) at Python/ceval.c:4616
#23 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3139
#24 0xb943cf81 in function_code_fastcall (co=<optimized out>, args=<optimized out>, nargs=4, globals=0xb8a57b1c) at Objects/call.c:283
#25 0xb930b39f in _PyFunction_FastCallKeywords (func=<optimized out>, stack=<optimized out>, nargs=4, kwnames=0x0) at Objects/call.c:415
#26 0xb94449da in call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>) at Python/ceval.c:4616
#27 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3110
#28 0xb943cf81 in function_code_fastcall (co=<optimized out>, args=<optimized out>, nargs=2, globals=0xb8611bec) at Objects/call.c:283
#29 0xb930b39f in _PyFunction_FastCallKeywords (func=<optimized out>, stack=<optimized out>, nargs=2, kwnames=0x0) at Objects/call.c:415
#30 0xb94449da in call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>) at Python/ceval.c:4616
#31 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3110
#32 0xb943cf81 in function_code_fastcall (co=<optimized out>, args=<optimized out>, nargs=2, globals=0xb8611bec) at Objects/call.c:283
#33 0xb930b39f in _PyFunction_FastCallKeywords (func=<optimized out>, stack=<optimized out>, nargs=2, kwnames=0x0) at Objects/call.c:415
#34 0xb94449da in call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>) at Python/ceval.c:4616
#35 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3110
#36 0xb943cf81 in function_code_fastcall (co=<optimized out>, args=<optimized out>, nargs=2, globals=0xb8bf0cfc) at Objects/call.c:283
#37 0xb930b39f in _PyFunction_FastCallKeywords (func=<optimized out>, stack=<optimized out>, nargs=2, kwnames=0x0) at Objects/call.c:415
#38 0xb9444c30 in call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>) at Python/ceval.c:4616
#39 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3124
#40 0xb943cf81 in function_code_fastcall (co=<optimized out>, args=<optimized out>, nargs=1, globals=0xb8bf0cfc) at Objects/call.c:283
#41 0xb930b39f in _PyFunction_FastCallKeywords (func=<optimized out>, stack=<optimized out>, nargs=1, kwnames=0x0) at Objects/call.c:415
#42 0xb9444c30 in call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>) at Python/ceval.c:4616
#43 _PyEval_EvalFrameDefault (f=<optimized out>, throwflag=<optimized out>) at Python/ceval.c:3124
#44 0xb93ae27c in _PyEval_EvalCodeWithName (_co=_co@entry=0xb8ecc040, globals=globals@entry=0xb8efe8ec, locals=locals@entry=0xb8efe8ec, args=args@entry=0x0, argcount=argcount@entry=0, kwnames=kwnames@entry=0x0, kwargs=0x0, kwcount=kwcount@entry=0, kwstep=kwstep@entry=2, defs=defs@entry=0x0, defcount=defcount@entry=0, kwdefs=kwdefs@entry=0x0, closure=closure@entry=0x0, name=name@entry=0x0, qualname=qualname@entry=0x0) at Python/ceval.c:3930
#45 0xb93ae3f5 in PyEval_EvalCodeEx (_co=_co@entry=0xb8ecc040, globals=globals@entry=0xb8efe8ec, locals=locals@entry=0xb8efe8ec, args=args@entry=0x0, argcount=argcount@entry=0, kws=kws@entry=0x0, kwcount=kwcount@entry=0, defs=defs@entry=0x0, defcount=defcount@entry=0, kwdefs=kwdefs@entry=0x0, closure=closure@entry=0x0) at Python/ceval.c:3959
#46 0xb93ae469 in PyEval_EvalCode (co=co@entry=0xb8ecc040, globals=globals@entry=0xb8efe8ec, locals=locals@entry=0xb8efe8ec) at Python/ceval.c:524
#47 0xb93d3461 in run_mod (mod=mod@entry=0xb8eb6ce0, filename=filename@entry=0xb8eae9c0, globals=globals@entry=0xb8efe8ec, locals=locals@entry=0xb8efe8ec, flags=flags@entry=0xbfbc6580, arena=arena@entry=0xb8fd7670) at Python/pythonrun.c:1035
#48 0xb93d564c in PyRun_FileExFlags (fp=fp@entry=0xb92344e0, filename_str=filename_str@entry=0xb8eb2600 "/usr/pkg/bin/g-ir-scanner", start=start@entry=257, globals=globals@entry=0xb8efe8ec, locals=locals@entry=0xb8efe8ec, closeit=closeit@entry=1, flags=flags@entry=0xbfbc6580) at Python/pythonrun.c:988
#49 0xb93d57a6 in PyRun_SimpleFileExFlags (fp=fp@entry=0xb92344e0, filename=<optimized out>, filename@entry=0xb8eb2600 "/usr/pkg/bin/g-ir-scanner", closeit=closeit@entry=1, flags=flags@entry=0xbfbc6580) at Python/pythonrun.c:429
#50 0xb93d5c28 in PyRun_AnyFileExFlags (fp=fp@entry=0xb92344e0, filename=0xb8eb2600 "/usr/pkg/bin/g-ir-scanner", closeit=closeit@entry=1, flags=flags@entry=0xbfbc6580) at Python/pythonrun.c:84
#51 0xb93f0438 in pymain_run_file (p_cf=0xbfbc6580, filename=<optimized out>, fp=0xb92344e0) at Modules/main.c:427
#52 pymain_run_filename (cf=0xbfbc6580, pymain=0xbfbc6614) at Modules/main.c:1606
#53 pymain_run_python (pymain=0xbfbc6614) at Modules/main.c:2867
#54 pymain_main (pymain=pymain@entry=0xbfbc6614) at Modules/main.c:3028
#55 0xb93f09a0 in _Py_UnixMain (argc=argc@entry=84, argv=argv@entry=0xbfbc6698) at Modules/main.c:3063
#56 0x080489c4 in main (argc=84, argv=0xbfbc6698) at ./Programs/python.c:15

Again, any clues?

-- 
|/"\ 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