Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 739744 - app-office/texstudio-3.0.0 segfaults
Summary: app-office/texstudio-3.0.0 segfaults
Status: RESOLVED TEST-REQUEST
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: TeX project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-31 15:32 UTC by Andrey Grozin
Modified: 2020-12-17 05:01 UTC (History)
1 user (show)

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 Andrey Grozin gentoo-dev 2020-08-31 15:32:09 UTC
grozin@bilbo ~ $ texstudio
Segmentation fault

A window with the word TeXstudio appears and immediately disappears.

bilbo ~ # emerge -pv app-office/texstudio

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R    ] app-office/texstudio-3.0.0::gentoo  USE="-video" 0 KiB

Total: 1 package (1 reinstall), Size of downloads: 0 KiB

bilbo ~ # emerge --info
Portage 3.0.4 (python 3.7.9-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-10.2.0, glibc-2.32, 5.5.5-gentoo x86_64)
=================================================================
System uname: Linux-5.5.5-gentoo-x86_64-Intel-R-_Core-TM-_i7-8750H_CPU_@_2.20GHz-with-gentoo-2.7
KiB Mem:     8008060 total,   3132024 free
KiB Swap:   16777212 total,  16777212 free
Timestamp of repository gentoo: Mon, 31 Aug 2020 07:45:01 +0000
Head commit of repository gentoo: e14d6c3bc6b95ee3139ac6993195685354bcc6b8
sh bash 5.0_p18
ld GNU ld (Gentoo 2.34 p6) 2.34.0
app-shells/bash:          5.0_p18::gentoo
dev-java/java-config:     2.3.1::gentoo
dev-lang/perl:            5.30.3-r1::gentoo
dev-lang/python:          2.7.18-r1::gentoo, 3.6.11-r2::gentoo, 3.7.9::gentoo, 3.8.5::gentoo, 3.9.0_rc1::gentoo
dev-util/cmake:           3.18.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.20::gentoo
sys-devel/autoconf:       2.13-r1::gentoo, 2.69-r5::gentoo
sys-devel/automake:       1.15.1-r2::gentoo, 1.16.2::gentoo
sys-devel/binutils:       2.34-r2::gentoo
sys-devel/gcc:            9.2.0-r4::gentoo, 9.3.0::gentoo, 10.2.0-r1::gentoo
sys-devel/gcc-config:     2.3.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.8::gentoo (virtual/os-headers)
sys-libs/glibc:           2.32::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.de.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-verify-max-age: 24
    sync-rsync-verify-jobs: 1
    sync-rsync-verify-metamanifest: yes
    sync-rsync-extra-opts: 

grozin
    location: /usr/local/portage
    masters: gentoo
    priority: 60

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=native -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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 -march=native -pipe"
DISTDIR="/var/distfiles"
ENV_UNSET="CARGO_HOME DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN GOPATH PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR"
FCFLAGS="-O2 -march=native -pipe"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -march=native -pipe"
GENTOO_MIRRORS="ftp://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="ru_RU ru en_US en"
MAKEOPTS="-j6"
PKGDIR="/usr/portage/packages"
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 a52 aac acpi activities alsa amd64 bash-completion berkdb blas bluetooth boehm-gc branding bzip2 cairo cli crypt cups curl dbus declarative dri elogind emacs encode exif ffmpeg fftw flac fortran gdbm gif gmp gpm gsl gtk gui iconv icu imagemagick jpeg kde kipi kwallet lapack latex lcms ldap libglvnd libnotify libtirpc lzma mad mng mp3 mp4 mpeg multilib ncurses nls nptl offensive ogg opengl openmp pam pango pcre pdf phonon plasma png policykit postscript ppds python qml qt5 readline sdl seccomp smp sound spell split-usr ssl startup-notification svg tcl tcpd tiff tk truetype udev udisks umfpack unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xml xv xvid zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 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="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptic" KERNEL="linux" L10N="ru-RU ru en-US en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2 php7-3" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_7" PYTHON_TARGETS="python2_7 python3_7 python3_8" RUBY_TARGETS="ruby26 ruby27" USERLAND="GNU" VIDEO_CARDS="intel" 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, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-08-31 15:39:59 UTC
Any backtrace available?
Comment 2 Andrey Grozin gentoo-dev 2020-09-01 04:42:51 UTC
grozin@bilbo ~ $ gdb texstudio
GNU gdb (Gentoo 9.2 vanilla) 9.2
Copyright (C) 2020 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-pc-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://bugs.gentoo.org/>.
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 texstudio...
(No debugging symbols found in texstudio)
(gdb) r
Starting program: /usr/bin/texstudio 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
[New Thread 0x7fffef84e640 (LWP 27170)]
[New Thread 0x7fffedc69640 (LWP 27171)]
[New Thread 0x7fffed468640 (LWP 27172)]
[New Thread 0x7fffecc67640 (LWP 27173)]
[New Thread 0x7fffdffff640 (LWP 27174)]
[New Thread 0x7fffdf7fe640 (LWP 27175)]
[New Thread 0x7fffdeffd640 (LWP 27176)]
[New Thread 0x7fffdcb42640 (LWP 27177)]
[New Thread 0x7fffc7fff640 (LWP 27178)]
[New Thread 0x7fffc77fe640 (LWP 27179)]
[New Thread 0x7fffc6ffd640 (LWP 27180)]
[New Thread 0x7fffc67fc640 (LWP 27181)]
[Detaching after fork from child process 27182]
[Detaching after vfork from child process 27183]

Thread 1 "texstudio" received signal SIGSEGV, Segmentation fault.
0x0000555555852127 in ManhattanStyle::event(QEvent*) ()
(gdb) bt
#0  0x0000555555852127 in ManhattanStyle::event(QEvent*) ()
#1  0x00007ffff729e0bf in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/libQt5Widgets.so.5
#2  0x00007ffff64e4758 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /usr/lib64/libQt5Core.so.5
#3  0x00007ffff651154d in QObject::setProperty(char const*, QVariant const&) () from /usr/lib64/libQt5Core.so.5
#4  0x00005555558521a3 in ManhattanStyle::ManhattanStyle(QString const&) ()
#5  0x000055555575bc6d in ConfigManager::setInterfaceStyle() ()
#6  0x0000555555782afe in ConfigManager::readSettings(bool) ()
#7  0x0000555555926780 in Texstudio::readSettings(bool) ()
#8  0x000055555592c389 in Texstudio::Texstudio(QWidget*, QFlags<Qt::WindowType>, QSplashScreen*) ()
#9  0x000055555584dd00 in TexstudioApp::init(QStringList&) ()
#10 0x00005555556e77ef in main ()
(gdb)
Comment 3 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-09-02 03:24:36 UTC
It's OK here, but I'd suggest reporting it upstream (they just cut 3.0.1 which will be in tree shortly). 

At a quick glance, wonder if https://sourceforge.net/p/texstudio/bugs/2035/ is related.
Comment 4 hsk17 2020-09-03 15:34:04 UTC
see also bug 740220

the real texstudio-3.0.1 works for me (i created a correct ebuild in my private overlay)
Comment 5 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2020-12-17 05:01:31 UTC
Please retry with 3.0.1-r1? If it fails, report upstream too.