[pulseaudio-tickets] [Bug 61800] New: PA incorrectly reports modules with unresolved symbols as missing

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Mon Mar 4 07:58:43 PST 2013


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

          Priority: medium
            Bug ID: 61800
                CC: lennart at poettering.net
          Assignee: pulseaudio-bugs at lists.freedesktop.org
           Summary: PA incorrectly reports modules with unresolved symbols
                    as missing
        QA Contact: pulseaudio-bugs at lists.freedesktop.org
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: vtroshchinskiy at qindel.es
          Hardware: All
            Status: NEW
           Version: unspecified
         Component: daemon
           Product: PulseAudio

Created attachment 75901
  --> https://bugs.freedesktop.org/attachment.cgi?id=75901&action=edit
Patch to call dlerror() in bind_now_open() for better reporting of module
loading problems

If a module exists, but some of the symbols in it can't be resolved, the
following happens:

E: [] module.c: Failed to open module "module-coreaudio-detect": file not found

Even though the file is clearly present in the modules directory. This is very
confusing. 

This is because bind_now_open() in src/daemon/ltdl-bind-now.c assumes any
problem with dlopen is due to a missing file.

The attached patch makes it call dlerror() to report something more useful.

-- 
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/20130304/95cc85f7/attachment.html>


More information about the pulseaudio-bugs mailing list