Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Under 13.04, Skype is crashing with a seg fault.

$ skype
Segmentation fault (core dumped)
$

How can I fix this?

share|improve this question

closed as off-topic by Seth, don.joey, BuZZ-dEE, Tom Brossman, blade19899 Dec 27 '13 at 14:50

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • "Bug reports and problems with the development version of Ubuntu should be reported on Launchpad so that developers can see, track and fix these issues." – Seth, don.joey, BuZZ-dEE, Tom Brossman, blade19899
If this question can be reworded to fit the rules in the help center, please edit the question.

    
Though the first comment seemed to do the trick. Thanks Brandon! –  Ian Apr 26 '13 at 0:57
2  
! By the way, this is part of the release notes. You can add that the bug affected you: bugs.launchpad.net/ubuntu/+source/skype/+bug/1155327. –  don.joey Apr 26 '13 at 12:08
1  
For Skype, see 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 1 '13 at 17:51
    
That's a tricky issue related to the memory allocation bugs in either glib, Qt or Skype. 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 7 '13 at 8:45

4 Answers 4

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.

share|improve this answer
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 6 '13 at 12:47
    
@Chris ty for updating ...... –  Qasim Jun 6 '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 at 10:39

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

share|improve this answer
2  
Weird, why does skype need mesa libs? –  handuel Apr 26 '13 at 20:04
  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

share|improve this answer
    
Thank you so much Blade, but , How I can fix the another errors? –  Quantum Jumping Apr 27 '13 at 1:53
    
@AlphaPolaris to fix pidgin contact list bug. 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: 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

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.

share|improve this answer

Not the answer you're looking for? Browse other questions tagged or ask your own question.