Bug 39806 - pulseaudio fails to launch with enumeration_is_subset() assert
Summary: pulseaudio fails to launch with enumeration_is_subset() assert
Status: RESOLVED FIXED
Alias: None
Product: PulseAudio
Classification: Unclassified
Component: modules (show other bugs)
Version: unspecified
Hardware: Other Linux (All)
: medium normal
Assignee: pulseaudio-bugs
QA Contact: pulseaudio-bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-08-03 08:56 UTC by Andrew Eikum
Modified: 2011-08-15 10:07 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
pulseaudio -vvvv output (80.83 KB, text/plain)
2011-08-03 08:56 UTC, Andrew Eikum
Details
amixer contents output (4.85 KB, text/plain)
2011-08-03 08:56 UTC, Andrew Eikum
Details

Description Andrew Eikum 2011-08-03 08:56:00 UTC
Created attachment 49882 [details]
pulseaudio -vvvv output

I built PulseAudio from Git 85291b1954303d577209dbb99c6950995aac7b01, intending to test out how 1893234063519af980b17c03f8fec98a26f7ae94 interacts with the ALSA driver in Wine. Upon launching the pulseaudio binary, I get a failing assert at <src/modules/alsa/alsa-mixer.c:2894> which is:

  pa_assert(b_options);

Attached is a "pulseaudio -vvvv" log and "amixer contents" log, as suggested by a kind, anonymous soul in #winehackers.
Comment 1 Andrew Eikum 2011-08-03 08:56:29 UTC
Created attachment 49883 [details]
amixer contents output
Comment 2 Arun Raghavan 2011-08-15 10:07:48 UTC
commit 5bfcb5d8a09bf5c726d4aea6fb04533007c24143
Author: David Henningsson <david.henningsson@canonical.com>
Date:   Thu Aug 4 11:13:37 2011 +0200

    Fix crash in path subset elimination
    
    As reported in http://kpaste.net/04f1f3f
    it is possible to call enumeration_is_subset with null pointers.
    Handle that case instead of crashing. (It is also possible that
    Tanuk's pending element_is_subset patch solves the issue, but this
    nevertheless gives some extra security.)
    
    Signed-off-by: David Henningsson <david.henningsson@canonical.com>


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.