On Thu, Sep 24, 2020 at 1:08 PM Ankur Sinha <sanjay.ankur@xxxxxxxxx> wrote: > I'm building a new python package. It's a pretty straightforward one, > and it builds fine in mock for F33, but not for rawhide. On rawhide, the > %py3_build step segfaults: The crash is actually inside the neuron package. GDB says: #0 hoc_new_object (symtemp=0x0, v=0x5555565234f0) at /usr/src/debug/neuron-7.8.1-2.fc34.x86_64/src/nrnoc/../oc/hoc_oop.c:471 #1 0x00007fffdf8925fd in nrnpy_pyobject_in_obj ( po=<_FuncPtr(__name__='scatter_concentrations') at remote 0x7fffdeeea1c0>) at /usr/src/debug/neuron-7.8.1-2.fc34.x86_64/src/nrnpython/nrnpy_p2h.cpp:191 #2 0x00007fffdf88e921 in pyobject_in_objptr ( po=<_FuncPtr(__name__='scatter_concentrations') at remote 0x7fffdeeea1c0>, op=<synthetic pointer>) at /usr/src/debug/neuron-7.8.1-2.fc34.x86_64/src/nrnpython/nrnpy_hoc.cpp:320 #3 hocobj_pushargs (Python Exception <class 'gdb.error'> value has been optimized out: s2free=<synthetic pointer>, args=(1, <_FuncPtr(__name__='scatter_concentrations') at remote 0x7fffdeeea1c0>)) at /usr/src/debug/neuron-7.8.1-2.fc34.x86_64/src/nrnpython/nrnpy_hoc.cpp:420 #4 fcall (vself=vself@entry=0x7fffdef5ec60, vargs=vargs@entry=0x7fffdef56440) at /usr/src/debug/neuron-7.8.1-2.fc34.x86_64/src/nrnpython/nrnpy_hoc.cpp:673 #5 0x00007fffdf67cb02 in OcJumpImpl::fpycall (this=0x5555564d4cd0, f= 0x7fffdf88e5c0 <fcall(void*, void*)>, a=0x7fffdef5ec60, b=0x7fffdef56440) at /usr/src/debug/neuron-7.8.1-2.fc34.x86_64/src/nrniv/../ivoc/ocjump.cpp:218 #6 0x00007fffdf888f9d in hocobj_call (self=self@entry=0x7fffdef5ec60, args=args@entry=(1, <_FuncPtr(__name__='scatter_concentrations') at remote 0x7fffdeeea1c0>), kwrds=kwrds@entry=0x0) at /usr/src/debug/neuron-7.8.1-2.fc34.x86_64/src/nrnpython/nrnpy_hoc.cpp:774 #7 0x00007ffff7d8055f in _PyObject_MakeTpCall (tstate=0x55555555da50, callable=<hoc.HocObject at remote 0x7fffdef5ec60>, args=0x7fffdefb4b68, nargs=2, keywords=0x0) at /usr/src/debug/python3.9-3.9.0~rc2-1.fc34.x86_64/Objects/call.c:191 #8 0x00007ffff7d7d245 in _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fffdefb4b68, callable=<optimized out>, tstate=<optimized out>) at /usr/src/debug/python3.9-3.9.0~rc2-1.fc34.x86_64/Include/cpython/abstract.h:116 #9 _PyObject_VectorcallTstate (kwnames=0x0, nargsf=<optimized out>, args=0x7fffdefb4b68, callable=<optimized out>, tstate=<optimized out>) at /usr/src/debug/python3.9-3.9.0~rc2-1.fc34.x86_64/Include/cpython/abstract.h:103 #10 PyObject_Vectorcall (kwnames=0x0, nargsf=<optimized out>, args=0x7fffdefb4b68, callable=<optimized out>) at /usr/src/debug/python3.9-3.9.0~rc2-1.fc34.x86_64/Include/cpython/abstract.h:127 #11 call_function (kwnames=0x0, oparg=<optimized out>, pp_stack=<synthetic pointer>, tstate=0x55555555da50) at /usr/src/debug/python3.9-3.9.0~rc2-1.fc34.x86_64/Python/ceval.c:5044 #12 _PyEval_EvalFrameDefault (tstate=<optimized out>, f=<optimized out>, throwflag=<optimized out>) at /usr/src/debug/python3.9-3.9.0~rc2-1.fc34.x86_64/Python/ceval.c:3459 #13 0x00007ffff7d76ac1 in _PyEval_EvalFrame (throwflag=0, f=Frame 0x7fffdefb49f0, for file /usr/lib64/python3.9/site-packages/neuron/rxd/rxd.py, line 61, in <module> (), tstate=0x55555555da50) at /usr/src/debug/python3.9-3.9.0~rc2-1.fc34.x86_64/Include/internal/pycore_ceval.h:40 #14 _PyEval_EvalCode (tstate=<optimized out>, _co=<optimized out>, globals=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=0x0, kwargs=0x0, kwcount=<optimized out>, kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0, qualname=0x0) at /usr/src/debug/python3.9-3.9.0~rc2-1.fc34.x86_64/Python/ceval.c:4299 ... followed by about 500 more stack frames. The NULL systemp pointer is the immediate cause of the crash. -- Jerry James http://www.jamezone.org/ _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx