Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 744739 - app-editors/pluma-1.24.1 : /.../sh:line <snip>: <snip> Segmentation fault itstool -m ${mo} ${d}/C/index.docbook ${d}/C/legal.xml
Summary: app-editors/pluma-1.24.1 : /.../sh:line <snip>: <snip> Segmentation fault its...
Status: RESOLVED DUPLICATE of bug 745162
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo MATE Desktop
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-09-26 07:00 UTC by Toralf Förster
Modified: 2021-01-12 22:26 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
emerge-info.txt (emerge-info.txt,16.09 KB, text/plain)
2020-09-26 07:00 UTC, Toralf Förster
Details
app-editors:pluma-1.24.1:20200925-231029.log (app-editors:pluma-1.24.1:20200925-231029.log,687.47 KB, text/plain)
2020-09-26 07:00 UTC, Toralf Förster
Details
emerge-history.txt (emerge-history.txt,200.92 KB, text/plain)
2020-09-26 07:01 UTC, Toralf Förster
Details
environment (environment,166.53 KB, text/plain)
2020-09-26 07:01 UTC, Toralf Förster
Details
etc.portage.tbz2 (etc.portage.tbz2,19.90 KB, application/x-bzip)
2020-09-26 07:01 UTC, Toralf Förster
Details
logs.tbz2 (logs.tbz2,13.08 KB, application/x-bzip)
2020-09-26 07:01 UTC, Toralf Förster
Details
temp.tbz2 (temp.tbz2,61.72 KB, application/x-bzip)
2020-09-26 07:01 UTC, Toralf Förster
Details
stack trace (pluma-1.24.1-itstool-backtrace.txt,6.40 KB, text/plain)
2020-09-27 19:42 UTC, Stephen Cavilia
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2020-09-26 07:00:54 UTC
(cd "zh_CN/" && itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml) && \
touch "zh_CN/zh_CN.stamp"
/bin/sh: line 3:  9651 Segmentation fault      itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml
make[2]: *** [Makefile:593: zh_CN/zh_CN.stamp] Error 139
make[2]: Leaving directory '/var/tmp/portage/app-editors/pluma-1.24.1/work/pluma-1.24.1/help'
make[1]: *** [Makefile:519: all-recursive] Error 1

  -------------------------------------------------------------------

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_gnome_systemd-abi32+64-20200919-231901

  -------------------------------------------------------------------

gcc-config -l:
 [1] x86_64-pc-linux-gnu-10.2.0 *
clang version 10.0.1 
Target: x86_64-pc-linux-gnu
Thread model: posix
InstalledDir: /usr/lib/llvm/10/bin
/usr/lib/llvm/10
10.0.1
Available Python interpreters, in order of preference:
  [1]   python3.7
  [2]   python3.9 (fallback)
  [3]   python3.8 (fallback)
  [4]   python2.7 (fallback)
  [5]   pypy3 (fallback)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.46.0 *
The following VMs are available for generation-2:
1)	IcedTea JDK 3.16.0 [icedtea-8]
2)	IcedTea JDK 3.16.0 [icedtea-bin-8]
*)	AdoptOpenJDK 8.265_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   icedtea-8 
  [2]   icedtea-bin-8 
  [3]   openjdk-bin-8  system-vm

The Glorious Glasgow Haskell Compilation System, version 8.8.4

  timestamp(s) of HEAD at this tinderbox image:
/var/db/repos/gentoo	Fri Sep 25 10:06:34 PM UTC 2020

emerge -qpvO app-editors/pluma
[ebuild  N    ] app-editors/pluma-1.24.1  USE="introspection spell -test" PYTHON_SINGLE_TARGET="python3_7 -python3_6 -python3_8"
Comment 1 Toralf Förster gentoo-dev 2020-09-26 07:00:56 UTC
Created attachment 662482 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-09-26 07:00:58 UTC
Created attachment 662485 [details]
app-editors:pluma-1.24.1:20200925-231029.log
Comment 3 Toralf Förster gentoo-dev 2020-09-26 07:01:00 UTC
Created attachment 662488 [details]
emerge-history.txt
Comment 4 Toralf Förster gentoo-dev 2020-09-26 07:01:02 UTC
Created attachment 662491 [details]
environment
Comment 5 Toralf Förster gentoo-dev 2020-09-26 07:01:03 UTC
Created attachment 662494 [details]
etc.portage.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-09-26 07:01:05 UTC
Created attachment 662497 [details]
logs.tbz2
Comment 7 Toralf Förster gentoo-dev 2020-09-26 07:01:06 UTC
Created attachment 662500 [details]
temp.tbz2
Comment 8 Stephen Cavilia 2020-09-27 01:01:59 UTC
mate-applets 1.24.1 is also triggering the same segfault for me
Comment 9 Adam Feldman gentoo-dev 2020-09-27 17:37:15 UTC
Weird.  I'm not able to reproduce it for either of those packages.
Comment 10 Kobboi 2020-09-27 17:45:26 UTC
Let me try to get a backtrace of that segfault.
Comment 11 Kobboi 2020-09-27 17:47:36 UTC
(In reply to Adam Feldman from comment #9)
> Weird.  I'm not able to reproduce it for either of those packages.

My segfault is in /usr/bin/python3.7m. Which python3 are you using?
Comment 12 Adam Feldman gentoo-dev 2020-09-27 18:43:02 UTC
I currently have a slightly outdated python-3.7.7-r2 as the python being used for the single_target.  What are you two using?
Comment 13 Adam Feldman gentoo-dev 2020-09-27 18:57:36 UTC
(In reply to Adam Feldman from comment #12)
> I currently have a slightly outdated python-3.7.7-r2 as the python being
> used for the single_target.  What are you two using?

Just upgraded to 3.7.8-r2 and still no segfault here
Comment 14 Stephen Cavilia 2020-09-27 19:37:46 UTC
3.7.9, 3.8.5, and 3.8.6 all segfault for me. also confirming this seems to be a regression in 1.24.1, pluma 1.24.0 still builds
Comment 15 Stephen Cavilia 2020-09-27 19:42:48 UTC
Created attachment 662698 [details]
stack trace
Comment 16 Kobboi 2020-09-27 20:32:52 UTC
My stack trace is a bit more verbose:

The top few entries show:

#0  0x00007ff4fe6e2524 in function_code_fastcall (co=<optimized out>, args=0x7ff4edf77700, nargs=2, globals=<optimized out>) at Objects/call.c:280
#1  0x00007ff4f03c6566 in libxml_xmlErrorFuncHandler (ctx=<optimized out>, msg=<optimized out>) at /usr/src/debug/dev-libs/libxml2-2.9.10-r3/libxml2-2.9.10/python/libxml.c:1644
#2  0x00007ff4f0264674 in xmlParserPrintFileContextInternal (input=input@entry=0x5619fa6f5fb0, channel=channel@entry=0x7ff4f03c6420 <libxml_xmlErrorFuncHandler>, data=data@entry=0x0)
    at /usr/src/debug/dev-libs/libxml2-2.9.10-r3/libxml2-2.9.10/error.c:208
#3  0x00007ff4f0264a1e in xmlReportError (err=err@entry=0x5619fa7ea1a8, ctxt=ctxt@entry=0x5619fa7e9f50, str=str@entry=0x5619fa807810 "Opening and ending tag mismatch: guibutton line 0 and para\n", 
    channel=0x7ff4f03c6420 <libxml_xmlErrorFuncHandler>, channel@entry=0x0, data=data@entry=0x0) at /usr/src/debug/dev-libs/libxml2-2.9.10-r3/libxml2-2.9.10/error.c:406
#4  0x00007ff4f02661f7 in __xmlRaiseError (schannel=schannel@entry=0x0, channel=0x7ff4f0264ff0 <xmlParserError__internal_alias>, channel@entry=0x0, data=0x5619fa7e9f50, data@entry=0x0, 
    ctx=ctx@entry=0x5619fa7e9f50, nod=nod@entry=0x0, domain=domain@entry=1, code=76, level=XML_ERR_FATAL, file=<optimized out>, line=1, str1=<optimized out>, str2=<optimized out>, str3=<optimized out>, int1=0, 
    col=327, msg=<optimized out>) at /usr/src/debug/dev-libs/libxml2-2.9.10-r3/libxml2-2.9.10/error.c:633
#5  0x00007ff4f026a1c5 in xmlFatalErrMsgStrIntStr (ctxt=ctxt@entry=0x5619fa7e9f50, error=error@entry=XML_ERR_TAG_NAME_MISMATCH, 
    msg=msg@entry=0x7ff4f0347c58 "Opening and ending tag mismatch: %s line %d and %s\n", str1=<optimized out>, val=<optimized out>, str2=str2@entry=0x5619fa807287 "para")
    at /usr/src/debug/dev-libs/libxml2-2.9.10-r3/libxml2-2.9.10/parser.c:720
#6  0x00007ff4f0278ffb in xmlParseEndTag2 (ctxt=ctxt@entry=0x5619fa7e9f50, prefix=0x0, URI=0x5619fa80728c "http://docbook.org/ns/docbook", nsNr=0, tlen=0, line=<optimized out>)
    at /usr/src/debug/dev-libs/libxml2-2.9.10-r3/libxml2-2.9.10/parser.c:9682

Notice the "Opening and ending tag mismatch" message.
Comment 17 David Carlos Manuelda 2020-09-29 19:00:40 UTC
Patch found in bug #745162 address this issue.
Comment 18 Chris Henhawke 2020-10-12 18:41:09 UTC
commenting as i had this problem as well, strangely enough it compiled fine on 2 of my kaby lake intels, but always fails on my threadripper 2950x.
Comment 19 Chris Henhawke 2020-10-13 21:45:51 UTC
just an update on my end, mate-applets also failed to compile on my threadripper with the same segfault.
Comment 20 Michael Kosarev 2020-10-29 15:03:14 UTC
Patch from 745162 fixed issue for me too. Both for pluma and mate-applets
Comment 21 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-12 22:26:05 UTC

*** This bug has been marked as a duplicate of bug 745162 ***