Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 745135

Summary: mate-base/mate-applets-1.24.1 : /.../sh:line <snip>: <snip> Segmentation fault itstool -m ${mo} ${d}/C/index.docbook ${d}/C/legal.
Product: Gentoo Linux Reporter: Toralf Förster <toralf>
Component: Current packagesAssignee: Gentoo MATE Desktop <mate>
Status: RESOLVED DUPLICATE    
Severity: normal CC: gnome, lacyc3, sam, StormByte
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on: 745162    
Bug Blocks:    
Attachments: emerge-info.txt
emerge-history.txt
environment
etc.portage.tbz2
logs.tbz2
mate-base:mate-applets-1.24.1:20200928-111418.log
temp.tbz2

Description Toralf Förster gentoo-dev 2020-09-28 16:22:09 UTC
(cd "hy/" && itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml) && \
touch "hy/hy.stamp"
/bin/sh: line 3:  8977 Segmentation fault      itstool -m "${mo}" ${d}/C/index.docbook ${d}/C/legal.xml
make[3]: *** [Makefile:608: hy/hy.stamp] Error 139
make[3]: Leaving directory '/var/tmp/portage/mate-base/mate-applets-1.24.1/work/mate-applets-1.24.1/accessx-status/docs'
make[2]: *** [Makefile:688: all-recursive] Error 1

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

  This is an unstable amd64 chroot image at a tinderbox (==build bot)
  name: 17.1_desktop_plasma-20200920-133319

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

gcc-config -l:
 [1] x86_64-pc-linux-gnu-7.3.1
 [2] 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)
Available Ruby profiles:
  [1]   ruby25 (with Rubygems)
  [2]   ruby26 (with Rubygems)
  [3]   ruby27 (with Rubygems) *
Available Rust versions:
  [1]   rust-1.46.0 *
The following VMs are available for generation-2:
*)	AdoptOpenJDK 8.265_p01 [openjdk-bin-8]
Available Java Virtual Machines:
  [1]   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	Mon Sep 28 10:35:34 AM UTC 2020

emerge -qpvO mate-base/mate-applets
[ebuild  N    ] mate-base/mate-applets-1.24.1  USE="X cpupower ipv6 (policykit) upower"
Comment 1 Toralf Förster gentoo-dev 2020-09-28 16:22:10 UTC
Created attachment 662827 [details]
emerge-info.txt
Comment 2 Toralf Förster gentoo-dev 2020-09-28 16:22:12 UTC
Created attachment 662830 [details]
emerge-history.txt
Comment 3 Toralf Förster gentoo-dev 2020-09-28 16:22:14 UTC
Created attachment 662833 [details]
environment
Comment 4 Toralf Förster gentoo-dev 2020-09-28 16:22:15 UTC
Created attachment 662836 [details]
etc.portage.tbz2
Comment 5 Toralf Förster gentoo-dev 2020-09-28 16:22:16 UTC
Created attachment 662839 [details]
logs.tbz2
Comment 6 Toralf Förster gentoo-dev 2020-09-28 16:22:19 UTC
Created attachment 662842 [details]
mate-base:mate-applets-1.24.1:20200928-111418.log
Comment 7 Toralf Förster gentoo-dev 2020-09-28 16:22:20 UTC
Created attachment 662845 [details]
temp.tbz2
Comment 8 David Carlos Manuelda 2020-09-28 19:34:56 UTC
Bugs #745315 #744739 and #734968 are related to the same itstool issue.

I found out that it is not the first time this happens and on some (non)UTF8 character made the python interpreter to crash, which is exactly what happens in those 3 bugs.

Maybe is it worth to add a new bug against itstool and make those three depend on it?
Comment 9 Toralf Förster gentoo-dev 2020-09-29 08:30:02 UTC
(In reply to David Carlos Manuelda from comment #8)
> Bugs #745315 #744739 and #734968 are related to the same itstool issue.
> 
> I found out that it is not the first time this happens and on some (non)UTF8
> character made the python interpreter to crash, which is exactly what
> happens in those 3 bugs.
> 
> Maybe is it worth to add a new bug against itstool and make those three
> depend on it?

added Gnome herd
Comment 10 David Carlos Manuelda 2020-09-29 19:01:48 UTC
Patch found in Bug #745162 address this issue
Comment 11 Nick Andrade 2020-10-17 05:48:31 UTC
I confirmed applying the patch referenced in comment #10 to libxml2 resolved my issue here; I suspect it will also help with a few other packages too (I just confirmed it also fixed pluma-1.24.1).
Comment 12 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2021-01-12 22:26:57 UTC

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