https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122211

--- Comment #2 from John Paul Adrian Glaubitz <glaubitz at physik dot 
fu-berlin.de> ---
Here is the backtrace although I don't think we actually need it:

(gdb) bt
#0  PyOS_string_to_double (s=0xc02fc70c "nan", endptr=0xefffdf90,
overflow_exception=0x0) at ../Python/pystrtod.c:307
#1  0x800a4b10 in float_from_string_inner (s=<optimized out>, len=3,
obj=0xc02fc6f8) at ../Objects/floatobject.c:170
#2  0x8028c5b2 in _Py_string_to_number_with_underscores (s=0xc02fc70c "nan",
orig_len=3, what=0x803c551c "float", obj=0xc02fc6f8, arg=0xc02fc6f8,
    innerfunc=0x800a4a9a <float_from_string_inner>) at ../Python/pystrtod.c:357
#3  0x800a82d6 in PyFloat_FromString (v=0xc02fc6f8) at
../Objects/floatobject.c:228
#4  0x8007cf24 in _PyObject_VectorcallTstate (tstate=0x80606940
<_PyRuntime+164920>, callable=0x80000001, args=0x0, nargsf=2153802048,
kwnames=0x801e19ee <_PyEval_EvalFrameDefault+5324>)
    at ../Include/internal/pycore_call.h:169
#5  PyObject_Vectorcall (callable=0x805c0468 <PyFloat_Type>, args=0xefffe148,
nargsf=2147483649, kwnames=0x0) at ../Objects/call.c:327
#6  0x801e19ee in _PyEval_EvalFrameDefault (tstate=0x80606940
<_PyRuntime+164920>, frame=0xc00254b8, throwflag=0) at
../Python/generated_cases.c.h:1619
#7  0x801ef7e6 in _PyEval_EvalFrame (tstate=0x80606940 <_PyRuntime+164920>,
frame=0xc00254b8, throwflag=0) at ../Include/internal/pycore_ceval.h:119
#8  _PyEval_Vector (args=0x0, argcount=0, kwnames=0x0, tstate=0x80606940
<_PyRuntime+164920>, func=0xc0402a78, locals=0xc0400528) at
../Python/ceval.c:1965
#9  PyEval_EvalCode (co=0x806fa640, globals=0xc0400528, locals=0xc0400528) at
../Python/ceval.c:857
#10 0x801d8dde in builtin_exec_impl (module=<optimized out>, source=0x806fa640,
globals=0xc0400528, locals=0xc0400528, closure=<optimized out>) at
../Python/bltinmodule.c:1181
#11 builtin_exec (module=0xc030fac8, args=<optimized out>, nargs=<optimized
out>, kwnames=0x0) at ../Python/clinic/bltinmodule.c.h:568
#12 0x800e9508 in cfunction_vectorcall_FASTCALL_KEYWORDS (func=0xc030fd70,
args=0xc0403e98, nargsf=2, kwnames=0x0) at ../Objects/methodobject.c:465
#13 0x8007e628 in _PyVectorcall_Call (tstate=0x80606940 <_PyRuntime+164920>,
func=<optimized out>, callable=0xc030fd70, tuple=0xc0403e88, kwargs=0xc0400af0)
at ../Objects/call.c:273
#14 _PyObject_Call (tstate=0x80606940 <_PyRuntime+164920>, callable=0xc030fd70,
args=0xc0403e88, kwargs=0xc0400af0) at ../Objects/call.c:348
#15 PyObject_Call (callable=0xc030fd70, args=0xc0403e88, kwargs=0xc0400af0) at
../Objects/call.c:373
#16 0x801e72ae in _PyEval_EvalFrameDefault (tstate=0x80606940
<_PyRuntime+164920>, frame=0xc0025470, throwflag=0) at
../Python/generated_cases.c.h:2654
#17 0x801efaaa in _PyEval_EvalFrame (tstate=0x80606940 <_PyRuntime+164920>,
frame=<optimized out>, throwflag=0) at ../Include/internal/pycore_ceval.h:119
#18 _PyEval_Vector (tstate=0x80606940 <_PyRuntime+164920>, func=0xc032c868,
locals=0x0, args=0xefffe588, argcount=2, kwnames=0x0) at ../Python/ceval.c:1965
#19 0x8007d16c in _PyFunction_Vectorcall (func=0xc032c868, stack=0xefffe588,
nargsf=2, kwnames=0x0) at ../Objects/call.c:413
#20 0x8007cafa in _PyObject_VectorcallTstate (tstate=0x0, callable=0xc032c868,
args=0xefffe588, nargsf=<optimized out>, kwnames=0x0) at
../Include/internal/pycore_call.h:169
#21 object_vacall (tstate=0x80606940 <_PyRuntime+164920>, base=0x0,
callable=0xc032c868, vargs=<optimized out>) at ../Objects/call.c:819
#22 0x8007dbac in PyObject_CallMethodObjArgs (obj=0x0, name=0x805e49c4
<_PyRuntime+25788>) at ../Objects/call.c:880
#23 0x8023f21a in import_find_and_load (tstate=0x80606940 <_PyRuntime+164920>,
abs_name=0xc04009f8) at ../Python/import.c:3726
#24 PyImport_ImportModuleLevelObject (name=0x805e5b38 <_PyRuntime+30256>,
globals=0xc03acf28, locals=0xc03acf28, fromlist=0xc0403208, level=1) at
../Python/import.c:3808
#25 0x801dee56 in _PyEval_ImportName (tstate=0x80606940 <_PyRuntime+164920>,
frame=0xc00252b4, name=0x805e5b38 <_PyRuntime+30256>, fromlist=0xc0403208,
level=0x805e05c0 <_PyRuntime+8376>)
    at ../Python/ceval.c:3003
#26 0x801e5358 in _PyEval_EvalFrameDefault (tstate=0x80606940
<_PyRuntime+164920>, frame=0xc00252b4, throwflag=0) at
../Include/internal/pycore_stackref.h:506
#27 0x801ef7e6 in _PyEval_EvalFrame (tstate=0x80606940 <_PyRuntime+164920>,
frame=0xc00252b4, throwflag=0) at ../Include/internal/pycore_ceval.h:119
#28 _PyEval_Vector (args=0x0, argcount=0, kwnames=0x0, tstate=0x80606940
<_PyRuntime+164920>, func=0xc04028c0, locals=0xc03acf28) at
../Python/ceval.c:1965
#29 PyEval_EvalCode (co=0xc03629b0, globals=0xc03acf28, locals=0xc03acf28) at
../Python/ceval.c:857
#30 0x801d8dde in builtin_exec_impl (module=<optimized out>, source=0xc03629b0,
globals=0xc03acf28, locals=0xc03acf28, closure=<optimized out>) at
../Python/bltinmodule.c:1181
#31 builtin_exec (module=0xc030fac8, args=<optimized out>, nargs=<optimized
out>, kwnames=0x0) at ../Python/clinic/bltinmodule.c.h:568
#32 0x800e9508 in cfunction_vectorcall_FASTCALL_KEYWORDS (func=0xc030fd70,
args=0xc0403638, nargsf=2, kwnames=0x0) at ../Objects/methodobject.c:465
#33 0x8007e628 in _PyVectorcall_Call (tstate=0x80606940 <_PyRuntime+164920>,
func=<optimized out>, callable=0xc030fd70, tuple=0xc0403628, kwargs=0xc0400500)
at ../Objects/call.c:273
#34 _PyObject_Call (tstate=0x80606940 <_PyRuntime+164920>, callable=0xc030fd70,
args=0xc0403628, kwargs=0xc0400500) at ../Objects/call.c:348
#35 PyObject_Call (callable=0xc030fd70, args=0xc0403628, kwargs=0xc0400500) at
../Objects/call.c:373
#36 0x801e72ae in _PyEval_EvalFrameDefault (tstate=0x80606940
<_PyRuntime+164920>, frame=0xc002526c, throwflag=0) at
../Python/generated_cases.c.h:2654
#37 0x801efaaa in _PyEval_EvalFrame (tstate=0x80606940 <_PyRuntime+164920>,
frame=<optimized out>, throwflag=0) at ../Include/internal/pycore_ceval.h:119
#38 _PyEval_Vector (tstate=0x80606940 <_PyRuntime+164920>, func=0xc032c868,
locals=0x0, args=0xefffebc8, argcount=2, kwnames=0x0) at ../Python/ceval.c:1965
#39 0x8007d16c in _PyFunction_Vectorcall (func=0xc032c868, stack=0xefffebc8,
nargsf=2, kwnames=0x0) at ../Objects/call.c:413
#40 0x8007cafa in _PyObject_VectorcallTstate (tstate=0x0, callable=0xc032c868,
args=0xefffebc8, nargsf=<optimized out>, kwnames=0x0) at
../Include/internal/pycore_call.h:169
#41 object_vacall (tstate=0x80606940 <_PyRuntime+164920>, base=0x0,
callable=0xc032c868, vargs=<optimized out>) at ../Objects/call.c:819
#42 0x8007dbac in PyObject_CallMethodObjArgs (obj=0x0, name=0x805e49c4
<_PyRuntime+25788>) at ../Objects/call.c:880
#43 0x8023f21a in import_find_and_load (tstate=0x80606940 <_PyRuntime+164920>,
abs_name=0xc0403020) at ../Python/import.c:3726
#44 PyImport_ImportModuleLevelObject (name=0xc0403020, globals=0xc0380618,
locals=0xc0380618, fromlist=0x805c40a0 <_Py_NoneStruct>, level=0) at
../Python/import.c:3808
#45 0x801dee56 in _PyEval_ImportName (tstate=0x80606940 <_PyRuntime+164920>,
frame=0xc00250e8, name=0xc0403020, fromlist=0x805c40a0 <_Py_NoneStruct>,
level=0x805e05b0 <_PyRuntime+8360>)
    at ../Python/ceval.c:3003
#46 0x801e5358 in _PyEval_EvalFrameDefault (tstate=0x80606940
<_PyRuntime+164920>, frame=0xc00250e8, throwflag=0) at
../Include/internal/pycore_stackref.h:506
#47 0x801ef7e6 in _PyEval_EvalFrame (tstate=0x80606940 <_PyRuntime+164920>,
frame=0xc00250e8, throwflag=0) at ../Include/internal/pycore_ceval.h:119
#48 _PyEval_Vector (args=0x0, argcount=0, kwnames=0x0, tstate=0x80606940
<_PyRuntime+164920>, func=0xc03d2708, locals=0xc0380618) at
../Python/ceval.c:1965
#49 PyEval_EvalCode (co=0xc0404020, globals=0xc0380618, locals=0xc0380618) at
../Python/ceval.c:857
--Type <RET> for more, q to quit, c to continue without paging--
#50 0x801d8dde in builtin_exec_impl (module=<optimized out>, source=0xc0404020,
globals=0xc0380618, locals=0xc0380618, closure=<optimized out>) at
../Python/bltinmodule.c:1181
#51 builtin_exec (module=0xc030fac8, args=<optimized out>, nargs=<optimized
out>, kwnames=0x0) at ../Python/clinic/bltinmodule.c.h:568
#52 0x800e9508 in cfunction_vectorcall_FASTCALL_KEYWORDS (func=0xc030fd70,
args=0xeffff07c, nargsf=2147483650, kwnames=0x0) at
../Objects/methodobject.c:465
#53 0x8007cf24 in _PyObject_VectorcallTstate (tstate=0x80606940
<_PyRuntime+164920>, callable=0x80000002, args=0x0, nargsf=2153802048,
kwnames=0x801e19ee <_PyEval_EvalFrameDefault+5324>) at
../Include/internal/pycore_call.h:169
#54 PyObject_Vectorcall (callable=0xc030fd70, args=0xeffff07c,
nargsf=2147483650, kwnames=0x0) at ../Objects/call.c:327
#55 0x801e19ee in _PyEval_EvalFrameDefault (tstate=0x80606940
<_PyRuntime+164920>, frame=0xc0025070, throwflag=0) at
../Python/generated_cases.c.h:1619
#56 0x801efaaa in _PyEval_EvalFrame (tstate=0x80606940 <_PyRuntime+164920>,
frame=<optimized out>, throwflag=0) at ../Include/internal/pycore_ceval.h:119
#57 _PyEval_Vector (tstate=0x80606940 <_PyRuntime+164920>, func=0xc03d24f8,
locals=0x0, args=0xc03bf078, argcount=2, kwnames=0x0) at ../Python/ceval.c:1965
#58 0x8007d16c in _PyFunction_Vectorcall (func=0xc03d24f8, stack=0xc03bf078,
nargsf=2, kwnames=0x0) at ../Objects/call.c:413
#59 0x8007e628 in _PyVectorcall_Call (tstate=0x80606940 <_PyRuntime+164920>,
func=<optimized out>, callable=0xc03d24f8, tuple=0xc03bf068, kwargs=0x0) at
../Objects/call.c:273
#60 _PyObject_Call (tstate=0x80606940 <_PyRuntime+164920>, callable=0xc03d24f8,
args=0xc03bf068, kwargs=0x0) at ../Objects/call.c:348
#61 PyObject_Call (callable=0xc03d24f8, args=0xc03bf068, kwargs=0x0) at
../Objects/call.c:373
#62 0x8029ad58 in pymain_run_module (modname=0x80633d10 L"sysconfig",
set_argv0=1) at ../Modules/main.c:353
#63 0x8029b7bc in pymain_run_python (exitcode=0xeffff304) at
../Modules/main.c:689
#64 0x8029c2b6 in Py_RunMain () at ../Modules/main.c:776
#65 pymain_main (args=<optimized out>) at ../Modules/main.c:806
#66 Py_BytesMain (argc=6, argv=0xeffff444) at ../Modules/main.c:830
#67 0xc00f647a in ?? () from /lib/m68k-linux-gnu/libc.so.6
#68 0xc00f6528 in __libc_start_main () from /lib/m68k-linux-gnu/libc.so.6
#69 0x8001ea00 in _start ()
(gdb)

Reply via email to