Project

General

Profile

Actions

Bug #14265

open

itstool segfault in libxml2 with mate-user-guide

Added by Tim Mooney about 2 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
-
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Difficulty:
Bite-size
Tags:

Description

itstool segfaults when processing files in the 'ja' directory for mate-user-guide-1.26.0:

  GEN      ja/ja.mo
  GEN    ja/
Warning: Could not merge ja translation for msgid:
b'<personname> <firstname>Sun</firstname> <surname>GNOME Documentation Team</surname> </personname> <affiliation> <orgname>Sun Microsystems</orgname> </affiliation>'
Warning: Could not merge ja translation for msgid:
b'Dragging with the mouse is used in many different contexts. This moves an object around the screen with the mouse. The object is <emphasis>dropped</emphasis> at the location where the mouse button is released. This action is also called <emphasis>drag-and-drop</emphasis>. Clicking on an element of the interface to move it is sometimes called a <emphasis>grab</emphasis>.'
/bin/bash: line 4: 16413 Segmentation Fault      (core dumped) itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml ${d}/C/gosbasic.xml ${d}/C/goscustdesk.xml ${d}/C/goseditmainmenu.xml ${d}/C/goscaja.xml ${d}/C/gosoverview.xml ${d}/C/gospanel.xml ${d}/C/gosstartsession.xml ${d}/C/gostools.xml ${d}/C/gosdconf.xml ${d}/C/gosdconfkeys.xml ${d}/C/gosfeedback.xml ${d}/C/glossary.xml

This isn't specific to OI, many Linux distros have reported similar issues with itstool related to libxml2 memory issues.

a$ gdb /usr/bin/python3.9 core
GNU gdb (GDB) 8.0

[skipped the gdb header]

[New LWP 1]
[New LWP 1]
[Thread debugging using libthread_db enabled]
[New Thread 1 (LWP 1)]
Core was generated by `/usr/bin/python3.9 -s /usr/bin/itstool -m ../ja/ja.mo ..//C/index.docbook ..//C'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  _Py_INCREF (op=0x0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/object.h:408
#1  function_code_fastcall (globals=<optimized out>, nargs=2,
    args=<optimized out>, co=<optimized out>, tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:327
#2  _PyFunction_Vectorcall (func=<optimized out>, stack=0x7fffae853218,
    nargsf=<optimized out>, kwnames=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:367
#3  0x00007fffae55d69b in PyVectorcall_Call ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:231
#4  0x00007fffaea3b4b8 in libxml_xmlErrorFuncHandler ()
   from /usr/lib/python3.9/vendor-packages/libxml2mod.cpython-39.so
#5  0x00007fffaddcbd94 in xmlParserPrintFileContextInternal ()
   from /usr/lib/64/libxml2.so.2
#6  0x00007fffaddcc104 in xmlReportError () from /usr/lib/64/libxml2.so.2
#7  0x00007fffaddcdc0f in __xmlRaiseError () from /usr/lib/64/libxml2.so.2
#8  0x00007fffadde2336 in xmlParseEndTag2 () from /usr/lib/64/libxml2.so.2
#9  0x00007fffadde7dcb in xmlParseElement () from /usr/lib/64/libxml2.so.2
#10 0x00007fffadde74db in xmlParseContent () from /usr/lib/64/libxml2.so.2
#11 0x00007fffadde7d6b in xmlParseElement () from /usr/lib/64/libxml2.so.2
#12 0x00007fffadde74db in xmlParseContent () from /usr/lib/64/libxml2.so.2
#13 0x00007fffadde7d6b in xmlParseElement () from /usr/lib/64/libxml2.so.2
#14 0x00007fffadde74db in xmlParseContent () from /usr/lib/64/libxml2.so.2
#15 0x00007fffadde7d6b in xmlParseElement () from /usr/lib/64/libxml2.so.2
#16 0x00007fffaddec227 in xmlParseDocument () from /usr/lib/64/libxml2.so.2
#17 0x00007fffaea47519 in libxml_xmlParseDocument ()
   from /usr/lib/python3.9/vendor-packages/libxml2mod.cpython-39.so
#18 0x00007fffae5b0010 in cfunction_call ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/methodobject.c:552
#19 0x00007fffae55c326 in _PyObject_MakeTpCall ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:191
#20 0x00007fffae65b4e3 in _PyObject_VectorcallTstate (kwnames=0x0,
    nargsf=9223372036854775809, args=0x7fffadf4f888, callable=0x7fffaeab7f90,
    tstate=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:116
#21 PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809,
    args=0x7fffadf4f888, callable=0x7fffaeab7f90)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:127
#22 call_function (kwnames=0x0, oparg=<optimized out>,
    pp_stack=<synthetic pointer>, tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:5075
#23 _PyEval_EvalFrameDefault ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:3487
#24 0x00007fffae55c992 in _PyEval_EvalFrame (throwflag=0, f=0x7fffadf4f700,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/internal/pycore_ceval.h:40
#25 function_code_fastcall (globals=<optimized out>, nargs=1,
---Type <return> to continue, or q <return> to quit---
    args=<optimized out>, co=<optimized out>, tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:330
#26 _PyFunction_Vectorcall (func=<optimized out>, stack=0x1c78f38,
    nargsf=<optimized out>, kwnames=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:367
#27 0x00007fffae655769 in _PyObject_VectorcallTstate (kwnames=0x0,
    nargsf=9223372036854775809, args=0x1c78f38, callable=0x7fffae9e01f0,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#28 PyObject_Vectorcall (kwnames=0x0, nargsf=9223372036854775809,
    args=0x1c78f38, callable=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:127
#29 call_function (kwnames=0x0, oparg=<optimized out>,
    pp_stack=<synthetic pointer>, tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:5075
#30 _PyEval_EvalFrameDefault ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:3504
#31 0x00007fffae654608 in _PyEval_EvalFrame (throwflag=0, f=0x1c78d20,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/internal/pycore_ceval.h:40
#32 _PyEval_EvalCode ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:4327
#33 0x00007fffae55ca24 in _PyFunction_Vectorcall (func=<optimized out>,
    stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:396
#34 0x00007fffae55f43b in _PyObject_VectorcallTstate (kwnames=<optimized out>,
    nargsf=<optimized out>, args=0x19a7570, callable=0x7fffae87f160,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#35 method_vectorcall ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/classobject.c:53
#36 0x00007fffae6564d6 in _PyObject_VectorcallTstate (kwnames=0x7fffaf1b10c0,
    nargsf=9223372036854775810, args=0x19a7578, callable=0x7fffadd07240,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#37 PyObject_Vectorcall (kwnames=<optimized out>, nargsf=9223372036854775810,
    args=0x19a7578, callable=0x7fffadd07240)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:127
#38 call_function (kwnames=<optimized out>, oparg=<optimized out>,
    pp_stack=<synthetic pointer>, tstate=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:5075
#39 _PyEval_EvalFrameDefault ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:3535
#40 0x00007fffae6543d7 in _PyEval_EvalFrame (throwflag=0, f=0x19a7380,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/internal/pycore_ceval.h:40
#41 _PyEval_EvalCode ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:4327
#42 0x00007fffae55ca24 in _PyFunction_Vectorcall (func=<optimized out>,
    stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:396
#43 0x00007fffae55f43b in _PyObject_VectorcallTstate (kwnames=<optimized out>,
    nargsf=<optimized out>, args=0x1af7068, callable=0x7fffae87f040,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#44 method_vectorcall ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/classobject.c:53
#45 0x00007fffae6564d6 in _PyObject_VectorcallTstate (kwnames=0x7fffaf1bcf80,
    nargsf=9223372036854775810, args=0x1af7070, callable=0x7fffada83c40,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#46 PyObject_Vectorcall (kwnames=<optimized out>, nargsf=9223372036854775810,
    args=0x1af7070, callable=0x7fffada83c40)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:127
#47 call_function (kwnames=<optimized out>, oparg=<optimized out>,
    pp_stack=<synthetic pointer>, tstate=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:5075
#48 _PyEval_EvalFrameDefault ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:3535
#49 0x00007fffae6543d7 in _PyEval_EvalFrame (throwflag=0, f=0x1af6e70,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/internal/pycore_ceval.h:40
#50 _PyEval_EvalCode ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:4327
#51 0x00007fffae55ca24 in _PyFunction_Vectorcall (func=<optimized out>,
    stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:396
#52 0x00007fffae55f43b in _PyObject_VectorcallTstate (kwnames=<optimized out>,
    nargsf=<optimized out>, args=0x1acd898, callable=0x7fffae87f040,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#53 method_vectorcall ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/classobject.c:53
#54 0x00007fffae6564d6 in _PyObject_VectorcallTstate (kwnames=0x7fffaf1bcf80,
    nargsf=9223372036854775810, args=0x1acd8a0, callable=0x7fffac615840,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9
#55 PyObject_Vectorcall (kwnames=<optimized out>, nargsf=9223372036854775810,
    args=0x1acd8a0, callable=0x7fffac615840)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:127
#56 call_function (kwnames=<optimized out>, oparg=<optimized out>,
    pp_stack=<synthetic pointer>, tstate=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:5075
#57 _PyEval_EvalFrameDefault ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:3535
#58 0x00007fffae6543d7 in _PyEval_EvalFrame (throwflag=0, f=0x1acd6a0,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/internal/pycore_ceval.h:40
#59 _PyEval_EvalCode ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:4327
#60 0x00007fffae55ca24 in _PyFunction_Vectorcall (func=<optimized out>,
    stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:396
#61 0x00007fffae55f43b in _PyObject_VectorcallTstate (kwnames=<optimized out>,
    nargsf=<optimized out>, args=0x1c1c1c8, callable=0x7fffae87f040,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#62 method_vectorcall ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/classobject.c:53
#63 0x00007fffae6564d6 in _PyObject_VectorcallTstate (kwnames=0x7fffaf1bcf80,
    nargsf=9223372036854775810, args=0x1c1c1d0, callable=0x7fffacda6740,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#64 PyObject_Vectorcall (kwnames=<optimized out>, nargsf=9223372036854775810,
    args=0x1c1c1d0, callable=0x7fffacda6740)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:127
#65 call_function (kwnames=<optimized out>, oparg=<optimized out>,
    pp_stack=<synthetic pointer>, tstate=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:5075
#66 _PyEval_EvalFrameDefault ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:3535
#67 0x00007fffae6543d7 in _PyEval_EvalFrame (throwflag=0, f=0x1c1bfd0,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/internal/pycore_ceval.h:40
#68 _PyEval_EvalCode ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:4327
#69 0x00007fffae55ca24 in _PyFunction_Vectorcall (func=<optimized out>,
    stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:396
#70 0x00007fffae55f43b in _PyObject_VectorcallTstate (kwnames=<optimized out>,
    nargsf=<optimized out>, args=0x19a8508, callable=0x7fffae87f040,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#71 method_vectorcall ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/classobject.c:53
#72 0x00007fffae6564d6 in _PyObject_VectorcallTstate (kwnames=0x7fffaf1bcf80,
    nargsf=9223372036854775810, args=0x19a8510, callable=0x7fffacd92700,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#73 PyObject_Vectorcall (kwnames=<optimized out>, nargsf=9223372036854775810,
    args=0x19a8510, callable=0x7fffacd92700)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:127
#74 call_function (kwnames=<optimized out>, oparg=<optimized out>,
    pp_stack=<synthetic pointer>, tstate=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:5075
#75 _PyEval_EvalFrameDefault ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:3535
#76 0x00007fffae6543d7 in _PyEval_EvalFrame (throwflag=0, f=0x19a8310,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/internal/pycore_ceval.h:40
#77 _PyEval_EvalCode ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:4327
#78 0x00007fffae55ca24 in _PyFunction_Vectorcall (func=<optimized out>,
    stack=<optimized out>, nargsf=<optimized out>, kwnames=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/call.c:396
#79 0x00007fffae55f43b in _PyObject_VectorcallTstate (kwnames=<optimized out>,
    nargsf=<optimized out>, args=0x13b8260, callable=0x7fffae87f040,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#80 method_vectorcall ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Objects/classobject.c:53
#81 0x00007fffae6564d6 in _PyObject_VectorcallTstate (kwnames=0x7fffaedc71c0,
    nargsf=9223372036854775810, args=0x13b8268, callable=0x7fffac61aec0,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:118
#82 PyObject_Vectorcall (kwnames=<optimized out>, nargsf=9223372036854775810,
    args=0x13b8268, callable=0x7fffac61aec0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/cpython/abstract.h:127
#83 call_function (kwnames=<optimized out>, oparg=<optimized out>,
    pp_stack=<synthetic pointer>, tstate=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:5075
#84 _PyEval_EvalFrameDefault ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9
.8/Python/ceval.c:3535
#85 0x00007fffae654467 in _PyEval_EvalFrame (throwflag=0, f=0x13b80f0,
    tstate=0x135d4a0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Include/internal/pycore_ceval.h:40
#86 _PyEval_EvalCode ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:4327
#87 0x00007fffae654129 in _PyEval_EvalCodeWithName (_co=<optimized out>,
    globals=<optimized out>, locals=<optimized out>, args=<optimized out>,
    argcount=argcount@entry=0, kwnames=<optimized out>, kwargs=0x0, kwcount=0,
    kwstep=2, defs=0x0, defcount=0, kwdefs=0x0, closure=0x0, name=0x0,
    qualname=0x0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:4359
#88 0x00007fffae6540d7 in PyEval_EvalCodeEx ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:4375
#89 0x00007fffae65408f in PyEval_EvalCode (co=co@entry=0x7fffaf1a2450,
    globals=globals@entry=0x7fffaf270640, locals=locals@entry=0x7fffaf270640)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/ceval.c:826
#90 0x00007fffae6a2446 in run_eval_code_obj (tstate=tstate@entry=0x135d4a0,
    co=co@entry=0x7fffaf1a2450, globals=globals@entry=0x7fffaf270640,
    locals=locals@entry=0x7fffaf270640)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/pythonrun.c:1221
#91 0x00007fffae6a23cd in run_mod (mod=mod@entry=0x1746b90,
    filename=filename@entry=0x7fffaf274800,
    globals=globals@entry=0x7fffaf270640, locals=locals@entry=0x7fffaf270640,
    flags=flags@entry=0x7fffbfff78b8, arena=arena@entry=0x7fffaefd1910)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/pythonrun.c:1242
#92 0x00007fffae6a39a4 in pyrun_file.cold ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/pythonrun.c:1140
#93 0x00007fffae6a2a28 in pyrun_simple_file (flags=0x7fffbfff78b8, closeit=1,
    filename=0x7fffaf274800, fp=0x7fffaf5b7040 <_iob+384>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/pythonrun.c:450
#94 PyRun_SimpleFileExFlags (fp=fp@entry=0x7fffaf5b7040 <_iob+384>,
    filename=<optimized out>, closeit=closeit@entry=1,
    flags=flags@entry=0x7fffbfff78b8)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/pythonrun.c:483
#95 0x00007fffae6a287c in PyRun_AnyFileExFlags (
    fp=fp@entry=0x7fffaf5b7040 <_iob+384>, filename=<optimized out>,
    closeit=closeit@entry=1, flags=flags@entry=0x7fffbfff78b8)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Python/pythonrun.c:92
#96 0x00007fffae6c9c27 in pymain_run_file (cf=0x7fffbfff78b8, config=0x135b680)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Modules/main.c:373
#97 pymain_run_python (exitcode=0x7fffbfff78b0)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Modules/main.c:598
#98 Py_RunMain ()
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9---Type <return> to continue, or q <return> to quit---
.8/Modules/main.c:677
#99 0x00007fffae6c978f in pymain_main (args=args@entry=0x7fffbfff7980)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Modules/main.c:707
#100 0x00007fffae6c975b in Py_BytesMain (argc=<optimized out>,
    argv=<optimized out>)
    at /jenkins/jobs/oi-userland/workspace/components/python/python39/Python-3.9.8/Modules/main.c:731
#101 0x0000000000401097 in _start_crt ()
#102 0x0000000000400ff8 in _start ()
(gdb)

See:

https://gitlab.gnome.org/GNOME/libxml2/-/issues/64
https://github.com/itstool/itstool/pull/18

I've tried packaging itstool 2.0.7 both with and without both parts of the patch from upstream pull 18 (referenced above), but it didn't make a difference for this issue.

One simple approach to addressing this issue is to look at the patches carried by some of the various Linux distros, possibly starting with the ones referenced in comment #2 of the libxml2 gitlab issue referenced above, and trying those to see if any of them address this particular problem.

No data to display

Actions

Also available in: Atom PDF