You are not logged in.

#1 2012-12-13 14:00:40

Zigmat
Member
Registered: 2012-12-13
Posts: 1

[SOLVED] Skype - Segmentation fault (core dumped)

Hi there

Recently I've been having problems in launching Skype (4.1.0.20-2) on my Arch box - it keeps producing a segmentaion fault (core dumped) each time I start it up. The only biggest change I did to my computer was the initscripts to systemd upgrade, but I doubt that would have any effect (I may be wrong though!).

I've also tried clean-installing Skype, but to no avail. I know version 2 is available, but I would rather have 4 running if possible.

Is anybody else having similar problems?

Offline

#2 2013-01-15 10:23:10

mandos
Member
From: Greece
Registered: 2006-01-23
Posts: 100
Website

Re: [SOLVED] Skype - Segmentation fault (core dumped)

I'm having strange crashes with several programs. Skype and Opera were the most problematic ones.

I did a clean installation of Arch (I wanted to for some time) and now Skype works nice.
But thunderbird, firefox and chromium crash all the time.
Opera still crashes and I still haven't found what causes it.

Offline

#3 2013-01-16 09:31:02

elpres
Member
Registered: 2012-02-23
Posts: 15

Re: [SOLVED] Skype - Segmentation fault (core dumped)

Same here, Skype started crashing today with a segmentation fault. These are the packages that have been upgraded on my system today and yesterday:

[2013-01-15 08:56] upgraded archlinux-keyring (20121113-1 -> 20130114-1)
[2013-01-15 08:56] upgraded git (1.8.1-1 -> 1.8.1.1-1)
[2013-01-15 08:56] upgraded iputils (20121126-1 -> 20121221-1)
[2013-01-15 08:56] upgraded tcllib (1.14-2 -> 1.14-4)
[2013-01-16 08:54] removed nss-myhostname (0.3-3)
[2013-01-16 08:54] upgraded libcdio (0.83-1 -> 0.90-2)
[2013-01-16 08:54] installed libcdio-paranoia (10.2+0.90-1)
[2013-01-16 08:54] upgraded gvfs (1.14.2-2 -> 1.14.2-3)
[2013-01-16 08:54] upgraded gvfs-obexftp (1.14.2-2 -> 1.14.2-3)
[2013-01-16 08:54] upgraded mplayer (35421-1 -> 35421-2)
[2013-01-16 08:54] upgraded pambase (20120701-1 -> 20130113-1)
[2013-01-16 08:54] upgraded python2-pytables (2.4.0-2 -> 2.4.0-3)
[2013-01-16 08:54] upgraded systemd (196-2 -> 197-4)
[2013-01-16 08:54] upgraded qtwebkit (2.2.2-1 -> 2.3git20130115-1)
[2013-01-16 08:54] upgraded shadow (4.1.5.1-2 -> 4.1.5.1-3)
[2013-01-16 08:54] upgraded systemd-sysvcompat (196-2 -> 197-4)
[2013-01-16 08:55] upgraded vlc (2.0.5-1 -> 2.0.5-2)

Offline

#4 2013-01-16 11:49:25

l4than-d3vers
Member
Registered: 2011-10-21
Posts: 9

Re: [SOLVED] Skype - Segmentation fault (core dumped)

Same here:

~/ skype
zsh: segmentation fault (core dumped)  skype

I just wanted to add that this only happens on my i686 installation. Skype on my x86_64 installation is working just fine.
Both systems are up to date as of Wed Jan 16 11:43:13 UTC 2013.
Skype version is 4.1.0.20-2.

Offline

#5 2013-01-16 12:51:32

l4than-d3vers
Member
Registered: 2011-10-21
Posts: 9

Re: [SOLVED] Skype - Segmentation fault (core dumped)

Ok pplz qtwebkit seems to be the problem:

upgraded qtwebkit (2.2.2-1 -> 2.3git20130115-1)

The obvious temporary workaround (which worked for me) is to downgrade to 2.2.2-1. You can do this using the cached package in /var/cache/pacman/pkg/. The command should be something like this:

# pacman -U /var/cache/pacman/pkg/qtwebkit-2.2.2-1-i686.pkg.tar.xz

Haven't submitted a bug report yet.
Submitted bug report.

Last edited by l4than-d3vers (2013-01-16 13:10:28)

Offline

#6 2013-01-17 08:38:38

elpres
Member
Registered: 2012-02-23
Posts: 15

Re: [SOLVED] Skype - Segmentation fault (core dumped)

Confirmed. Thanks a lot for finding the solution, l4than-d3vers!

Offline

#7 2013-04-18 19:21:16

K4LiN
Member
Registered: 2013-04-18
Posts: 2

Re: [SOLVED] Skype - Segmentation fault (core dumped)

Doesn't work for me, but degrade to lib32-glib2-2.34.3-1-x86_64 did.

yaourt -U /var/cache/pacman/pkg/lib32-glib2-2.34.3-1-x86_64.pkg.tar.xz

Cheers!

Offline

#8 2013-04-22 12:07:06

Wintershade
Member
From: Croatia
Registered: 2008-02-18
Posts: 175
Website

Re: [SOLVED] Skype - Segmentation fault (core dumped)

K4LiN wrote:

Doesn't work for me, but degrade to lib32-glib2-2.34.3-1-x86_64 did.

yaourt -U /var/cache/pacman/pkg/lib32-glib2-2.34.3-1-x86_64.pkg.tar.xz

Cheers!

I can confirm this, that worked for me. Gah, I hate downgrading packages. Is this a bug in lib32-glib2 or?


Only the best is good enough.

Offline

#9 2013-04-22 18:48:04

ranko6
Member
Registered: 2012-12-02
Posts: 4

Re: [SOLVED] Skype - Segmentation fault (core dumped)

+1 on lib32-glib2-2.34.3-1-x86_64.pkg.tar.xz

Offline

#10 2013-04-22 19:37:44

amethyr
Member
From: By a computer
Registered: 2010-07-27
Posts: 7
Website

Re: [SOLVED] Skype - Segmentation fault (core dumped)

downgrade to lib32-glib2-2.34.3-1-x86_64.pkg.tar.xz worked for me as well.


Without computers the world would be much less connected.
Without Linux the world would be much less stable.
Without Arch too many resources would be wasted.

Offline

#11 2013-04-22 19:45:05

csergec
Member
Registered: 2009-09-29
Posts: 62

Re: [SOLVED] Skype - Segmentation fault (core dumped)

The same thing for me on a i686 system
I had to downgrade to glib-2.34.3-1

Serge

Offline

#12 2013-04-22 23:37:21

breed808
Member
From: Australia
Registered: 2012-10-27
Posts: 15

Re: [SOLVED] Skype - Segmentation fault (core dumped)

I suppose I'll add that the lib32-glib2 downgrade also worked for me (2.36.1-1 > 2.34.3-1).

Offline

#13 2013-04-23 04:08:23

saalty
Member
Registered: 2012-04-06
Posts: 46

Re: [SOLVED] Skype - Segmentation fault (core dumped)

It's working for me too, but lot of other apps did't then for example Eye of Gnome, Gedit, Galculator, just tint2 didn't want to start today when I started my laptop. After upgrading to the newest glib version (I have i686 system) all of these working but not skype. Is there any other solution?

Offline

#14 2013-04-23 06:41:03

amatriain
Member
Registered: 2011-06-02
Posts: 49

Re: [SOLVED] Skype - Segmentation fault (core dumped)

It's probably related to this: https://bbs.archlinux.org/viewtopic.php … 0#p1262580 and to this bug report: https://bugs.archlinux.org/task/34892

It seems latest glib2 2.36 has a few problems with some applications crashing (fusion-icon, skype, gimp at least).

@Zigmat: I don't think you should mark this as solved. Downgrading to glib2 2.34 is not a viable workaround, as it breaks other applications.

Offline

#15 2013-04-23 07:43:47

Zack7777
Member
From: Russia
Registered: 2012-04-06
Posts: 20
Website

Re: [SOLVED] Skype - Segmentation fault (core dumped)

Ugly hack until first reboot:

Downgrade lib32-glib2, start skype, upgrade lib32-glib2.
For those, who don't have cache, here you go: https://dl.dropboxusercontent.com/u/185 … pkg.tar.xz

Last edited by Zack7777 (2013-04-23 08:06:25)

Offline

#16 2013-04-23 07:58:46

WhiteKnight
Member
Registered: 2011-11-19
Posts: 11

Re: [SOLVED] Skype - Segmentation fault (core dumped)

Zack7777 wrote:

Ugly hack until first reboot:

Downgrade lib32-glib2, start skype, upgrade lib32-glib2.
For these, who don't have cache, here you go: https://dl.dropboxusercontent.com/u/185 … pkg.tar.xz

Ugly indeed wink but it helps temporarily, if you are „forced“ to use Skype like me. Thanks!

Offline

#17 2013-04-23 08:10:40

opensrcrox
Member
Registered: 2012-08-10
Posts: 32

Re: [SOLVED] Skype - Segmentation fault (core dumped)

Saalty, there is a slightly less annoying way to make Skype work without downgrading the latest Glib2.
If you wish to try it, give it a shot as follows:
1) From your pacman cache or from e.g. Arch Rollback Machine ( see wiki ) get the old glib2 package ( 2.34 )
2) Open the package using Archive Manager, find libgobject-2.0.so.0.3400.3
3) Cut and paste it preferably somewhere in your home directory ( It's possible to copy to system directories as well, but littering the system directories with non-pacman tracked SOs is bad practice. It could also create issues further on .)

Now you have several options to run Skype:

You can run it from a terminal in the following manner:

 LD_PRELOAD=<absolute-path-to-the-so-we-extracted> skype 

You can also setup a wrapper script that runs the above code ( don't forget to make it executable )

Another way is to modify the skype .desktop file so you can click skype in the menu, and run it.
For that you edit ( as root .... or via sudo with your favorite editor ) /usr/share/applications/skype.desktop
Find the "Exec" line and change it to :

 Exec=env LD_PRELOAD=<absolute-path-to-the-so> skype 

.. and save the file.
Be careful with spaces in the command ... even one out-of-place space would mess up the whole command smile
If your chosen path has spaces in it, you should enclose it in double quotes. It's easier to keep it simple and without spaces.
E.g.   /home/saalty/darnskype/libgobject-2.0.so.0.3400.3

In this case the line becomes:

 Exec=env LD_PRELOAD=/home/saalty/darnskype/libgobject-2.0.so.0.3400.3 skype 

Good luck

Offline

#18 2013-04-23 08:58:10

hongster
Member
From: Johor Bahru, Malaysia
Registered: 2009-02-27
Posts: 36
Website

Re: [SOLVED] Skype - Segmentation fault (core dumped)

@opensrcrox I have tried your method, but it does not work. I am still experiencing segfault. For the time being, downgrading lib32-glib2 works for me.

Offline

#19 2013-04-23 09:06:07

Zack7777
Member
From: Russia
Registered: 2012-04-06
Posts: 20
Website

Re: [SOLVED] Skype - Segmentation fault (core dumped)

hongster, you're doing something wrong. opensrcrox's method actually works. Tested myself.

Offline

#20 2013-04-23 09:39:40

Cthulhu82
Member
From: Angers, France
Registered: 2013-04-01
Posts: 149

Re: [SOLVED] Skype - Segmentation fault (core dumped)

I tried your solution and obtain this :

ERROR: ld.so: object '/home/damien/libgobject-2.0.so.0.3400.3' from LD_PRELOAD cannot be preloaded: ignored.

The path is good, the file is executable, I honestly don't understand…


« En essayant continuellement, on finit par réussir.
Donc plus ça rate, plus ça a de chance de marcher. »
Devise Shadock

Offline

#21 2013-04-23 10:13:25

lightstream
Member
From: Britain
Registered: 2011-10-30
Posts: 46

Re: [SOLVED] Skype - Segmentation fault (core dumped)

Cthulhu82 wrote:

I tried your solution and obtain this :

ERROR: ld.so: object '/home/damien/libgobject-2.0.so.0.3400.3' from LD_PRELOAD cannot be preloaded: ignored.

The path is good, the file is executable, I honestly don't understand…

Hmm .. I also got this message as I was starting up skype, and the path is good and the file is executable also (don't know if that's necessary, however it's the privileges it had when extracted).

As soon as I saw the message, I hit Ctrl-C, and skype then loaded fine - not sure if pressing Ctrl-C had anything to do with it!

Offline

#22 2013-04-23 10:25:57

meccanus
Member
Registered: 2013-04-23
Posts: 11

Re: [SOLVED] Skype - Segmentation fault (core dumped)

[double posting,sorry]

Last edited by meccanus (2013-04-23 10:28:35)

Offline

#23 2013-04-23 10:26:43

meccanus
Member
Registered: 2013-04-23
Posts: 11

Re: [SOLVED] Skype - Segmentation fault (core dumped)

Cthulhu82 wrote:

I tried your solution and obtain this :

ERROR: ld.so: object '/home/damien/libgobject-2.0.so.0.3400.3' from LD_PRELOAD cannot be preloaded: ignored.

The path is good, the file is executable, I honestly don't understand…


I made a bash script called skype in my bin path according to opensrcrox suggestion.
I had the same issue at first, then I realized my script was cyclically calling itself (I guess), so I renamed it to skype.sh and everything started working again.

Is this information relevant to you?

Offline

#24 2013-04-23 10:52:15

joctee
Member
Registered: 2013-04-23
Posts: 3

Re: [SOLVED] Skype - Segmentation fault (core dumped)

lightstream: I have the exact problem as you!

~ > LD_PRELOAD=/home/joakim/skype-workaround/usr/lib/libgobject-2.0.so.0.3400.3  skype
ERROR: ld.so: object '/home/joakim/skype-workaround/usr/lib/libgobject-2.0.so.0.3400.3' from LD_PRELOAD cannot be preloaded: ignored.
Segmentation fault (core dumped)

Offline

#25 2013-04-23 10:53:48

lightstream
Member
From: Britain
Registered: 2011-10-30
Posts: 46

Re: [SOLVED] Skype - Segmentation fault (core dumped)

meccanus wrote:

I made a bash script called skype in my bin path according to opensrcrox suggestion.
I had the same issue at first, then I realized my script was cyclically calling itself (I guess), so I renamed it to skype.sh and everything started working again.

Is this information relevant to you?

Actually this may be relevant - I didn't create a script myself, but by default skype installs a bash script at /usr/bin/skype which is used for starting the program. This script does some funny stuff with the $LD_PRELOAD environment variable, and then runs a script at $LIBDIR/skype/skype

Perhaps modifying the script at /usr/bin/skype to add the v2.34 glib2 library to the LD_PRELOAD stuff in there would help? As I said, my skype is running at the moment, so I'm reluctant to stop it to test!

Offline

Board footer

Powered by FluxBB