LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch
User Name
Password
Arch This Forum is for the discussion of Arch Linux.

Notices


Reply
  Search this Thread
Old 06-17-2014, 11:36 AM   #1
dmgus
LQ Newbie
 
Registered: Jun 2014
Posts: 13

Rep: Reputation: Disabled
skype Segmentation fault (core dumped)


I have "Segmentation fault (core dumped)" fault error when trying to start skype on 64-bit Arch.

There are quite some threads with solutions, mainly it is stated that for new versions of libs all should be fine:

https://bbs.archlinux.org/viewtopic.php?id=161303
https://bbs.archlinux.org/viewtopic.php?id=154571
https://bugs.archlinux.org/task/34630
https://bugs.archlinux.org/task/33417

I even created my own thread on the Arch forum but don't have an answer.
https://bbs.archlinux.org/viewtopic....24992#p1424992

I have the following versions of the libs:

skype version 4.2.0.13-4
lib32-glib2 version 2.40.0-1
qtwebkit version 2.3.3-1

I tried to downgrade the following libs for no avail: glib2, lib32-glib2, qt4, skype

And here is the output of gdb:

gdb /usr/lib32/skype/skype

run
Code:
Program received signal SIGSEGV, Segmentation fault.
0xf7fe495a in _dl_relocate_object () from /lib/ld-linux.so.2
    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 "/usr/lib/libthread_db.so.1".

    Program received signal SIGSEGV, Segmentation fault.
    0xf7fe495a in _dl_relocate_object () from /lib/ld-linux.so.2
backtrace
Code:
#0  0xf7fe495a in _dl_relocate_object () from /lib/ld-linux.so.2
#1  0xf7fecd51 in dl_open_worker () from /lib/ld-linux.so.2
#2  0xf7fe89d5 in _dl_catch_error () from /lib/ld-linux.so.2
#3  0xf7fec499 in _dl_open () from /lib/ld-linux.so.2
#4  0xf7e89ca5 in ?? () from /usr/lib32/libdl.so.2
#5  0xf7fe89d5 in _dl_catch_error () from /lib/ld-linux.so.2
#6  0xf7e8a351 in ?? () from /usr/lib32/libdl.so.2
#7  0xf7e89d4e in dlopen () from /usr/lib32/libdl.so.2
#8  0xf58ed464 in ?? () from /usr/lib32/libQtCore.so.4
#9  0xf58e7dd4 in ?? () from /usr/lib32/libQtCore.so.4
#10 0xf584760e in ?? () from /usr/lib32/libQtCore.so.4
#11 0xf580a19b in QLocalePrivate::updateSystemPrivate() ()
   from /usr/lib32/libQtCore.so.4
#12 0xf580a4c4 in ?? () from /usr/lib32/libQtCore.so.4
#13 0xf580a535 in QLocale::QLocale() () from /usr/lib32/libQtCore.so.4
#14 0xf58a2097 in ?? () from /usr/lib32/libQtCore.so.4
#15 0xf58ce954 in ?? () from /usr/lib32/libQtCore.so.4
#16 0xf58ceac2 in ?? () from /usr/lib32/libQtCore.so.4
#17 0xf587f0e0 in QFileInfo::QFileInfo(QString const&) ()
   from /usr/lib32/libQtCore.so.4
#18 0xf5879325 in QFile::exists(QString const&) ()
   from /usr/lib32/libQtCore.so.4
#19 0xf57df058 in ?? () from /usr/lib32/libQtCore.so.4
What should I try to fix it? Unfortunately I badly need that microsoft tool
 
Old 06-19-2014, 03:54 AM   #2
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
There's often some stupid symlink missing for ld-linux.so. Here's mine
Quote:
lrwxrwxrwx 1 root root 10 Dec 18 2012 /lib/ld-linux.so.2 -> ld-2.15.so
lrwxrwxrwx 1 root root 10 Dec 18 2012 /lib64/ld-linux-x86-64.so.2 -> ld-2.15.so
Run ldconfig and it will create any further symlinks it requires
 
Old 06-22-2014, 07:01 AM   #3
dmgus
LQ Newbie
 
Registered: Jun 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
ldconfig ld-linux.so gave me the following
Code:
	ld-linux-x86-64.so.2 -> ld-2.19.so
	ld-linux.so.2 -> ld-2.19.so
running ldconfig won't help, what else can I try?
 
Old 06-22-2014, 09:18 AM   #4
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Try
Code:
ldd  /path/to/skype  |  grep found
This checks the existence of dynamic executables and returns not found for any missing ones. Fix them.

If there are not any missing libs, try
Code:
ldd  /path/to/skype  | less
as I found some things pick up a lib from seamonkey, or google earth or something like that that has strange effects. That can often cause issues.
 
Old 06-22-2014, 04:35 PM   #5
dmgus
LQ Newbie
 
Registered: Jun 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
The first command returns nothing, i.e. I have no missing libs, the second one returned some list, though cannot decide what is suspicious there:

Code:
	linux-gate.so.1 (0xf54c1000)
	libXv.so.1 => /usr/lib32/libXv.so.1 (0xf545b000)
	libXss.so.1 => /usr/lib32/libXss.so.1 (0xf5457000)
	librt.so.1 => /usr/lib32/librt.so.1 (0xf544e000)
	libdl.so.2 => /usr/lib32/libdl.so.2 (0xf5449000)
	libX11.so.6 => /usr/lib32/libX11.so.6 (0xf5311000)
	libXext.so.6 => /usr/lib32/libXext.so.6 (0xf52fe000)
	libQtDBus.so.4 => /usr/lib32/libQtDBus.so.4 (0xf5281000)
	libQtWebKit.so.4 => /usr/lib32/libQtWebKit.so.4 (0xf3c4f000)
	libQtXml.so.4 => /usr/lib32/libQtXml.so.4 (0xf3c0c000)
	libQtGui.so.4 => /usr/lib32/libQtGui.so.4 (0xf3168000)
	libQtNetwork.so.4 => /usr/lib32/libQtNetwork.so.4 (0xf3028000)
	libQtCore.so.4 => /usr/lib32/libQtCore.so.4 (0xf2d41000)
	libpthread.so.0 => /usr/lib32/libpthread.so.0 (0xf2d24000)
	libstdc++.so.6 => /usr/lib32/libstdc++.so.6 (0xf2c2e000)
	libm.so.6 => /usr/lib32/libm.so.6 (0xf2be1000)
	libgcc_s.so.1 => /usr/lib32/libgcc_s.so.1 (0xf2bc6000)
	libc.so.6 => /usr/lib32/libc.so.6 (0xf2a04000)
	/lib/ld-linux.so.2 (0xf54a0000)
	libxcb.so.1 => /usr/lib32/libxcb.so.1 (0xf29e0000)
	libdbus-1.so.3 => /usr/lib32/libdbus-1.so.3 (0xf298a000)
	libsqlite3.so.0 => /usr/lib32/libsqlite3.so.0 (0xf28b6000)
	libXrender.so.1 => /usr/lib32/libXrender.so.1 (0xf28ab000)
	libglib-2.0.so.0 => /usr/lib32/libglib-2.0.so.0 (0xf27a0000)
	libpng16.so.16 => /usr/lib32/libpng16.so.16 (0xf2767000)
	libz.so.1 => /usr/lib32/libz.so.1 (0xf2750000)
	libfreetype.so.6 => /usr/lib32/libfreetype.so.6 (0xf26ab000)
	libgobject-2.0.so.0 => /usr/lib32/libgobject-2.0.so.0 (0xf265a000)
	libSM.so.6 => /usr/lib32/libSM.so.6 (0xf2651000)
	libICE.so.6 => /usr/lib32/libICE.so.6 (0xf2634000)
	libfontconfig.so.1 => /usr/lib32/libfontconfig.so.1 (0xf25f8000)
	libssl.so.1.0.0 => /usr/lib32/libssl.so.1.0.0 (0xf2588000)
	libcrypto.so.1.0.0 => /usr/lib32/libcrypto.so.1.0.0 (0xf2392000)
	libXau.so.6 => /usr/lib32/libXau.so.6 (0xf238e000)
	libXdmcp.so.6 => /usr/lib32/libXdmcp.so.6 (0xf2387000)
	libpcre.so.1 => /usr/lib32/libpcre.so.1 (0xf2319000)
	libbz2.so.1.0 => /usr/lib32/libbz2.so.1.0 (0xf2308000)
	libharfbuzz.so.0 => /usr/lib32/libharfbuzz.so.0 (0xf22ae000)
	libffi.so.6 => /usr/lib32/libffi.so.6 (0xf22a6000)
	libuuid.so.1 => /usr/lib32/libuuid.so.1 (0xf22a0000)
	libexpat.so.1 => /usr/lib32/libexpat.so.1 (0xf2277000)
I've also tryed to downgrade lib32-glibc 2.19 for no avail.
 
Old 06-23-2014, 02:50 AM   #6
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
And no clues from purely debian sources? My skype has 4 more libs after libexpat - here's the list.
Quote:
libexpat.so.1 => /usr/lib/libexpat.so.1 (0xf4323000)
libffi.so.6 => /usr/lib/libffi.so.6 (0xf431d000)
libresolv.so.2 => /lib/libresolv.so.2 (0xf4304000)
liblzma.so.5 => /lib/liblzma.so.5 (0xf42de000)
libuuid.so.1 => /lib/libuuid.so.1 (0xf42da000)
You seem to have libuuid and libffi but I don't see libresolv or liblzma. I have skype-4.1. If you have 4.1, there's a fair chance your binary is borked.
There is also a debian specific crash issue in the README in /usr/share/skype, and I'd look at that.
 
Old 06-23-2014, 08:44 AM   #7
dmgus
LQ Newbie
 
Registered: Jun 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
Yes these two seems not in my list, though I have Skype 4.2 on Arch 64bit and also tried 4.3 for the same result.

I have both libresolv and libuuid in lib32:

Code:
/usr/lib32/libresolv-2.19.so  
/usr/lib32/libresolv.so.2
/usr/lib32/libresolv.so

/usr/lib32/libuuid.so.1  
/usr/lib32/libuuid.so.1.3.0
So maybe I should make skype to use them somehow or something else?

Last edited by dmgus; 06-23-2014 at 08:56 AM.
 
Old 06-23-2014, 08:55 AM   #8
dmgus
LQ Newbie
 
Registered: Jun 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
oh I tried to say I have both libresolv and liblzma:
Code:
/usr/lib32/liblzma.a   
/usr/lib32/liblzma.so.5
/usr/lib32/liblzma.so  
/usr/lib32/liblzma.so.5.0.5
 
Old 06-23-2014, 10:54 AM   #9
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Skype has a debian specific issue in the README. The difference those libs make is that they cast suspicion on the binary?

Have you grabbed the static binary? or tried another download?
 
Old 06-24-2014, 09:18 AM   #10
dmgus
LQ Newbie
 
Registered: Jun 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by business_kid View Post
Skype has a debian specific issue in the README. The difference those libs make is that they cast suspicion on the binary?

Have you grabbed the static binary? or tried another download?
First of all I tried the standard skype which I get from Arch repo, it was 4.2 now it's upgraded to 4.3 and still the same fault. Moreover I tried Skype 2.0 from Arch AUR - also segfault. I tried also to download dynamic version from skype.com skype-4.3.0.37.tar.bz2 This version provides the same segfault
Not sure if I got your question right regarding static binary, if not please advise what can I try as well. Thanks!
 
Old 06-25-2014, 03:25 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
Dynamic versions are preferred, but need the external libraries.

Static versions are bigger, but have what they need built in. There used to be a static version, but m$ have pulled it :-(. There is some lib AWOL or borked and that is crashing out skype, at a guess.
Have you this stuff (All skype dependencies)

Skype for Linux

1 GHz processor or faster.
256 MB RAM.
100 MB free disk space on your hard drive.
Video card driver with Xv support.
Either a built-in or external microphone is required for voice calls.
An internet connection - broadband is best (GPRS is not supported for voice calls).
Qt 4.7
D-Bus 1.0.0

Other than that, I am out of ideas.
 
1 members found this post helpful.
Old 06-25-2014, 02:50 PM   #12
dmgus
LQ Newbie
 
Registered: Jun 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
Thanks a lot for your help business_kid! At least I've found a workaround - static skype 2
I got it from

http://download.skype.com/linux/skyp...2.0.35.tar.bz2

and it works fine on my end. So could go with skype now at least

I've also tried static 4.0.0.8 for no avail:

http://download.skype.com/linux/skyp....0.0.8.tar.bz2

Code:
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 "/usr/lib/libthread_db.so.1".

Program received signal SIGILL, Illegal instruction.
0x0805bb97 in malloc@plt ()
(gdb) backtrace
#0  0x0805bb97 in malloc@plt ()
#1  0x00002000 in ?? ()
#2  0xf7a8bcb3 in g_malloc () from /usr/lib32/libglib-2.0.so.0
#3  0xf7a8bf7b in g_malloc_n () from /usr/lib32/libglib-2.0.so.0
#4  0xf7a95d67 in g_quark_from_static_string () from /usr/lib32/libglib-2.0.so.0
#5  0xf7dd7892 in ?? () from /usr/lib32/libgobject-2.0.so.0
#6  0xf7fe8b30 in call_init.part () from /lib/ld-linux.so.2
#7  0xf7fe8c40 in _dl_init_internal () from /lib/ld-linux.so.2
#8  0xf7fdabaf in _dl_start_user () from /lib/ld-linux.so.2
ldd won't show any not found libs.
 
Old 06-26-2014, 03:32 AM   #13
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
That seems like it's not finding the basic libs. Something weird happened.

setting solib-search-path is a gdb instruction, and sysroot is a gcc one. I wouldn't bother with those. But it implies a difficulty with basic libs. Are you sandboxing it, or something?

With static, ldd is out of it. I don't know if your 4.0.0.8 version is intact. Glad you're going. Does anything else act up?
 
Old 06-27-2014, 12:46 PM   #14
dmgus
LQ Newbie
 
Registered: Jun 2014
Posts: 13

Original Poster
Rep: Reputation: Disabled
Not sure what do you mean by sandboxing, probably not, since I don't know what do you mean and haven't done anything special...
4.0.0.8 is from skype.com so should be a correct one.
Regarding anything else, no everything works just fine, except bumblebee, it has some problems though not sure if it relates.
 
Old 06-28-2014, 03:50 AM   #15
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 16,297

Rep: Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322Reputation: 2322
sandboxing is a security technique. If you don't know about it, you're probably not doing it.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Segmentation fault (core dumped) Khaled ELmishad Programming 1 06-16-2012 11:13 AM
Segmentation Fault (core dumped) doing su - Blinker_Fluid Solaris / OpenSolaris 5 10-07-2008 06:04 PM
Segmentation fault (core dumped) nasim751 Programming 1 01-27-2008 09:18 PM
segmentation fault (core dumped) - what??? Micro420 Programming 6 12-07-2006 01:03 AM
Segmentation Fault (core dumped) newuser455 Linux - Software 3 08-28-2004 02:39 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Arch

All times are GMT -5. The time now is 10:34 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration