Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 57230 - Gaim crashes when opening a chat window
Summary: Gaim crashes when opening a chat window
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: x86 Linux
: High major (vote)
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-07-15 14:36 UTC by Sami Laitinen
Modified: 2004-07-17 19:47 UTC (History)
0 users

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


Attachments
output of gdb (gaim-debug.txt,1.53 KB, text/plain)
2004-07-15 14:38 UTC, Sami Laitinen
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sami Laitinen 2004-07-15 14:36:42 UTC
Gaim 0.79-r2 crashes every time a chat window is being opened (at least in MSN). There's no error messages except this in terminal window:

gaim: art_render_gradient.c:337: art_render_gradient_linear_render_8: Assert-makro "(stops[ix-1].offset <= offset_fraction + 1e-6) || ((stops[ix].offset > (1.0 - 1e-6)) && (offset_fraction < 1e-6 ))" ei pid
Comment 1 Sami Laitinen 2004-07-15 14:36:42 UTC
Gaim 0.79-r2 crashes every time a chat window is being opened (at least in MSN). There's no error messages except this in terminal window:

gaim: art_render_gradient.c:337: art_render_gradient_linear_render_8: Assert-makro "(stops[ix-1].offset <= offset_fraction + 1e-6) || ((stops[ix].offset > (1.0 - 1e-6)) && (offset_fraction < 1e-6 ))" ei pidä paikkaansa.
Keskeytetty

Translation for last words are "is not correct. Aborted".

I've tried previous version, 0.79-r1, which also has the same problem. Also tried lowering the optimizations to "-02 -pipe". This appeared after clean Gentoo install four days ago. This same version of Gaim worked perfectly before that.

Reproducible: Always
Steps to Reproduce:
1. start Gaim
2. connect to MSN
3. double click anyone in buddy list

Actual Results:  
Gaim crashes

Expected Results:  
Chat window should open

Portage 2.0.50-r9 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040619-r0,
2.6.7-gentoo-r10)
=================================================================
System uname: 2.6.7-gentoo-r10 i686 AMD Athlon(tm)
Gentoo Base System version 1.5.1
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r4
Automake: sys-devel/automake-1.8.5-r1
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O3 -pipe -fprefetch-loop-arrays -ftracer -mmmx -m3dnow
-msse -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config
/usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-march=athlon-xp -O3 -pipe -fprefetch-loop-arrays -ftracer -mmmx
-m3dnow -msse -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache sandbox"
GENTOO_MIRRORS="http://trumpetti.atm.tut.fi/gentoo
http://lame.lut.fi/linux/gentoo http://gentoo.oregonstate.edu
http://www.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage /usr/local/bmg-main
/usr/local/bmg-gnome-current"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="3dnow 3ds X alsa avi berkdb cdr crypt dvd encode erandom faad flac
foomaticdb gdbm gif gnome gpm gstreamer gtk gtk2 gtkhtml imlib jpeg lcms libg++
libwww mad maildir matroska mbox mikmod mmx motif mozilla moznocompose moznoirc
moznomail mpeg ncurses nethack nls noreiserfs nowin nptl offensive oggvorbis
opengl pam pdflib perl pic pie png python quicktime readline rplay ruby18 sdl
slang spell sse ssl stroke tcpd theora threads tiff truetype unicode usb videos
x86 xface xml xml2 xv xvid zlib"
Comment 2 Sami Laitinen 2004-07-15 14:38:38 UTC
Created attachment 35506 [details]
output of gdb

Here's the output of gdb.
Comment 3 Don Seiler (RETIRED) gentoo-dev 2004-07-15 18:26:27 UTC
I fear that gcc 3.4 may have a part to play in it.

Could you perchance downgrade to 3.3.x and try.
Comment 4 Sami Laitinen 2004-07-16 03:38:43 UTC
Tried with gcc 3.3.2-r5, but no change.
Comment 5 Robert Davis 2004-07-16 08:03:24 UTC
I wonder if it is something with buddy icons?  Can you try to turn that off in gaim prefs.  Also did you emerge gaim with USE="debug"? Not much debug info in the gdb attachment.
Comment 6 Sami Laitinen 2004-07-16 11:20:04 UTC
Seems that Gaim also crashes when opening preferences window, so I edited  ~/.gaim/prefs.xml by hand and disabled all icons, but no help.

Gaim was emerged with USE="debug". gdb would specifically say if it wasn't.

redcrow root # file /usr/bin/gaim
/usr/bin/gaim: ELF 32-bit LSB executable, Intel 80386, version 1 (SYSV), for GNU/Linux 2.6.0, dynamically linked (uses shared libs), not stripped
Comment 7 Don Seiler (RETIRED) gentoo-dev 2004-07-16 17:47:35 UTC
Perhaps you have an old plugin that isn't working in 0.79.  You can verify this by  moving your .gaim folder to something likd old_gaim (so you don't have a .gaim folder anymore, also make sure to delete any .gaimrc file you have, it is no longer used) and see if the crash happens.

Otherwise if you're sure that gdb backtrace is including gaim's debugging symbols then the segfault is definitely not happening in gaim.  I would definitely try to rebuild gtk+ and gaim with USE="debug" with gcc 3.3.x.
Comment 8 Sami Laitinen 2004-07-17 15:29:56 UTC
Ok, I found out the problem; it was corrupted icon for gaim in my theme that caused the crash. Wish I had thought of that before re-merging the whole system...

So thank you for your help and sorry for this pointless bug report.
Comment 9 Don Seiler (RETIRED) gentoo-dev 2004-07-17 19:47:18 UTC
Closing then.  Glad to hear it's working again.