Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 199299 - gtk+2.12.1-r1 kills mozilla thunderbird
Summary: gtk+2.12.1-r1 kills mozilla thunderbird
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: AMD64 Linux
: High major (vote)
Assignee: Mozilla Gentoo Team
URL: https://bugzilla.mozilla.org/show_bug...
Whiteboard:
Keywords:
Depends on: 196481
Blocks:
  Show dependency tree
 
Reported: 2007-11-15 21:43 UTC by nm (RETIRED)
Modified: 2007-11-16 14:55 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 nm (RETIRED) gentoo-dev 2007-11-15 21:43:23 UTC
I upgraded from gtk+-2.10.14 to 2.12.1-r1, and doing so results in thunderbird-2.0.0.6 freezing and locking up whenever I click the "reply" or "compose" buttons. So no more devmail. Downgrading to gtk+-2.10.14 fixes the issue. TB works again.

Here's the output from running thunderbird w/gtk+-2.12.1-r1, and then clicking said buttons:

$ thunderbird
No running windows found
*** glibc detected *** /usr/lib64/mozilla-thunderbird/thunderbird-bin: free(): invalid pointer: 0x0000000001ca3c30 ***
======= Backtrace: =========
/lib/libc.so.6[0x2b3913ef9b0b]
/lib/libc.so.6(cfree+0x8c)[0x2b3913efd23c]
/usr/lib64/mozilla-thunderbird/components/libgfx_gtk.so[0x2aaab1c8550d]
/usr/lib64/mozilla-thunderbird/components/libgfx_gtk.so[0x2aaab1ca0bd5]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2db63cf]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2db70b6]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2df99c4]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8392]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8ca0]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef99a5]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8312]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8ca0]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef99a5]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8312]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8ca0]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef99a5]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8312]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8ca0]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef99a5]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8312]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8ca0]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef99a5]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8312]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8ca0]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef99a5]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8312]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8ca0]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef99a5]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8312]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8ca0]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef99a5]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8312]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8ca0]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef99a5]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2ef8312]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2df11d4]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2df1042]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2df093d]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab2dce6dc]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab306f033]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab30719c7]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab307857a]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab30797bf]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab307a490]
/usr/lib64/mozilla-thunderbird/components/libgklayout.so[0x2aaab306ecf0]
/usr/lib64/mozilla-thunderbird/components/libwidget_gtk2.so[0x2aaaafe95f9b]
/usr/lib64/mozilla-thunderbird/components/libwidget_gtk2.so[0x2aaaafe8e629]
/usr/lib64/mozilla-thunderbird/components/libwidget_gtk2.so[0x2aaaafe8e6b0]
/usr/lib/libgtk-x11-2.0.so.0[0x2b3911ad96dd]
/usr/lib/libgobject-2.0.so.0(g_closure_invoke+0x109)[0x2b3912ce5be9]
/usr/lib/libgobject-2.0.so.0[0x2b3912cf59d1]
/usr/lib/libgobject-2.0.so.0(g_signal_emit_valist+0x61e)[0x2b3912cf6a4e]
/usr/lib/libgobject-2.0.so.0(g_signal_emit+0x83)[0x2b3912cf6e63]
/usr/lib/libgtk-x11-2.0.so.0[0x2b3911bdbb0e]
/usr/lib/libgtk-x11-2.0.so.0(gtk_main_do_event+0x430)[0x2b3911ad3bb0]
/usr/lib/libgdk-x11-2.0.so.0[0x2b3911f6

* * *

$ emerge --info
Portage 2.1.3.19 (default-linux/amd64/2007.0, gcc-4.1.2, glibc-2.6.1-r0, 2.6.22.1-night-r2 x86_64)
=================================================================
System uname: 2.6.22.1-night-r2 x86_64 AMD Athlon(tm) 64 X2 Dual Core Processor 4600+
Timestamp of tree: Thu, 15 Nov 2007 06:00:01 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p17
dev-java/java-config: 1.3.7, 2.0.33-r1
dev-lang/python:     2.4.4-r6
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.9-r2
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.61-r1
sys-devel/automake:  1.5, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.3.16
sys-devel/libtool:   1.5.24
virtual/os-headers:  2.6.22-r2
ACCEPT_KEYWORDS="amd64"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
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/share/X11/xkb /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/udev/rules.d"
CXXFLAGS="-march=athlon64 -O2 -pipe -fomit-frame-pointer -msse3"
DISTDIR="/usr/portage/distfiles"
FEATURES="ccache distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LINGUAS="en"
MAKEOPTS="-j4"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_EXTRA_OPTS="--timeout=20 --exclude-from=/etc/portage/rsync_excludes"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --filter=H_**/files/digest-*"
PORTDIR="/usr/portage"
USE="X a52 aac acpi alsa amd64 berkdb bitmap-fonts bluetooth branding cairo cdr cli cracklib crypt cups dbus dri dvd dvdr dvdread encode firefox flac foomaticdb fortran gdbm gif gnome gpm gtk hal iconv isdnlog jack jpeg lame libnotify libwww lm_sensors mad midi mime mmx mp3 mpeg mudflap ncurses nptl nptlonly nvidia ogg opengl openmp pam pcre pdf perl png pppd python quicktime readline reflection session spell spl sse sse2 ssl startup-notification svg tcpd truetype truetype-fonts type1-fonts unicode usb vorbis xml xorg zlib" ALSA_CARDS="ice1724" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" ELIBC="glibc" INPUT_DEVICES="keyboard mouse" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="en" USERLAND="GNU" VIDEO_CARDS="nvidia"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS

* * *

Steps to reproduce:
1. Upgrade gtk+ to 2.12.1-r1
2. Launch thunderbird and try to send messages
3. Workaround: downgrade to gtk+-2.10.14
Comment 1 Mart Raudsepp gentoo-dev 2007-11-15 21:52:13 UTC
Not a gtk+ problem. We will not go back to using malloc for GtkBorder and GtkRequisition structures by reverting gtk+ upstream relatively huge improvements to memory handling (as huge as using the perfect fit memory allocator for a certain type of structure can be) of these widely copied around structures.
This is a gecko problem that is fixed in 1.8.0.14 and 1.8.1.8 as per https://bugzilla.mozilla.org/show_bug.cgi?id=389801

Feel free to convert this to a bug for the mozilla team to make sure the stable versions contain a fix. We discussed this issue a month or more back with armin76 over IRC and it maybe didn't get a bug and therefore wasn't a blocker for the gtk2.12 compatibility tracker bug.
Comment 2 Mart Raudsepp gentoo-dev 2007-11-15 22:01:50 UTC
Reopening it to give it to the mozilla guys
Comment 3 Mart Raudsepp gentoo-dev 2007-11-15 22:08:50 UTC
mozilla-thunderbird problem in using buggy gecko that uses wrong deallocation function for GtkBorder and GtkRequisition then.
Bug 175803 might be caused by this as well, but the backtrace looks quite different so not sure (also not sure why 175803 didn't get passed on to anyone if it's supposedly a theme problem, which is unlikely..).

The obvious fix is to stop slacking and bumping TB from current latest in portage 2.0.0.6 version to last upstream 2.0.0.9 version or anything released after it was fixed in gecko (that has the necessary version cited above). This is probably urgent, as a broken TB is no fun for a release.
The upstream bug is here: https://bugzilla.mozilla.org/show_bug.cgi?id=389801
It has been fixed upstream since end of September, so probably even 2.0.0.7 or 2.0.0.8 has it fixed if two day old 2.0.0.9 is too fancy for fasttracking to stable.
Comment 4 Mike Doty (RETIRED) gentoo-dev 2007-11-15 23:36:44 UTC
2.0.0.9 is meant to go stable, so hopefully that'll resolve this.
Comment 5 nm (RETIRED) gentoo-dev 2007-11-16 05:07:22 UTC
(In reply to comment #4)
> 2.0.0.9 is meant to go stable, so hopefully that'll resolve this.

Re-upgraded to gtk+-2.12.1-r1 and upgraded to the newly stabilized tb-2.0.0.9, and tb works just fine now. Thanks.
Comment 6 Samuli Suominen (RETIRED) gentoo-dev 2007-11-16 14:45:47 UTC
amd64 has 2.0.0.9 stable, nothing left for us here -> removing CC
Comment 7 Raúl Porcel (RETIRED) gentoo-dev 2007-11-16 14:55:49 UTC
Closing, then