python called by itstool during build latest gnumeric is core dumping
if ! test -d "cs/"; then mkdir "cs/"; fi if test -d "C"; then d="../"; else d="/home/tkloczko/rpmbuild/BUILD/gnumeric-1.12.45/doc/"; fi; \ mo="cs/cs.mo"; \ if test -f "${mo}"; then mo="../${mo}"; else mo="/home/tkloczko/rpmbuild/BUILD/gnumeric-1.12.45/doc/${mo}"; fi; \ (cd "cs/" && itstool -m "${mo}" ${d}/C/gnumeric.xml) && \ touch "cs/cs.stamp" /bin/sh: line 3: 18907 Segmentation fault (core dumped) itstool -m "${mo}" ${d}/C/gnumeric.xml
[tkloczko@domek cs]$ /usr/bin/python3 -s /usr/bin/itstool -m ../cs/cs.mo ..//C/gnumeric.xml Segmentation fault (core dumped)
[tkloczko@domek cs]$ gdb /usr/bin/python3 GNU gdb (GDB) Fedora 8.3.50.20190517-13.fc31 Copyright (C) 2019 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-redhat-linux-gnu". Type "show configuration" for configuration details. For bug reporting instructions, please see: <http://www.gnu.org/software/gdb/bugs/>. Find the GDB manual and other documentation resources online at: <http://www.gnu.org/software/gdb/documentation/>. For help, type "help". Type "apropos word" to search for commands related to "word"... Reading symbols from /usr/bin/python3... Reading symbols from .gnu_debugdata for /usr/bin/python3.7... (No debugging symbols found in .gnu_debugdata for /usr/bin/python3.7) Missing separate debuginfos, use: dnf debuginfo-install python3-3.7.3-3.fc31.x86_64 (gdb) set args -s /usr/bin/itstool -m ../cs/cs.mo ..//C/gnumeric.xml (gdb) r Starting program: /usr/bin/python3 -s /usr/bin/itstool -m ../cs/cs.mo ..//C/gnumeric.xml [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7bc13a3 in _PyFunction_FastCallDict () from /lib64/libpython3.7m.so.1.0 (gdb) bt #0 0x00007ffff7bc13a3 in _PyFunction_FastCallDict () from /lib64/libpython3.7m.so.1.0 #1 0x00007ffff6488fe3 in libxml_xmlErrorFuncHandler () from /usr/lib64/python3.7/site-packages/libxml2mod.so #2 0x00007ffff63e1374 in xmlParserPrintFileContextInternal () from /lib64/libxml2.so.2 #3 0x00007ffff63e24ee in xmlReportError () from /lib64/libxml2.so.2 #4 0x00007ffff63e62ab in __xmlRaiseError () from /lib64/libxml2.so.2 #5 0x00007ffff63e67f5 in xmlFatalErrMsgStrIntStr.lto_priv.0 () from /lib64/libxml2.so.2 #6 0x00007ffff63dba3a in xmlParseEndTag2.lto_priv.0 () from /lib64/libxml2.so.2 #7 0x00007ffff63d6a24 in xmlParseElement () from /lib64/libxml2.so.2 #8 0x00007ffff63d5f95 in xmlParseContent () from /lib64/libxml2.so.2 #9 0x00007ffff63d69c1 in xmlParseElement () from /lib64/libxml2.so.2 #10 0x00007ffff63d5f95 in xmlParseContent () from /lib64/libxml2.so.2 #11 0x00007ffff63d69c1 in xmlParseElement () from /lib64/libxml2.so.2 #12 0x00007ffff63d70d2 in xmlParseDocument () from /lib64/libxml2.so.2 #13 0x00007ffff6480932 in libxml_xmlParseDocument () from /usr/lib64/python3.7/site-packages/libxml2mod.so #14 0x00007ffff7b96ec1 in _PyMethodDef_RawFastCallKeywords () from /lib64/libpython3.7m.so.1.0 #15 0x00007ffff7b96ff3 in _PyCFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 #16 0x00007ffff7bd55d3 in call_function () from /lib64/libpython3.7m.so.1.0 #17 0x00007ffff7c21db2 in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 #18 0x00007ffff7bc0d92 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 #19 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 #20 0x00007ffff7c1cf56 in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 #21 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 #22 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 #23 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 #24 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 #25 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 #26 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 #27 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 #28 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 #29 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 #30 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 --Type <RET> for more, q to quit, c to continue without paging-- #31 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 #32 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 #33 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 #34 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 #35 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 #36 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 #37 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 #38 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 #39 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 #40 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 #41 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 #42 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 #43 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 #44 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 #45 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 #46 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 #47 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 #48 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 #49 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 #50 0x00007ffff7bc0c69 in PyEval_EvalCodeEx () from /lib64/libpython3.7m.so.1.0 #51 0x00007ffff7bc0c8b in PyEval_EvalCode () from /lib64/libpython3.7m.so.1.0 #52 0x00007ffff7c83e23 in run_mod () from /lib64/libpython3.7m.so.1.0 #53 0x00007ffff7c840e7 in PyRun_FileExFlags () from /lib64/libpython3.7m.so.1.0 #54 0x00007ffff7c896ca in PyRun_SimpleFileExFlags () from /lib64/libpython3.7m.so.1.0 #55 0x00007ffff7c8b3bc in pymain_main () from /lib64/libpython3.7m.so.1.0 #56 0x00007ffff7c8b56c in _Py_UnixMain () from /lib64/libpython3.7m.so.1.0 #57 0x00007ffff7df6193 in __libc_start_main () from /lib64/libc.so.6 #58 0x000055555555508e in _start () (gdb)
[tkloczko@domek cs]$ rpm -qf /usr/lib64/python3.7/site-packages/libxml2mod.so python3-libxml2-2.9.9-3.1.fc31.x86_64
After installing python3-libxml2-debuginfo libxml2-debuginfo:
(gdb) set args -s /usr/bin/itstool -m ../cs/cs.mo ..//C/gnumeric.xml (gdb) r Starting program: /usr/bin/python3 -s /usr/bin/itstool -m ../cs/cs.mo ..//C/gnumeric.xml [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x00007ffff7bc13a3 in _PyFunction_FastCallDict () from /lib64/libpython3.7m.so.1.0 (gdb) bt full #0 0x00007ffff7bc13a3 in _PyFunction_FastCallDict () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #1 0x00007ffff6488fe3 in libxml_xmlErrorFuncHandler (ctx=<optimized out>, msg=<optimized out>) at libxml.c:1644 ap = {{gp_offset = 24, fp_offset = 48, overflow_arg_area = 0x7fffffffb8b0, reg_save_area = 0x7fffffffb7e0}} list = 0x7ffff40bf508 message = <optimized out> result = <optimized out> str = "\231ekročeno, optimalizace se přeruší a zobrazí se chybové hlášení.</para>\n\000\332\367\377\177\000\000\240\347TXUU\000\000\000\000\000\000\000\000\000\000\374\217H\366\377\177\000\000\030\000\000\000\060\000\000\000@\271\377\377\377\177\000\000p\270\377\377\377\177\000\000к\377\377\377\177\000\000Opening and ending tag mismatch: guilabel line 170 and para\n\000\177\000\000\200\221"... #2 0x00007ffff63e1374 in xmlParserPrintFileContextInternal (input=input@entry=0x5555583d1f40, channel=channel@entry=0x7ffff6488ea0 <libxml_xmlErrorFuncHandler>, data=data@entry=0x0) at error.c:208 cur = <optimized out> base = <optimized out> n = <optimized out> col = 80 content = "\231ekročeno, optimalizace se přeruší a zobrazí se chybové hlášení.</para>" ctnt = <optimized out> #3 0x00007ffff63e24ee in xmlReportError (err=err@entry=0x55555855f1f8, ctxt=ctxt@entry=0x55555855efa0, str=str@entry=0x55555854e7a0 "Opening and ending tag mismatch: guilabel line 170 and para\n", channel=0x7ffff6488ea0 <libxml_xmlErrorFuncHandler>, channel@entry=0x0, data=data@entry=0x0) at error.c:406 file = <optimized out> line = <optimized out> code = <optimized out> domain = <optimized out> name = <optimized out> node = <optimized out> level = <optimized out> input = 0x5555583d1f40 cur = 0x0 #4 0x00007ffff63e62ab in __xmlRaiseError (schannel=0x0, channel=0x7ffff63e3ec0 <xmlParserError__internal_alias>, data=0x55555855efa0, ctx=0x55555855efa0, --Type <RET> for more, q to quit, c to continue without paging-- nod=<optimized out>, domain=1, code=76, level=XML_ERR_FATAL, file=<optimized out>, line=170, str1=<optimized out>, str2=<optimized out>, str3=<optimized out>, int1=170, col=490, msg=<optimized out>) at error.c:633 ctxt = <optimized out> node = 0x0 str = 0x55555854e7a0 "Opening and ending tag mismatch: guilabel line 170 and para\n" input = <optimized out> to = 0x55555855f1f8 baseptr = <optimized out> #5 0x00007ffff63e67f5 in xmlFatalErrMsgStrIntStr (ctxt=0x55555855efa0, error=<optimized out>, msg=<optimized out>, str1=<optimized out>, val=<optimized out>, str2=<optimized out>) at parser.c:711 No locals. #6 0x00007ffff63dba3a in xmlParseEndTag2 (ctxt=0x55555855efa0, prefix=0x0, URI=0x0, line=170, nsNr=0, tlen=<optimized out>) at parser.c:9669 name = 0x555558550a83 "para" curLength = <optimized out> #7 0x00007ffff63d6a24 in xmlParseElement__internal_alias (ctxt=ctxt@entry=0x55555855efa0) at parser.c:10037 name = 0x555558550aaf "guilabel" prefix = 0x0 URI = 0x0 node_info = {node = 0x55555855efa0, begin_pos = 140737324590301, begin_line = 4294967296, end_pos = 11116497419649056256, end_line = 140737488338304} line = 170 tlen = 8 ret = 0x5555585502d0 nsNr = 2 #8 0x00007ffff63d5f95 in xmlParseContent__internal_alias (ctxt=0x55555855efa0) at parser.c:9846 test = 0x555558571fcc "<guilabel> na kartě <guilabel>Volby</guilabel>. Obdobně můžete omezit maximální dobu běhu optimalizace v poli <guilabel>Max. čas (sekundy)</guilabel>. Pokud je některé z těchto nastavení p"... cons = 9195 cur = 0x555558571fcc "<guilabel> na kartě <guilabel>Volby</guilabel>. Obdobně můžete omezit maximální dobu běhu optimalizace v poli <guilabel>Max. čas (sekundy)</guilabel>. Pokud je některé z těchto nastavení p"... #9 0x00007ffff63d69c1 in xmlParseElement__internal_alias (ctxt=ctxt@entry=0x55555855efa0) at parser.c:10014 name = 0x555558550aaf "guilabel" --Type <RET> for more, q to quit, c to continue without paging-- prefix = 0x0 URI = 0x0 node_info = {node = 0x55555855efa0, begin_pos = 140737324590301, begin_line = 4294967296, end_pos = 11116497419649056256, end_line = 140737488338480} line = 170 tlen = 8 ret = 0x555558529050 nsNr = 2 #10 0x00007ffff63d5f95 in xmlParseContent__internal_alias (ctxt=0x55555855efa0) at parser.c:9846 test = 0x555558571fb5 "<guilabel>Max. iterací<guilabel> na kartě <guilabel>Volby</guilabel>. Obdobně můžete omezit maximální dobu běhu optimalizace v poli <guilabel>Max. čas (sekundy)</guilabel>. Pokud je některé"... cons = 9195 cur = 0x555558571fb5 "<guilabel>Max. iterací<guilabel> na kartě <guilabel>Volby</guilabel>. Obdobně můžete omezit maximální dobu běhu optimalizace v poli <guilabel>Max. čas (sekundy)</guilabel>. Pokud je některé"... #11 0x00007ffff63d69c1 in xmlParseElement__internal_alias (ctxt=ctxt@entry=0x55555855efa0) at parser.c:10014 name = 0x555558550a83 "para" prefix = 0x0 URI = 0x0 node_info = {node = 0x0, begin_pos = 93825042608032, begin_line = 1, end_pos = 140737324820184, end_line = 93825042694868} line = 170 tlen = 4 ret = 0x5555585599b0 nsNr = 0 #12 0x00007ffff63d70d2 in xmlParseDocument__internal_alias (ctxt=0x55555855efa0) at parser.c:10711 start = "<!DO" enc = <optimized out> #13 0x00007ffff6480932 in libxml_xmlParseDocument (self=<optimized out>, args=<optimized out>) at libxml2-py.c:4958 py_retval = <optimized out> c_retval = <optimized out> ctxt = <optimized out> pyobj_ctxt = 0x7ffff404e240 #14 0x00007ffff7b96ec1 in _PyMethodDef_RawFastCallKeywords () from /lib64/libpython3.7m.so.1.0 --Type <RET> for more, q to quit, c to continue without paging-- No symbol table info available. #15 0x00007ffff7b96ff3 in _PyCFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #16 0x00007ffff7bd55d3 in call_function () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #17 0x00007ffff7c21db2 in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #18 0x00007ffff7bc0d92 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #19 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #20 0x00007ffff7c1cf56 in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #21 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #22 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #23 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #24 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #25 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #26 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #27 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #28 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #29 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 No symbol table info available. --Type <RET> for more, q to quit, c to continue without paging-- #30 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #31 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #32 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #33 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #34 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #35 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #36 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #37 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #38 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #39 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #40 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #41 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #42 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #43 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #44 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #45 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 --Type <RET> for more, q to quit, c to continue without paging-- No symbol table info available. #46 0x00007ffff7bc0f32 in _PyFunction_FastCallKeywords () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #47 0x00007ffff7bd54bf in call_function () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #48 0x00007ffff7c1dd5f in _PyEval_EvalFrameDefault () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #49 0x00007ffff7bbff10 in _PyEval_EvalCodeWithName () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #50 0x00007ffff7bc0c69 in PyEval_EvalCodeEx () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #51 0x00007ffff7bc0c8b in PyEval_EvalCode () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #52 0x00007ffff7c83e23 in run_mod () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #53 0x00007ffff7c840e7 in PyRun_FileExFlags () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #54 0x00007ffff7c896ca in PyRun_SimpleFileExFlags () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #55 0x00007ffff7c8b3bc in pymain_main () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #56 0x00007ffff7c8b56c in _Py_UnixMain () from /lib64/libpython3.7m.so.1.0 No symbol table info available. #57 0x00007ffff7df6193 in __libc_start_main () from /lib64/libc.so.6 No symbol table info available. #58 0x000055555555508e in _start () No symbol table info available. (gdb)