Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 50006 - Evolution 1.4.6 crashes when attempting to print
Summary: Evolution 1.4.6 crashes when attempting to print
Status: RESOLVED INVALID
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: Gentoo Linux Gnome Desktop Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-05-04 11:50 UTC by Mark Knecht
Modified: 2004-05-05 02:23 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 Mark Knecht 2004-05-04 11:50:43 UTC
Attempting to print any email in Evolution 1.4.6 is causing a hard crash of Evolution on one of my two Gentoo boxes only. I get a crash notification box telling me there was a segmentation fault and pointing me to a Gnome site. Upon dismissing that box Evolution completely goes away.

I get the same problem whether I try to print to a PDF printer or a hardware printer. All printing is through CUPS. 

I cannot find any message files for CUPS or Evolution that indicate what might be happening. 

This may be related to our trying to set up another printer under CUPS, but all other Linux applications we have tried are still printing fine.

Evolution was updated from 1.4.5 to 1.4.6. The problem did not occur immediately but started not long after the upgrade. (i.e. - Evolution did print for a while.)

Reproducible: Always
Steps to Reproduce:
1. Start Evolution
2. Open any email
3. Hit the print icon or print from the file menu.
4. Crash occurs immediately.

Actual Results:  
Segfault and Evolution dies. I see this in the terminal I start Evolution from:

mark@gandalf mark $ evolution

(evolution:21744): camel-WARNING **: Encountered Windows charset parading as iso
                                              
-8859-1

(evolution:21744): camel-WARNING **: Cannot convert from 'windows-cp1252' to 'UT
                                              
F-8': Invalid or incomplete multibyte or wide character

(evolution:21744): camel-WARNING **: Storing text as raw, unknown charset 'windo
                                              
ws-cp1252' or invalid format

** (evolution:21739): CRITICAL **: file atkobject.c: line 625 (atk_object_ref_re
                                              
lation_set): assertion `ATK_IS_OBJECT (accessible)' failed

** (evolution:21739): CRITICAL **: file atkrelationset.c: line 154 (atk_relation
                                              
_set_add): assertion `ATK_IS_RELATION_SET (set)' failed

(evolution:21739): GLib-GObject-CRITICAL **: file gobject.c: line 1337 (g_object
                                              
_unref): assertion `G_IS_OBJECT (object)' failed

** (evolution:21739): CRITICAL **: file atkobject.c: line 625 (atk_object_ref_re
                                              
lation_set): assertion `ATK_IS_OBJECT (accessible)' failed

** (evolution:21739): CRITICAL **: file atkrelationset.c: line 154 (atk_relation
                                              
_set_add): assertion `ATK_IS_RELATION_SET (set)' failed

(evolution:21739): GLib-GObject-CRITICAL **: file gobject.c: line 1337 (g_object
                                              
_unref): assertion `G_IS_OBJECT (object)' failed

** (evolution:21739): CRITICAL **: file atkobject.c: line 625 (atk_object_ref_re
                                              
lation_set): assertion `ATK_IS_OBJECT (accessible)' failed

** (evolution:21739): CRITICAL **: file atkrelationset.c: line 154 (atk_relation
                                              
_set_add): assertion `ATK_IS_RELATION_SET (set)' failed

(evolution:21739): GLib-GObject-CRITICAL **: file gobject.c: line 1337 (g_object
                                              
_unref): assertion `G_IS_OBJECT (object)' failed
mark@gandalf


Printing fails for me running remotely and it fails for my father running
locally. We are both printing to the same CUPS printer. We can both print to
that printer using other apps.

Possibly thee is some config file within Evolution that could be erased and
recreated that might help this, but I've looked and haven't spotted it yet.

Expected Results:  
Should print and not die.

Portage 2.0.50-r6 (default-x86-1.4, gcc-3.3.2, glibc-2.3.2-r9, 2.4.22-aa1)
=================================================================
System uname: 2.4.22-aa1 i686 AMD Athlon(tm) XP 2500+
Gentoo Base System version 1.4.10
Autoconf: sys-devel/autoconf-2.58-r1
Automake: sys-devel/automake-1.8.3
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1
                                              
/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/lib/mozilla
                                              
/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://gentoo.oregonstate.edu http://distro.ibiblio.org/pub/Linu
                                              
x/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X aalib alsa apm arts avi berkdb cdr crypt cups dvd dvdr encode esd foomati
                                              
cdb gdbm gif gnome gpm gtk gtk2 imlib jack jack-tmpfs java jpeg kack-caps kde li
                                              
bg++ libwww mad mikmod motif mozilla mpeg ncurses nls oggvorbis opengl oss pam p
                                              
dflib perl png python qt quicktime readline sdl slang spell ssl svga tcpd truety
                                              
pe x86 xml2 xmms xv zlib"

gandalf root # 



These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild   R   ] net-mail/evolution-1.4.6  +crypt -doc -ipv6 +kde -kerberos -ldap
+mozilla -pda +spell +ssl  0 kB 

Total size of downloads: 0 kB

gandalf root #
Comment 1 foser (RETIRED) gentoo-dev 2004-05-04 13:56:13 UTC
we need a backtrace, you probably have to rebuild for that with full debugging support (not just evo, but also some lower level libs : libgnomeprint* at least.

http://bugzilla.gnome.org/getting-traces.cgi
Comment 2 Mark Knecht 2004-05-04 17:33:14 UTC
Hi,
   I'm happy to give it a try, but I'm a user type so I think I'll need some info that's a bit more Gentoo specific and aimed .

1) From the link it says to watch out for certain compiler options. Do I need to change any of these? (-O3 looks like one, but what about the others?)

CXXFLAGS="-O3 -march=athlon-xp -funroll-loops -fprefetch-loop-arrays -pipe"

2) How do I actually do the rebuild? Is it just to add the debug flag and do a new emerge?

3) Once rebuilt I guess I run Evolution inside ofgdb? I've never done this successfully so hang tight when I need some help there.

Thanks!
Comment 3 Mark Knecht 2004-05-04 18:55:38 UTC
I rebuilt evolution, libgnomeprint, libgnomeprintui and libgnomecups. The problem has gone away.

I have a suspicion that possibly the ebuild for Evolution 1.4.6 should include libgnomeprint/printui? They were sort of older versions (2.2.4) and got updated to 2.4 versions tonight.

Anyway, the problem seems to have disappeared. I guess we can dismiss this bug unless you think there is some action you should take with the ebuild.

Thanks!
Comment 4 foser (RETIRED) gentoo-dev 2004-05-05 02:23:15 UTC
hm no, not at this point. We need more and reproducable info before we can do anything. But evo 1.4 is not the current development branch, so I'm not too interested in finding out.

Closing INVALID (not-reproducable).