Help - Search - Members - Calendar
Full Version: Instant Segmentation Fault on attempted connect...
Skype Community > English > Linux
67comet_
All's well that's root'ed well....

As User when I attempt to connect:
CODE


$ skype

Running artsd found

Starting artsd wrapped skype

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

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



I do not get this however when I use skype as root. I checked into chmod for /dev/dsp but didn't see how to change it. And it apears to be writable to users.
CODE


# ls -l /dev/dsp

lrwxrwxrwx  1 root root 9 Jan 29 17:40 /dev/dsp -> sound/dsp




Thank much,
Justin

P.S. Gentoo user, with mic problems as well, but I assume they are related to the /dev/dsp issue as well. I'll tackle that issue if this one ge't's some press.
NF_
Hi,
Permissions of your actual /dev/dsp don't matter, because in the artsdsp mode skype sees the virtual sound device, supplied by arts, not the real /dev/dsp thing.

What are your skype and arts versions? Make sure you have the latest skype version (0.94.0.1) -- it fixed some segfault problems for me.
67comet_
My skype is 0.94.1, I did find out my mic was bad, so I tossed a good one on there, but I still get a seg fault when I try to connect. Might try to re-emerge it and see if that might magicly fix it. (It's worked before).
bonbons_
You should tell what arch you have (x86 or AMD64) and if you run stable or testing system (x86 versus ~x86).
What you may do is run Skype from console with "skype oss" so it will ignore any running sound-daemon and access the sound-card directly.

By the way, try running just "/opt/skype/skype.bin" as from your output I'm suspecting a problem in the wrapper script! (have not yet synced portage since Skype is in there, so can't check if there are any changes in the wrapper script...)
But when doing so, make sure you have no music running, as this will not start any sound-wrapper!
CodAv_
Dunno if it helps, but I've got the same problem, and here is my last page of strace output:

CODE
write(3, "834\03132@\04\0\0\0220215214377B\07\03203@"..., 356) = 356

read(3, "1136/\0\0\0\0F\0\0\0A5!1W3F3W3F3\0\0\0\020\0\0"..., 32) = 32

write(3, "(34\0F\0\0\0j\0@\0W3F3", 16) = 16

read(3, "1137/\0\0\0\0\0\0\0\0240\0r2\0\0\0\0\0\0\0\0\0\0"..., 32) = 32

write(3, ";35\03132@\0\0\0\0\0003\05\0007\022\0;35\0v3"..., 200) = 200

read(3, 0xbfffe480, 32)                 = -1 EAGAIN (Resource temporarily unavailable)

select(4, [3], NULL, NULL, NULL)        = 1 (in [3])

read(3, "11*/\0\0\0\0F\0\0\0A5!1W3F3W3F3\0\0:n\0\0\0\0", 32) = 32

write(3, "(34\0F\0\0\0j\0@\0W3F3", 16) = 16

read(3, 0xbfffe4b0, 32)                 = -1 EAGAIN (Resource temporarily unavailable)

select(4, [3], NULL, NULL, NULL)        = 1 (in [3])

read(3, "11+/\0\0\0\0\0\0\0\0240\0r2\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32

write(3, "834\03132@\04\0\0\0206206206377B\0t\03203@"..., 692) = 692

read(3, 0xbfffe360, 32)                 = -1 EAGAIN (Resource temporarily unavailable)

select(4, [3], NULL, NULL, NULL)        = 1 (in [3])

read(3, "11M/\0\0\0\0F\0\0\0A5!1W3F3W3F3\0\0\0\020\0\0\0"..., 32) = 32

write(3, "(34\0F\0\0\0j\0@\0W3F3", 16) = 16

read(3, 0xbfffe390, 32)                 = -1 EAGAIN (Resource temporarily unavailable)

select(4, [3], NULL, NULL, NULL)        = 1 (in [3])

read(3, "11N/\0\0\0\0\0\0\0\0240\0r2\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32

ioctl(3, FIONREAD, [0])                 = 0

write(3, ";35\03132@\0\0\0\0\0(15\0L\020\0;35\0v3@\0\0"..., 376) = 376

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

write(3, "=\04\02403@\0\0\0\0\0203116\0;35\03132@\0\0\0"..., 100) = 100

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

write(3, "=\04\02413@\0\0\0\0\02031N1;35\03132@\0\0\0\0"..., 88) = 88

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD, [0])                 = 0

ioctl(3, FIONREAD*** glibc detected *** free(): invalid pointer: 0x08a0f1a8 ***

, [0])                 = 0

+++ killed by SIGKILL +++



Another run:

CODE
read(3, "21b306'2013@\02013@\0\0\0\0\020\0\0\0xbk10\0\0"..., 32) = 32

read(3, "34362307'1\0@\0371\0\0\016Z72\0\0@\020\0\0\0"..., 32) = 32

read(3, "26y310'2173@\02173@\0\0\0\0\0\0\0\0\0324\0354"..., 32) = 32

read(3, "25323342'z3@\0z3@\0F\0\0\0\0\0\0\0\0y27210310"..., 32) = 32

read(3, "25y346'{3@\0{3@\02253@\0\0\0\0\0\0y27210310367"..., 32) = 32

read(3, "26y350'2253@\02253@\0345\0@\02\02\02621214"..., 32) = 32

read(3, "34362351'2253@\0'\0\0\016Z72\0T376A\0\0\0\0"..., 32) = 32

read(3, "34362352'2253@\0350\0\0\016Z72\0T376A\0\0\0"..., 32) = 32

read(3, "21362353'z3@\0z3@\016Z72\0T376A\0\0\0\016Z7"..., 32) = 32

read(3, "34\0353'z3@\0350\0\0\016Z72124627610z3@\0"..., 32) = 32

read(3, "34\0353'z3@\0'\0\0\016Z72124627610z3@\0370"..., 32) = 32

read(3, "34362354'1\0@\0371\0\0\016Z72\0\0@\020\0\0\0"..., 32) = 32

read(3, "26y355'2253@\02253@\0345\0@\02\02\02071246"..., 32) = 32

read(3, "26y356'j\0@\0j\0@\0i\0@\0\0\0\0\0g134\0\0\0\0277"..., 32) = 32

read(3, "f377356'j\0@\0:132\0-\02\0\0\0353267 32370267"..., 32) = 32

read(3, "26y357'l\0@\0l\0@\0k\0@\0W1\0\020\034\0\0\0\0277"..., 32) = 32

read(3, "26y360'k\0@\0k\0@\0\0\0\0\0G1\0\020\034\0\0\0\0277"..., 32) = 32

read(3, "fF363'j\0@\0:1\0\0-\032\0\0\0S12672S1214Z$10"..., 32) = 32

read(3, "11372'\0\0\0\0F\0\0\02738!1f3K3f3K3\0\0\0\0270"..., 32) = 32

write(3, "(\04\0F\0\0\0j\0@\0f3K3", 16) = 16

read(3, "11373'\0\0\0\0\0\0\0\0257\0222\0\0\0\0\0\0\0\0\0"..., 32) = 32

write(3, "B\07\02263@\012@\0235\05\0235\031\0]\03\0233"..., 292) = 292

read(3, "11t(\0\0\0\0F\0\0\02738!1f3K3f3K3\0\0\0\020\0"..., 32) = 32

write(3, "(\04\0F\0\0\0j\0@\0f3K3", 16) = 16

read(3, "11n(\0\0\0\0\0\0\0\0257\0222\0\0\0\0\0\0\0\0\0\0"..., 32) = 32

write(3, ";35\0Y3@\0\0\0\0\0w\05\034\022\0;35\0X3@\0\0\0"..., 212) = 212

read(3, "1125(\0\0\0\0F\0\0\02738!1f3K3f3K3\0\0:n\0\0"..., 32) = 32

write(3, "(34\0F\0\0\0j\0@\0f3K3", 16) = 16

read(3, "1126(\0\0\0\0\0\0\0\0257\0222\0\0\0\0\0\0\0\0\0\0"..., 32) = 32

write(3, "834\0Y3@\04\0\0\0220215214377B\0t\02263@\0Y"..., 576) = 576

read(3, "1\0013(\0\0\0\0F\0\0\02738!1f3K3f3K3\0\0\0\020"..., 32) = 32

write(3, "(34\0F\0\0\0j\0@\0f3K3", 16) = 16

read(3, "1\0014(\0\0\0\0\0\0\0\0257\0222\0\0\0\0\0\0\0\0\0\0"..., 32) = 32

write(3, ";35\0Y3@\0\0\0\0\03273775\037\022\0;35\0X3@"..., 200) = 200

read(3, "11?(\0\0\0\0F\0\0\02738!1f3K3f3K3\0\0:n\0\0\0"..., 32) = 32

write(3, "(34\0F\0\0\0j\0@\0f3K3", 16) = 16

read(3, "11@(\0\0\0\0\0\0\0\0257\0222\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32

write(3, "834\0Y3@\04\0\0\0220215214377B\07\02263@\0Y"..., 356) = 356

read(3, "11R(\0\0\0\0F\0\0\02738!1f3K3f3K3\0\0\0\020\0"..., 32) = 32

write(3, "(34\0F\0\0\0j\0@\0f3K3", 16) = 16

read(3, 0xbfffda70, 32)                 = -1 EAGAIN (Resource temporarily unavailable)

select(4, [3], NULL, NULL, NULL)        = 1 (in [3])

read(3, "11S(\0\0\0\0\0\0\0\0257\0222\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32

rt_sigprocmask(SIG_SETMASK, NULL, [RTMIN], 8) = 0

rt_sigsuspend([] <unfinished ...>

--- SIGRTMIN (Unknown signal 32) @ 0 (0) ---

<... rt_sigsuspend resumed> )           = -1 EINTR (Interrupted system call)

sigreturn()                             = ? (mask now [RTMIN])

write(3, ";35\0Y3@\0\0\0\0\033\05\0007\022\0;35\0X3@\0\0"..., 280) = 280

read(3, "11b(\0\0\0\0F\0\0\02738!1f3K3f3K3\0\0\0\0\0265"..., 32) = 32

write(3, "(34\0F\0\0\0j\0@\0f3K3", 16) = 16

read(3, "11c(\0\0\0\0\0\0\0\0257\0222\0\0\0\0\0\0\0\0\0\0\0"..., 32) = 32

write(3, "B37\02263@\012@\0\0\05\0\0\031\02513773\0376"..., 272) = 272

read(3, "11p(\0\0\0\0F\0\0\02738!1f3K3f3K3\0\0\0\020\0"..., 32) = 32

*** glibc detected *** free(): invalid pointer: 0x089c7488 ***

write(3, "(34\0F\0\0\0j\0@\0f3K3", 16) = 16

+++ killed by SIGKILL +++



skype.log contains:
CODE
Starting artsd wrapped skype

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

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

67comet_
my box is running ~x86, and althogh it was connecting via root and not user, I found out my mic is also bad, so until payday, I'm in sit and wait mode.

Back when I get the new mic,
Justin :roll:
CodAv_
I'm also running Gentoo ~x86 on an AMD64 (blame ATI drivers, and I had no time to re-install with x86_64 yet). Tried with my user and root, both produce the same pointer error. For me it looks like a bug, a pointer is freed two times, which shouldn't happen. Hope the devs will look at it soon smile.png
CodAv_
Running Skype without using the artsdsp wrapper works fine, but then I'm not able to play any other sound while Skype is running. Look like there's a problem with the artsdsp wrapper...
67comet_
K .. new mic on hand, and unfortunatley .. New gentoo install as well . this time it's x86 with a few ~x86 items tossed in for the fun of it (gcc/glibc/kdebase etc) ..

Now when I run skype ( /opt/skype/skype.bin ) I get ...

CODE


$ /opt/skype/skype.bin

volume_open: error opening /dev/mixer: No such file or directory

volume_open: error opening /dev/mixer: No such file or directory

open /dev/dsp: No such file or directory

open /dev/dsp: No such file or directory



It does open up, but nothing much else happens. This install I've had sound issues, so I think that's a huge part of the issue with the /dev/mixer stuff. I just don't know how to go about fixing it ..

*help*
Justin
bonbons_
QUOTE(67comet)
K .. new mic on hand, and unfortunatley .. New gentoo install as well . this time it's x86 with a few ~x86 items tossed in for the fun of it (gcc/glibc/kdebase etc) ..  

Now when I run skype ( /opt/skype/skype.bin ) I get ...

CODE


$ /opt/skype/skype.bin

volume_open: error opening /dev/mixer: No such file or directory

volume_open: error opening /dev/mixer: No such file or directory

open /dev/dsp: No such file or directory

open /dev/dsp: No such file or directory



It does open up, but nothing much else happens. This install I've had sound issues, so I think that's a huge part of the issue with the /dev/mixer stuff. I just don't know how to go about fixing it ..
Looks like you installed your system with "-oss" in the useflags... or have not correctly configured alsa modules in /etc/modules.d/ ...

PS take care with ~x86 gcc as there are known issues between Skype (compiled with GCC3.3.*) and GCC 3.4.*.
www.rzr.online.fr_
QUOTE(67comet)
All's well that's root'ed well....

As User when I attempt to connect:


Same here what is your "multimedia audio controller" ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.