This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Felt
Recipients David.Edelsohn, Michael.Felt, lys.nikolaou, pablogsal, skrah
Date 2020-07-06.06:50:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <ed513abc-14d6-ee87-d7d9-03318df0c12d@felt.demon.nl>
In-reply-to <1593973670.03.0.810025178647.issue41215@roundup.psfhosted.org>
Content
My apologies for lack of context.

On 05/07/2020 20:27, Pablo Galindo Salgado wrote:
> Pablo Galindo Salgado <pablogsal@gmail.com> added the comment:
>
> Unfortunately, I am having a hard time parsing your error description because is not immediate to distinguish:
>
> - What is the error.
crash - segmentation error.
> - Where does the error happen.
During python initialization.
> - How to reproduce the error.

The error occurs during `make`

root@x066:[/data/prj/python/bpo-41215]make
        xlc_r -g -c  -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1
-qarch=pwr5 -O    -I../git/bpo-41215/Include/internal -IObjects
-IInclude -IPython -I. -I../git/bpo-41215/Include -I/opt/include  
-DPy_BUILD_CORE -o Parser/pegen/pegen.o
../git/bpo-41215/Parser/pegen/pegen.c
        xlc_r -g -c  -DNDEBUG -O -I/opt/include -O2 -qmaxmem=-1
-qarch=pwr5 -O    -I../git/bpo-41215/Include/internal -IObjects
-IInclude -IPython -I. -I../git/bpo-41215/Include -I/opt/include  
-DPy_BUILD_CORE  -DGITVERSION="\"`LC_ALL=C `\""  -DGITTAG="\"`LC_ALL=C
`\""  -DGITBRANCH="\"`LC_ALL=C `\""  -o Modules/getbuildinfo.o
../git/bpo-41215/Modules/getbuildinfo.c
        rm -f libpython3.9.a
        ar rcs libpython3.9.a Modules/getbuildinfo.o  Parser/acceler.o 
Parser/grammar1.o  Parser/listnode.o  Parser/node.o  Parser/parser.o 
Parser/token.o   Parser/pegen/pegen.o  Parser/pegen/parse.o 
Parser/pegen/parse_string.o  Parser/pegen/peg_api.o Parser/myreadline.o
Parser/parsetok.o Parser/tokenizer.o  Objects/abstract.o 
Objects/accu.o  Objects/boolobject.o  Objects/bytes_methods.o 
Objects/bytearrayobject.o  Objects/bytesobject.o  Objects/call.o 
Objects/capsule.o  Objects/cellobject.o  Objects/classobject.o 
Objects/codeobject.o  Objects/complexobject.o  Objects/descrobject.o 
Objects/enumobject.o  Objects/exceptions.o 
Objects/genericaliasobject.o  Objects/genobject.o  Objects/fileobject.o 
Objects/floatobject.o  Objects/frameobject.o  Objects/funcobject.o 
Objects/interpreteridobject.o  Objects/iterobject.o 
Objects/listobject.o  Objects/longobject.o  Objects/dictobject.o 
Objects/odictobject.o  Objects/memoryobject.o  Objects/methodobject.o 
Objects/moduleobject.o  Objects/namespaceobject.o  Objects/object.o 
Objects/obmalloc.o  Objects/picklebufobject.o  Objects/rangeobject.o 
Objects/setobject.o  Objects/sliceobject.o  Objects/structseq.o 
Objects/tupleobject.o  Objects/typeobject.o  Objects/unicodeobject.o 
Objects/unicodectype.o  Objects/weakrefobject.o  Python/_warnings.o 
Python/Python-ast.o  Python/asdl.o  Python/ast.o  Python/ast_opt.o 
Python/ast_unparse.o  Python/bltinmodule.o  Python/ceval.o 
Python/codecs.o  Python/compile.o  Python/context.o 
Python/dynamic_annotations.o  Python/errors.o  Python/frozenmain.o 
Python/future.o  Python/getargs.o  Python/getcompiler.o 
Python/getcopyright.o  Python/getplatform.o  Python/getversion.o 
Python/graminit.o  Python/hamt.o  Python/import.o  Python/importdl.o 
Python/initconfig.o  Python/marshal.o  Python/modsupport.o 
Python/mysnprintf.o  Python/mystrtoul.o  Python/pathconfig.o 
Python/peephole.o  Python/preconfig.o  Python/pyarena.o 
Python/pyctype.o  Python/pyfpe.o  Python/pyhash.o  Python/pylifecycle.o 
Python/pymath.o  Python/pystate.o  Python/pythonrun.o  Python/pytime.o 
Python/bootstrap_hash.o  Python/structmember.o  Python/symtable.o 
Python/sysmodule.o  Python/thread.o  Python/traceback.o 
Python/getopt.o  Python/pystrcmp.o  Python/pystrtod.o 
Python/pystrhex.o  Python/dtoa.o  Python/formatter_unicode.o 
Python/fileutils.o  Python/dynload_shlib.o        Modules/config.o 
Modules/getpath.o  Modules/main.o  Modules/gcmodule.o 
Modules/posixmodule.o  Modules/errnomodule.o  Modules/pwdmodule.o 
Modules/_sre.o  Modules/_codecsmodule.o  Modules/_weakref.o 
Modules/_functoolsmodule.o  Modules/_operator.o 
Modules/_collectionsmodule.o  Modules/_abc.o  Modules/itertoolsmodule.o 
Modules/atexitmodule.o  Modules/signalmodule.o  Modules/_stat.o 
Modules/timemodule.o  Modules/_threadmodule.o  Modules/_localemodule.o 
Modules/_iomodule.o Modules/iobase.o Modules/fileio.o Modules/bytesio.o
Modules/bufferedio.o Modules/textio.o Modules/stringio.o 
Modules/faulthandler.o  Modules/_tracemalloc.o Modules/hashtable.o 
Modules/_peg_parser.o  Modules/symtablemodule.o  Modules/xxsubtype.o 
Python/frozen.o
        ../git/bpo-41215/Modules/makexp_aix Modules/python.exp .
libpython3.9.a;  xlc_r -g     -Wl,-bE:Modules/python.exp -lld -o python
Programs/python.o libpython3.9.a -lintl -ldl  -lm   -lm
         ./python -E -S -m sysconfig --generate-posix-vars ; if test $?
-ne 0 ; then  echo "generate-posix-vars failed" ;  rm -f
./pybuilddir.txt ;  exit 1 ;  fi
/bin/sh: 5242890 Segmentation fault(coredump)
make: 1254-004 The error code from the last command is 139.

Stop.

And can be repeated by just trying to start the executable:

root@x066:[/data/prj/python/bpo-41215]./python
Segmentation fault(coredump)

>
> Could you kindly provide more scoped information about these points so we can look into it?
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue41215>
> _______________________________________
>
History
Date User Action Args
2020-07-06 06:50:18Michael.Feltsetrecipients: + Michael.Felt, skrah, David.Edelsohn, lys.nikolaou, pablogsal
2020-07-06 06:50:18Michael.Feltlinkissue41215 messages
2020-07-06 06:50:16Michael.Feltcreate