Launchpad has imported 11 comments from the remote bug at
https://bugzilla.redhat.com/show_bug.cgi?id=520586.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.

------------------------------------------------------------------------
On 2009-09-01T09:33:24+00:00 Thomas wrote:

Description of problem:

Trying to set up skype on my laptop (T61 thinkpad).  At some point audio
stops working (all input/output set to pulseaudio).

Just know, I started pulseaudio from the command line.  I start skype,
hear the swoosh sound, go to settings, click test sound a few times,
then do test call.

At that point, pulseaudio aborts:


[root@otto ~]# N: alsa-source.c: Increasing minimal latency to 1.00 ms
N: alsa-source.c: Increasing minimal latency to 2.00 ms
N: alsa-source.c: Increasing minimal latency to 4.00 ms
N: alsa-source.c: Increasing minimal latency to 8.00 ms
E: source.c: Assertion 'pa_cvolume_compatible(volume, &s->sample_spec)' failed 
at pulsecore/source.c:666, function pa_source_set_volume(). Aborting.


How reproducible:

Don't know yet; skype has failed playing sound at least twice.
Googling for the error message didn't turn up results.

Also, the line number is suspicious; Lennart, is The Beast hiding in
your software ?

Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

In my opinion, pulseaudio crashing because of a bad client should be a
no-no.  Throwing out the client would be ok; and it should somehow be
able to tell me about the bad client.  pulseaudio is meant to run as a
server, and it was by accident that I noticed the message.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/422451/comments/3

------------------------------------------------------------------------
On 2009-09-01T09:58:51+00:00 Thomas wrote:

Some more info:

 - reproduced 5 times out of 5.  It happens when I make the test call.
Judging from the method, it might be related to the setting that allows
skype to control mixer levels, which I will deactivate for the next
test.

 - after that happens, skype cannot play any sounds at all anymore.

 - skype also can't be shut down.  A normal kill doesn't work either.
kill -9 does it though.

 - installing debug symbols now to get a backtrace of the assert.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/422451/comments/4

------------------------------------------------------------------------
On 2009-09-01T10:04:39+00:00 Thomas wrote:

ok, so deactivating the setting 'allow changing mixer volumes' helps
(though you have to click apply first; the first time it still crashed
presumably because it hadn't applied the settings yet)

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/422451/comments/5

------------------------------------------------------------------------
On 2009-09-01T10:07:36+00:00 Thomas wrote:

Backtrace:

(gdb) cont
Continuing.

Program received signal SIG63, Real-time event 63.
[Switching to Thread 0xb7e01b70 (LWP 30474)]
0x00aa1424 in __kernel_vsyscall ()
(gdb) bt
#0  0x00aa1424 in __kernel_vsyscall ()
#1  0x006bd470 in ppoll (fds=0x8aeca28, nfds=3, timeout=0xb7e011f4, 
    sigmask=0x8ade7d8) at ../sysdeps/unix/sysv/linux/ppoll.c:58
#2  0x0059a49c in pa_rtpoll_run (p=0x8ade7b8, wait=true)
    at pulsecore/rtpoll.c:413
#3  0x00fdd2c3 in thread_func (userdata=0x8ade610)
    at modules/alsa/alsa-sink.c:1347
#4  0x0309979c in internal_thread_func (userdata=0x8af29b8)
    at pulsecore/thread-posix.c:72
#5  0x00c1a935 in start_thread (arg=0xb7e01b70) at pthread_create.c:297
#6  0x006c793e in clone () at ../sysdeps/unix/sysv/linux/i386/clone.S:130
(gdb) cont
Continuing.

Program received signal SIG62, Real-time event 62.
[Switching to Thread 0xb324eb70 (LWP 30475)]
0x00aa1424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program received signal SIG62, Real-time event 62.
0x00aa1424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program received signal SIG62, Real-time event 62.
0x00aa1424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program received signal SIG62, Real-time event 62.
0x00aa1424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program received signal SIG62, Real-time event 62.
0x00aa1424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program received signal SIG62, Real-time event 62.
0x00aa1424 in __kernel_vsyscall ()
(gdb) cont
Continuing.

Program received signal SIGABRT, Aborted.
[Switching to Thread 0xb8002750 (LWP 30473)]
0x00aa1424 in __kernel_vsyscall ()
(gdb) bt
#0  0x00aa1424 in __kernel_vsyscall ()
#1  0x006147c1 in *__GI_raise (sig=6)
    at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#2  0x00616092 in *__GI_abort () at abort.c:88
#3  0x005c39e0 in pa_source_set_volume (s=0x8afc738, volume=0xbfe18e68)
    at pulsecore/source.c:666
#4  0x0024c3a7 in command_set_volume (pd=0x8af7c68, command=38, tag=5413, 
    t=0x8adedb0, userdata=0x8ade008) at pulsecore/protocol-native.c:3327
#5  0x03083298 in pa_pdispatch_run (pd=0x8af7c68, packet=0x8ae0e00, 
    creds=0x8ade440, userdata=0x8ade008) at pulsecore/pdispatch.c:326
#6  0x0024fdd9 in pstream_packet_callback (p=0x8ade378, packet=0x8ae0e00, 
    creds=0x8ade440, userdata=0x8ade008) at pulsecore/protocol-native.c:4234
#7  0x03089317 in do_read (p=0x8ade378) at pulsecore/pstream.c:816
#8  0x03086a99 in do_something (p=0x8ade378) at pulsecore/pstream.c:184
#9  0x03086cbb in io_callback (io=0x8adc838, userdata=0x8ade378)
    at pulsecore/pstream.c:213
#10 0x03070885 in callback (m=0x8ab2b44, e=0x8addfd8, fd=8, f=3, 
    userdata=0x8adc838) at pulsecore/iochannel.c:119
#11 0x030cdd91 in dispatch_pollfds (m=0x8ab2b08) at pulse/mainloop.c:683
#12 0x030ceaa1 in pa_mainloop_dispatch (m=0x8ab2b08) at pulse/mainloop.c:896
#13 0x030cec32 in pa_mainloop_iterate (m=0x8ab2b08, block=1, retval=0xbfe19300)
    at pulse/mainloop.c:926
#14 0x030cec98 in pa_mainloop_run (m=0x8ab2b08, retval=0xbfe19300)
    at pulse/mainloop.c:941
#15 0x080548e2 in main (argc=3, argv=0xbfe19414) at daemon/main.c:1054


further info:
(gdb) p volume
$1 = (const pa_cvolume *) 0xbfe18e68
(gdb) p *volume
$2 = {channels = 1 '\1', values = {2, 145624656, 7697280, 3219230408, 
    50862238, 51043024, 7697292, 3219230424, 145616304, 51043088, 51040728, 
    3219230392, 50934985, 20, 2435490, 0, 145622760, 6665534, 51040728, 
    3219230472, 50935184, 1, 20, 3219230472, 50941295, 622133248, 145624598, 
    4, 2362281, 2434851, 1, 3219230520}}
(gdb) p s->sample_spec
$3 = {format = PA_SAMPLE_S16LE, rate = 44100, channels = 2 '\2'}


Rough guess: the channel count does not match ?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/422451/comments/6

------------------------------------------------------------------------
On 2009-09-01T12:12:55+00:00 Tomasz wrote:

Are you running Skype vesion 2.1.0.47? It is alleged to work with PA.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/422451/comments/7

------------------------------------------------------------------------
On 2009-09-01T15:37:07+00:00 Lennart wrote:

Yes, under no circumstances a client should be able to trigger an assert
in PA.

See http://pulseaudio.org/ticket/638

Fixed upstream in
http://git.0pointer.de/?p=pulseaudio.git;a=commitdiff;h=e1ce365cd9cdcdfd1535aa58882de249c6274ed4

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/422451/comments/9

------------------------------------------------------------------------
On 2009-09-01T16:11:39+00:00 Lennart wrote:

Oh, and btw. Here's a short intro how to use gdb on PA:

http://pulseaudio.org/wiki/Community#BugsPatchesTranslations

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/422451/comments/10

------------------------------------------------------------------------
On 2009-09-01T21:00:28+00:00 Lennart wrote:

*** Bug 520696 has been marked as a duplicate of this bug. ***

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/422451/comments/12

------------------------------------------------------------------------
On 2009-09-01T22:40:14+00:00 Saikat wrote:

FYI, disabling the "Let Skype control my mixer settings" in Skype works
around this bug.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/422451/comments/13

------------------------------------------------------------------------
On 2009-09-04T14:25:41+00:00 Fedora wrote:

pulseaudio-0.9.15-17.fc11 has been submitted as an update for Fedora 11.
http://admin.fedoraproject.org/updates/pulseaudio-0.9.15-17.fc11

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/422451/comments/15

------------------------------------------------------------------------
On 2009-09-06T20:46:54+00:00 Fedora wrote:

pulseaudio-0.9.15-17.fc11 has been pushed to the Fedora 11 stable
repository.  If problems still persist, please make note of it in this
bug report.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/422451/comments/16


** Changed in: pulseaudio (Fedora)
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/422451

Title:
  pulseaudio crashes at pa_cvolume_compatible when starting skype call

Status in PulseAudio:
  Fix Released
Status in pulseaudio package in Ubuntu:
  Fix Released
Status in pulseaudio package in Fedora:
  Fix Released

Bug description:
  Binary package hint: pulseaudio

  I was trying out Skype 2.1.0.47 on Ubuntu Karmic (up to date as of
  today, 1st Sept 2009), but trying a test call did not work, and
  pulseaudio crashed. The problem seems to happen every time I try.

  I expected to be able to hear a voice on the test call, and then
  record and hear my own voice as is usual with Skype test calls.

  What happened was I heard the noise that indicates a call is starting,
  but the test call voice never appeared. After that Skype would not
  respond to me asking it to quit (via the GUI), I had to pkill -3 skype
  to kill it.

  This is the last few lines of the log of pulseaudio -vv (which is
  attached in full):

  D: module-suspend-on-idle.c: Source alsa_input.pci-0000_00_1b.0.analog-stereo 
becomes busy.
  D: protocol-native.c: Client skype changes volume of sink 
alsa_output.pci-0000_00_1b.0.analog-stereo.monitor.
  E: source.c: Assertion 'pa_cvolume_compatible(volume, &s->sample_spec)' 
failed at pulsecore/source.c:765, function pa_source_set_volume(). Aborting.
  Aborted (core dumped)

  Here is some information on my system:

  $ lsb_release -rd
  Description:  Ubuntu karmic (development branch)
  Release:      9.10

  $ apt-cache policy pulseaudio
  pulseaudio:
    Installed: 1:0.9.16~test6-3-g57e1-0ubuntu2
    Candidate: 1:0.9.16~test6-3-g57e1-0ubuntu2
    Version table:
   *** 1:0.9.16~test6-3-g57e1-0ubuntu2 0
          500 http://gb.archive.ubuntu.com karmic/main Packages
          100 /var/lib/dpkg/status

To manage notifications about this bug go to:
https://bugs.launchpad.net/pulseaudio/+bug/422451/+subscriptions

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to