If I try to start skype using "artsdsp -m skype" meanwhile artsd is running, Skype will start. But if I click the connect button, which will automaticly play the "ringing"-sample, skype crashes with the following error: Running artsd found Starting artsd wrapped skype ========================================== /usr/bin/skype: line 50: 532 Killed ${skypecmd} ${progopts} >>${logfile} 2>>${logfile} cat ~/.Skype/skype.log ===== Tue Feb 8 18:11:41 CET 2005 ===== Starting artsd wrapped skype artsdsp -m /opt/skype/skype.bin --resources-path /opt/skype/ *** glibc detected *** double free or corruption (out): 0x08991d28 *** Reproducible: Always Steps to Reproduce: 1. Start artsd 2. Start skype 3. Try to call a person Actual Results: crash Expected Results: no crash ;-) Portage 2.0.51-r15 (default-linux/x86/2004.2, gcc-3.4.3, glibc-2.3.4.20041102-r0, 2.6.10-gentoo-r6 i686) ================================================================= System uname: 2.6.10-gentoo-r6 i686 Intel(R) Pentium(R) M processor 1600MHz Gentoo Base System version 1.6.9 Python: dev-lang/python-2.3.4-r1 [2.3.4 (#1, Feb 8 2005, 09:48:48)] dev-lang/python: 2.3.4-r1 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.8.5-r3, 1.7.9-r1, 1.5, 1.6.3, 1.4_p6, 1.9.4 sys-devel/binutils: 2.15.92.0.2-r2 sys-devel/libtool: 1.5.10-r4 virtual/os-headers: 2.4.22 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs autoconfig ccache distlocks sandbox sfperms userpriv" GENTOO_MIRRORS="http://mirror.switch.ch/mirror/gentoo/" MAKEOPTS="-j2" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="x86 X aalib acpi acpi4linux aim alsa antlr apm arts audiofile avi berkdb bitmap-fonts bluetooth cddbcdr chroot crypt cups divx4linux dv dvd dvdr dvdread encode esd ethereal f77 fam flac font-server foomaticdb fortran gda gdbm gif gimp gimpprint glade gphoto2 gpm gstreamer gtk gtk2 ieee1394 imagemagick imlib ipv6 irda irmc jack java jpeg junit kandy kde kdepim ldap libg++ libwww mad mbox mikmod mime mjpeg mmx motifmpeg mpeg4 msn mysql ncurses nls odbc oggvorbis opengl oss other_var1 other_var2 pam pcmcia pdflib perl php png postgres ppds python qt quicktime readline samba scanner sdl slang sox speex spell sse sse2 ssl svga tcltk tcpd tetex tiff truetype truetype-fonts type1-fonts usb xine xinerama xml2 xmms xv xvid zlib" Unset: ASFLAGS, CBUILD, CTARGET, LANG, LC_ALL, LDFLAGS
I thought the skype wrapper automatically started skype under artsdsp, and there was no need to do it manually. Adding skype maintainers to CC.
skype is a wrapper script, you do not need to use artsdsp -m skype. Just run skype and it will detect your arts/esd .
Skype segfaults with the same error using the wrapper as well as typing artsdsp -m skype.
Of course I tried both. With and without artsdsp. I think it depends on the GCC version arts was compiled with. But if I compile arts with GCC 3.3.4 arts is crashing on other parts of kde, which is actually compiled with GCC 3.4.3. No skype version was working for me with arts (/dev/dsp no issue). What I don't know is why the compiler is such an issue, sometimes it annoys me (every month an new compiler). But anyway binary packages suck.
gcc 3.3 and 3.4 have a different C++ ABI. You can't mix them. Run ` revdep-rebuild --soname libstdc++.so.5`
I did revdep-rebuild. Skype is not working either. Same issue. Maybe we need a binary skype version which was compiled with GCC 3.4.
Any news?
I wanted to add that I have the same problem, but when I started skype when arts wasn't running, and clicked the "call" button, it didn't crash. You didn't get any sound, but the call went through, so it has got to be an arts issue.
*** Bug 85530 has been marked as a duplicate of this bug. ***
The bug seems to be resolved in aRts 3.4.0. I can now call and receive calls without skype crashing.
$ artsd -v artsd 1.4.0 Skype 1.1.0.3 [ebuild R ] kde-base/arts-3.4.0 +alsa +arts -artswrappersuid -debug +esd -hardened -jack -kdeenablefinal +mad +oggvorbis -xinerama 979 kB [ebuild R ] net-im/skype-1.1.0.3 +arts +esd -static 6,043 kB I still have the bug described upper: *** glibc detected *** free(): invalid pointer: 0xb6208528 *** Note that if Skype is started before artsd, arts is not detected, and skype works as pure OSS. Then, take care to shut down all other sound app for making calls, but you can still chat when other sound apps work: only wait 30s for skype to free /dev/dsp after your last call, before you can play any sound (artsd, xmms, mplayer.)
after applying http://forums.gentoo.org/viewtopic-p-2384373.html: 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 now have this bug: $ skype Running artsd found Starting artsd wrapped skype ========================================== /usr/bin/skype: line 51: 24054 Segmentation fault ${skypecmd} ${progopts} >>${logfile} 2>>${logfile} $ cat .Skype/skype.log ===== Fri May 6 17:42:58 BST 2005 ===== Starting artsd wrapped skype artsdsp -m /opt/skype/skype.bin --resources-path /opt/skype/
strace artsdsp -m /opt/skype/skype.bin --resources-path /opt/skype/ => read(3, "\26_0+v\5`\1v\5`\1u\5`\1\0\0\0\0n\0n\0\0\0\0\277\222v\f"..., 32) = 32 read(3, "\34\3629+t\5`\1\'\0\0\0\371}\17\2\0\5`\1@_\240\10h\367"..., 32) = 32 read(3, "\34\362:+t\5`\1\361\0\0\0\371}\17\2\0\317\214B\0\0\0\0"..., 32) = 32 read(3, "\26\0;+t\5`\1t\5`\1s\5`\1\0\0\0\0\235\0\262\0\0\0\0\10"..., 32) = 32 read(3, "\34\362<+k\5`\1\'\0\0\0\371}\17\2\0\5`\1@_\240\10h\367"..., 32) = 32 read(3, "\34\362=+k\5`\1\361\0\0\0\371}\17\2\0\317\214B\0\0\0\0"..., 32) = 32 read(3, "\26\0>+k\5`\1k\5`\1\0\0\0\0\0\0\0\0\313\1\273\1\0\0\0\10"..., 32) = 32 read(3, "\26_C+y\5`\1y\5`\1k\5`\1\0\0\0\0d\0002\0\0\0\0\277\222"..., 32) = 32 read(3, "\34\362U+i\5`\1\'\0\0\0h~\17\2\0\5`\1@_\240\10h\367\377"..., 32) = 32 read(3, "\34\362V+i\5`\1\361\0\0\0h~\17\2\0\317\214B\0\0\0\0h~\17"..., 32) = 32 read(3, "\26\0W+i\5`\1i\5`\1a\0`\1\0\0\0\0\262\1\214\1\0\0\0\10"..., 32) = 32 read(3, ptrace: umoven: No such process 0xbfffde20, 32) = 32 trace: ptrace(PTRACE_SYSCALL, ...): No such process next try: read(3, 0xbfffea70, 32) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], NULL, NULL, NULL) = 1 (in [3]) read(3, "\1\1\3207\0\0\0\0\0\0\0\0\310\0\4\2\23\0\0\0\10\220+\266"..., 32) = 32 write(3, "8\3\4\0f\6`\1\4\0\0\0}\357\377\377B\0\t\0]\6`\1f\6`\1j"..., 264) = 264 read(3, 0xbfffe920, 32) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], NULL, NULL, NULL) = 1 (in [3]) read(3, "\1\1\3357\0\0\0\0007\0\0\0\346\24@\0j\2Z\2j\2Z\2\20\0\0"..., 32) = 32 write(3, "(\3\4\0007\0\0\0a\0`\1j\2Z\2", 16) = 16 read(3, 0xbfffe950, 32) = -1 EAGAIN (Resource temporarily unavailable) select(4, [3], NULL, NULL, NULLptrace: umoven: No such process ) = 1 () trace: ptrace(PTRACE_SYSCALL, ...): No such process
For me it does not work with neither arts-3.4.1 nor 3.4.0 (i.e. related KDE version). Using the MALLOC_CHECK_=0 works, instead, well, for me.
Created attachment 62876 [details] sDaemonWrapper-r1 Copy this file to /opt/skype/skype and run skype from console and see if it works with arts.
I think I am facing the same problem (~x86). But using the sDaemonWrapper-r1 I get the following problem: benoit@philipps ~ $ skype Running artsd found Starting artsd wrapped skype ========================================== Running wrapped Skype failed, trying not-wrapped mode... This because of (in skype.log): /usr/bin/skype: line 50: MALLOC_CHECK_=0: command not found But if I launch directly MALLOC_CHECK_=0 artsdsp -m /opt/skype/skype.bin from the console it starts well, but crashes on connect. Normally is only tells: process killed but I got once this: benoit@philipps ~ $ MALLOC_CHECK_=0 artsdsp -m /opt/skype/skype.bin _lookupMethod boolean _isCompatibleWith failed this might be caused by incompatible IDL files and is likely to result in crashes file object.cc: line 855 (void Arts::Object_skel::_dispatch(Arts::Buffer*, Arts::Buffer*, long int)): assertion failed: (0) Processus arr
I think I am facing the same problem (~x86). But using the sDaemonWrapper-r1 I get the following problem: benoit@philipps ~ $ skype Running artsd found Starting artsd wrapped skype ========================================== Running wrapped Skype failed, trying not-wrapped mode... This because of (in skype.log): /usr/bin/skype: line 50: MALLOC_CHECK_=0: command not found But if I launch directly MALLOC_CHECK_=0 artsdsp -m /opt/skype/skype.bin from the console it starts well, but crashes on connect. Normally is only tells: process killed but I got once this: benoit@philipps ~ $ MALLOC_CHECK_=0 artsdsp -m /opt/skype/skype.bin _lookupMethod boolean _isCompatibleWith failed this might be caused by incompatible IDL files and is likely to result in crashes file object.cc: line 855 (void Arts::Object_skel::_dispatch(Arts::Buffer*, Arts::Buffer*, long int)): assertion failed: (0) Processus arrêté All this appeared after I switched from gcc-3.3.5 to 3.4.4. Maybe as marco said we need a version compiled with 3.4.*
I'm still having the same problem, now with net-im/skype-1.2.0.11-r1 (~x86)
(In reply to comment #15) > Created an attachment (id=62876) [edit] > sDaemonWrapper-r1 > > Copy this file to /opt/skype/skype and run skype from console and see if it > works with arts. Line ${skypecmd} ${progopts} >> ${logfile} 2>> ${logfile} needs to read eval ${skypecmd} ${progopts} >> ${logfile} 2>> ${logfile} otherwise you get /usr/bin/skype: line 50: MALLOC_CHECK_=0: command not found P.S.: This also needs to be fixed in Skype ebuild 1.2.0.11-r1
Just wanted to note that this is STILL an issue. I am using net-im/skype-1.2.0.18 with the replacement wrapper from the attachment -- it does not work. If I run "artsdsp -m /opt/skype/skype.bin" by hand, it seems to work, but crashes with an error when I actually try to call someone: > artsdsp -m /opt/skype/skype.bin *** glibc detected *** double free or corruption (out): 0x08ce6450 *** Killed Not sure if this is a bug in Skype or in arts.
*** Bug 65042 has been marked as a duplicate of this bug. ***
Still having problems. FWIW, skype and arts work well on my amd64 box. None of the above suggestions have worked for me for x86. The only way is to disable arts.
*** Bug 95598 has been marked as a duplicate of this bug. ***
i just wanted to mention that comment 12 of this bug is still true, at least for me with kde 3.4.3 and skype 1.2.0.18. I have the same error, "segemtation fault" as comment #12, but a short question: i loaded the recommended modules for oss/alsa: snd-pcm-oss, snd-mixer-oss. do I also need to emerge the "media-libs/alsa-oss" ? skype: Latest version available: 1.2.0.18 Latest version installed: 1.2.0.18 kde-base/kdebase Latest version available: 3.4.3-r1 Latest version installed: 3.4.3-r1 localhost skype # uname -a Linux localhost 2.6.15-gentoo-r1 #10 PREEMPT Thu Mar 9 13:50:59 CET 2006 i686 Pentium III (Coppermine) GenuineIntel GNU/Linux norman@localhost ~/.Skype $ emerge --info Portage 2.0.54 (default-linux/x86/2006.0, gcc-3.4.5, glibc-2.3.5-r2, 2.6.15-gentoo-r1 i686) ================================================================= System uname: 2.6.15-gentoo-r1 i686 Pentium III (Coppermine) Gentoo Base System version 1.6.14 dev-lang/python: 2.4.2 sys-apps/sandbox: 1.2.12 sys-devel/autoconf: 2.13, 2.59-r6 sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r1 sys-devel/binutils: 2.16.1 sys-devel/libtool: 1.5.22 virtual/os-headers: 2.6.11-r2 ACCEPT_KEYWORDS="x86" AUTOCLEAN="yes" CBUILD="i686-pc-linux-gnu" CFLAGS="-march=pentium3 -O2 -pipe" CHOST="i686-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/eselect/compiler /etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=pentium3 -O2 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoconfig distlocks sandbox sfperms strict" GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/linux/distributions/gentoo" MAKEOPTS="" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="X acpi alsa apache2 apm arts asf audiofile avi bash-completion bcmath berkdb bitmap-fonts bluetooth bzip2 cddb cdparanoia cdr cli crypt ctype cups curl curlwrappers dba dbi devmap dio dri dts dvd dvdread eds elibc_glibc emboss encode esd ethereal exif expat fam fastbuild fastcgi fat ffmpeg flatfile foomaticdb force-cgi-redirect fortran ftp gd gdbm gif glut gmp gpm gstreamer gtk gtk2 gtkhtml guile idn imagemagick imap imlib innodb ipv6 isdnlog java javascript jpeg jpeg2k junit kde kernel_linux lcms ldap libg++ libwww lm_sensors mad memlimit mikmod mng motif mozilla moznoirc moznomail mp3 mpeg mysql mysqli ncurses neXt nls nptl nsplugin ogg opengl oss pam pcmcia pcre pdf pdflib perl php plotutils pmu png portaudio posix postgres pppd python qt quicktime readline samba sasl scanner sdl session sharedmem simplexml slang slp soap sockets speex spell spl sqlite sqlite3 sse ssl svg tcltk tcpd tetex tiff tokenizer truetype truetype-fonts type1-fonts udev unicode usb userland_GNU vorbis wddx wifi win32codecs wmf wxwindows x86 xine xml xml2 xmms xpm xsl xv zlib" Unset: ASFLAGS, CTARGET, INSTALL_MASK, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
I've managed to run skype with working artsd with esd. I used: aoss /opt/skype/skype.bin
for me my HW card is called dsp3. - aoss: never can connect to hardware (Skype error) - esddsp: error with dsp3, no sound at all on dsp - artsdsp: error on dsp3, can hear things on dsp but not speak.
Skype 1.3 and up now use ALSA so all these wrappers and stuff are no longer needed.
sounded like a "Troll death", or a "Sarge release" ... but no: skype does seem to be able to use ALSA; fact is: - when "artsd -a alsa" runs, skype have a sound error - when arts is down, skype works. This means, even when ALSA is supported, if any server like artsd or esd is started and running, Skype WILL FAIL to connect ALSA driver on my computer. My system does not either allow to run both esd and arts at the same time: - esd -nobeeps -d hw:3 - artsd -a alsa what are ALSA compliant options. My point is: on my system, Skype/ALSA support does not work, and I still need esddsp/artsdsp to work to allow software mixing, and none of those two work ATM. So, for me, the need for esddsp/artsdsp suport is still required, and does not work. I ask for REOPEN. I could eventually provide my kernel config, not sure if it would help since ALSA is known not to like hardware that have only one DSP, and especially when this DSP is cheap.
The bug has been referenced in the following commit(s): https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a6154db562d656b1a85ddb7a46c9797376ee648 commit 7a6154db562d656b1a85ddb7a46c9797376ee648 Author: Arthur Zamarin <arthurzam@gentoo.org> AuthorDate: 2021-09-11 08:04:43 +0000 Commit: Arthur Zamarin <arthurzam@gentoo.org> CommitDate: 2021-09-11 08:04:43 +0000 package.mask: Last rite dev-python/oset Bug: https://bugs.gentoo.org/81255 Signed-off-by: Arthur Zamarin <arthurzam@gentoo.org> profiles/package.mask | 8 ++++++++ 1 file changed, 8 insertions(+)