Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Skype crashes on connect attempt?{SOLVED}
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Multimedia
View previous topic :: View next topic  
Author Message
67comet
Apprentice
Apprentice


Joined: 29 Oct 2004
Posts: 262
Location: Ogden, UT

PostPosted: Fri Feb 25, 2005 1:03 am    Post subject: Skype crashes on connect attempt?{SOLVED} Reply with quote

*edit* Seems this was an issue that was solved by simple upgrades .. it's working like a champ now. */edit*

I've never played with it much, but the wife is all about it on her machine (XP) right now, so I tossed it on here, and whomp, when I hit the connect button I get:
Code:

$ skype
Running artsd found
Starting artsd wrapped skype
==========================================
*** glibc detected *** double free or corruption (out): 0x089a5c68 ***
/usr/bin/skype: line 50: 12357 Aborted                 ${skypecmd} ${progopts} >>${logfile} 2>>${logfile}


The log in ~/.Skype =
Code:

=====  Thu Feb 24 19:58:58 EST 2005  =====
Starting artsd wrapped skype
artsdsp -m /opt/skype/skype.bin --resources-path /opt/skype/


Help? I know it's not much to go on, but that's all the error I get right now.

Justin

[edit]
Had the wife call me on Skype .. crashed again ..
Code:

$ skype
Running artsd found
Starting artsd wrapped skype
==========================================
*** glibc detected *** double free or corruption (out): 0x089d2b28 ***
/usr/bin/skype: line 50: 13024 Aborted                 ${skypecmd} ${progopts} >>${logfile} 2>>${logfile}


The log=
Code:

=====  Thu Feb 24 20:04:20 EST 2005  =====
Starting artsd wrapped skype
artsdsp -m /opt/skype/skype.bin --resources-path /opt/skype/


(starting to think there is another log somewhere, cuz
Code:
$ less skype.log
ain't turnin' out much at all).
_________________
A Pile of Code (basically dead).
Personal Site (basically useless).


Last edited by 67comet on Fri Apr 21, 2006 12:53 am; edited 1 time in total
Back to top
View user's profile Send private message
Pete
n00b
n00b


Joined: 30 Oct 2002
Posts: 10

PostPosted: Fri Feb 25, 2005 12:46 pm    Post subject: Reply with quote

same to me:

Code:

=====  Wed Feb 23 15:51:59 CET 2005  =====
Starting artsd wrapped skype
artsdsp -m /opt/skype/skype.bin --resources-path /opt/skype/
*** glibc detected *** free(): invalid pointer: 0xb5f1b3c8 ***


Is rebuilding gcc, glibc and skype worse a try?
Perhaps I will try it at the weekend ...

cheers
Pete
Back to top
View user's profile Send private message
pleban123
n00b
n00b


Joined: 28 Jul 2004
Posts: 1

PostPosted: Fri Feb 25, 2005 8:54 pm    Post subject: Reply with quote

There is a bug in skype. The old glibc treats double free light, allowing programmer to use:
Code:

char* a = malloc(100);
free(a)
free(a)

The new glibc treats this as a bug and terminates.
You can have realaxed behaviour, using MALLOC_CHECK_ environoment variable.
To make skype work change /opt/skype/skype
Code:

#!/bin/bash
#
# Wrapper script to run Skype with sound wrapper when possible
logfile="${HOME}/.Skype/skype.log"
progname="skype"

to
Code:

#!/bin/bash
#
export MALLOC_CHECK_=0
# Wrapper script to run Skype with sound wrapper when possible
logfile="${HOME}/.Skype/skype.log"
progname="skype"


I found that in Fedora Core 3 release notes
Back to top
View user's profile Send private message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Mon Feb 28, 2005 8:13 am    Post subject: Reply with quote

I tried this buy skype still dies after I try to dial someone :

Code:

# cd /opt/skype
# artsdsp -m ./skype.bin
*** glibc detected *** double free or corruption (out): 0x08a48b60 ***
Killed
# export MALLOC_CHECK_=0
# artsdsp -m ./skype.bin
Killed
Back to top
View user's profile Send private message
Pete
n00b
n00b


Joined: 30 Oct 2002
Posts: 10

PostPosted: Mon Feb 28, 2005 8:37 am    Post subject: Reply with quote

same to me. No success.
Back to top
View user's profile Send private message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Mon Feb 28, 2005 9:12 am    Post subject: Reply with quote

guess we will have to wait for the next version of skype....but I really want to skype and play ET at the same time :( ... anyone know of any other way to do this ? any other wrappers ?
Back to top
View user's profile Send private message
barry
Apprentice
Apprentice


Joined: 01 May 2002
Posts: 170
Location: UK

PostPosted: Sat Mar 26, 2005 2:13 pm    Post subject: Reply with quote

It should be MALLOC_CHECK, not MALLOC_CHECK_. Using the first one fixes these crashes - though I still get segmentation faults occasionally.
Back to top
View user's profile Send private message
col
l33t
l33t


Joined: 08 May 2002
Posts: 820
Location: Melbourne - Australia

PostPosted: Sun Mar 27, 2005 11:10 am    Post subject: Reply with quote

now I use the oss emu10k1 driver instead of the alsa one. Now skype works well & I have proper hardware mixing
Back to top
View user's profile Send private message
boris64
Veteran
Veteran


Joined: 04 Oct 2003
Posts: 1770
Location: Vechelde/Peine

PostPosted: Sun Mar 27, 2005 11:19 am    Post subject: Reply with quote

hi folks,
same problem here.

none of these "hacks"/fixes seem to work for me.
using the export "MALLOC_CHECK" environment variable
does fix the glibc error, but skype still crashes every time
i try to call someone.
_________________
boris64.net 200x / visit my desktop / try these tiny kernel patches ;)
Back to top
View user's profile Send private message
Deathwing00
Bodhisattva
Bodhisattva


Joined: 13 Jun 2003
Posts: 4087
Location: Dresden, Germany

PostPosted: Sun Mar 27, 2005 12:23 pm    Post subject: Reply with quote

This seems to be a known bug, yet unresolved: https://bugs.gentoo.org/show_bug.cgi?id=81255
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Sun May 01, 2005 4:28 pm    Post subject: artsd wrapped skype : glibc detected free(): invalid pointer Reply with quote

$ skype
Running artsd found
Starting artsd wrapped skype

then,. as soon as I start a call:

==========================================
*** glibc detected *** free(): invalid pointer: 0xb6208528 ***
/usr/bin/skype: line 50: 11701 Aborted ${skypecmd} ${progopts} >>${logfile} 2>>${logfile}

it works fine with OSS. All other arts apps work fine (gaim, xmms, mplaer )

Calculating dependencies ...done!
[ebuild R ] net-im/skype-1.1.0.3 +arts +esd -static 0 kB
[ebuild R ] media-libs/alsa-oss-1.0.8-r1 0 kB
[ebuild R ] media-sound/esound-0.2.34 +alsa +ipv6 +tcpd 0 kB
[ebuild R ] kde-base/arts-3.4.0 +alsa +arts -artswrappersuid -debug +esd -hardened -jack -kdeenablefinal +mad +oggvorbis -xinerama 0 kB
[ebuild R ] sys-libs/glibc-2.3.5 -build -debug -erandom -hardened (-multilib) +nls -nomalloccheck +nptl -nptlonly -pic -userlocales 0 kB

what to do ?
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Fri May 06, 2005 2:58 am    Post subject: Reply with quote

see bug https://bugs.gentoo.org/show_bug.cgi?id=81255
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
Macguyvok
n00b
n00b


Joined: 09 Mar 2004
Posts: 54
Location: ....right behind you....

PostPosted: Fri May 06, 2005 6:00 am    Post subject: Reply with quote

Quick question... a friend of mine was having issues gettin skype to work since it used oss... did you have to do anything special to get it to use the artsd wrapper? I've not messed with it any... just curious.
_________________
--Mac

"The DM is GOD!" No.... God's just my little NPC :-D

Coconut falls from sky... Take 2 points damage!
Back to top
View user's profile Send private message
Maedhros
Bodhisattva
Bodhisattva


Joined: 14 Apr 2004
Posts: 5511
Location: Durham, UK

PostPosted: Fri May 06, 2005 11:14 am    Post subject: Reply with quote

Merged from here to "Skype crashes on connect attempt?"
_________________
No-one's more important than the earthworm.
Back to top
View user's profile Send private message
doublehp
Guru
Guru


Joined: 11 Apr 2005
Posts: 473
Location: FRANCE

PostPosted: Fri May 06, 2005 4:37 pm    Post subject: Reply with quote

Macguyvok wrote:
Quick question... a friend of mine was having issues gettin skype to work since it used oss... did you have to do anything special to get it to use the artsd wrapper? I've not messed with it any... just curious.


my conf: skype compiled with ARTS support
arts
esd
ALSA+OSS

Since the arts wrapper does NOT work, I need to launch skype before arts or esd, or recompile skype without arts support at all.
Then Skype works as pure OSS ... that is, even using ALSA, I need to shutdown all other ALSA applications before skype can use OSS. 30s after my chat is finished, I can open again all ALSA appldcations. Thats the rules of ALS-OSS.
_________________
DEMAINE Benoît-Pierre (aka DoubleHP ) http://www.demaine.info/
>o_/ Coin coin coin \_o<
to contact me (MSN,ICQ, JABBER, Skype ... ) http://benoit.demaine.info/contact.png
Back to top
View user's profile Send private message
xiaokj
n00b
n00b


Joined: 31 Aug 2004
Posts: 25

PostPosted: Fri Jun 10, 2005 1:20 am    Post subject: Reply with quote

I've got this problem too. even aoss won't work.

However, it seems like, in alsa-oss mode, skype will have some preconfigured volume settings that it will implement on the host computer and will not allow changes. However, this is not within the scope of our discussion.

Can some helpful soul tell skype about it? I suppose that its not that hard to find the double free problem.....
Back to top
View user's profile Send private message
asyr
n00b
n00b


Joined: 01 Sep 2004
Posts: 56
Location: Hellas

PostPosted: Fri Jun 10, 2005 6:39 am    Post subject: Reply with quote

Hi all.

I have the same problem. I perform a workaround by using the OSS emulation of ALSA (snd_pcm_oss module in my case) and the /opt/skype/skype.bin directly, instead of 'skype', that use the artsdsp wrapper.
Whith this configuration I got sound support (OSS emulation thrue ALSA) on Skype calls, but I do not have the 'gling - gling' notifications on KDE when someone chat me over Skype.
I'm using MALLOC_CHECK_=0 also (for light glibc checking).

Hope this help you, until the bug will fixed.
Back to top
View user's profile Send private message
BloodyNewbie
Tux's lil' helper
Tux's lil' helper


Joined: 19 May 2004
Posts: 88

PostPosted: Fri Jun 10, 2005 10:32 am    Post subject: Reply with quote

I'm having the same issue.

This bug https://bugs.gentoo.org/show_bug.cgi?id=81255 still seems unresolved, and this is now half a year old!
Am I missing something or are there not so many peole using gcc3.4 on artsd and skype?

thanks for any hints

best regards
patrick
_________________
gentoo - per aspera ad astra, or: riding on a rocket :)
Back to top
View user's profile Send private message
Voltago
Advocate
Advocate


Joined: 02 Sep 2003
Posts: 2593
Location: userland

PostPosted: Thu Jun 16, 2005 12:24 pm    Post subject: Reply with quote

This solved my skype crash issues:
Code:
aoss skype oss
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Multimedia All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum