Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 139651 - gaim 1.5.0 recently started to crash
Summary: gaim 1.5.0 recently started to crash
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Net-im project
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-07-08 03:20 UTC by Ajay Sharma
Modified: 2006-07-10 10:35 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 Ajay Sharma 2006-07-08 03:20:32 UTC
I've been using gaim 1.5 for a while now and just recently it's starting to crash.  It might not like being built with some new gtk library or something.  I've tried the usual stuff like rebuilding the package, revdep-rebuild, but it's not fixing the problem.  So I rebuild gaim with the debug USE flag and even created a backtrace using gdb.  Here's the info:

Portage 2.1.1_pre2-r2 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.16.19 i686)
=================================================================
System uname: 2.6.16.19 i686 AMD Athlon(TM) XP 1900+
Gentoo Base System version 1.12.1
dev-lang/python:     2.3.5, 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.18.1
sys-devel/autoconf:  2.13, 2.60
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.17
sys-devel/gcc-config: 2.0.0_rc1
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.4.19-r1, 2.6.11-r5
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=athlon-xp -O3 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /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/eselect/compiler /etc/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks fixpackages metadata-transfer sandbox sfperms strict userpriv"
GENTOO_MIRRORS="http://gentoo.ccccom.com http://gentoo.binarycompass.org http://gentoo.chem.wisc.edu/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude='/d
istfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/opt/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 3dnow X aac alsa apache2 apm avi berkdb bindist bitmap-fonts browserplugin cli crypt cups dlloader dri dvd dvdr dvdread emboss encode esd ffmpeg flac f
oomaticdb fortran frontendonly gd gdbm gif gpm gstreamer gtk gtk2 icecast imlib innodb ipv6 isdnlog joystick jpeg libg++ libwww mad mikmod mjpeg mmx motif mp3 m
peg musicbrainz mysql mythtv ncurses nptl nptlonly nsplugin nvidia ogg opengl oss pam pcre pdflib pdo perl pic png ppds pppd python qt qt3 qt4 quicktime readlin
e real reflection rtc sdl session shout spell spl sse ssl startup-notification tcpd theora tidy truetype truetype-fonts type1-fonts udev unicode vorbis win32cod
ecs xml xorg xosd xv zlib elibc_glibc input_devices_keyboard input_devices_mouse kernel_linux userland_GNU video_cards_nvidia video_cards_nv"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTAGE_RSYNC_EXTRA_OPTS


And here's the backtrace:


Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1218975488 (LWP 31685)]
0xb7d51bf6 in gtk_text_insert () from /usr/lib/libgtk-x11-2.0.so.0
(gdb) bt full
#0  0xb7d51bf6 in gtk_text_insert () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#1  0xb7d6a32c in gtk_text_iter_ends_line () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#2  0xb7d6a5b8 in gtk_text_iter_forward_to_line_end ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#3  0xb7d6f648 in gtk_text_layout_get_iter_at_line ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#4  0xb7d737aa in gtk_text_layout_get_iter_at_position ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#5  0xb7d7385e in gtk_text_layout_get_iter_at_pixel ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#6  0xb7d84ac3 in gtk_text_view_get_buffer () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#7  0xb7ccb9ce in gtk_marshal_BOOLEAN__VOID ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#8  0xb7897299 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#9  0xb7896f69 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#10 0xb78ad0f0 in g_signal_has_handler_pending ()
   from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#11 0xb78ae20e in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#12 0xb78ae786 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
No symbol table info available.
#13 0xb7deeeba in gtk_widget_get_default_style ()
   from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#14 0xb7cc5228 in gtk_propagate_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#15 0xb7cc6ce2 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#16 0xb7b40c5a in gdk_add_client_message_filter ()
   from /usr/lib/libgdk-x11-2.0.so.0
No symbol table info available.
#17 0xb781c9b3 in g_source_remove_poll () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#18 0xb781f110 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
---Type <return> to continue, or q <return> to quit---
#19 0xb781f49a in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
No symbol table info available.
#20 0xb7cc67d3 in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
No symbol table info available.
#21 0x080f3704 in main ()
No symbol table info available.
Comment 1 Kathryn Kulick (RETIRED) gentoo-dev 2006-07-08 06:46:50 UTC
Did you recently update gcc or glibc? If so please run fix_libtool_files.sh and tell me if this fixes
Comment 2 Ajay Sharma 2006-07-08 13:17:24 UTC
So I run:

# eselect compiler list

Available compilers for CTARGET i686-pc-linux-gnu
  [1]   i686-pc-linux-gnu-3.4.6/hardened
  [2]   i686-pc-linux-gnu-3.4.6/hardenednopie
  [3]   i686-pc-linux-gnu-3.4.6/hardenednopiessp
  [4]   i686-pc-linux-gnu-3.4.6/hardenednossp
  [5]   i686-pc-linux-gnu-3.4.6/vanilla
  [6]   i686-pc-linux-gnu-4.1.1/vanilla

Activated profiles:
  i686-pc-linux-gnu *       i686-pc-linux-gnu-4.1.1/vanilla


So I must've upgraded from gcc-3.4.6.  Now I run:

# fix_libtool_files.sh 3.4.6

It fixes a bunch of stuff but I get the same problem.  Gaim starts up but after a minute or two of talking, it will crash.

Comment 3 Johnathan M. Hicks 2006-07-08 14:44:34 UTC
I am also having this problem (same gtk errors).

Running ~x86.
Occurs with gaim 2.0 beta3 and beta2 as well as 1.5.0.
Downgrading gtk+ a couple of minor versions also had no effect.
Comment 4 Kathryn Kulick (RETIRED) gentoo-dev 2006-07-08 15:14:36 UTC
Which version of gtk do you guys have installed? Johnathan, how far back did you downgrade?
Comment 5 Johnathan M. Hicks 2006-07-08 15:43:21 UTC
(In reply to comment #4)
> Which version of gtk do you guys have installed? Johnathan, how far back did
> you downgrade?
> 

I went back to 2.8.18 and then 2.8.17 which according to my emerge.log was in use before gaim broke. Emerged 2.8.19 again when I saw that didn't help.
I'm currently attempting to see of there is a dependency of gtk+ that was also upgraded.

Comment 6 Ajay Sharma 2006-07-09 03:05:17 UTC
I'm running gtk+ 2.8.19
Comment 7 Johnathan M. Hicks 2006-07-09 13:45:12 UTC
I did some testing and found that if I emerge gtk+ with USE=debug it works.

CFLAGS in make.conf:
-O3 -mtune=athlon-mp -march=athlon-mp -fforce-addr -mmmx -msse -m3dnow -mfpmath=sse,387 -s


CFLAGS resulting from USE=debug
gtk+-2.8.19:
-O3 -mtune=athlon-mp -march=athlon-mp -fforce-addr -mmmx -msse -m3dnow -mfpmath=sse,387 -s -g -g -g

Normally
gtk+-2.8.19:
-O3 -mtune=athlon-mp -march=athlon-mp -fforce-addr -mmmx -msse -m3dnow -mfpmath=sse,387 -s


Unless the -g flag does something other than what is written in the GCC documentation, I can't see why this does anything.

For the sake of brevity just the first line of emerge --info:
Portage 2.1.1_pre2-r6 (default-linux/x86/2006.0, gcc-4.1.1/vanilla, glibc-2.4-r3, 2.6.17-rc5 i686)
Comment 8 Kathryn Kulick (RETIRED) gentoo-dev 2006-07-09 14:28:15 UTC
Ajay, could you please also try this and report back if it fixes the problem.
Comment 9 Ajay Sharma 2006-07-09 23:52:04 UTC
adding "x11-libs/gtk+ debug" to my /etc/portage/package.use and rebuilding gtk+ fixed the issue.  Well, I'm chatting with multiple people at once for over a minute without it dying.
Comment 10 Johnathan M. Hicks 2006-07-10 09:15:50 UTC
I'm a bit suspicious that gcc-4.1.1 may be at fault for this strange behaviour. No real evidence for this or means to get it though.

Comment 11 Kathryn Kulick (RETIRED) gentoo-dev 2006-07-10 10:35:47 UTC
While it's possible that gcc-4.1.1 may be at fault, I"m not totally convinced. I started with 4.1.1 on this install and had no issues similar to this one (that doesn't mean it isn't possible, i could have just gotten lucky). Either way I'll close the bug now since it's technically fixed.