Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 100317 - gaim 1.3.1 segfaults at startup
Summary: gaim 1.3.1 segfaults at startup
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal
Assignee: Gaim Bugs Crew
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-07-25 21:32 UTC by Steven
Modified: 2005-08-01 15:52 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 Steven 2005-07-25 21:32:27 UTC
exactly that. a tail of the strace:

shmget(IPC_PRIVATE, 393216, IPC_CREAT|0600) = 3276816
shmat(3276816, 0, 0)                    = 0xb6d25000
write(3, "\22\0\10\0 \0 \0021\1\0\0\37\0\0\0\10\0 \2\10\0\0\0acc"..., 9384) = 9384
read(3, 0xbfff86c0, 32)                 = -1 EAGAIN (Resource temporarily
unavailable)
select(4, [3], NULL, NULL, NULL)        = 1 (in [3])
read(3, "\34\361\346\0 \0 \0021\1\0\0! >\1\0\273\345B\0\0\0\0! "..., 32) = 32
read(3, "\34\361\347\0 \0 \2\375\0\0\0! >\1\0\273\345B\0\0\0\0!"..., 32) = 32
read(3, "\34\361\350\0 \0 \2\365\0\0\0! >\1\0\273\345B\0\0\0\0!"..., 32) = 32
read(3, "\1\2\355\0\0\0\0\0\35\0 \1\0\0\0\0\0\0\0\0\34\0\0\0008"..., 32) = 32
shmctl(3276816, IPC_64|IPC_RMID, 0)     = 0
open("/etc/ld.so.cache", O_RDONLY)      = 5
fstat64(5, {st_mode=S_IFREG|0644, st_size=116855, ...}) = 0
mmap2(NULL, 116855, PROT_READ, MAP_PRIVATE, 5, 0) = 0xb6d08000
close(5)                                = 0
open("/lib/libXcursor.so.1.0.2", O_RDONLY) = -1 ENOENT (No such file or directory)
open("/usr/lib/tls/libXcursor.so.1.0.2", O_RDONLY) = -1 ENOENT (No such file or
directory)
open("/usr/lib/libXcursor.so.1.0.2", O_RDONLY) = 5
read(5, "\177ELF\1\1\1\0\0\0\0\0\0\0\0\0\3\0\3\0\1\0\0\0\260\"\0"..., 512) =
512fstat64(5, {st_mode=S_IFREG|0755, st_size=41675, ...}) = 0
close(5)                                = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
write(2, "Gaim has segfaulted and attempte"..., 618Gaim has segfaulted and
attempted to dump a core file.
This is a bug in the software and has happened through
no fault of your own.

It is possible that this bug is already fixed in CVS.
If you can reproduce the crash, please notify the gaim
maintainers by reporting a bug at
http://gaim.sourceforge.net/bug.php

Please make sure to specify what you were doing at the time,
and post the backtrace from the core file. If you do not know
how to get the backtrace, please get instructions at
http://gaim.sourceforge.net/gdb.php. If you need further
assistance, please IM either RobFlynn or SeanEgn and
they can help you.
) = 618
rt_sigprocmask(SIG_UNBLOCK, [ABRT], NULL, 8) = 0
kill(10328, SIGABRT)                    = 0
--- SIGABRT (Aborted) @ 0 (0) ---
+++ killed by SIGABRT +++

and gdb

gdb gaim
GNU gdb 6.3
Copyright 2004 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"...(no debugging symbols found)
Using host libthread_db library "/lib/libthread_db.so.1".

(gdb) run
Starting program: /usr/bin/gaim
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 10420)]

Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 16384 (LWP 10420)]
0xb7ff3a94 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
(gdb) bt
#0  0xb7ff3a94 in _dl_rtld_di_serinfo () from /lib/ld-linux.so.2
#1  0x00000001 in ?? ()
#2  0xb770e000 in ?? ()
#3  0xbfff84a0 in ?? ()
#4  0x00000077 in ?? ()
#5  0x00000000 in ?? ()
#6  0x00000074 in ?? ()
#7  0x00000010 in ?? ()
#8  0x00000075 in ?? ()
#9  0x00000001 in ?? ()
#10 0xb77cccf8 in ?? ()
#11 0xbfff84c0 in ?? ()
#12 0x0000003e in ?? ()
#13 0x00000000 in ?? ()
#14 0x00000059 in ?? ()
#15 0x00000000 in ?? ()
#16 0x00000000 in ?? ()
#17 0x00000035 in ?? ()
#18 0x082dd5d8 in ?? ()
#19 0x082dd5c8 in ?? ()
#20 0x082dd5db in ?? ()
#21 0x00000004 in ?? ()
#22 0xfffffff0 in ?? ()
---Type <return> to continue, or q <return> to quit---
#23 0x00000007 in ?? ()
#24 0x081bbe80 in ?? ()
#25 0xb6d85844 in ?? () from /lib/librt.so.1
#26 0xb6d8dfa0 in ?? () from /lib/librt.so.1
#27 0x00000080 in ?? ()
#28 0xb6d86538 in ?? () from /lib/librt.so.1
#29 0xb6d85714 in ?? () from /lib/librt.so.1
#30 0xb6d85000 in ?? ()
#31 0xb6d8685c in ?? () from /lib/librt.so.1
#32 0xb6d8681c in ?? () from /lib/librt.so.1
#33 0x000000c0 in ?? ()
#34 0x081bbe80 in ?? ()
#35 0x00000000 in ?? ()
#36 0xb7a95664 in ?? () from /lib/libdl.so.2
#37 0x00000000 in ?? ()
#38 0x00000000 in ?? ()
#39 0xb80011c0 in _rtld_global () from /lib/ld-linux.so.2
#40 0x00000000 in ?? ()
#41 0xb6d85844 in ?? () from /lib/librt.so.1
#42 0x00000007 in ?? ()
#43 0xbfff8430 in ?? ()
#44 0x00000000 in ?? ()
#45 0x00000000 in ?? ()

---Type <return> to continue, or q <return> to quit---
#46 0x00000000 in ?? ()
#47 0xb77cccf8 in ?? ()
#48 0x00000000 in ?? ()
#49 0x00000000 in ?? ()
#50 0xb6d8679c in ?? () from /lib/librt.so.1
#51 0x000000c0 in ?? ()
#52 0x00000000 in ?? ()
#53 0xb6d8685c in ?? () from /lib/librt.so.1
#54 0x00000230 in ?? ()
#55 0x00000001 in ?? ()
#56 0x00000000 in ?? ()
#57 0x00000002 in ?? ()
#58 0xbfff85c0 in ?? ()
#59 0xb6d85f24 in ?? () from /lib/librt.so.1
#60 0xb7904ff4 in ?? () from /lib/libc.so.6
#61 0xb8000c80 in _dl_argv () from /lib/ld-linux.so.2
#62 0x081bbe80 in ?? ()
#63 0xbfff8658 in ?? ()
#64 0xb78d75f5 in _dl_open () from /lib/libc.so.6
Previous frame inner to this frame (corrupt stack?)

i cleared ~/.gaim and unmerged all the plugins.

Reproducible: Always
Steps to Reproduce:
1. run gaim from a terminal.

Actual Results:  
segfault with the message:

Gaim has segfaulted and attempted to dump a core file.
This is a bug in the software and has happened through
no fault of your own.

It is possible that this bug is already fixed in CVS.
If you can reproduce the crash, please notify the gaim
maintainers by reporting a bug at
http://gaim.sourceforge.net/bug.php

Please make sure to specify what you were doing at the time,
and post the backtrace from the core file. If you do not know
how to get the backtrace, please get instructions at
http://gaim.sourceforge.net/gdb.php. If you need further
assistance, please IM either RobFlynn or SeanEgn and
they can help you.
Aborted


Expected Results:  
is this really necessary?

emerge info
Portage 2.0.51.22-r1 (default-linux/x86/2005.0, gcc-3.3.5-20050130,
glibc-2.3.5-r0, 2.6.10-gentoo-r4 i686)
=================================================================
System uname: 2.6.10-gentoo-r4 i686 AMD Athlon(tm) Processor
Gentoo Base System version 1.6.12
dev-lang/python:     2.3.5, 2.4.1
sys-apps/sandbox:    1.2.10
sys-devel/autoconf:  2.13, 2.59-r6
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.5
sys-devel/binutils:  2.15.92.0.2-r10
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.6.11-r2
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config
/usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown
/usr/kde/3/share/config /usr/lib/X11/xkb /usr/lib/mozilla/defaults/pref
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/splash /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://128.213.5.34/gentoo/
ftp://mirrors.sec.informatik.tu-darmstadt.de/gentoo/
http://mirror.datapipe.net/gentoo http://gentoo.binarycompass.org"
LANG="en_US.UTF-8"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="x86 X aalib alsa apache2 apm avi berkdb bitmap-fonts bmp bonobo cdr crypt
cups curl directfb eds emboss encode esd fam flac foomatic foomaticdb fortran
gdbm ggi gif gnome gpm gstreamer gtk gtk2 guile imagemagick imlib ipv6 java jpeg
junit kerberos ldap libg++ libwww mad mikmod motif mozilla mp3 mpeg mysql nas
ncurses nls oav ogg oggvorbis opengl oss pam pdflib perl png ppds python
quicktime readline scanner sdl slang spell ssl svga tcltk tcpd tiff truetype
truetype-fonts type1-fonts usb vorbis xine xml xml2 xmms xv zlib userland_GNU
kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
Comment 1 Steven 2005-08-01 15:52:23 UTC
With the new gnome packages, it now works fine.