Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 149171 - USE=-static net-im/skype-1.0.53 segfaults
Summary: USE=-static net-im/skype-1.0.53 segfaults
Status: RESOLVED DUPLICATE of bug 177827
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:
: 150728 (view as bug list)
Depends on:
Blocks:
 
Reported: 2006-09-26 06:26 UTC by crusaderky
Modified: 2007-05-24 18:25 UTC (History)
2 users (show)

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


Attachments
skype.sh (skype.sh,246 bytes, text/plain)
2006-10-08 08:27 UTC, Gustavo Felisberto (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description crusaderky 2006-09-26 06:26:03 UTC
when starting skype-1.2.0.18 (both with and without USE=static), the program uses the CPU for 1-2 seconds, then it does nothing (it doesn't open any window, nor print any error message). I have to press Ctrl-C from the terminal to kill it.

USE=-static skype-1.3.0.37 segfaults on start on a free() call.
USE=static skype-1.3.0.37 opens a window with some grayed out elements, but never moves away from that state.


my USE flags for qt-3.3.6-r1: USE="cups gif immqt-bc ipv6 mysql odbc opengl sqlite -debug -doc -examples -firebird -immqt -nas -nis -postgres -xinerama"

I don't have qt-4.*.

# emerge --info
Portage 2.1.1 (default-linux/x86/2006.1, gcc-4.1.1, glibc-2.4-r3, 2.6.17-gentoo-r7 i686)
=================================================================
System uname: 2.6.17-gentoo-r7 i686 AMD Athlon(TM) XP 2000+
Gentoo Base System version 1.12.5
Last Sync: Sat, 23 Sep 2006 11:50:01 +0000
app-admin/eselect-compiler: [Not Present]
dev-java/java-config: 1.3.7, 2.0.30
dev-lang/python:     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.17
sys-devel/autoconf:  2.13, 2.59-r7
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.16.1-r3
sys-devel/gcc-config: 1.3.13-r3
sys-devel/libtool:   1.5.22
virtual/os-headers:  2.6.17-r1
ACCEPT_KEYWORDS="x86"
AUTOCLEAN="yes"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-Os -pipe -march=athlon-xp -fforce-addr -fomit-frame-pointer -falign-functions=4 -mfpmath=sse -ftree-vectorize"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /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/gconf /etc/java-config/vms/ /etc/revdep-rebuild /etc/terminfo"
CXXFLAGS="-O2 -mcpu=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig digest distlocks fixpackages metadata-transfer parallel-fetch sandbox sfperms strict userfetch"
GENTOO_MIRRORS="ftp://pandemonium.tiscali.de/pub/gentoo/ ftp://ftp-stud.fht-esslingen.de/pub/Mirrors/gentoo/ http://ftp.belnet.be/mirror/rsync.gentoo.org/gentoo/ http://pandemonium.tiscali.de/pub/gentoo/ http://ftp.heanet.ie/pub/gentoo/"
LC_ALL="it_IT.UTF-8"
LINGUAS="it"
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='/distfiles' --exclude='/local' --exclude='/packages'"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/local/portage"
SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage"
USE="x86 3dnow X a52 aac alsa audiofile berkdb bitmap-fonts bzip2 cdparanoia cdr chroot cjk cli crypt cscope cups curl dbus dga dlloader dri dts dvb dvd dvdr dvdread elibc_glibc encode exif fam fbcon ffmpeg firefox flac flash fortran gd gdbm ggi gif ginac glut gnutls gpm gtk gtkhtml guile hal iconv idn imagemagick imap imlib innodb input_devices_evdev input_devices_joystick input_devices_keyboard input_devices_mouse input_devices_wacom ipv6 isdnlog java javascript jikes joystick jpeg kerberos kernel_linux krb4 lcms ldap libcaca libg++ linguas_it lzo mad mcal memlimit mikmod mmx mng motif mp3 mpeg musepack mysql ncurses nls nptl nptlonly nsplugin nvidia odbc offensive ogg opengl pam pcre pdf perl plotutils png ppds pppd prelude python quicktime readline reflection samba sdl session skey slp sndfile snmp socks5 speex spl sqlite sse ssl svg tcl tcltk tcpd theora threads tiff tk truetype truetype-fonts type1-fonts udev unicode usb userland_GNU v4l vcd video_cards_nvidia video_cards_vesa vorbis win32codecs wmf wxwindows xml xorg xosd xprint xv xvid zlib"
Unset:  CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, LDFLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 1 Gustavo Felisberto (RETIRED) gentoo-dev 2006-10-02 18:59:23 UTC
Please try 1.3.0.50 and report back.
Comment 2 crusaderky 2006-10-07 12:22:09 UTC
USE=static skipe-1.0.53 works!

USE=-static skype-1.0.53 continues to crash. here's the backtrace.

Notice that I use scim (which gives problems with opera, too. now i'm using USE=qt-static in opera).


$ skype
*** glibc detected *** /opt/skype/skype: free(): invalid pointer: 0x08a8bc58 ***======= Backtrace: =========
/lib/libc.so.6[0xb76e31a2]
/lib/libc.so.6(__libc_free+0x82)[0xb76e47e2]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZdlPv+0x21)[0x43f3c121]
/usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libstdc++.so.6(_ZNSs4_Rep10_M_destroyERKSaIcE+0x1d)[0x43f17e3d]
/usr/lib/libscim-1.0.so.8[0x44008c75]
/usr/lib/libscim-1.0.so.8(_ZN4scim20scim_get_module_listERSt6vectorISsSaISsEERKSs+0x37)[0x44009d87]
/usr/lib/libscim-1.0.so.8(_ZN4scim29scim_get_imengine_module_listERSt6vectorISsSaISsEE+0x45)[0x44004755]
/usr/qt/3/plugins/inputmethods/libqscim.so(_ZN4scim23QScimInputContextGlobal10initializeEv+0x227)[0xb73e3a77]
/usr/qt/3/plugins/inputmethods/libqscim.so(_ZN4scim17QScimInputContextC1Ev+0x30c)[0xb73e55cc]
/usr/qt/3/plugins/inputmethods/libqscim.so(_ZN22ScimInputContextPlugin6createERK7QString+0x6c)[0xb73df04c]
/usr/qt/3/lib/libqt-mt.so.3(_ZN26QInputContextPluginPrivate6createERK7QString+0x1b)[0xb7d0611b]
/usr/qt/3/lib/libqt-mt.so.3(_ZN20QInputContextFactory6createERK7QStringP7QWidget+0x66)[0xb7d05f86]
/usr/qt/3/plugins/inputmethods/libqimsw-multi.so(_ZN18QMultiInputContext17changeInputMethodE7QString+0xc3)[0xb73f4949]
/usr/qt/3/plugins/inputmethods/libqimsw-multi.so(_ZN18QMultiInputContext5slaveEv+0x43)[0xb73f4b53]
/usr/qt/3/plugins/inputmethods/libqimsw-multi.so(_ZN18QMultiInputContext15setHolderWidgetEP7QWidget+0x26)[0xb73f4dc2]
/usr/qt/3/lib/libqt-mt.so.3(_ZN20QInputContextFactory6createERK7QStringP7QWidget+0x7a)[0xb7d05f9a]
/usr/qt/3/lib/libqt-mt.so.3(_ZN7QWidget18createInputContextEv+0x6a)[0xb7a9a0ca]
/usr/qt/3/lib/libqt-mt.so.3(_ZN7QWidget17resetInputContextEv+0x22)[0xb7a9a342]
/usr/qt/3/lib/libqt-mt.so.3(_ZN9QLineEdit7setTextERK7QString+0x22)[0xb7bf56f2]
/usr/qt/3/lib/libqt-mt.so.3(_ZN9QComboBox11setLineEditEP9QLineEdit+0x4b)[0xb7bc534b]
/usr/qt/3/lib/libqt-mt.so.3(_ZN9QComboBox13setUpLineEditEv+0x6d)[0xb7bc213d]
/usr/qt/3/lib/libqt-mt.so.3(_ZN9QComboBox11setEditableEb+0x66)[0xb7bc6316]
/opt/skype/skype[0x81944a7]
/opt/skype/skype[0x8078989]
/opt/skype/skype[0x8075972]
/lib/libc.so.6(__libc_start_main+0xdc)[0xb769687c]
/opt/skype/skype(_ZN6QFrame10paintEventEP11QPaintEvent+0x6d)[0x806f7b1]
Comment 3 Gustavo Felisberto (RETIRED) gentoo-dev 2006-10-07 17:20:48 UTC
with the static USE flag off try to run:
XMODIFIERS=@im=none QT_IM_MODULE=xim skype
and see if it crashes. If not please report back so that we can add that to the startup script.
Comment 4 crusaderky 2006-10-08 02:24:03 UTC
XMODIFIERS=@im=none QT_IM_MODULE=xim skype
works.
Comment 5 Gustavo Felisberto (RETIRED) gentoo-dev 2006-10-08 08:27:13 UTC
Created attachment 99131 [details]
skype.sh

Please copy this file over the /opt/skype/skype.sh and try again with the dynamic linked version of skype (-static) . If this fixes then I'll add it to portage and we can close this bug.
Comment 6 Jakub Moc (RETIRED) gentoo-dev 2006-10-10 11:14:04 UTC
*** Bug 150728 has been marked as a duplicate of this bug. ***
Comment 7 cj 2006-10-10 12:36:54 UTC
I have got Skype to work by using your attachment and changing the last line to :
XMODIFIERS=@im=none QT_IM_MODULE=skype exec ${skypecmd} ${progopts} $@
while this functions, obviously, I can no longer type hanzi (Chinese characters) in skype, so this isn't a fix, it's a hack, but a massive improvement nonetheless. Thanks :-)
Comment 8 Gustavo Felisberto (RETIRED) gentoo-dev 2006-10-11 09:50:04 UTC
Ok. I did some more research(In reply to comment #7)
> I have got Skype to work by using your attachment and changing the last line to
> :
> XMODIFIERS=@im=none QT_IM_MODULE=skype exec ${skypecmd} ${progopts} $@
> while this functions, obviously, I can no longer type hanzi (Chinese
> characters) in skype, so this isn't a fix, it's a hack, but a massive
> improvement nonetheless. Thanks :-)
> 

Are you using amd64 system or x86?
Comment 9 cj 2006-10-12 03:28:04 UTC
x86, my emerge --info is on the other bug (marked as a dup of this one)
Comment 10 crusaderky 2006-10-14 08:44:11 UTC
attachment does NOT work. the system begins swapping like a demon until it's completely unusable.
Comment 11 crusaderky 2006-10-14 08:46:43 UTC
> I have got Skype to work by using your attachment and changing the last line to:
> XMODIFIERS=@im=none QT_IM_MODULE=skype exec ${skypecmd} ${progopts} $@

this one works (except for the fact that I can't type in japanese).
Comment 12 Gustavo Felisberto (RETIRED) gentoo-dev 2006-10-14 18:32:44 UTC
(In reply to comment #11)
> > I have got Skype to work by using your attachment and changing the last line to:
> > XMODIFIERS=@im=none QT_IM_MODULE=skype exec ${skypecmd} ${progopts} $@
> 
> this one works (except for the fact that I can't type in japanese).
> 

My mistake on the script. It was calling itself and was just a nice fork bomb. 

Two more questions. 

1-If you start with:

XMODIFIERS=@im=none QT_IM_MODULE=simple exec ${skypecmd} ${progopts} $@

having installed the static version you will not get japanese characters correct? 

2-Running:
exec ${skypecmd} ${progopts} $@ with the static version do you get japanese characters?
Comment 13 crusaderky 2006-10-15 03:42:51 UTC
(In reply to comment #12)
> 1-If you start with:
> 
> XMODIFIERS=@im=none QT_IM_MODULE=simple exec ${skypecmd} ${progopts} $@
> 
> having installed the static version you will not get japanese characters
> correct? 
> 
> 2-Running:
> exec ${skypecmd} ${progopts} $@ with the static version do you get japanese
> characters?

I don't get any japanese input in either case.
Comment 14 Andrei Dumitrescu 2007-01-15 09:50:00 UTC
Skype 1.2.0.18 segfaults when I receive a call:
$skype
Running artsd found
Starting artsd wrapped skype
==========================================
/usr/bin/skype: line 58:  5139 Segmentation fault      ${skypecmd} ${progopts} >>${logfile} 2>>${logfile}
Running wrapped Skype failed, trying not-wrapped mode...

MODIFIERS=@im=none QT_IM_MODULE=xim skype
Running artsd found
Starting artsd wrapped skype
==========================================
/usr/bin/skype: line 58:  5579 Segmentation fault      ${skypecmd} ${progopts} >>${logfile} 2>>${logfile}
Running wrapped Skype failed, trying not-wrapped mode...

Comment 15 Jakub Moc (RETIRED) gentoo-dev 2007-05-24 18:25:51 UTC

*** This bug has been marked as a duplicate of bug 177827 ***