Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 643224 - mail-client/evolution-3.24.5 crashes when attempting to print mails
Summary: mail-client/evolution-3.24.5 crashes when attempting to print mails
Status: RESOLVED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-01-03 12:15 UTC by Volker Wegert
Modified: 2018-01-07 20:54 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 Volker Wegert 2018-01-03 12:15:25 UTC
Evolution crashes reproducibly every time I try to print a mail using LPR. I can "print to a PDF file" without any issues, but printing directly reproducibly causes a hard crash with the following messages on the console:

(evolution:26654): evolution-util-CRITICAL **: e_activity_get_alert_sink: assertion 'E_IS_ACTIVITY (activity)' failed

(evolution:26654): evolution-util-CRITICAL **: e_activity_handle_cancellation: assertion 'E_IS_ACTIVITY (activity)' failed

(evolution:26654): evolution-util-CRITICAL **: e_activity_set_state: assertion 'E_IS_ACTIVITY (activity)' failed

(evolution:26654): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed

(evolution:26654): GLib-GObject-CRITICAL **: g_object_unref: assertion 'G_IS_OBJECT (object)' failed
Speicherzugriffsfehler

USE flags:
mail-client/evolution-3.24.5:2.0::gentoo  USE="bogofilter crypt geolocation highlight spell ssl weather -archive -ldap -spamassassin"

emerge --info:
Portage 2.3.13 (python 2.7.14-final-0, default/linux/amd64/17.0, gcc-6.4.0, glibc-2.25-r9, 4.12.12-gentoo x86_64)
=================================================================
System uname: Linux-4.12.12-gentoo-x86_64-AMD_Phenom-tm-_II_X4_955_Processor-with-gentoo-2.4.1
KiB Mem:     7923008 total,    803392 free
KiB Swap:   16777212 total,  16765948 free
Timestamp of repository gentoo: Sat, 30 Dec 2017 13:30:01 +0000
Head commit of repository gentoo: 8eb2eb4711f9d696f3cb19fef852f4063220b8d3
sh bash 4.3_p48-r1
ld GNU ld (Gentoo 2.29.1 p3) 2.29.1
app-shells/bash:          4.3_p48-r1::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.3::gentoo
dev-lang/python:          2.7.14-r1::gentoo, 3.4.5-r1::gentoo, 3.5.4-r1::gentoo, 3.6.3-r1::gentoo
dev-util/cmake:           3.9.6::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r2::gentoo
sys-apps/openrc:          0.34.11::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.15.1-r1::gentoo
sys-devel/binutils:       2.29.1-r1::gentoo
sys-devel/gcc:            6.4.0::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r3::gentoo
sys-devel/make:           4.2.1::gentoo
sys-kernel/linux-headers: 4.4::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r9::gentoo
Repositories:

gentoo
    location: /usr/portage
    sync-type: rsync
    sync-uri: rsync://rsync.gentoo.org/gentoo-portage
    priority: -1000
    sync-rsync-extra-opts: 

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

godin
    location: /var/lib/layman/godin
    masters: gentoo
    priority: 50

ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=amdfam10 -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/easy-rsa /usr/share/gnupg/qualified.txt /usr/share/maven-bin-3.3/conf /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-php7.0/ext-active/ /etc/php/apache2-php7.1/ext-active/ /etc/php/cgi-php7.0/ext-active/ /etc/php/cgi-php7.1/ext-active/ /etc/php/cli-php7.0/ext-active/ /etc/php/cli-php7.1/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="-march=amdfam10 -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -pipe"
FEATURES="assume-digests binpkg-logs clean-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync multilib-strict news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O2 -pipe"
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j2"
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 acl amd64 apache2 avahi avi bash-completion berkdb bzip2 cli cracklib crypt cxx dbus divx4linux dri dv dvdread fame fortran gdbm iconv ipv6 mjpeg modules mpeg multilib ncurses nls nptl nptlonly ogg openmp pam pcre pulseaudio quicktime readline samba seccomp session slp ssl tcpd unicode vhosts xattr xulrunner 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="actions alias auth_basic auth_digest authn_anon authn_core uthn_dbd authn_dbm authn_default authn_file authz_core authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_connect proxy_http rewrite setenvif so socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="prefork" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="3dnow 3dnowext mmx mmxext popcnt sse sse2 sse3 sse4a" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput keyboard mouse" KERNEL="linux" L10N="de en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de en" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6 php7-0" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby19 ruby20 ruby21" USERLAND="GNU" VIDEO_CARDS="amdgpu fbdev intel nouveau radeon radeonsi vesa dummy v4l" 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_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jonas Stein gentoo-dev 2018-01-05 07:42:42 UTC
Thank you for your comprehensive report. To me it sounds like 
a bug in the software provided upstream or a misconfiguration in your system [3].
Does the same source work for you on another distribution?
For a start, check if you got already messages from the compiler and recompile this ebuild and it dependencies.

If it works on other distributions, but not on Gentoo Linux, I suggest to discuss this problem 
on a related mailing list, forum or IRC channel. I have had very good experience on the 
Gentoo IRC [1], of course there are also forums and mailing lists. [2]

I will close this bug here, because I do not see a relation to the gentoo ebuild or the way 
Gentoo handles this special software package. Please provide more information, if I am wrong. And then please use LANG=C for logs and *attach* the logfiles,
https://wiki.gentoo.org/wiki/Attach_the_logs_to_the_bug_ticket
and reopen this ticket (Status:unconfirmed).


[1] https://www.gentoo.org/get-involved/irc-channels/
[2] https://www.gentoo.org/support/
[3] look up the upstream forums search in their bugtracker
Comment 2 Mart Raudsepp gentoo-dev 2018-01-05 14:10:04 UTC
So you actually use lpr GtkPrintDialog, instead of CUPS?
Comment 3 Mart Raudsepp gentoo-dev 2018-01-05 14:11:56 UTC
And does such printing work in other gtk programs?
Comment 4 Volker Wegert 2018-01-07 19:28:22 UTC
@Mart - I use the built-in print dialog and have no idea what that uses internally. At the moment, I do not have any other GTK programs to check, and since I was told to be off, I'm not sure whether I should go through the hassle of installing one just to be told that I should report the bug to upstream again.
Comment 5 Mart Raudsepp gentoo-dev 2018-01-07 19:48:06 UTC
Do you have USE=cups enabled on x11-libs/gtk+:3?
equery u gtk+:3
Comment 6 Volker Wegert 2018-01-07 20:54:26 UTC
USE=cups was not enabled on GTK+ (not sure why, since I've been using it for years exclusively). Enabling the cups USE flag on GTK+ changes the print dialog and solves the issue for me.