[pulseaudio-tickets] [Bug 80867] New: Pulseaudio dies when using mmkbd-evdev and the input device is unplugged

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Jul 3 11:34:44 PDT 2014


https://bugs.freedesktop.org/show_bug.cgi?id=80867

          Priority: medium
            Bug ID: 80867
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: Pulseaudio dies when using mmkbd-evdev and the input
                    device is unplugged
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: Linux (All)
          Reporter: sb-fdbugs at enotty.net
          Hardware: x86-64 (AMD64)
            Status: NEW
           Version: unspecified
         Component: modules
           Product: PulseAudio

With the mmkbd-evdev module enabled e.g. like so in ~/.pulse/default:

  load-module module-mmkbd-evdev
device=/dev/input/by-id/usb-0430_Sun_USB_Keyboard-event-kbd

pulseaudio crashes when that keyboard is unplugged.  The following messages
are logged to syslog:

  Jul 3 19:21:17 hostname pulseaudio[11515]: [pulseaudio] module-mmkbd-evdev.c:
  Lost connection to evdev device.
  Jul 3 19:21:17 hostname pulseaudio[11515]: [pulseaudio] module-mmkbd-evdev.c:
  Assertion 'pa_close(u->fd) == 0' failed at modules/module-mmkbd-evdev.c:260,
  function module_mmkbd_evdev_LTX_pa__done(). Aborting.

I would guess that the fd has already been closed and close(2) returns EBADF
to pa_close().

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/pulseaudio-bugs/attachments/20140703/8fb95939/attachment.html>


More information about the pulseaudio-bugs mailing list