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

          Priority: medium
            Bug ID: 61800
                CC: [email protected]
          Assignee: [email protected]
           Summary: PA incorrectly reports modules with unresolved symbols
                    as missing
        QA Contact: [email protected]
          Severity: normal
    Classification: Unclassified
                OS: All
          Reporter: [email protected]
          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.
_______________________________________________
pulseaudio-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/pulseaudio-bugs

Reply via email to