Bug 119379 - net-im test request.
Bug#: 119379 Product:  Gentoo Linux Version: unspecified Platform: PPC
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: ppc@gentoo.org Reported By: pva@gentoo.org
Component: Unspecified
URL: 
Summary: net-im test request.
Keywords:  
Status Whiteboard: 
Opened: 2006-01-17 23:46 0000
Description:   Opened: 2006-01-17 23:46 0000
Please test sim-0.9.4_pre060114.ebuild. sim had ~ppc keyword in the past. But
it was not maintained for a long time, masked, new ebuild written and now it's
again in portage. But there were rather big changes in app, so I'd like to be
sure that it's possible at least emerge and then start it on ppc before adding
~ppc KEYWORD.

Thank you :)

------- Comment #1 From Wormo 2006-01-19 14:56:01 0000 -------
Not having good luck with running sim on ppc -- compiled fine, but it likes to
segfault before even trying to connect. All protocols except for livejournal
and sms segfault when you hit "next" after entering login information

Note: following stack generated when recompiled with -O

Program received signal SIGSEGV, Segmentation fault.
std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::string>,
std::_Select1st<std::pair<unsigned int const, std::string> >,
std::less<unsigned int>, std::allocator<std::pair<unsigned int const,
std::string> > >::_S_right (
    __x=0x41810014) at stl_tree.h:494
494           { return static_cast<_Link_type>(__x->_M_right); }
(gdb) info stack
#0  std::_Rb_tree<unsigned int, std::pair<unsigned int const, std::string>,
std::_Select1st<std::pair<unsigned int const, std::string> >,
std::less<unsigned int>, std::allocator<std::pair<unsigned int const,
std::string> > >::_S_right (
    __x=0x41810014) at stl_tree.h:494
#1  0x0ff4a2e4 in std::_Rb_tree<unsigned int, std::pair<unsigned int const,
std::string>, std::_Select1st<std::pair<unsigned int const, std::string> >,
std::less<unsigned int>, std::allocator<std::pair<unsigned int const,
std::string> > >::_M_erase (this=0x30008710, __x=0x41810014) at stl_tree.h:1066
#2  0x0ff4a048 in ~_Rb_tree (this=0x30008710) at stl_tree.h:567
#3  0x0ff4807c in SIM::clear_list (d=0x41810014) at cfg.cpp:424
#4  0x0e5f3994 in ?? ()
#5  0x0e5f3994 in ?? ()
Previous frame identical to this frame (corrupt stack?)


emerge info:
Portage 2.0.53 (default-linux/ppc/2005.0, gcc-3.4.4, glibc-2.3.3.20040420-r2,
2.
6.12-gentoo-r9 ppc)
=================================================================
System uname: 2.6.12-gentoo-r9 ppc 750FX
Gentoo Base System version 1.6.13
ccache version 2.3 [enabled]
dev-lang/python:     2.3.5, 2.4.2
sys-apps/sandbox:    1.2.12
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.6-r1
sys-devel/binutils:  2.15.90.0.3-r5
sys-devel/libtool:   1.5.18-r1
virtual/os-headers:  2.4.22
ACCEPT_KEYWORDS="ppc"
AUTOCLEAN="yes"
CBUILD="powerpc-unknown-linux-gnu"
CFLAGS="-O3 -mcpu=750 -pipe"
CHOST="powerpc-unknown-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3/share/config
/usr/lib/X1
1/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/
/usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/
/usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O3 -mcpu=750 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs autoconfig candy ccache collision-protect cvs digest
distlocks keepwork maketest sandbox sfperms sign strict test"
GENTOO_MIRRORS="http://distfiles.gentoo.org
http://distro.ibiblio.org/pub/linux/distributions/gentoo"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/cvsroot/gentoo-x86"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="ppc X acl alsa audiofile berkdb bitmap-fonts bzip2 cdr crypt cups curl
emboss esd ethereal exif expat fortran gd gdbm gif gimpprint glut gmp gnome gpm
gtk gtk2 imagemagick imlib jack java jpeg junit lcms libwww mhash mng motif mp3
mpeg ncurses oggvorbis pam pcre pdflib perl png qt readline ruby spell ssl
tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts udev xml2 xv zlib
userland_GNU kernel_linux elibc_glibc"
Unset:  ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, MAKEOPTS

------- Comment #2 From Peter Volkov 2006-01-20 02:00:26 0000 -------
Thank you Wormo for testing. I've reported about this issue upstream. So either
they'll fix this or I'll have to drop ppc support in sim :(

------- Comment #3 From Peter Volkov 2006-01-31 05:54:55 0000 -------
Wormo. Bug you reported was fixed by upstream and new sim-0.9.4_pre060131 has
fix inside. Please, can you or somebody from ppc team retest sim?

Thank you.

------- Comment #4 From Wormo 2006-01-31 16:37:20 0000 -------
Cool, that's much better. 

Marking:
sim-0.9.4_pre060114 -ppc
sim-0.9.4_pre060131 ~ppc

Hum looks like you just created -r1, so I'll test that as well...
sim-0.9.4_pre060131-r1 ~ppc