Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 146123 - mail-client/sylpheed-2.2.6 segfaults after world rebuild with GCC 4.1.1 and GLIBC 2.4.3
Summary: mail-client/sylpheed-2.2.6 segfaults after world rebuild with GCC 4.1.1 and G...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High critical (vote)
Assignee: Akinori Hattori
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
: 146122 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-03 05:04 UTC by Alex Buell
Modified: 2006-09-27 09:32 UTC (History)
2 users (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 Alex Buell 2006-09-03 05:04:45 UTC
Portage 2.1-r2 (default-linux/x86/2006.0, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 Intel(R) Pentium(R) III Mobile CPU      1133MHz
Gentoo Base System version 1.12.4
app-admin/eselect-compiler: [Not Present]
dev-lang/python:     2.4.3-r1
dev-python/pycrypto: 2.0.1-r5
dev-util/ccache:     [Not Present]
dev-util/confcache:  [Not Present]
sys-apps/sandbox:    1.2.17
sys-devel/autoconf:  2.13, 2.59-r7
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2
sys-devel/binutils:  2.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O3 -march=pentium3 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/lib/mozilla/defaults/pref /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O3 -march=pentium3 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks metadata-transfer sandbox sfperms strict"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo/"
LANG="en_GB.UTF-8"
LC_ALL="en_GB.UTF-8"
LINGUAS="en_GB"
PKGDIR="/usr/portage/packages"
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'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/root/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aac alsa apache2 apm asf avi berkdb bitmap-fonts bluetooth cli crypt cups dhcp dlloader dri dvd dvdread emboss encode exif foomaticdb fortran fuse gcj gdbm gif gimpprint glut glx gpg2-experimental gpm gstreamer gtk gtk2 imlib ipv6 isdnlog java jpeg lcms libg++ libwww mad mbox mikmod milter mmx mmxext motif mp3 mpeg mppe-mppc ncurses nls nptl nptlonly nsplugin nvidia offensive ogg opengl oss pam pcre pdflib perl png ppds pppd python qt3 qt4 quicktime readline real reflection sasl sdk sdl session spell spl sse sse2 ssl tcpd tiff timidity truetype truetype-fonts type1-fonts udev unicode usb utf8 vorbis win32codecs xface xinerama xml xmms xorg xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux linguas_en_GB userland_GNU video_cards_nv video_cards_nvidia video_cards_vesa"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LDFLAGS, MAKEOPTS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-09-03 05:07:49 UTC
*** Bug 146122 has been marked as a duplicate of this bug. ***
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2006-09-03 05:13:09 UTC
Reopen with a backtrace, thanks.

http://www.gentoo.org/proj/en/qa/backtraces.xml
Comment 3 Alex Buell 2006-09-03 05:18:17 UTC
Forgot to add additional details. After rebuilding system and world with GCC 4.1.1  / GLIBC 2.4.3, Sylpheed runs, but segfaults on certain operations. A post on the forums (see URL) suggests that Sylpheed-claws also has the same problem. All other GTK based applications works just fine. 

I'll get a backtrace dump added to this  in a while.
Comment 4 Alex Buell 2006-09-03 13:24:19 UTC
GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/sylpheed 

Program received signal SIGSEGV, Segmentation fault.
0xb79bd054 in gtk_text_insert () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) bt full
#0  0xb79bd054 in gtk_text_insert () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#1  0xb7f2d6c0 in _r_debug ()
No symbol table info available.
#2  0x00000001 in ?? ()
No symbol table info available.
#3  0xbf8be9b0 in ?? ()
No symbol table info available.
#4  0xb7f1f379 in _dl_fixup () from /lib/ld-linux.so.2
No symbol table info available.
Previous frame inner to this frame (corrupt stack?)
Comment 5 Alex Buell 2006-09-03 13:54:37 UTC
Here's trace with gtk lib debugging info attached. 

GNU gdb 6.4
Copyright 2005 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB.  Type "show warranty" for details.
This GDB was configured as "i686-pc-linux-gnu"...Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/sylpheed 

Program received signal SIGSEGV, Segmentation fault.
_gtk_text_btree_get_chars_changed_stamp (tree=0xbff20ad8) at gtktextbtree.c:538
538     gtktextbtree.c: No such file or directory.
        in gtktextbtree.c
(gdb) bt full
#0  _gtk_text_btree_get_chars_changed_stamp (tree=0xbff20ad8) at gtktextbtree.c:538
No locals.
#1  0x0808a272 in compose_wrap_paragraph (compose=0x83e2800, par_iter=0xbff20b58) at compose.c:2430
        buffer = (GtkTextBuffer *) 0x8400a78
        iter = {dummy1 = 0x83d3f50, dummy2 = 0x83d3ef0, dummy3 = 0, dummy4 = 0, dummy5 = -1, dummy6 = -1, dummy7 = 957316219, 
  dummy8 = 1731339128, dummy9 = 0x840b298, dummy10 = 0x83d1b80, dummy11 = 0, dummy12 = 0, dummy13 = -1074656328, 
  dummy14 = 0x8418788}
        break_pos = {dummy1 = 0xbff20ae4, dummy2 = 0xbff20aac, dummy3 = 0, dummy4 = 138231632, dummy5 = 138476408, dummy6 = 0, 
  dummy7 = 0, dummy8 = -1212439784, dummy9 = 0xbff20b58, dummy10 = 0x83d3ef0, dummy11 = -1074656504, dummy12 = -1213927724, 
  dummy13 = 138231536, dummy14 = 0x0}
        quote_str = <value optimized out>
        quote_len = <value optimized out>
        wrap_quote = 1
        prev_autowrap = 1
#2  0x0808af59 in compose_wrap_all_full (compose=0x83e2800, autowrap=<value optimized out>) at compose.c:2520
        buffer = <value optimized out>
        iter = {dummy1 = 0x83d3f50, dummy2 = 0x83d3ef0, dummy3 = -1, dummy4 = 0, dummy5 = 0, dummy6 = -1, dummy7 = 957316219, 
  dummy8 = 1731339128, dummy9 = 0x840b298, dummy10 = 0x83d1b80, dummy11 = -1, dummy12 = 0, dummy13 = -1074656328, 
  dummy14 = 0x8418788}
#3  0x08091f4b in compose_insert_sig (compose=0x83e2800, append=1, replace=0, scroll=0) at compose.c:2507
        buffer = (GtkTextBuffer *) 0x8400a78
        mark = (GtkTextMark *) 0x83e7790
        iter = {dummy1 = 0x83d3f50, dummy2 = 0x840fb78, dummy3 = 0, dummy4 = 0, dummy5 = -1, dummy6 = -1, dummy7 = 957316219, 
  dummy8 = 1731339127, dummy9 = 0x83d3f20, dummy10 = 0x83d1b40, dummy11 = 0, dummy12 = 0, dummy13 = -1217488816, 
  dummy14 = 0x83d3ff0}
        sig_str = (
    gchar *) 0x8418788 "-- \nhttp://www.munted.org.uk\n\nBien sur mes talons sont toxiques. N'avez vous pas vu ma boite?\n"
        prev_autowrap = 1
        __PRETTY_FUNCTION__ = "compose_insert_sig"
#4  0x08099cee in compose_new (account=0x8358838, item=0x836a8a0, mailto=0x0, attach_files=0x0) at compose.c:708
        compose = (Compose *) 0x83e2800
        buffer = <value optimized out>
        iter = {dummy1 = 0x1, dummy2 = 0xb7ae8c80, dummy3 = -1074655876, dummy4 = 135982772, dummy5 = 1073741826, dummy6 = 1, 
  dummy7 = 135288927, dummy8 = -1074655876, dummy9 = 0x823d840, dummy10 = 0xbff20d68, dummy11 = -1217488816, dummy12 = 136566848, 
  dummy13 = 135737296, dummy14 = 0xbff20d58}
        __PRETTY_FUNCTION__ = "compose_new"
#5  0x08060b76 in toolbar_compose_cb (widget=0x81aec80, data=0x81c8cc8) at mainwindow.c:3106
No locals.
#6  0xb76da033 in g_cclosure_marshal_VOID__VOID () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#7  0x081aec80 in ?? ()
No symbol table info available.
#8  0x081c8cc8 in ?? ()
No symbol table info available.
#9  0x00000017 in ?? ()
No symbol table info available.
#10 0xb76ff728 in ?? () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0x00000000 in ?? ()
No symbol table info available.
Comment 6 Alex Buell 2006-09-04 00:27:51 UTC
I've just solved this; switch back to GCC 3.x and recompile the GTK libraries, then Sylpheed (compiled in GCC 4.x) will not crash.
Comment 7 Andrej Kacian (RETIRED) gentoo-dev 2006-09-05 06:54:53 UTC
Looks like this is already being dealt with in bug #133469.

For a quick workaround, try using -O2 for gtk with gcc-4.1
Comment 8 Akinori Hattori gentoo-dev 2006-09-27 09:32:24 UTC
This is not a Sylpheed's bug and bug #133469 was fixed.
Closing.