• Guido Urdaneta's avatar
    Split dlerror() logging statement in generate_stubs.py · ede7a7ba
    Guido Urdaneta authored
    We are seeing cases where dlerror() crashes without a known reason
    under MSAN in a logging statement of InitializeStubs() during
    PulseAudio initialization.
    This CL splits the logging statement that reports the library that
    failed to open and the call to dlerror().
    This will allow us to see in the logs which library failed to load prior
    to the dlerror crash.
    
    
    Bug: 1109346
    Change-Id: I3adbdf27e7207404a0c4d8a9fd472b77a8932c8b
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2332259
    Commit-Queue: Nico Weber <thakis@chromium.org>
    Auto-Submit: Guido Urdaneta <guidou@chromium.org>
    Reviewed-by: default avatarNico Weber <thakis@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#794845}
    ede7a7ba
generate_stubs.py 43.6 KB