Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 40688 - net-im/ayttm-0.4.[5-6] crashes on startup when built with portage.
Summary: net-im/ayttm-0.4.[5-6] crashes on startup when built with portage.
Status: VERIFIED NEEDINFO
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High normal (vote)
Assignee: Mamoru KOMACHI (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-02-07 01:39 UTC by Aniruddha Shankar
Modified: 2004-02-18 21:45 UTC (History)
1 user (show)

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


Attachments
strace -o strace-ayttm ayttm (strace-ayttm,180.13 KB, text/plain)
2004-02-07 01:42 UTC, Aniruddha Shankar
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Aniruddha Shankar 2004-02-07 01:39:56 UTC
karim@splat karim $ ayttm
deleting stale lock file
/home/karim/.ayttm//debuggerrc:1: Error in sourced command file:
Previous frame inner to this frame (corrupt stack?)
saving crash log to ayttm-crash-log-2004-02-07-14-59-27.txt
karim@splat karim $ 

ayttm-crash-log-2004-02-07-14-59-27.txt contains:
Ayttm version 0.4.6-1
GTK+ version 1.2.10
Features: pspell Xft
Operating system: Linux 2.6.2-gentoo (i686)
C Library: GNU libc 2.3.3
Signal: 11
--
(no debugging symbols found)...Using host libthread_db library "/lib/libthread_db.so.1".
[Thread debugging using libthread_db enabled]
[New Thread 16384 (LWP 18408)]
0x4028f9a8 in waitpid ()
   from /lib/libpthread.so.0
#0  0x4028f9a8 in waitpid () from /lib/libpthread.so.0
#1  0x0000000b in ?? ()
#2  0x0808f116 in crash_main ()
#3  0x4018677c in std::__default_alloc_template<true, 0>::_S_heap_size ()
   from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
#4  0x401875dc in __JCR_LIST__ ()
   from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5
#5  0xbfffc7f8 in ?? ()
#6  0x40153866 in std::__default_alloc_template<true, 0>::deallocate(void*, unsigned) () from /usr/lib/gcc-lib/i686-pc-linux-gnu/3.3.2/libstdc++.so.5

strace output is also attached. 

The funny thing is that when I manually build ayttm 0.4.6 it works just fine... this is, it seems to me, a possible problem with the build opts for ayttm in portage. 


Reproducible: Always
Steps to Reproduce:
1.
2.
3.




emerge info
Portage 2.0.50 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040117-r0,
2.6.2-gentoo)
=================================================================
System uname: 2.6.2-gentoo i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.4.3.12
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-march=athlon-xp -O2 -pipe -ftracer -mfpmath=sse -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.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config
/usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-march=athlon-xp -O2 -pipe -ftracer -mfpmath=sse -mmmx -m3dnow -msse
-fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://localhost/portage
http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi acpi4linux alsa apm arts artswrappersuid avi berkdb
crypt encode esd fam flash foomaticdb gdbm ggi gif gnome gphoto2 gpm gstreamer
gtk gtk2 imap imlib java javascript jpeg kde libg++ libwww mad maildir matroska
mikmod mldonkeypango mmx mng motif mozilla mozinterfaceinfo moznoirc mozp3p
mozsvg mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png prelude
python qt quicktime readline samba sdl slang speex spell sse ssl svga tcltk tcpd
tiff truetype unicode usb x86 xml2 xmms xv zlib"
Comment 1 Aniruddha Shankar 2004-02-07 01:42:23 UTC
Created attachment 25126 [details]
strace -o strace-ayttm ayttm
Comment 2 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-07 04:38:48 UTC
I have the same USE flag as you have but don't come across the problem.
Could you check that you used the same CFLAGS/CXXFLAGS as you had
in /etc/make.conf when you manually built ayttm? 
I guess there is something wrong in your CFLAGS/CXXFLAGS and we need
to filter it. To start with, please set CFLAGS="-O -pipe" and CXXFLAG="-O -pipe",
then check whether the problem still persists or not. 
Comment 3 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-17 13:20:10 UTC
Reporter ping: I need more info from you to fix the issue.
Comment 4 Aniruddha Shankar 2004-02-17 18:29:39 UTC
Issue still persists, despite the fact that I have changed CFLAGS and CXXFLAGS to "-O -pipe". emerge info appended:

splat root # emerge info
Portage 2.0.50-r1 (default-x86-1.4, gcc-3.3.2, glibc-2.3.3_pre20040207-r0, 2.6.2-gentoo)
=================================================================
System uname: 2.6.2-gentoo i686 AMD Athlon(TM) XP 1700+
Gentoo Base System version 1.4.3.13
ccache version 2.3 [enabled]
Autoconf: sys-devel/autoconf-2.59-r3
Automake: sys-devel/automake-1.8.2
ACCEPT_KEYWORDS="x86 ~x86"
AUTOCLEAN="yes"
CFLAGS="-O -pipe"
CHOST="i686-pc-linux-gnu"
COMPILER="gcc3"
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.1/share/config /usr/kde/3.2/share/config /usr/kde/3/share/config /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/env.d"
CXXFLAGS="-O -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs buildpkg ccache sandbox userpriv usersandbox"
GENTOO_MIRRORS="ftp://localhost/portage http://www.mirror.ac.uk/sites/www.ibiblio.org/gentoo/"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.us.gentoo.org/gentoo-portage"
USE="3dnow X aalib acpi acpi4linux alsa apm arts artswrappersuid avi berkdb crypt encode esd fam flash foomaticdb gdbm ggi gif gnome gphoto2 gpm gstreamer gtk gtk2 imap imlib java javascript jpeg kde ldap libg++ libwww mad maildir matroska mikmod mldonkeypango mmx mng motif mozilla mozinterfaceinfo moznoirc mozp3p mozsvg mpeg mysql ncurses nls oggvorbis opengl oss pam pdflib perl png prelude python qt quicktime readline samba sdl slang speex spell sse ssl svga tcltk tcpd tiff truetype unicode usb x86 xml2 xmms xv zlib"
Comment 5 Mamoru KOMACHI (RETIRED) gentoo-dev 2004-02-18 21:45:28 UTC
Thank you very much. I found that arts IUSE flag causes segfault on
~x86 environment, so I removed that IUSE flag from ayttm-0.4.{5,6}.ebuild.
Please run `emerge sync` and try again.