Launchpad has imported 4 comments from the remote bug at
https://bugs.freedesktop.org/show_bug.cgi?id=104385.

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-12-26T09:37:23+00:00 Paulepanter wrote:

Created attachment 136388
(gdb) t a a bt; t a a bt f; info registers

Looking through the core dump files of one system with Debian 9
(Stretch), I noticed some of PulseAudio 10.0, where it terminates with
SIGABRT.

```
Thread 3 (Thread 0x7f60175f1700 (LWP 9319)):
#0  0x00007f6028922771 in __GI_ppoll (fds=0x56233965ece0, nfds=4, 
timeout=<optimized out>, sigmask=sigmask@entry=0x0) at 
../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f602a098df8 in ppoll (__ss=0x0, __timeout=<optimized out>, 
__nfds=<optimized out>, __fds=<optimized out>) at 
/usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  pa_rtpoll_run (p=0x56233978bbe0) at pulsecore/rtpoll.c:314
#3  0x00007f6022189a73 in thread_func (userdata=0x56233978b9c0) at 
modules/alsa/alsa-source.c:1516
#4  0x00007f6029e302c8 in internal_thread_func (userdata=0x56233964bf50) at 
pulsecore/thread-posix.c:81
#5  0x00007f6029302494 in start_thread (arg=0x7f60175f1700) at 
pthread_create.c:333
#6  0x00007f602892baff in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 2 (Thread 0x7f6017df2700 (LWP 9318)):
#0  0x00007f6028922771 in __GI_ppoll (fds=0x5623396d0b80, nfds=5, 
timeout=<optimized out>, sigmask=sigmask@entry=0x0) at 
../sysdeps/unix/sysv/linux/ppoll.c:39
#1  0x00007f602a098df8 in ppoll (__ss=0x0, __timeout=<optimized out>, 
__nfds=<optimized out>, __fds=<optimized out>) at 
/usr/include/x86_64-linux-gnu/bits/poll2.h:77
#2  pa_rtpoll_run (p=0x562339750c60) at pulsecore/rtpoll.c:314
#3  0x00007f6022183575 in thread_func (userdata=0x562339750a10) at 
modules/alsa/alsa-sink.c:1799
#4  0x00007f6029e302c8 in internal_thread_func (userdata=0x562339668390) at 
pulsecore/thread-posix.c:81
#5  0x00007f6029302494 in start_thread (arg=0x7f6017df2700) at 
pthread_create.c:333
#6  0x00007f602892baff in clone () at 
../sysdeps/unix/sysv/linux/x86_64/clone.S:97

Thread 1 (Thread 0x7f602a4684c0 (LWP 2624)):
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:51
#1  0x00007f60288773fa in __GI_abort () at abort.c:89
#2  0x00007f602886ee37 in __assert_fail_base (fmt=<optimized out>, 
assertion=assertion@entry=0x7f60224748e8 "mixer", 
file=file@entry=0x7f6022474b79 "mixer.c", line=line@entry=929, 
function=function@entry=0x7f6022474e00 <__PRETTY_FUNCTION__.9666> 
"snd_mixer_elem_get_callback_private") at assert.c:92
#3  0x00007f602886eee2 in __GI___assert_fail 
(assertion=assertion@entry=0x7f60224748e8 "mixer", 
file=file@entry=0x7f6022474b79 "mixer.c", line=line@entry=929, 
function=function@entry=0x7f6022474e00 <__PRETTY_FUNCTION__.9666> 
"snd_mixer_elem_get_callback_private") at assert.c:101
#4  0x00007f60223f503d in snd_mixer_elem_get_callback_private 
(mixer=mixer@entry=0x0) at mixer.c:929
#5  0x00007f60226be60b in report_jack_state (melem=0x0, mask=mask@entry=0) at 
modules/alsa/module-alsa-card.c:362
#6  0x00007f60226beb1b in card_suspend_changed (c=<optimized out>, 
card=<optimized out>, u=0x5623395de220) at modules/alsa/module-alsa-card.c:628
#7  0x00007f602a08d60c in pa_hook_fire (hook=0x562339555948, 
data=data@entry=0x5623395d0a40) at pulsecore/hook-list.c:104
#8  0x00007f602a089d8a in pa_card_suspend (c=c@entry=0x5623395d0a40, 
suspend=suspend@entry=false, cause=cause@entry=PA_SUSPEND_SESSION) at 
pulsecore/card.c:390
#9  0x00007f60228c500c in verify_access (u=u@entry=0x5623395be700, 
d=0x5623395d30d0) at modules/module-udev-detect.c:362
#10 0x00007f60228c63e5 in inotify_cb (a=0x5623395545e8, e=<optimized out>, 
fd=14, events=<optimized out>, userdata=0x5623395be700) at 
modules/module-udev-detect.c:624
#11 0x00007f6029ba774c in dispatch_pollfds (m=0x562339554590) at 
pulse/mainloop.c:655
#12 pa_mainloop_dispatch (m=m@entry=0x562339554590) at pulse/mainloop.c:898
#13 0x00007f6029ba7b4c in pa_mainloop_iterate (m=0x562339554590, 
block=<optimized out>, retval=0x7ffc8077f948) at pulse/mainloop.c:929
#14 0x00007f6029ba7bf0 in pa_mainloop_run (m=0x562339554590, 
retval=0x7ffc8077f948) at pulse/mainloop.c:944
#15 0x000056233875bd8c in main (argc=<optimized out>, argv=<optimized out>) at 
daemon/main.c:1140
```

Please find the full backtraces attached.

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

------------------------------------------------------------------------
On 2018-05-24T16:51:36+00:00 Tanu Kaskinen wrote:

Sorry, I didn't notice this bug report until now. I think I have a fix
for it, I'll submit it shortly.

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

------------------------------------------------------------------------
On 2018-05-24T17:42:00+00:00 Tanu Kaskinen wrote:

Here's the patch: https://patchwork.freedesktop.org/patch/225242/

If this is a reproducible problem and you're able to apply the patch,
testing would be appreciated (I'm not sure the bug that I found is
really the root cause of the crash).

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1663528/comments/17

------------------------------------------------------------------------
On 2018-06-04T09:12:59+00:00 Tanu Kaskinen wrote:

The patch is now in master.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/1663528/comments/18


** Changed in: pulseaudio
       Status: Unknown => Fix Released

** Changed in: pulseaudio
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pulseaudio in Ubuntu.
https://bugs.launchpad.net/bugs/1663528

Title:
  pulseaudio assert failure: pulseaudio: mixer.c:929:
  snd_mixer_elem_get_callback_private: Assertion `mixer' failed.

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

Bug description:
  https://errors.ubuntu.com/problem/a8bcc8185d5b1da4614bcdcf99daf57011bf9250

  ---

  Sidenote: Imediatly got that crash after the apt-xapian-index one (
  lp:1663524 ); does not know if it can exist a possible relationship
  between them.

  Got an other crash, and that time 'sound' is fully lost (pulseaudio
  not reloaded). Wonder if lp:1662860 can be concerned.

  ProblemType: Crash
  DistroRelease: Ubuntu 17.04
  Package: pulseaudio 1:10.0-1ubuntu1
  ProcVersionSignature: Ubuntu 4.9.0-16.17-generic 4.9.6
  Uname: Linux 4.9.0-16-generic x86_64
  NonfreeKernelModules: nvidia_uvm nvidia_drm nvidia_modeset nvidia
  ApportVersion: 2.20.4-0ubuntu2
  Architecture: amd64
  AssertionMessage: pulseaudio: mixer.c:929: 
snd_mixer_elem_get_callback_private: Assertion `mixer' failed.
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC1:  oem        4084 F.... pulseaudio
   /dev/snd/controlC0:  oem        4084 F.... pulseaudio
  CurrentDesktop: GNOME
  Date: Fri Feb 10 09:55:45 2017
  ExecutablePath: /usr/bin/pulseaudio
  ProcCmdline: /usr/bin/pulseaudio --start --log-target=syslog
  ProcEnviron:
   LANGUAGE=en_GB:en
   PATH=(custom, no user)
   XDG_RUNTIME_DIR=<set>
   LANG=en_GB.UTF-8
   SHELL=/bin/bash
  Signal: 6
  SourcePackage: pulseaudio
  StacktraceTop:
   __assert_fail_base (fmt=<optimised out>, 
assertion=assertion@entry=0x7f92818e7188 "mixer", 
file=file@entry=0x7f92818e7419 "mixer.c", line=line@entry=929, 
function=function@entry=0x7f92818e76a0 "snd_mixer_elem_get_callback_private") 
at assert.c:92
   __GI___assert_fail (assertion=0x7f92818e7188 "mixer", file=0x7f92818e7419 
"mixer.c", line=929, function=0x7f92818e76a0 
"snd_mixer_elem_get_callback_private") at assert.c:101
   snd_mixer_elem_get_callback_private () from 
/usr/lib/x86_64-linux-gnu/libasound.so.2
   ?? () from /usr/lib/pulse-10.0/modules/module-alsa-card.so
   ?? () from /usr/lib/pulse-10.0/modules/module-alsa-card.so
  Title: pulseaudio assert failure: pulseaudio: mixer.c:929: 
snd_mixer_elem_get_callback_private: Assertion `mixer' failed.
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom colord dip lpadmin nvidia-persistenced plugdev 
sambashare sudo users
  dmi.bios.date: 07/22/2010
  dmi.bios.vendor: American Megatrends Inc.
  dmi.bios.version: 3002
  dmi.board.asset.tag: To Be Filled By O.E.M.
  dmi.board.name: P5W DH Deluxe
  dmi.board.vendor: ASUSTeK Computer INC.
  dmi.board.version: Rev 1.xx
  dmi.chassis.asset.tag: Asset-1234567890
  dmi.chassis.type: 3
  dmi.chassis.vendor: Chassis Manufacture
  dmi.chassis.version: Chassis Version
  dmi.modalias: 
dmi:bvnAmericanMegatrendsInc.:bvr3002:bd07/22/2010:svnASUSTEKCOMPUTERINC:pnP5WDHDeluxe:pvrSystemVersion:rvnASUSTeKComputerINC.:rnP5WDHDeluxe:rvrRev1.xx:cvnChassisManufacture:ct3:cvrChassisVersion:
  dmi.product.name: P5W DH Deluxe
  dmi.product.version: System Version
  dmi.sys.vendor: ASUSTEK COMPUTER INC

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

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

Reply via email to