You are not logged in.

#26 2013-04-23 10:56:18

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

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

joctee wrote:

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)

joctee - try pressing Ctrl-C as soon as you see the message "ERROR: ld.so: object '/home/joakim/skype-workaround/usr/lib/libgobject-2.0.so.0.3400.3' from LD_PRELOAD cannot be preloaded: ignored."

That's what seemed to allow me to start skype! Obviously easier than messing with scripts, if it works for you?

Offline

#27 2013-04-23 11:01:53

biinari
Member
Registered: 2013-04-23
Posts: 1

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

When using a 64 bit system, you will need to use the 32 bit package lib32-glib2. Following the LD_PRELOAD instructions with that work fine for me.

Offline

#28 2013-04-23 11:04:47

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

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

Ok, I found out was what wrong in my case. There are two glibc2 packages:

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

I first used the first one, which gave me the cryptic error message. However, the second one works. This is how I did it:

mkdir ~/skype-workaround
cd ~/skype-workaround
wget "http://mirror.yongbok.net/archlinux/multilib/os/x86_64/lib32-glib2-2.34.3-1-x86_64.pkg.tar.xz"
tar -xf lib32-glib2-2.34.3-1-x86_64.pkg.tar.xz
LD_PRELOAD=~/skype-workaround/usr/lib32/libgobject-2.0.so.0.3400.3 skype

Offline

#29 2013-04-23 11:41:10

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

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

lightstream wrote:

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!

I add

Exec=env LD_PRELOAD=/home/damien/libgobject-2.0.so.0.3400.3 

directly in in the /usr/bin/skype script, and it works perfectly. Thanks man !


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

Offline

#30 2013-04-23 15:23:38

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

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

Anybody still having problems with this, a couple of quick notes.
Those running 64-bit Arch need the lib32 package of Glib2 ( my post mentioned the x86 package since it was addressed to an x86 user.)

A new Gllib2 package is in the testing repo now ( Glib2 2.36.1-2 for x86 ) .... it has a possibly temp fix for this issue and several others.
It's a strange bug if you want to read about it =>   FS#34630
With the new Glib2 package, you can change the Exec line back to just skype.

TL;DR   easiest thing to do to fix this => update your Glib2 to the latest one currently in Testing repo

Offline

#31 2013-04-23 15:24:40

smirky
Member
From: Bulgaria
Registered: 2013-02-23
Posts: 217
Website

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

The new lib32-glib2 2.36.1-3 fixes the problem.


Personal spot  ::  https://www.smirky.net/  ::  Try not to get lost!

Offline

#32 2013-04-23 15:30:16

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

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

btw, 64-bit lib32 is in Multilib
32-bit is in Testing

Offline

#33 2013-04-23 20:08:19

ky
Member
From: Melbourne
Registered: 2013-04-14
Posts: 7
Website

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

This post has been more or less answered... i guess, but for people who do stumble over this, i created a executable skype file inside $HOME/bin/skype with:

#!/bin/bash
exec=env LD_PRELOAD=/home/kyle/build/usr/lib32/libgobject-2.0.so.0.3400.3 /usr/bin/skype

worked like a charm, thanks Zack7777 for the old libs big_smile

Offline

#34 2013-04-25 07:12:31

purple12
Member
Registered: 2008-08-16
Posts: 73

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

Interesting and useful thread.  I'm also running compiz + xfce and was getting xserver crashes minutes after getting into my environment.  typically, I boot to the command prompt, startxfce4, then do a   "compiz --replace ccp &" to get going.  My system would work OK for about 2-3 mins then dump me out of the GUI and back to the prompt with an ugly error spew that may as well have been written in ancient Greek.
The rollback of glib2 stabilized things, but apps like truecrypt were failing with reference to gvfs, whose rollback was complicated by its mutual dependence with gvfs-obexftp.  Got them both rolled back, and things seem to be OK (for now?)....but this is not good.  Thanks very much for the info posted here, and if I have anything that I think might help, I'll post, but mainly just lurk, since I'm not much of a power user.
--cheers

Last edited by purple12 (2013-04-25 07:15:01)

Offline

#35 2013-04-25 07:48:08

mthqwork
Member
From: Budapest, HU
Registered: 2013-04-25
Posts: 1

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

smirky wrote:

The new lib32-glib2 2.36.1-3 fixes the problem.

I'm on X86_64 and i can confirm that update solved my problem too. No more segfaults.
I suggest anyone to update, at least that package because it's easier and more elegant solution.

Offline

#36 2013-04-26 13:30:13

MajinJoko
Member
Registered: 2007-08-15
Posts: 66

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

csergec wrote:

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

Serge

Thanks!
Works for me on my i686.

Offline

#37 2013-04-26 13:32:05

blacxun
Member
Registered: 2011-06-13
Posts: 3

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

hello,

opensrcrox wrote:

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


works perfect for me,
thx opensrcrox


I watch that rotten box 'til my eyeballs fail to see. The Revolution will not be televised!

Offline

#38 2013-04-30 11:44:43

manu
Member
Registered: 2013-04-07
Posts: 2

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

So if I choose to downgrade glib2 (which worked for me), I have to ignore future updates of this package ?

Offline

#39 2013-04-30 12:17:41

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

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

manu wrote:

So if I choose to downgrade glib2 (which worked for me), I have to ignore future updates of this package ?

As Smirky said earlier in this post, the last glib2 update solved the problem. So you can update it to the last version safely.

Last edited by Cthulhu82 (2013-04-30 12:18:29)


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

Offline

Board footer

Powered by FluxBB