[Pkg-virtualbox-devel] Bug#889791: virtualbox: PulseAudio-related segmentation fault from PowerShell beeps

Kevin Locke kevin at kevinlocke.name
Tue Feb 6 23:29:09 UTC 2018


Package: virtualbox
Version: 5.2.6-dfsg-3+b1
Severity: normal

Dear Maintainer,

When running a Windows 7 guest using the PulseAudio host audio driver
and either "ICH AC97" or "Intel HD Audio" audio controller, running
PowerShell and causing repeated beeping (e.g. by invoking ^G repeatedly)
will cause VirtualBox to crash with SIGSEGV.  I was able to reproduce
the issue using the Microsoft-provided "IE8 on Win7 (x86)" VM image[1]
but was unable to reproduce it from terminal beeps using a Linux image.

The backtrace from the core dump is as follows:

Program terminated with signal SIGSEGV, Segmentation fault.
#0  pa_threaded_mainloop_signal (m=0x191, wait_for_accept=0)
    at pulse/thread-mainloop.c:196
[Current thread is 1 (Thread 0x7f46e76aa700 (LWP 20306))]
#0  0x00007f47001ebbde in pa_threaded_mainloop_signal (m=0x191, wait_for_accept=0) at pulse/thread-mainloop.c:196
#1  0x00007f47001e2a95 in pa_stream_simple_ack_callback (pd=pd at entry=0x7f46e00017f0, command=command at entry=2, tag=tag at entry=634, t=t at entry=0x7f46e00028d0, userdata=userdata at entry=0x7f46e000cf00) at pulse/stream.c:2258
#2  0x00007f46f0cba621 in run_action (pd=0x7f46e00017f0, r=0x7f46e000aac0, command=2, ts=0x7f46e00028d0) at pulsecore/pdispatch.c:288
#3  0x00007f46f0cba99b in pa_pdispatch_run (pd=0x7f46e00017f0, packet=packet at entry=0x7f46e000bd90, ancil_data=ancil_data at entry=0x7f46e0000e88, userdata=userdata at entry=0x7f4710613640) at pulsecore/pdispatch.c:341
#4  0x00007f47001c836e in pstream_packet_callback (p=<optimized out>, packet=0x7f46e000bd90, ancil_data=0x7f46e0000e88, userdata=0x7f4710613640)
    at pulse/context.c:349
#5  0x00007f46f0cbd5ef in do_read (p=p at entry=0x7f46e0000bf0, re=re at entry=0x7f46e0000db8) at pulsecore/pstream.c:1012
#6  0x00007f46f0cc00ab in do_pstream_read_write (p=0x7f46e0000bf0)
    at pulsecore/pstream.c:248
#7  0x00007f46f0cc0449 in srb_callback (srb=<optimized out>, userdata=0x7f46e0000bf0) at pulsecore/pstream.c:287
#8  0x00007f46f0cc0ccf in srbchannel_rwloop (sr=0x7f46e000bbe0)
    at pulsecore/srbchannel.c:190
#9  0x00007f47001dd338 in dispatch_pollfds (m=0x7f4710613490)
    at pulse/mainloop.c:655
#10 0x00007f47001dd338 in pa_mainloop_dispatch (m=m at entry=0x7f4710613490)
    at pulse/mainloop.c:898
#11 0x00007f47001dd70e in pa_mainloop_iterate (m=0x7f4710613490, block=<optimized out>, retval=0x0) at pulse/mainloop.c:929
#12 0x00007f47001dd790 in pa_mainloop_run (m=0x7f4710613490, retval=retval at entry=0x0) at pulse/mainloop.c:944
#13 0x00007f47001eb5f9 in thread (userdata=0x7f4710613450)
    at pulse/thread-mainloop.c:100
#14 0x00007f46f0cd0c58 in internal_thread_func (userdata=0x7f4710615c60)
    at pulsecore/thread-posix.c:81
#15 0x00007f476ea4051a in start_thread (arg=0x7f46e76aa700)
    at pthread_create.c:465
#16 0x00007f476e5743ef in clone ()
    at ../sysdeps/unix/sysv/linux/x86_64/clone.S:95

I could host the entire core dump if it would be useful.  The host
system has pulseaudio 11.1-4 installed.

Let me know if I should report the issue upstream.  I couldn't find a
way to run the distro-agnostic binary package without installing it,
which I'm hesitant to do.  So I have filed the issue here to start.

Thanks,
Kevin

1.  https://developer.microsoft.com/en-us/microsoft-edge/tools/vms/


-- System Information:
Debian Release: buster/sid
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable-debug'), (500, 'testing-debug'), (500, 'unstable'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.14.12-kevinoid1 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.utf8 (charmap=UTF-8), LANGUAGE=en_US.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages virtualbox depends on:
ii  adduser                                              3.116
ii  iproute2                                             4.14.1-2
ii  libc6                                                2.26-4
ii  libcurl3-gnutls                                      7.58.0-2
ii  libdevmapper1.02.1                                   2:1.02.145-4.1
ii  libgcc1                                              1:7.2.0-19
ii  libgsoap-2.8.60                                      2.8.60-2
ii  libpng16-16                                          1.6.34-1
ii  libpython3.6                                         3.6.4-3
ii  libsdl1.2debian                                      1.2.15+dfsg2-0.1
ii  libssl1.1                                            1.1.0g-2
ii  libstdc++6                                           7.2.0-19
ii  libvncserver1                                        0.9.11+dfsg-1
ii  libx11-6                                             2:1.6.4-3
ii  libxcursor1                                          1:1.1.15-1
ii  libxext6                                             2:1.3.3-1+b2
ii  libxml2                                              2.9.4+dfsg1-6.1
ii  libxmu6                                              2:1.1.2-2
ii  libxt6                                               1:1.1.5-1
ii  procps                                               2:3.3.12-3
ii  python3                                              3.6.4-1
ii  python3.6                                            3.6.4-3
ii  virtualbox-modules-4.14.12-kevinoid1 [virtualbox-mo  5.2.4-dfsg-1+4.14.12-1
ii  virtualbox-source                                    5.2.6-dfsg-2
ii  zlib1g                                               1:1.2.8.dfsg-5

Versions of packages virtualbox recommends:
ii  libgl1          1.0.0-2
ii  libqt5core5a    5.9.2+dfsg-7
ii  libqt5opengl5   5.9.2+dfsg-7
ii  libqt5widgets5  5.9.2+dfsg-7
ii  virtualbox-qt   5.2.6-dfsg-3+b1

Versions of packages virtualbox suggests:
pn  vde2                            <none>
ii  virtualbox-guest-additions-iso  5.2.6-1

-- no debconf information



More information about the Pkg-virtualbox-devel mailing list