Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 542254 - dev-qt/qtcore-5.4.1 crashes when an application tries to print
Summary: dev-qt/qtcore-5.4.1 crashes when an application tries to print
Status: RESOLVED DUPLICATE of bug 532140
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Library (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Qt Bug Alias
Depends on:
Reported: 2015-03-05 12:53 UTC by Helmut Jarausch
Modified: 2015-03-05 17:03 UTC (History)
0 users

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


Note You need to log in before you can comment on or make changes to this bug.
Description Helmut Jarausch 2015-03-05 12:53:23 UTC
Both, app-text/qpdfview-0.4.13 and www-client/qupzilla-1.8.6 when built with qt5 (dev-qt/qtcore-5.4.1) crash immediately when the application tries to print.
This occurs before any pop-up menu for printing appears.

Here is a backtrace for qupzilla :
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) where
#0  0x0000000000000000 in ?? ()
#1  0x00007ffff72dbf32 in QDialog::setVisible(bool) ()
   from /usr/lib64/
#2  0x00007ffff7a22b2c in WebView::printPage (this=0x1e23a40, frame=0x0)
    at webkit/webview.cpp:817
#3  0x00007ffff7a6585e in WebView::qt_static_metacall (_o=0x1e23a40, 
    _c=QMetaObject::InvokeMetaMethod, _id=20, _a=0x7fffffffbdf0)
    at ../../build/moc_webview.cpp:336
#4  0x00007ffff48b3437 in QMetaObject::activate(QObject*, int, int, void**) ()
   from /usr/lib64/
#5  0x00007ffff70e37a2 in QAction::triggered(bool) ()
   from /usr/lib64/
#6  0x00007ffff70e5fa8 in QAction::activate(QAction::ActionEvent) ()
   from /usr/lib64/
#7  0x00007ffff7252272 in QMenuPrivate::activateCausedStack(QList<QPointer<QWidget> > const&, QAction*, QAction::ActionEvent, bool) ()
   from /usr/lib64/
#8  0x00007ffff7257e7c in QMenuPrivate::activateAction(QAction*, QAction::ActionEvent, bool) () from /usr/lib64/
#9  0x00007ffff725c64a in QMenu::mouseReleaseEvent(QMouseEvent*) ()
   from /usr/lib64/
#10 0x00007ffff79f29d6 in Menu::mouseReleaseEvent (this=0x1e16700, 
    e=0x7fffffffc4d0) at tools/enhancedmenu.cpp:64
#11 0x00007ffff71337a8 in QWidget::event(QEvent*) ()
   from /usr/lib64/
#12 0x00007ffff725ce93 in QMenu::event(QEvent*) ()
   from /usr/lib64/
#13 0x00007ffff70edc6c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib64/
#14 0x00007ffff70f3b9e in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib64/
#15 0x00007ffff488223b in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib64/
#16 0x00007ffff70f2632 in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) ()
   from /usr/lib64/
#17 0x00007ffff714ca55 in QWidgetWindow::handleMouseEvent(QMouseEvent*) ()
   from /usr/lib64/
#18 0x00007ffff714efcb in QWidgetWindow::event(QEvent*) ()
   from /usr/lib64/
#19 0x00007ffff70edc6c in QApplicationPrivate::notify_helper(QObject*, QEvent*)
    () from /usr/lib64/
#20 0x00007ffff70f32a0 in QApplication::notify(QObject*, QEvent*) ()
   from /usr/lib64/
#21 0x00007ffff488223b in QCoreApplication::notifyInternal(QObject*, QEvent*)
    () from /usr/lib64/
#22 0x00007ffff2e0a81c in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /usr/lib64/
#23 0x00007ffff2e0c455 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /usr/lib64/
#24 0x00007ffff2df0571 in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/
#25 0x00007fffe928ae10 in userEventSourceDispatch(_GSource*, int (*)(void*), void*) () from /usr/lib64/qt5/plugins/platforms/
#26 0x00007fffef100744 in g_main_context_dispatch ()
   from /usr/lib64/
#27 0x00007fffef100a25 in g_main_context_iterate.isra ()
   from /usr/lib64/
#28 0x00007fffef100aec in g_main_context_iteration ()
   from /usr/lib64/
#29 0x00007ffff48dbaf4 in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/
#30 0x00007ffff487f972 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib64/
#31 0x00007ffff488781c in QCoreApplication::exec() ()
   from /usr/lib64/
#32 0x0000000000404c99 in main (argc=1, argv=0x7fffffffcfe8) at main.cpp:192

emerge --info www-client/qupzilla
Portage 2.2.17 (python 3.4.3-final-0, default/linux/amd64/13.0/desktop, gcc-4.9.2, glibc-2.20-r2, 4.0.0-rc2 x86_64)
                         System Settings
System uname: Linux-4.0.0-rc2-x86_64-AMD_Phenom-tm-_II_X4_940_Processor-with-gentoo-2.2
KiB Mem:     7906164 total,   2398968 free
KiB Swap:    2097148 total,   2095396 free
Timestamp of repository gentoo: Thu, 05 Mar 2015 06:15:01 +0000
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.25 p1.0) 2.25
ccache version 3.2.1 [disabled]
app-shells/bash:          4.3_p33-r2::gentoo
dev-java/java-config:     2.2.0::gentoo
dev-lang/perl:            5.20.2::gentoo
dev-lang/python:          2.7.9-r2::gentoo, 3.4.3::gentoo
dev-util/ccache:          3.2.1-r1::gentoo
dev-util/cmake:           3.1.0::gentoo
dev-util/pkgconfig:       0.28-r2::gentoo
sys-apps/baselayout:      2.2::gentoo
sys-apps/openrc:          0.13.11::gentoo
sys-apps/sandbox:         2.6-r1::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.9.6-r4::gentoo, 1.10.3-r1::gentoo, 1.11.6-r1::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 1.14.1::gentoo, 1.15::gentoo
sys-devel/binutils:       2.25::gentoo
sys-devel/gcc:            4.8.4::gentoo, 4.9.2::gentoo, 5.0.0_alpha20150118::local
sys-devel/gcc-config:     1.8::gentoo
sys-devel/libtool:        2.4.6::gentoo
sys-devel/make:           4.1-r1::gentoo
sys-kernel/linux-headers: 3.19::gentoo (virtual/os-headers)
sys-libs/glibc:           2.20-r2::gentoo

    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://
    priority: -1000

    location: /usr/local/portage
    masters: gentoo
    priority: 0

    location: /usr/local/portage/layman/sunrise
    masters: gentoo
    priority: 1

    location: /usr/local/portage/layman/lisp
    masters: gentoo
    priority: 2

ACCEPT_KEYWORDS="amd64 ~amd64"
CFLAGS="-mtune=native -O2 -msse3 -pipe"
CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /usr/share/gnupg/qualified.txt /var/lib/hsqldb /var/lib/neatx/home"
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.4/ext-active/ /etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ /etc/php/cgi-php5.4/ext-active/ /etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ /etc/php/cli-php5.4/ext-active/ /etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/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="-mtune=native -O2 -msse3 -pipe"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs buildpkg config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
FFLAGS="-O2 -pipe"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
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"
USE="3dnow 3dnowext 3dnowprefetch X a52 aac acl acpi alsa amd64 avahi berkdb branding bzip2 cairo cdda cdr cli consolekit cracklib crypt cups cxx dbus dri dts dvd dvdr emboss encode exif fam ffmpeg fftw firefox flac fortran fuse gdbm gfortran gif gimp glamor gpm gtk gtk3 iconv ipv6 jpeg lapack lcms libnotify mad mmx mmxext mng modules mp3 mp4 mpeg multilib ncurses nls nptl nptlonly ogg opengl openmp pam pango pcre pdf png policykit ppds python qt qt3support qt4 qt5 readline sdl session smp spell sqlite sqlite3 sse sse2 sse3 sse4a ssl startup-notification svg systemd tcl tcpd threads tiff tk truetype udev udisks unicode upower usb vorbis wxwidgets x264 xcb xml xulrunner xv xvid 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" CPU_FLAGS_X86="3dnow mmx 3dnowext mmxext popcnt sse sse2 sse3 sse4a" 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="pc multiboot" INPUT_DEVICES="keyboard mouse evdev wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python3_4" RUBY_TARGETS="ruby22" USERLAND="GNU" VIDEO_CARDS="radeon radeonsi" 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"
Comment 1 Michael Palimaka (kensington) gentoo-dev 2015-03-05 17:03:51 UTC

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