Help - Search - Members - Calendar
Full Version: *** glibc detected *** double free or corruption (out): 0x08
Skype Community > English > Linux
zx2c4_
I'm running the latest gentoo linux using 2.6.12-r2. When receving anything on skype (a chat IM or when I initiate a new voice chat), the program quits. The console reports:
CODE
zx2c4@tux ~ $ skype

Running artsd found

Starting artsd wrapped skype

==========================================

*** glibc detected *** double free or corruption (out): 0x08ac84e0 ***

/usr/bin/skype: line 50: 25998 Aborted                 ${skypecmd} ${progopts} >>${logfile} 2>>${logfile}

berkus_
Can you at the very least tell the skype version you are using?

Are you sure this is not your glibc compilation issue? Did you build glibc with default flags or aggressive optimization?

What's the hardware?
Hetfield_
that's a problem with artsd, but not only skype fault.

artsd will be discontinued in next kde 4 version, so i suggest to start searching for a better solution
berkus_
QUOTE(Hetfield)
that's a problem with artsd, but not only skype fault.

artsd will be discontinued in next kde 4 version, so i suggest to start searching for a better solution


hmm... sounds kinda unuseful. if you want sound here and now and arts works - why not. well, if it doesn't there's a way to figure why. for example just "[x] Full duplex" checkbox should be checked on, as per the sound configuration guide.

KDEMM has been only drafted (but no real code exists yet), so "searching for a better solution" is going on already, but not for end users i guess.
zx2c4_
So what do i do?
berkus_
[quote=zx2c4]So what do i do?[/quote]

1. tell your skype version
2. tell your hardware
3. tell that you tried with "[x] Full duplex" checkbox on in arts configuration (KControl / Sound & Multimedia / Sound System / Hardware / [x] Full duplex)
dillonco_
I'm having the same problem. The thing is that is runs fine without arts (run "skype oss" in gentoo), and sound is definately set up OK. Even stranger, this happens on both my desktop and my laptop (both up-to-date gentoo), so it's probably configuration and not hardware related.

ALSA
Skype : 1.1.0.13
KDE: 3.4 (Arts, Full Duplex)
HW: nforce2/iintel8x0 (laptop: some SiS chip)

The only thing I can think of is that my drivers are built into the kernel and not as modules, but that's never been a problem before.
zx2c4_
[quote=berkus]1. tell your skype version
2. tell your hardware
3. tell that you tried with "[x] Full duplex" checkbox on in arts configuration (KControl / Sound & Multimedia / Sound System / Hardware / [x] Full duplex)[/quote]
1. the latest off this site
2. Dell Inspiron 9300 running Gentoo Linux with all updates using an internal AC97 sound card which works great with Alsa and Arts.
3. I've tried [x] full duplex
berkus_
[quote=zx2c4]1. the latest off this site[/quote]

is it really hard to click Help.About?
zx2c4_
1.1.0.13
berkus_
QUOTE(zx2c4)
1.1.0.13


can you please try with the latest one? (that would be 1.1.0.20)
zx2c4_
I use gentoo linux, so what ever is in the portage tree, I use. (I do use ~ though. I'm running
CODE
emerge sync && emerge -uD world && emerge -uD system

Currently, so maybe that will get it.
zx2c4_
Ok. I upgraded and I still have the same problem.

The problem does not occur if I run
CODE
skype oss
, but then I don't get sound.
dillonco_
To chime in again:

I tried the 1.1.0.20 static binary and it has the same problem.

Also, "skype oss" should give sound. Just ensure that arts (artsd) isn't running. You can have it auto exit with the setting under Control Center -> Sound & Multimedia -> Sound System -> Auto-Suspend.
zx2c4_
Any suggestions to getting it to work w/ artsd?


...I wish they would just make this open source
Si_
I also have this exact same problem running with Skype 1.1.0.13, KDE 3.4.1. I'm not sure what's causing this problem, but in Arch, artsdsp works fine while in Gentoo artsdsp doesn't. There was a thread about this output of glibc thing (I forgot the details), by changing an environment variable, I was able to start Skype, but as soon as I make a call or receive a call, Skype segfaults.

I really hope Skype can natively support ALSA soon so everything can be dmix'ed :wink:
In fact I think native ALSA support should be the top priority, all the sound daemons are just workarounds, not real solutions to the problem.
enseagui_
I am also experiencing the same problem I was using version 1.1.0.13 and I just upgraded to 1.1.0.20 It doesn't seems they fixed the problem. They tried to put the env variable MALLOC_CHECK_=0 in their startup script so that malloc will not verify. So now with version 1.1.0.20 the program continue even with a double free and I am getting a seg fault(/usr/bin/skype: line 50: 10795 Segmentation fault). So I guess I'll continue to kill the artsd to run without sound daemon waiting for a fix......

I am running gentoo linux on an hp laptop my sound card is ali5451.
zx2c4_
.20 -r1 now just says it cant wrap skype in the artsd wrapper and starts without sound working
keltiek_
I have the same problem with gentoo :
default-linux/x86/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12.5 i686
and skype : skype-1.2.0.17

When I launch skype I have this message :
CODE
Running artsd found

Starting artsd wrapped skype

==========================================

Running wrapped Skype failed, trying not-wrapped mode...

==========================================

and in the log file:
CODE
====Starting artsd wrapped skype

MALLOC_CHECK_=0 artsdsp -m /opt/skype/skype.bin --resources-path /opt/skype/

/usr/bin/skype: line 53: MALLOC_CHECK_=0: command not found


If I change in /opt/skype/skype
CODE
skypecmd="MALLOC_CHECK_=0 artsdsp -m ${skypecmd}"

by
CODE
skypecmd="artsdsp -m ${skypecmd}"


I get this error :
CODE
======================================

*** glibc detected *** double free or corruption (out): 0x08c1c3e8 ***

/usr/bin/skype: line 53: 11044 Killed                  ${skypecmd} ${progopts} >>${logfile} 2                                       >>${logfile}

Running wrapped Skype failed, trying not-wrapped mode...

==========================================

and in the log :
CODE
Starting artsd wrapped skype

artsdsp -m /opt/skype/skype.bin --resources-path /opt/skype/

/dev/dsp-1: Device or resource busy


Any fix, workaround soon ?
keltiek_
I've just tested with the last version 1.2.0.18
The program is loading in wrapped mode great...
But then I test the echo service, seems ok until I hang up => crash

CODE
Running artsd found

Starting artsd wrapped skype

==========================================

/usr/bin/skype: line 52: 16661 Killed                  ${skypecmd} ${progopts} >>${logfile} 2>>${logfile}

Running wrapped Skype failed, trying not-wrapped mode...

==========================================

=====  Wed Oct 26 02:52:28 CEST 2005  =====

Starting artsd wrapped skype

env MALLOC_CHECK_=0 artsdsp -m /opt/skype/skype.bin --resources-path /opt/skype/

/dev/dsp-1: Device or resource busy


Maybe the next one will be the good one (or the alsa one:D)
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.