20

Under 13.04, Skype is crashing with a seg fault.

$ skype
Segmentation fault (core dumped)
$

How can I fix this?

Braiam
  • 67,791
  • 32
  • 179
  • 269
Ian
  • 331
  • Though the first comment seemed to do the trick. Thanks Brandon! – Ian Apr 26 '13 at 00:57
  • 2
    ! By the way, this is part of the release notes. You can add that the bug affected you: https://bugs.launchpad.net/ubuntu/+source/skype/+bug/1155327. – don.joey Apr 26 '13 at 12:08
  • 1
    For Skype, see https://bugs.launchpad.net/ubuntu/+source/skype/+bug/1155327 . It is written in the release notes. – Charles Brunet Apr 26 '13 at 18:22
  • a fix has been released by ubuntu – apparat May 01 '13 at 17:51
  • That's a tricky issue related to the memory allocation bugs in either glib, Qt or Skype. https://bugzilla.gnome.org/show_bug.cgi?id=698716 Temporary solution would be to either use LD_PRELOAD technique or downgrade glib or build glib with -Wall. – Vanuan May 07 '13 at 08:45

4 Answers4

37

You can also do the following way ...

sudo nano /etc/ld.so.conf.d/skype.conf

copy and paste the following line in it

 /usr/lib/i386-linux-gnu/mesa/

and then run

 sudo ldconfig -v

This issue was mentioned in the release notes.

blade19899
  • 26,704
Qasim
  • 22,092
  • 1
    Note that this breaks Steam for Linux. If you want to use steam, you need to remove this .conf file or rename it to something that does not end in .conf. Then run ldconfig and run Steam. – Chris Jun 06 '13 at 12:47
  • @Chris ty for updating ...... – Qasim Jun 06 '13 at 12:48
  • 1
    This is applicable for ubuntu 14.04 as well. I had the same issue in HP envy - 64 Bit. After run above command the skype loaded without any issues. – kds Sep 10 '14 at 10:39
6

Temporary workaround. Open a terminal and paste this in:

sudo  mv /usr/bin/skype{,-bin}
sudo install -b -m 744 <(<<EOF
#!/bin/sh
export LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1
exec /usr/bin/skype-bin
EOF) /usr/bin/skype

Then Skype should

Oli
  • 293,335
Simion Agavriloaei
  • 398
  • 1
  • 4
  • 8
4
  1. To get Skype to work in Ubuntu 13.04 Raring Ringtail with proprietary Nvidia / AMD drivers, firstly we'll rename the Skype executable from "skype" to "skype-bin":

    sudo mv /usr/bin/skype /usr/bin/skype-bin

  2. Now let's create a file called "skype" under /usr/bin/ - for this we'll launch a text editor as root (I'll use Gedit in the instructions below):

    gksu gksu gedit /usr/bin/skype

(I've used "gksu" twice in the command above so Gedit doesn't open a blank tab along with /usr/bin/skype)

And in this file, paste the following:

#!/bin/sh
export LD_PRELOAD=/usr/lib/i386-linux-gnu/mesa/libGL.so.1
exec skype-bin "$@"

Then save the file.

  1. And finally, run the following command in a terminal:

    sudo chmod 0755 /usr/bin/skype

That's it. Now Skype should work in Ubuntu 13.04 Raring Ringtail.

If you want to revert the changes made by using the instructions above, use these commands:

sudo rm /usr/bin/skype
sudo mv /usr/bin/skype-bin /usr/bin/skype

source

blade19899
  • 26,704
  • Thank you so much Blade, but , How I can fix the another errors? – Quantum Jumping Apr 27 '13 at 01:53
  • @AlphaPolaris to fix pidgin contact list bug. http://askubuntu.com/questions/67286/pidgin-doesnt-show-buddy-list, and about the compiz fusion not showing in the status bar - the Unity systray whitelist has been removed, meaning it cannot be displayed there anymore. see: http://www.webupd8.org/2013/04/ubuntu-1304-raring-ringtail-final-beta.html – blade19899 Apr 27 '13 at 21:39
  • For future references, please ask a question per post, or try to search for your question before posting. – blade19899 Apr 27 '13 at 21:41
1

If you, like me, have Skype installed before upgrading Ubuntu 12.10 to 13.04, uninstall it. Go to Ubuntu Software Center, find Skype and Uninstall.

Add the Ubuntu Partners repository, in Ubuntu Sofware Center, Edit Software Origins, add the following repository:

deb http://archive.canonical.com/ubuntu/ raring partner

Close Sofware Center, then update repository info, from a terminal:

sudo apt-get update

Open Sofware Center again, find and install Skype. You will note that an additional package called Indicator Support for Qt is marked, let it in that way.

Braiam
  • 67,791
  • 32
  • 179
  • 269