View previous topic :: View next topic |
Author |
Message |
DeIM Guru
Joined: 11 Apr 2006 Posts: 429
|
Posted: Sat Sep 19, 2015 8:47 am Post subject: skype with apulse crashes with SIGABRT |
|
|
I've tried to install skype with apulse:
Code: | [I] net-im/skype
Available versions: (~)4.3.0.37-r5^msd {apulse pax_kernel +pulseaudio selinux}
Installed versions: 4.3.0.37-r5^msd(07:04:31 19.9.2015)(apulse -pax_kernel -pulseaudio -selinux) |
but when executed it crashes:
Code: | $ skype
Neúspěšně ukončen (SIGABRT) |
(it means unsuccessfully ended)
Code: | [I] media-sound/apulse
Available versions: ~0.1.4 ~0.1.6 (~)0.1.6-r1 {ABI_MIPS="n32 n64 o32" ABI_PPC="32 64" ABI_S390="32 64" ABI_X86="32 64 x32"}
Installed versions: 0.1.6-r1(07:03:51 19.9.2015)(ABI_MIPS="-n32 -n64 -o32" ABI_PPC="-32 -64" ABI_S390="-32 -64" ABI_X86="32 -64 -x32") |
In ~/.Skype folder there are two files:
shared.lck shared.xml |
|
Back to top |
|
|
davidbrooke Guru
Joined: 03 Jan 2015 Posts: 341
|
Posted: Fri Sep 25, 2015 1:37 am Post subject: |
|
|
When apulse is installed the proper statement to run skype is:
I had trouble getting apulse to work, so I ended up disabling apulse. See post:
https://forums.gentoo.org/viewtopic-t-1026998.html
There doesn't seem to be much support for apulse. |
|
Back to top |
|
|
v_andal Guru
Joined: 26 Aug 2008 Posts: 541 Location: Germany
|
Posted: Fri Sep 25, 2015 8:26 am Post subject: |
|
|
davidbrooke wrote: | When apulse is installed the proper statement to run skype is:
|
Latest versions don't need this anymore. In my case everything works, but I run skype in 32-bit chroot. |
|
Back to top |
|
|
DeIM Guru
Joined: 11 Apr 2006 Posts: 429
|
Posted: Fri Sep 25, 2015 10:09 am Post subject: |
|
|
The computer where I installed skype is x86.
Should I try then pulseaudio? |
|
Back to top |
|
|
DeIM Guru
Joined: 11 Apr 2006 Posts: 429
|
Posted: Sat Sep 26, 2015 12:15 pm Post subject: |
|
|
still crashes - with pulseaudio
Code: | $ groups
audio cdrom video cdrw usb users portage |
|
|
Back to top |
|
|
DeIM Guru
Joined: 11 Apr 2006 Posts: 429
|
Posted: Sat Sep 26, 2015 1:56 pm Post subject: |
|
|
Doesn't it need something for video like v4l to run smoothly? |
|
Back to top |
|
|
davidbrooke Guru
Joined: 03 Jan 2015 Posts: 341
|
Posted: Sat Sep 26, 2015 9:35 pm Post subject: |
|
|
v_andal wrote: | In my case everything works, but I run skype in 32-bit chroot. |
Please post how your audio is setup.
Thanks |
|
Back to top |
|
|
v_andal Guru
Joined: 26 Aug 2008 Posts: 541 Location: Germany
|
Posted: Mon Sep 28, 2015 7:24 am Post subject: |
|
|
davidbrooke wrote: | v_andal wrote: | In my case everything works, but I run skype in 32-bit chroot. |
Please post how your audio is setup.
|
Nothing special. I have following /etc/asound.conf in 64-bit environment
Code: |
ctl.!default {
type hw
card 1
}
pcm.!default{
type plug
slave.pcm "dmix:CARD=1,RATE=48000"
}
|
And this one as /etc/asound.conf in 32-bit environment
Code: |
pcm.!default {
type asym
playback.pcm {
type plug
slave.pcm "dmix:CARD=1,RATE=48000"
}
capture.pcm {
type plug
slave.pcm "hw:2,0"
}
}
ctl.!default {
type hw
card 1
}
|
My devices (aplay -l)
Code: |
**** List of PLAYBACK Hardware Devices ****
card 0: HDMI [HDA Intel HDMI], device 3: HDMI 0 [HDMI 0]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: HDMI [HDA Intel HDMI], device 7: HDMI 1 [HDMI 1]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
Subdevices: 0/1
Subdevice #0: subdevice #0
|
(arecord -l)
Code: |
**** List of CAPTURE Hardware Devices ****
card 1: PCH [HDA Intel PCH], device 0: ALC662 rev3 Analog [ALC662 rev3 Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 1: PCH [HDA Intel PCH], device 2: ALC662 rev3 Alt Analog [ALC662 rev3 Alt Analog]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 2: U0x46d0x9a4 [USB Device 0x46d:0x9a4], device 0: USB Audio [USB Audio]
Subdevices: 1/1
Subdevice #0: subdevice #0
|
To fix indexes for devices I've also placed
Code: |
alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-card-0
options snd-hda-intel index=0,1
options snd-usb-audio index=2
options snd cards_limit=3
|
into /etc/modprobe.d/alsa.conf
I belive that's all. Though I might have forgotten something. |
|
Back to top |
|
|
v_andal Guru
Joined: 26 Aug 2008 Posts: 541 Location: Germany
|
Posted: Mon Sep 28, 2015 7:35 am Post subject: |
|
|
DeIM wrote: | The computer where I installed skype is x86.
Should I try then pulseaudio? |
Maybe you should try to remove $HOME/.Skype directory (or better rename for test). Skype on x86 works fine with apulse. In my installation (with apulse) I have file /opt/bin/skype which runs
Code: | exec i686-pc-linux-gnu-apulse skype-bin "$@" |
That is why one does not need extra "apulse" when starting skype.
I would try to start skype with strace to see why exactly skype gets SIGABRT. Ie.
Code: | strace -f i686-pc-linux-gnu-apulse skype-bin |
|
|
Back to top |
|
|
DeIM Guru
Joined: 11 Apr 2006 Posts: 429
|
Posted: Thu Oct 01, 2015 7:25 pm Post subject: |
|
|
Same behavior with or without pulse audio, so mistake must be somewhere else.
Here's my strace of skype:
http://pastebin.com/v9g8J9Xh
If I only knew what I'm looking for |
|
Back to top |
|
|
v_andal Guru
Joined: 26 Aug 2008 Posts: 541 Location: Germany
|
Posted: Fri Oct 02, 2015 7:49 am Post subject: |
|
|
In line 2639 your process receives SIGILL, which indicates that it tried to execute some opcode that your CPU didn't understand. After that things went crazy. The thread performed bunch of seemingly silly actions and then after a while terminated the application using SIGABRT. I can't say why the operand was not understood. It could be incompatible opcode, or it could be wrong jump operation.
I would recommend installing different skype version, in the hope that this problem is fixed there.
Potentially, bad opcode might be in one of the libraries used by skype. Then comes the question which flags you use in CFLAGS spec in make.conf. |
|
Back to top |
|
|
DeIM Guru
Joined: 11 Apr 2006 Posts: 429
|
Posted: Sat Oct 03, 2015 5:32 pm Post subject: |
|
|
Code: | $ cat /proc/cpuinfo
processor : 0
vendor_id : AuthenticAMD
cpu family : 6
model : 10
model name : AMD Sempron(tm) 2800+
stepping : 0
cpu MHz : 1991.895
cache size : 256 KB
fdiv_bug : no
f00f_bug : no
coma_bug : no
fpu : yes
fpu_exception : yes
cpuid level : 1
wp : yes
flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 mmx fxsr sse syscall mp mmxext 3dnowext 3dnow vmmcall
bugs : fxsave_leak
bogomips : 3983.79
clflush size : 32
cache_alignment : 32
address sizes : 34 bits physical, 32 bits virtual
power management: ts |
Code: | CFLAGS="-O2 -march=athlon-4 -pipe -fomit-frame-pointer" |
|
|
Back to top |
|
|
mv Watchman
Joined: 20 Apr 2005 Posts: 6747
|
Posted: Sat Oct 03, 2015 5:55 pm Post subject: |
|
|
skype does not work without sse2 anymore. Complain to microsoft |
|
Back to top |
|
|
|