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

1 Comment

  • By Marcos, January 18, 2013 @ 6:05 am

    Thanks,guy, is very important for me,!!

Other Links to this Post

RSS feed for comments on this post. TrackBack URI

Leave a comment

WordPress Themes