Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 591834 - app-office/scribus-1.4.6 USE=-hunspell - segmentation fault at .../work/scribus-1.4.6/scribus/scpaths.cpp:253 in QString ScPaths::translationDir() const
Summary: app-office/scribus-1.4.6 USE=-hunspell - segmentation fault at .../work/scrib...
Status: CONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Lecher
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 582334
  Show dependency tree
 
Reported: 2016-08-22 05:20 UTC by Jeroen Roovers
Modified: 2019-10-01 23:08 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jeroen Roovers gentoo-dev 2016-08-22 05:20:42 UTC
.../work/scribus-1.4.6/scribus/scpaths.cpp:253 :

QString ScPaths::translationDir() const
{
    return (m_shareDir + "translations/");
}

[ebuild   R   ~] app-office/scribus-1.4.6::gentoo  USE="cairo minimal pdf scripts tk -debug -examples -hunspell -templates" LINGUAS="en_GB nl -af -ar -bg -br -ca -cs_CZ -cy -da_DK -de -de_1901 -de_CH -el -en_AU -en_US -eo -es_ES -et -eu -fi -fr -gl -hu -id -it -ja -ko -lt_LT -nb_NO -pl_PL -pt -pt_BR -ru -sa -sk_SK -sl -sq -sr -sv -th_TH -tr -uk -zh_CN -zh_TW" PYTHON_TARGETS="python2_7" 0 KiB

# ls /usr/share/scribus-1.4.6/
dicts  dtd  editorconfig  icons  keysets  loremipsum  plugins  profiles  scripts  swatches  unicodenameslist.txt
# qlist scribus |grep translations
[nothing]

Mon Aug 22 07:19:41 CEST 2016
emerge --info =app-office/scribus-1.4.6
Portage 2.3.0 (python 3.3.5-final-0, default/linux/powerpc/ppc64/13.0/64bit-userland, gcc-5.4.0, glibc-2.22-r4, 4.4.6-gentoo ppc64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.4.6-gentoo-ppc64-PPC970FX,_altivec_supported-with-gentoo-2.2
KiB Mem:     8096884 total,    847148 free
KiB Swap:    1048572 total,   1012936 free
Timestamp of repository gentoo: Mon, 22 Aug 2016 02:30:01 +0000
sh bash 4.3_p42-r1
ld GNU ld (Gentoo 2.25.1 p1.1) 2.25.1
distcc 3.2rc1 powerpc64-unknown-linux-gnu [enabled]
ccache version 3.2.4 [disabled]
app-shells/bash:          4.3_p42-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.22.2::gentoo
dev-lang/python:          2.7.10-r1::gentoo, 3.3.5-r3::gentoo, 3.4.3-r1::gentoo
dev-util/ccache:          3.2.4::gentoo
dev-util/cmake:           3.5.2-r1::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.19.1::gentoo
sys-apps/sandbox:         2.10-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r1::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.24-r3::gentoo, 2.25.1-r1::gentoo
sys-devel/gcc:            4.7.4::gentoo, 5.4.0::gentoo
sys-devel/gcc-config:     1.7.3::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 4.3::gentoo (virtual/os-headers)
sys-libs/glibc:           2.22-r4::gentoo
Repositories:

gentoo
    location: /aches/gentoo/portage
    sync-type: rsync
    sync-uri: rsync://rsync.nl.gentoo.org/gentoo-portage
    priority: 0

JeR
    location: /aches/gentoo/local
    masters: gentoo
    priority: 10000

ACCEPT_KEYWORDS="ppc64"
ACCEPT_LICENSE="*"
CBUILD="powerpc64-unknown-linux-gnu"
CFLAGS="-O2 -ggdb -mcpu=G5 -mtune=G5 -Wall"
CHOST="powerpc64-unknown-linux-gnu"
CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib/ccache/bin /usr/lib/distcc/bin /usr/share/config /usr/share/gnupg/qualified.txt /var/bind"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/apache2-php7.0/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -ggdb -mcpu=G5 -mtune=G5 -Wall"
DISTDIR="/aches/gentoo/distfiles"
EMERGE_DEFAULT_OPTS="--autounmask=n --keep-going"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg cgroup compressdebug config-protect-if-modified distcc distlocks ebuild-locks fixlafiles merge-sync metadata-transfer multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms sign splitdebug strict test test-fail-continue unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS=" http://mirror.netcologne.de/gentoo/ http://ftp.snt.utwente.nl/pub/os/linux/gentoo http://gentoo.tiscali.nl/ http://mirror.leaseweb.com/gentoo/ "
LANG="en_GB.utf8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--hash-style=gnu -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/aches/gentoo/packages/martijn"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git"
PORTAGE_TMPDIR="/var/tmp"
USE="X acl alsa altivec apache2 avahi berkdb botan bzip2 cairo cli consolekit cracklib crypt cups cxx dri drm evdev fontforge fortran fusionsound gadu gdbm gstreamer http2 ibm iconv idn introspection ipv6 jpeg jpeg2k kerberos lcms lensfun lua modules mpi multislot multitarget natspec ncurses nethack nls nptl offensive ofono-headset opengl openmp pam pcre png ppc64 qt3support qt4 r600-llvm-compiler raw readline rubberband rubytests scanner sdl session ssl tcl tcmalloc tcpd theora threads tiff tk truetype unicode valgrind vpx webp xattr zlib" ABI_PPC="64" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CURL_SSL="gnutls" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="en_GB en nl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en_GB en nl" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3 python3_4" RUBY_TARGETS="ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="modesetting radeon nouveau" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset:  CC, CPPFLAGS, CTARGET, CXX, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON

=================================================================
                        Package Settings
=================================================================

app-office/scribus-1.4.6::gentoo was built with the following:
USE="cairo minimal pdf scripts tk -debug -examples -hunspell -templates" LINGUAS="en_GB nl -af -ar -bg -br -ca -cs_CZ -cy -da_DK -de -de_1901 -de_CH -el -en_AU -en_US -eo -es_ES -et -eu -fi -fr -gl -hu -id -it -ja -ko -lt_LT -nb_NO -pl_PL -pt -pt_BR -ru -sa -sk_SK -sl -sq -sr -sv -th_TH -tr -uk -zh_CN -zh_TW" PYTHON_TARGETS="python2_7"
Comment 1 Jeroen Roovers gentoo-dev 2016-08-22 06:06:35 UTC
(gdb) run
The program being debugged has been started already.
Start it from the beginning? (y or n) y
Starting program: /usr/bin/scribus-1.4.6 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".

Program received signal SIGSEGV, Segmentation fault.
ScPaths::translationDir (this=0x3e800000000) at /var/tmp/portage/app-office/scribus-1.4.6/work/scribus-1.4.6/scribus/scpaths.cpp:253
253	in /var/tmp/portage/app-office/scribus-1.4.6/work/scribus-1.4.6/scribus/scpaths.cpp
(gdb) where
#0  ScPaths::translationDir (this=0x3e800000000) at /var/tmp/portage/app-office/scribus-1.4.6/work/scribus-1.4.6/scribus/scpaths.cpp:253
#1  0x000000001087fa24 in ScribusQApp::installTranslators (this=this@entry=0x3fffffffe668, langs=...) at /var/tmp/portage/app-office/scribus-1.4.6/work/scribus-1.4.6/scribus/scribusapp.cpp:353
#2  0x00000000108811a4 in ScribusQApp::initLang (this=this@entry=0x3fffffffe668) at /var/tmp/portage/app-office/scribus-1.4.6/work/scribus-1.4.6/scribus/scribusapp.cpp:112
#3  0x0000000010883c1c in ScribusQApp::parseCommandLine (this=0x3fffffffe668) at /var/tmp/portage/app-office/scribus-1.4.6/work/scribus-1.4.6/scribus/scribusapp.cpp:157
#4  0x0000000010abe4dc in mainApp (argc=1, argv=<optimized out>) at /var/tmp/portage/app-office/scribus-1.4.6/work/scribus-1.4.6/scribus/main_nix.cpp:78
#5  0x00003fffb5e5a908 in generic_start_main (main=@0x10dce060: 0x101b3720 <main(int, char**)>, argc=<optimized out>, argv=0x3fffffffeb18, auxvec=0x3fffffffed08, init=<optimized out>, rtld_fini=<optimized out>, 
    stack_end=<optimized out>, fini=<optimized out>) at ../csu/libc-start.c:289
#6  0x00003fffb5e5ab30 in __libc_start_main (argc=<optimized out>, argv=<optimized out>, ev=<optimized out>, auxvec=<optimized out>, rtld_fini=<optimized out>, stinfo=<optimized out>, stack_on_entry=<optimized out>)
    at ../sysdeps/unix/sysv/linux/powerpc/libc-start.c:80
#7  0x0000000000000000 in ?? ()
Comment 2 Jeroen Roovers gentoo-dev 2016-08-22 07:10:11 UTC
Oddly, it went away after recompiling with USE=hunspell.
Comment 3 Andreas Sturmlechner gentoo-dev 2019-10-01 23:08:04 UTC
Was this ever reproduced with 1.5.x?