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

Bug 527562

Summary: app-editors/juffed-0.10 - juffed: segmentation fault in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /usr/lib64/qt4/libQtGui.so.4
Product: Gentoo Linux Reporter: gromnie
Component: Current packagesAssignee: Qt Bug Alias <qt>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: AMD64   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 634970    

Description gromnie 2014-10-31 08:48:08 UTC
launching juffed after disabling the 'documents list' plugin within tools->settings results in segfault.
app-editors/juffed-0.10 

Starting program: /usr/bin/juffed 
warning: Could not load shared library symbols for linux-vdso.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib64/libthread_db.so.1".
libpng warning: iCCP: known incorrect sRGB profile
"[01:36:20]" "--- Plugin 'Autosave' is disabled in Settings." 
"[01:36:20]" "--- Plugin 'Color Picker' is disabled in Settings." 
"[01:36:20]" "--- Plugin 'Documents List' is disabled in Settings." 
"[01:36:20]" "+++ Plugin 'Favorites' was loaded successfully." 
"[01:36:20]" "+++ Plugin 'Find In Files' was loaded successfully." 
[New Thread 0x7fffef754700 (LWP 4126)]
"[01:36:20]" "+++ Plugin 'File manager' was loaded successfully." 
"[01:36:20]" "+++ Plugin 'Keybindings' was loaded successfully." 
"[01:36:20]" "+++ Plugin 'Sort Document' was loaded successfully." 
"[01:36:20]" "+++ Plugin 'Symbol_browser' was loaded successfully." 
"[01:36:21]" "+++ Plugin 'XML Formatter' was loaded successfully." 
"[01:36:21]" "Session '/home/oce/.config/juff/sessions/_empty_session_' opened successfully" 
"[01:36:21]" "Session '/home/oce/.config/juff/sessions/_empty_session_' was parsed successfully" 
libpng warning: iCCP: known incorrect sRGB profile

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6e84ee9 in QApplicationPrivate::notify_helper(QObject*, QEvent*) ()
   from /usr/lib64/qt4/libQtGui.so.4

[ebuild   R    ] dev-qt/qtcore-4.8.5-r2:4  USE="exceptions glib iconv ssl (-aqua) -debug -icu -pch -qt3support" 235832 KiB

Portage 2.2.14 (python 3.3.5-final-0, default/linux/amd64/13.0/no-multilib, gcc-4.8.3, glibc-2.19-r1, 3.17.2 x86_64)
=================================================================
System uname: Linux-3.17.2-x86_64-AMD_FX-tm-6100_Six-Core_Processor-with-gentoo-2.2
KiB Mem:     8150076 total,   4447800 free
KiB Swap:          0 total,         0 free
Timestamp of tree: Fri, 31 Oct 2014 00:45:01 +0000
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:          4.3_p30
dev-lang/perl:            5.20.1-r2
dev-lang/python:          2.7.8, 3.3.5-r1, 3.4.2
dev-util/cmake:           3.0.2
dev-util/pkgconfig:       0.28-r2
sys-apps/baselayout:      2.2
sys-apps/openrc:          0.13.2
sys-apps/sandbox:         2.6-r1
sys-devel/autoconf:       2.69
sys-devel/automake:       1.11.6, 1.13.4, 1.14.1
sys-devel/binutils:       2.24-r3
sys-devel/gcc:            4.8.3
sys-devel/gcc-config:     1.8
sys-devel/libtool:        2.4.3
sys-devel/make:           4.1-r1
sys-kernel/linux-headers: 3.17 (virtual/os-headers)
sys-libs/glibc:           2.19-r1
Repositories: gentoo
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=native -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
PKGDIR=""
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"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC=""
USE="X acl alsa amd64 berkdb bindist bzip2 cli cracklib crypt cxx dri ffmpeg flac fortran gdbm iconv jpeg mad mmx modules mp3 mpeg ncurses nls nptl ogg opengl openmp pam pcre png readline session sse sse2 ssl svg tcpd tiff unicode vorbis zlib" ABI_X86="64" 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="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 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" GRUB_PLATFORMS="efi-64 pc" INPUT_DEVICES="evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fglrx" 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:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, USE_PYTHON
Comment 1 Jeroen Roovers (RETIRED) gentoo-dev 2014-10-31 09:18:03 UTC
(In reply to gromnie from comment #0)
> Starting program: /usr/bin/juffed 
[...]
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff6e84ee9 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
> ()
>    from /usr/lib64/qt4/libQtGui.so.4

You forgot to run the `backtrace' command
Comment 2 gromnie 2014-11-01 22:45:34 UTC
(In reply to Jeroen Roovers from comment #1)
> (In reply to gromnie from comment #0)
> > Starting program: /usr/bin/juffed 
> [...]
> > Program received signal SIGSEGV, Segmentation fault.
> > 0x00007ffff6e84ee9 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
> > ()
> >    from /usr/lib64/qt4/libQtGui.so.4
> 
> You forgot to run the `backtrace' command

This is what shows after backtrace...
(gdb) backtrace
#0  0x00007ffff6e84ee9 in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib64/qt4/libQtGui.so.4
#1  0x00007ffff6e8b4fa in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib64/qt4/libQtGui.so.4
#2  0x00007ffff671f0cc in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib64/qt4/libQtCore.so.4
#3  0x00007ffff67220c0 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /usr/lib64/qt4/libQtCore.so.4
#4  0x00007ffff674ad8e in ?? () from /usr/lib64/qt4/libQtCore.so.4
#5  0x00007ffff50d3d2b in g_main_context_dispatch ()
   from /usr/lib64/libglib-2.0.so.0
#6  0x00007ffff50d3f48 in ?? () from /usr/lib64/libglib-2.0.so.0
#7  0x00007ffff50d3fec in g_main_context_iteration ()
   from /usr/lib64/libglib-2.0.so.0
#8  0x00007ffff674a59e in QEventDispatcherGlib::processEvents(QFlags<QEventLoop:---Type <return> to continue, or q <return> to quit---
:ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#9  0x00007ffff6f1cbce in ?? () from /usr/lib64/qt4/libQtGui.so.4
#10 0x00007ffff671de47 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#11 0x00007ffff671e10d in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/qt4/libQtCore.so.4
#12 0x00007ffff6722f59 in QCoreApplication::exec() ()
   from /usr/lib64/qt4/libQtCore.so.4
#13 0x000000000042f4e4 in runSingle(int, char**) ()
#14 0x000000000041fa48 in main ()
Comment 3 Andreas Sturmlechner gentoo-dev 2017-10-21 10:43:30 UTC
There is now a qt5-based snapshot available in tree, please test.

Any objections to cleanup and drop juffed to ~arch?
Comment 4 Larry the Git Cow gentoo-dev 2017-10-29 16:33:09 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56d213fa951b11c0bbb574b9391ff3c0f9fbb575

commit 56d213fa951b11c0bbb574b9391ff3c0f9fbb575
Author:     Andreas Sturmlechner <asturm@gentoo.org>
AuthorDate: 2017-10-29 16:30:36 +0000
Commit:     Andreas Sturmlechner <asturm@gentoo.org>
CommitDate: 2017-10-29 16:32:25 +0000

    app-editors/juffed: Drop old, qscintilla[qt4]-rdep
    
    A snapshot remains, at ~arch.
    
    Closes: https://bugs.gentoo.org/527562
    Package-Manager: Portage-2.3.13, Repoman-2.3.4

 app-editors/juffed/Manifest                        |  1 -
 .../files/0.10-link-libjuff-against-libenca.patch  | 24 ------------
 app-editors/juffed/juffed-0.10-r1.ebuild           | 44 ----------------------
 3 files changed, 69 deletions(-)