Ticket #441 (closed defect: lackofresponse)

Opened 19 months ago

Last modified 17 months ago

pulseaudio crash with mplayer if resample-method=copy

Reported by: anril Owned by: lennart
Milestone: Component: daemon
Keywords: Cc:

Description

Iam running Ubuntu 8.04.1 pulseaduio 0.9.10-2ubuntu4~ppa3

I set default-sample-channels=6 and default-sample-rate=48000 in daemon.conf. Pulseaudio crashes with no warrning every time i play movie in mplayer that has same sample rate as pulseaudio. I can start pulseaudio again with pulseaudio -D command. I noticed it does not matter what sameple rate i use as long as resample-method is copy this will happen. This on the other hand does not happen when i set default-sample-channels=2 from what i noticed. There is no report about it in log files when it happens.

Change History

  Changed 19 months ago by lennart

Please run pulseaudio in a terminal with -vvvv to get more elaborate log output of what is going on. You might need to terminate the running instance first by calling pulseaudio -k.

Please also provide a backtrace when this happens. For more information see http://fedoraproject.org/wiki/StackTraces and https://wiki.ubuntu.com/Backtrace

follow-up: ↓ 3   Changed 19 months ago by anril

I tryed running pulseaudio with -vvvv and pulseaudio crashes not by exiting but it freezes looping sound from movie (like keeps repeating last 25ms) then if i stop movie and restart it it works untill it loops out again. Only post in terminal i got from pulseaudio in -vvvv mode during whole time is:

D: module-alsa-sink.c: EAGAIN D: module-alsa-sink.c: EAGAIN D: module-alsa-sink.c: EAGAIN D: module-alsa-sink.c: EAGAIN D: module-alsa-sink.c: EAGAIN

That is being posted repeatedly during whole movie from what i noticed, but no other error during freeze. After stoping of pulseaudio i get this posted in terminal:

D: module-suspend-on-idle.c: Sink alsa_output.pci_1102_8_sound_card_0_alsa_playback_0 becomes idle. D: module-suspend-on-idle.c: Sink alsa_output.pci_1102_8_sound_card_0_alsa_playback_0 becomes idle. I: sink-input.c: Freeing output 0 "audio stream" I: protocol-native.c: connection died. E: module-gconf.c: Unable to read or parse data from client. I: client.c: Freed 0 "MPlayer" I: main.c: Got signal SIGINT. I: main.c: Exiting. I: main.c: Daemon shutdown initiated. I: module.c: Unloading "module-alsa-source" (index: #0). D: module-rescue-streams.c: No source outputs to move away. D: module-alsa-source.c: Thread shutting down I: source.c: Freeing source 0 "alsa_input.pci_1131_7134_sound_card_0_alsa_capture_0" I: module.c: Unloaded "module-alsa-source" (index: #0). I: module.c: Unloading "module-alsa-sink" (index: #1). D: module-rescue-streams.c: No sink inputs to move away. D: module-alsa-sink.c: EAGAIN D: module-rescue-streams.c: No source outputs to move away. D: module-alsa-sink.c: Thread shutting down I: sink.c: Freeing sink 0 "alsa_output.pci_1102_8_sound_card_0_alsa_playback_0" I: source.c: Freeing source 1 "alsa_output.pci_1102_8_sound_card_0_alsa_playback_0.monitor" I: module.c: Unloaded "module-alsa-sink" (index: #1). I: module.c: Unloading "module-alsa-source" (index: #2). D: module-rescue-streams.c: No source outputs to move away. D: module-alsa-source.c: Thread shutting down I: source.c: Freeing source 2 "alsa_input.pci_1102_8_sound_card_0_alsa_capture_0" I: module.c: Unloaded "module-alsa-source" (index: #2). I: module.c: Unloading "module-hal-detect" (index: #3). D: module-hal-detect.c: dbus: interface=org.freedesktop.DBus.Local, path=/org/freedesktop/DBus/Local, member=Disconnected I: module.c: Unloaded "module-hal-detect" (index: #3). I: module.c: Unloading "module-esound-protocol-unix" (index: #4). I: module.c: Unloaded "module-esound-protocol-unix" (index: #4). I: module.c: Unloading "module-native-protocol-unix" (index: #5). I: module.c: Unloaded "module-native-protocol-unix" (index: #5). I: module.c: Unloading "module-gconf" (index: #6). I: module.c: Unloaded "module-gconf" (index: #6). I: module.c: Unloading "module-volume-restore" (index: #7). I: module.c: Unloaded "module-volume-restore" (index: #7). I: module.c: Unloading "module-default-device-restore" (index: #8). I: module.c: Unloaded "module-default-device-restore" (index: #8). I: module.c: Unloading "module-rescue-streams" (index: #9). I: module.c: Unloaded "module-rescue-streams" (index: #9). I: module.c: Unloading "module-suspend-on-idle" (index: #10). I: module.c: Unloaded "module-suspend-on-idle" (index: #10). I: module.c: Unloading "module-x11-publish" (index: #11). I: module.c: Unloaded "module-x11-publish" (index: #11). I: main.c: Daemon terminated.

I tryed to provide backtrace but i cant get it to work with instructions provided on this site https://wiki.ubuntu.com/Backtrace. I cant get it to run if i load pulseaudio first or if i try to backtrace already running pulseaudio.

in reply to: ↑ 2   Changed 19 months ago by anril

  Changed 19 months ago by lennart

The log excerpt you posted shows no crashing, but only that you pressed C-c.

Please get me a log output/stack trace *when it crashes*. Otherwise I might have a hard time helping you, sorry.

  Changed 17 months ago by lennart

  • status changed from new to closed
  • resolution set to lackofresponse

Closing due to lack of response.

Note: See TracTickets for help on using tickets.