| Summary: | net-im/skype-4.1.0.20 - segfaults at startup | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | brent <brent.saner> |
| Component: | Current packages | Assignee: | No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | normal | CC: | brent.saner, cianoid, harrie.hoogeveen, joost |
| Priority: | Normal | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
strace of segfault
strstr_hackfix.patch |
||
|
Description
brent
2013-04-25 18:40:23 UTC
Created attachment 346598 [details]
strace of segfault
i should note that skype builds without error.
Comment on attachment 346598 [details]
strace of segfault
Try `gdb skype` - this output holds no useful clues as to what went wrong.
bts@maqabi ~ $ gdb /opt/bin/skype GNU gdb (Gentoo 7.5.1 p1) 7.5.1 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /opt/bin/skype...(no debugging symbols found)...done. (gdb) run Starting program: /opt/bin/skype warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? Program received signal SIGSEGV, Segmentation fault. 0x000057c2 in ?? () (gdb) maqabi usr # find ./ -type f -iname "linux-gate.so*" maqabi usr # cd / maqabi / # find /lib* -type f -iname "linux-gate.so*" maqabi / # Interestingly, it works on my desktop, yet linux-gate.so.1 doesn't seem to exist on that either. (In reply to comment #3) > bts@maqabi ~ $ gdb /opt/bin/skype > GNU gdb (Gentoo 7.5.1 p1) 7.5.1 > Copyright (C) 2012 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> > This is free software: you are free to change and redistribute it. > There is NO WARRANTY, to the extent permitted by law. Type "show copying" > and "show warranty" for details. > This GDB was configured as "x86_64-pc-linux-gnu". > For bug reporting instructions, please see: > <http://bugs.gentoo.org/>... > Reading symbols from /opt/bin/skype...(no debugging symbols found)...done. > (gdb) run > Starting program: /opt/bin/skype > warning: Could not load shared library symbols for linux-gate.so.1. > Do you need "set solib-search-path" or "set sysroot"? > > Program received signal SIGSEGV, Segmentation fault. > 0x000057c2 in ?? () > (gdb) And then you run something like `backtrace full'. > maqabi usr # find ./ -type f -iname "linux-gate.so*" > maqabi usr # cd / > maqabi / # find /lib* -type f -iname "linux-gate.so*" > maqabi / # > > Interestingly, it works on my desktop, yet linux-gate.so.1 doesn't seem to > exist on that either. That's a virtual DSO - it's a feature (of the kernel) not a bug. And it's unrelated. ah! sorry for my confusion.
and thanks- never really used gdb.
(gdb) backtrace full
#0 0x000057c2 in ?? ()
No symbol table info available.
#1 0xf55ca214 in ?? ()
No symbol table info available.
#2 0xf7fdfe39 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#3 0xf7ff1452 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#4 0xf7fe0f00 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
#5 0xf7fdd387 in ?? () from /lib/ld-linux.so.2
No symbol table info available.
(gdb)
bts@maqabi ~ $ ls -l /lib/ld-linux.so.2
lrwxrwxrwx 1 root root 22 Apr 23 21:26 /lib/ld-linux.so.2 -> ../lib32/ld-linux.so.2
bts@maqabi ~ $ ls -l /lib32/ld-linux.so.2
lrwxrwxrwx 1 root root 10 Apr 23 21:26 /lib32/ld-linux.so.2 -> ld-2.17.so
(etc.)
[I] sys-libs/glibc
Available versions: (2.2) (~)2.9_p20081201-r3^s 2.10.1-r1^s 2.11.3^s (~)2.12.1-r3^s 2.12.2^s (~)2.13-r2^s 2.13-r4^s (~)2.14^s (~)2.14.1-r2^s 2.14.1-r3^s (~)2.15-r1^s 2.15-r2^s 2.15-r3^s (~)2.16.0^s (~)2.17^s **9999^s
{debug gd hardened multilib nscd profile selinux suid systemtap vanilla CROSSCOMPILE_OPTS="headers-only"}
Installed versions: 2.17(2.2)^s(09:25:57 PM 04/23/2013)(multilib -debug -gd -hardened -nscd -profile -selinux -suid -systemtap -vanilla CROSSCOMPILE_OPTS="-headers-only")
Homepage: http://www.gnu.org/software/libc/libc.html
Description: GNU libc6 (also called glibc2) C library
i'd try downgrading glibc to test if i wasn't worried about destroying my entire system. anything else i can try?
while looking deeper into this, i found some posts for skype-4.1.0.20: http://community.skype.com/t5/Linux/Skype-4-1-for-linux-run-error/td-p/1210016/page/2 http://geekphreek.com/2013/03/skype-segmentation-fault-core-dumped/ i tried LD_PRELOAD=/usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2.0 skype but this also produces a segfault with the same trace: #0 0x000058d6 in ?? () No symbol table info available. #1 0xf55ca984 in ?? () No symbol table info available. #2 0xf7fdf173 in ?? () from /lib/ld-linux.so.2 No symbol table info available. #3 0xf7ff1408 in ?? () from /lib/ld-linux.so.2 No symbol table info available. #4 0xf7fe0be2 in ?? () from /lib/ld-linux.so.2 No symbol table info available. #5 0xf7fdd1f7 in ?? () from /lib/ld-linux.so.2 No symbol table info available. and this: bts@maqabi ~/.Skype/Logs $ equery b /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2.0 * Searching for /usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2.0 ... app-emulation/emul-linux-x86-opengl-20130224 (/usr/lib32/opengl/xorg-x11/lib/libGL.so.1.2.0) so yeah, i dunno. i can try overriding with centos or ubuntu libs... Someone reports a change in glib-2.36 leading to the issue: https://bugs.archlinux.org/task/34630 I have the same issue. The sugested work arounds do not work and new gnome packages do not allow to down grade. Is there any other workaround for this in Gentoo so I can make skype work? *** Bug 500076 has been marked as a duplicate of this bug. *** Created attachment 369502 [details, diff]
strstr_hackfix.patch
Problem solved here - http://forums.gentoo.org/viewtopic-t-982958.html My problem solved with patch in attachment. Same here. I tried different versions - same thing. I am guessing it has something to do with with me upgrading system. I think glibc changed. Emulation layer was removed all together by me. gdb skype GNU gdb (Gentoo 7.5.1 p2) 7.5.1 Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html> This is free software: you are free to change and redistribute it. There is NO WARRANTY, to the extent permitted by law. Type "show copying" and "show warranty" for details. This GDB was configured as "x86_64-pc-linux-gnu". For bug reporting instructions, please see: <http://bugs.gentoo.org/>... Reading symbols from /opt/bin/skype...(no debugging symbols found)...done. (gdb) run Starting program: /opt/bin/skype warning: Could not load shared library symbols for linux-gate.so.1. Do you need "set solib-search-path" or "set sysroot"? [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". Program received signal SIGSEGV, Segmentation fault. 0x0807bcec in malloc@plt () (gdb) bt #0 0x0807bcec in malloc@plt () #1 0xf69704b3 in g_malloc () from /usr/lib32/libglib-2.0.so.0 #2 0xf697078b in g_malloc_n () from /usr/lib32/libglib-2.0.so.0 #3 0xf6979b40 in g_quark_from_static_string () from /usr/lib32/libglib-2.0.so.0 #4 0xf67f6802 in ?? () from /usr/lib32/libgobject-2.0.so.0 #5 0xf7fea456 in ?? () from /lib/ld-linux.so.2 #6 0xf7fea52c in ?? () from /lib/ld-linux.so.2 #7 0xf7fdc23f in ?? () from /lib/ld-linux.so.2 (gdb) quit A debugging session is active. Inferior 1 [process 3798] will be killed. Quit anyway? (y or n) y emerge --info !!! Repository 'desurium' is missing masters attribute in '/usr/local/portage/overlay/metadata/layout.conf' !!! Set 'masters = gentoo' in this file for future compatibility Portage 2.2.7 (default/linux/amd64/13.0/desktop, gcc-4.7.3, glibc-2.17, 3.15.1 x86_64) ================================================================= System uname: Linux-3.15.1-x86_64-AMD_FX-tm-8350_Eight-Core_Processor-with-gentoo-2.2 KiB Mem: 32906896 total, 25800564 free KiB Swap: 0 total, 0 free Timestamp of tree: Fri, 20 Jun 2014 10:30:01 +0000 ld GNU ld (GNU Binutils) 2.23.2 distcc 3.1 x86_64-pc-linux-gnu [disabled] ccache version 3.1.9 [disabled] app-shells/bash: 4.2_p45 dev-java/java-config: 2.1.12-r1 dev-lang/python: 2.7.5-r3, 3.2.5-r3, 3.3.3 dev-util/ccache: 3.1.9-r3 dev-util/cmake: 2.8.9 dev-util/pkgconfig: 0.28 sys-apps/baselayout: 2.2 sys-apps/openrc: 0.12.4 sys-apps/sandbox: 2.6-r1 sys-devel/autoconf: 2.13, 2.69 sys-devel/automake: 1.9.6-r3, 1.10.3, 1.11.6, 1.12.6, 1.13.4 sys-devel/binutils: 2.23.2 sys-devel/gcc: 4.4.7, 4.6.3, 4.7.3-r1 sys-devel/gcc-config: 1.7.3 sys-devel/libtool: 2.4.2 sys-devel/make: 3.82-r4 sys-kernel/linux-headers: 3.6 (virtual/os-headers) sys-libs/glibc: 2.17 Repositories: gentoo desurium ACCEPT_KEYWORDS="amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe -ggdb" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/share/config /usr/share/gnupg/qualified.txt" CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c" CXXFLAGS="-march=native -O2 -pipe -ggdb" DISTDIR="/usr/portage/distfiles" EMERGE_DEFAULT_OPTS="--autounmask=n" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.UTF-8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" MAKEOPTS="-j 20" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages" PORTAGE_TMPDIR="/mnt/dump/portage" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage/overlay" USE="3dnow 3dnowext 64bit X a52 aac aacplus acl acpi alsa amd64 audio audiofile automount bash-completion berkdb bluetooth bluray branding bzip2 cairo cdda cddu cdinstall cdr clamav cli consolekit cracklib crypt css ctype cups custom-cflags custom-optimization cxx dbus djvu dri dts dvd dvdr emacs emboss encode exif extras faac faad fam ffmpeg firefox flac fontconfig fortran ftp g3dvl gd gdbm gdu gflags gif gimp gnutls gphoto2 gpm gsm gzip hddtemp iconv icu imagemagick imap ipv6 java java6 javascript jpeg jpeg2k kdrive lame latex lcms libkms libnotify linmpeg lm_sensors lzma mad matroska memlimit mime minizip mms mmx mmxext mng modules mono mozilla mp3 mp4 mpeg mpg123 mplayer multilib ncurses nls nptl ocr ogg openal opencl opengl openmp pam pango pcre pdf php png policykit ppds python qt3support qt4 rar readline sdl semantic-desktop session sipim smp spell sqlite sse sse2 sse3 ssl ssse3 startup-notification svg tcpd theora threads tiff truetype trutype udev udisks unicode upower usb v4l vdpau vesa video vorbis without_nouveau=yes wxwidgets x264 xcb xcomposite xine xml xnest xulrunner xv xvid xvmc youtube zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="en ru de pl ee en_GB" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="nvidia vesa" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" Unset: CPPFLAGS, CTARGET, INSTALL_MASK, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, SYNC, USE_PYTHON I believe this bug can be closed as it's for an older version. Additionally, Skype versions before 4.3 can no longer connect. (I received the email about this in Dutch, please let me know if you want a copy) |