Category: Skype

Skype: fix “Fatal: QWidget: Must construct a QApplication before a QPaintDevice Aborted (core dumped)” or “Segmentation fault (core dumped)”

If you are running Prelink on your Gnu/Linux distribution you could get a crash when launching Skype. To inspect the real error just launch Skype using the CLI, you might get:

Fatal: QWidget: Must construct a QApplication before a QPaintDevice
Aborted (core dumped)

or

Segmentation fault (core dumped)

It has taken me several days before realise that there was a issues with Prelink. To fix it you simply have to blacklist Skype in the Prelink configuration file.

Remove Skype

sudo apt-get purge --remove skype-bin*
sudo nano /etc/prelink.conf

Add the line

-b /usr/bin/skype

Reinstall skype

sudo apt-get install skype

Rebuild the shared libraries cache

sudo ldconfig

Tested on Xubuntu 12.04. More info on this issue here:

https://bugs.launchpad.net/ubuntu/+source/skype/+bug/1002187

Install Skype 4.0 on Linux

Luckily few days ago an update version of Skype has been released.

Here the announcement and the changelog: http://blogs.skype.com/linux.

 

This is the procedure to upgrade to the new release (tested on Xubuntu 12.04 64bit):

Download the package

wget -c -O skype.deb http://download.skype.com/linux/skype-ubuntu_4.0.0.7-1_amd64.deb

Remove any previous installation without deleting the config file, otherwise add the –purge switch

sudo apt-get remove skype
sudo apt-get autoremove

Install eventually any missing dependencies

sudo apt-get install libstdc++6 lib32asound2 ia32-libs libc6-i386 lib32gcc1

Install Skype

sudo dpkg -i skype.deb

Enjoy it

 

WordPress Themes