Launchpad has imported 16 comments from the remote bug at https://bugs.freedesktop.org/show_bug.cgi?id=103752.
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 2017-11-15T09:33:16+00:00 Lukasz-dev-dorau wrote: Created attachment 135481 gdb backtrace Description of problem: pulseaudio aborts unexpectedly at sink-input.c several times per day. Version-Release number of selected component (if applicable): pulseaudio-11.1 How reproducible: I do not use any audio devices. I have no audio devices connected to the audio outputs. I do not use audio at this machine at all, but pulseaudio aborts regularly several times per day. Steps to Reproduce: 1) wait about one hour for pulseaudio to quit unexpectedly Actual results (from syslog): Nov 09 08:28:44 gklab-124-124 pulseaudio[8775]: [pulseaudio] sink- input.c: Assertion 'PA_SINK_INPUT_IS_LINKED(i->state)' failed at pulsecore/sink-input.c:1883, function pa_sink_input_finish_move(). Aborting. Expected results: pulseaudio does not abort unexpectedly Additional info: $ ps aux | grep pulseaudio gdm 1284 0.0 0.0 1248200 11024 ? S<l 13:03 0:00 /usr/bin/pulseaudio --start --log-target=syslog ldorau 10241 0.6 0.0 1285868 12124 ? S<l 14:49 0:00 /usr/bin/pulseaudio --start --log-target=syslog Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/10 ------------------------------------------------------------------------ On 2017-11-15T09:34:40+00:00 Lukasz-dev-dorau wrote: Created attachment 135482 journalctl log with debug log level Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/11 ------------------------------------------------------------------------ On 2017-11-15T09:39:38+00:00 Lukasz-dev-dorau wrote: See the report in RH bugzilla: https://bugzilla.redhat.com/show_bug.cgi?id=1511516 Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/12 ------------------------------------------------------------------------ On 2017-11-15T10:24:40+00:00 Lukasz-dev-dorau wrote: It happened __103__ times on my machine during the last month. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/13 ------------------------------------------------------------------------ On 2017-12-02T15:23:51+00:00 Tanu Kaskinen wrote: Marking as a release blocker. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/14 ------------------------------------------------------------------------ On 2017-12-02T16:52:37+00:00 Tanu Kaskinen wrote: Alsa is reporting that headphones are repeatedly plugged in and out, and that makes pulseaudio switch between headphones and spdif output. I'd guess that's a hardware defect. You can work around the problem by commenting out module-switch-on-port-available in /etc/pulse/default.pa. That will stop the output switching. The crash seems to happen when a stream (in this case a bell sound from gnome shell) stops during an output switch. I don't know how that's possible, I'll continue investigation later. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/15 ------------------------------------------------------------------------ On 2017-12-02T22:27:06+00:00 Georg Chini wrote: I think the problem is that the sink input is unlinked somewhere between pa_sink_move_all_start() and pa_sink_move_all_finish(). The simple solution is to check the state of the sink input in pa_sink_move_all_finish() and ignore the sink input if it is already unlinked. A patch for this can be found here: https://patchwork.freedesktop.org/patch/191580/. Could you test if this fixes the issue? However, I am not sure if this is the right way to solve the problem. Tanu, what do you think? Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/16 ------------------------------------------------------------------------ On 2017-12-03T21:14:11+00:00 Tanu Kaskinen wrote: (In reply to Georg Chini from comment #6) > However, I am not sure if this is the right way to solve the problem. Tanu, > what do you think? The patch seems good. I still wonder what's really happening here, though. I think it's not possible for the stream to end during the profile switch, because after detaching from the old sink, no more audio is consumed from the stream before it's attached to the new sink. Does something call pa_sink_input_kill()? Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/17 ------------------------------------------------------------------------ On 2017-12-03T21:36:19+00:00 Tanu Kaskinen wrote: I checked all pa_sink_input_unlink() and pa_sink_input_kill() calls, and I didn't notice anything that could cause a sink input to be unlinked while it's being moved, so it looks like this crash should be impossible... Oh well, there's a fix and the fix seems sensible in any case, so I'm not going to spend more time on this (unless it's reported that the fix doesn't help). Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/18 ------------------------------------------------------------------------ On 2017-12-04T08:32:56+00:00 Lukasz-dev-dorau wrote: Please see also this bug report: https://bugzilla.redhat.com/show_bug.cgi?id=1472285 Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/19 ------------------------------------------------------------------------ On 2017-12-04T08:35:32+00:00 Lukasz-dev-dorau wrote: I can test any debug/test version - if you want to, just let me know. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/20 ------------------------------------------------------------------------ On 2017-12-04T08:51:33+00:00 Lukasz-dev-dorau wrote: (In reply to Tanu Kaskinen from comment #5) > Alsa is reporting that headphones are repeatedly plugged in and out, and > that makes pulseaudio switch between headphones and spdif output. I'd guess > that's a hardware defect. You can work around the problem by commenting out > module-switch-on-port-available in /etc/pulse/default.pa. That will stop the > output switching. > Of course I do not plug in or out anything, so it really can be a hardware defect. I have just commented out the 'load-module-switch-on-port-available' in /etc/pulse/default.pa. Let's see if it helps... Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/21 ------------------------------------------------------------------------ On 2017-12-04T09:09:30+00:00 Georg Chini wrote: It would be good if you could also verify that PA does not crash anymore with the patch applied and without disabling module-switch-on-port- available. The patch is in master now, so you can use current git. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/22 ------------------------------------------------------------------------ On 2017-12-11T14:19:32+00:00 Lukasz-dev-dorau wrote: It is not easy to verify this patch. The bug reproduces only with the binary pulseaudio-11.1-6.fc26 rpm installed. I have built the pulseaudio-11.1-6.fc26 package from sources and the bug does not reproduce. It does not reproduce also with pulseaudio built from the git repo without the patch. I tested the new pulseaudio-11.1-7.fc26 binary package with the patch and it works well. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/23 ------------------------------------------------------------------------ On 2017-12-12T03:25:12+00:00 Tanu Kaskinen wrote: Thanks for the information, Lukasz. Georg's patch is now in master, I'll close this bug. Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/24 ------------------------------------------------------------------------ On 2017-12-12T08:35:27+00:00 Lukasz-dev-dorau wrote: Thanks for the fix! Reply at: https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1556439/comments/25 ** Changed in: pulseaudio Status: Unknown => Fix Released ** Changed in: pulseaudio Importance: Unknown => High ** Bug watch added: Red Hat Bugzilla #1511516 https://bugzilla.redhat.com/show_bug.cgi?id=1511516 ** Bug watch added: Red Hat Bugzilla #1472285 https://bugzilla.redhat.com/show_bug.cgi?id=1472285 -- 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/1556439 Title: pulseaudio crashed with SIGABRT in pa_sink_input_assert_ref() from pa_sink_input_finish_move() from pa_sink_move_all_finish() from card_set_profile() from pa_card_set_profile Status in PulseAudio: Fix Released Status in pulseaudio package in Ubuntu: Fix Released Status in pulseaudio source package in Bionic: Triaged Bug description: https://errors.ubuntu.com/problem/a83a007593c81501c4fbb4e9ac0f47e0b3880d17 --- Changing between Logitech G933 digital and analog and Logitech G930 digital and analog ProblemType: Crash DistroRelease: Ubuntu 16.04 Package: pulseaudio 1:8.0-0ubuntu2 ProcVersionSignature: Ubuntu 4.4.0-12.28-generic 4.4.4 Uname: Linux 4.4.0-12-generic x86_64 NonfreeKernelModules: nvidia_uvm nvidia_modeset wl nvidia ApportVersion: 2.20-0ubuntu3 Architecture: amd64 CurrentDesktop: Unity Date: Sat Mar 12 17:20:34 2016 EcryptfsInUse: Yes ExecutablePath: /usr/bin/pulseaudio InstallationDate: Installed on 2016-02-22 (19 days ago) InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021) ProcCmdline: /usr/bin/pulseaudio --start --log-target=syslog ProcEnviron: PATH=(custom, no user) SHELL=/bin/bash LANG=sv_SE.UTF-8 LANGUAGE=sv XDG_RUNTIME_DIR=<set> Signal: 6 SourcePackage: pulseaudio StacktraceTop: pa_sink_input_finish_move () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-8.0.so pa_sink_move_all_finish () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-8.0.so ?? () from /usr/lib/pulse-8.0/modules/module-alsa-card.so pa_card_set_profile () from /usr/lib/x86_64-linux-gnu/pulseaudio/libpulsecore-8.0.so ?? () from /usr/lib/pulse-8.0/modules/libprotocol-native.so Title: pulseaudio crashed with SIGABRT in pa_sink_input_finish_move() UpgradeStatus: No upgrade log present (probably fresh install) UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo dmi.bios.date: 09/30/2015 dmi.bios.vendor: American Megatrends Inc. dmi.bios.version: 2001 dmi.board.asset.tag: To be filled by O.E.M. dmi.board.name: X99-DELUXE dmi.board.vendor: ASUSTeK COMPUTER INC. dmi.board.version: Rev 1.xx dmi.chassis.asset.tag: To Be Filled By O.E.M. dmi.chassis.type: 3 dmi.chassis.vendor: To Be Filled By O.E.M. dmi.chassis.version: To Be Filled By O.E.M. dmi.modalias: dmi:bvnAmericanMegatrendsInc.:bvr2001:bd09/30/2015:svnASUS:pnAllSeries:pvrSystemVersion:rvnASUSTeKCOMPUTERINC.:rnX99-DELUXE:rvrRev1.xx:cvnToBeFilledByO.E.M.:ct3:cvrToBeFilledByO.E.M.: dmi.product.name: All Series dmi.product.version: System Version dmi.sys.vendor: ASUS To manage notifications about this bug go to: https://bugs.launchpad.net/pulseaudio/+bug/1556439/+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