Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 283864 - mail-client/mozilla-thunderbird-2.0.0.[22,23] & x11-plugins/enigmail-0.95.7-r5 freeze with gcc 4.4.1
Summary: mail-client/mozilla-thunderbird-2.0.0.[22,23] & x11-plugins/enigmail-0.95.7-r...
Status: RESOLVED DUPLICATE of bug 246421
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mozilla Gentoo Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-06 17:09 UTC by Manfred Knick
Modified: 2009-12-24 13:59 UTC (History)
3 users (show)

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


Attachments
enigmail-0.95.7-r5.ebuild.diff : add enigmail-no-strict-aliasing.patch (enigmail-0.95.7-r5.ebuild.diff,354 bytes, text/plain)
2009-09-08 05:58 UTC, Manfred Knick
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Manfred Knick 2009-09-06 17:09:51 UTC
Already _saving_ a draft freezes thunderbird.
Disabling auto-save temporarily helps;
but sending an mail implicitly needs to save,
thus trying to _send_ also freezes thunderbird.
Comment 1 Manfred Knick 2009-09-06 17:11:39 UTC
# equery list xulrunner
[ Searching for package 'xulrunner' in all categories among: ]
 * installed packages
[I--] [  ] net-libs/xulrunner-1.8.1.19 (1.8)
[I--] [ ~] net-libs/xulrunner-1.9.1.2-r2 (1.9)

# equery list thunderbird
[ Searching for package 'thunderbird' in all categories among: ]
 * installed packages
[I--] [ ~] mail-client/mozilla-thunderbird-2.0.0.23 (0)
Comment 2 Manfred Knick 2009-09-06 17:12:04 UTC
# emerge --info
Portage 2.1.6.13 (default/linux/amd64/2008.0/desktop, gcc-4.4.1, glibc-2.9_p20081201-r3, 2.6.30-gentoo-r6 x86_64)
=================================================================
System uname: Linux-2.6.30-gentoo-r6-x86_64-AMD_Phenom-tm-_9950_Quad-Core_Processor-with-gentoo-1.12.12
Timestamp of tree: Sun, 06 Sep 2009 15:45:01 +0000
app-shells/bash:     3.2_p39
dev-java/java-config: 2.1.8-r1
dev-lang/python:     2.6.2-r1
dev-util/cmake:      2.6.4-r2
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.6-r2
sys-devel/autoconf:  2.13, 2.63-r1
sys-devel/automake:  1.4_p6, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.2
sys-devel/binutils:  2.18-r3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.30-r1
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=native        -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/lib64/fax /usr/share/config /var/lib/hsqldb /var/spool/fax/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/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 /etc/udev/rules.d"
CXXFLAGS="-march=native        -O2 -pipe"
DISTDIR="/Storage-C/Portage_tmp/distfiles"
FEATURES="distlocks fixpackages parallel-fetch protect-owned sandbox sfperms strict unmerge-orphans userfetch"
GENTOO_MIRRORS="http://de-mirror.org/distro/gentoo/"
LANG="de_DE.UTF8"
LC_ALL="de_DE.UTF8"
LDFLAGS="-Wl,-O1"
LINGUAS="de"
MAKEOPTS="-j5"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/Storage-B/Portage_tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage/local-overlay"
SYNC="rsync://linux.rz.ruhr-uni-bochum.de/gentoo-portage"
USE="X a52 aac acl acpi alsa amd64 apache2 bash-completion berkdb branding bzip2 cairo cdr cli cracklib crypt cups dbus doc dri dts dvb dvd dvdr eds emboss encode esd evo examples fam fax ffmpeg firefox firefox3 flac foomaticdb fortran gdbm gif gimp gnome gphoto2 gpm gstreamer gtk h323 hal hbci htmlhandbook iconv ipv6 isdnlog jadetex java jce jpeg kde ldap libnotify lm_sensors mad maildir mbox mikmod mmx mng mp3 mp4 mpeg mudflap multilib mysql ncurses nls nptl nptlonly nsplugin nvidia ogg opengl openmp pam pcre pdf perl pmu png ppds pppd python qt3 qt3support qt4 quicktime readline reflection samba sasl scanner sdl session sip snmp spell spl sql sse sse2 sse3 sse4a ssl startup-notification subversion svg sysfs tcpd theora thunar tiff truetype unicode usb v4l v4l2 vorbis webkit x264 xcomposite xml xorg xulrunner xv xvid zlib zvbi" 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" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="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 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" ELIBC="glibc" FRITZCAPI_CARDS="fcpci" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de" MISDN_CARDS="avmfritz" SANE_BACKENDS="hp" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 3 Manfred Knick 2009-09-07 09:28:59 UTC
Having installed gcc-4.3.4 again (slotted):

# equery list gcc
[I--] [ ~] sys-devel/gcc-4.3.4 (4.3)
[I--] [ ~] sys-devel/gcc-4.4.1 (4.4)

and
# export PATH="/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4/:$PATH"

re-merging with the "old" gcc didn't help.

==> The problem is not localized in the pure thunderbird-code itself. <==

Re-merging net-libs/xulrunner with the "old" gcc didn't help either.

Any other info you prefer provided ?
Comment 4 Manfred Knick 2009-09-07 09:43:09 UTC
Further freezes after receiving new e-mail (POP-3) when loading the new message.
Comment 5 Manfred Knick 2009-09-07 12:39:22 UTC
(Sorry, but every single test involves killing thunderbird-process / restart. )

Opening a pure-ASCII e-mail reveals no problem at all.
Just re-edit "as new" freezes.

Starting Thunderbird from an x-term:

Opening an e-mail containing pure-ascii attachment works, but
trying to open the attacht xxx.txt throws:
** (gedit:14885): WARNING **: Throbber animation not found
** (gedit:14885): WARNING **: Throbber fallback animation not found either

Opening an e-mail containing just a .pdf attachment freezes.

. . . HINT:

This problem arouse after a _complete_ re-build (system/world) with gcc-4.4.1.
Even another complete re-build (system/world)1 with gcc-4.4.1 results into no difference at all.
Checking with revdep-rebuild yielded "consistent".
No other (error) output into the x-term.
Comment 6 Manfred Knick 2009-09-07 18:18:06 UTC
RESULT:

 USE=-crypt  emerge -a  mail-client/mozilla-thunderbird

seems to remove problems reported above.

(Against paying the price with encrypted messages ...)

I don't clearly recognize why those problems occur on _un-encrypted_ mails yet :(

Comment 7 Manfred Knick 2009-09-07 19:32:09 UTC
RESULT:

. . . This bug is related to >= gcc-4.3 upon amd64.

. . . This bug is related to Bug # 246421,
. . . . . esp. http://bugs.gentoo.org/show_bug.cgi?id=246421#c38

I copied the enigmail-0.95.7-r5 ebuild into my local overlay,
added John Keeping's patch into the section:

  # Fix installation of enigmail.js
    epatch "${FILESDIR}"/70_enigmail-fix.patch
    # Make replytolist work with >0.95.0
    epatch "${FILESDIR}"/0.95.0-replytolist.patch

    #                                                               - mkn.
    epatch "${FILESDIR}"/enigmail-no-strict-aliasing.patch      <-----
    #                                                               - mkn.
,
    create the manifest,
    emerge -a1  x11-plugins/enigmail

and was able to use thunderbird with enigmail again.


The section 

   # Bug 246421
    # Breaks builds with gcc-4.3 on amd64
    if use amd64 && [[ $(gcc-version) == "4.3" ]]; then
        mozconfig_annotate 'gcc-4.3 breaks build on amd64 with -O2+' --enable-optimize=-Os
    fi

a little bit later on is quite unfortunate, indeed :     4.4 != 4.3     ;(
Comment 8 Manfred Knick 2009-09-08 05:58:08 UTC
Created attachment 203440 [details]
enigmail-0.95.7-r5.ebuild.diff : add enigmail-no-strict-aliasing.patch 

enigmail-0.95.7-r5.ebuild.diff

added enigmail-no-strict-aliasing.patch from 
. . --> http://bugs.gentoo.org/show_bug.cgi?id=246421#c38
Comment 9 Jory A. Pratt gentoo-dev 2009-12-24 13:59:07 UTC

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