Skip to content
  • Marek Szymczak's avatar
    e2376aba
    Bug#22980441 SEGMENTATION FAULT AUDIT PLUGIN FOR CONCURRENT PLUGIN STATEMENTS OF REWRITE · e2376aba
    Marek Szymczak authored
    Problem
    =======
    Server crashes, when one thread installs and uninstalls plugin of the plugin
    type and second thread connects and disconnects.
    
    Analysis
    ========
    Session thread acquires audit plugin at connect. Plugin acquisition is done
    using locking/unlocking same mutex multiple times. Server crashes, when
    the plugin is uninstalled during plugin acquisition between mutex unlock-lock.
    
    Fix
    ===
    When the plugin is unavailable for acquisition, it's simply skipped.
    The plugin is acquired on the next event notification.
    
    RB: 21236
    Approved by: Georgi Kodinov <georgi.kodinov@oracle.com>
    Approved by: Murthy Sidagam <venkata.sidagam@oracle.com>
    e2376aba
    Bug#22980441 SEGMENTATION FAULT AUDIT PLUGIN FOR CONCURRENT PLUGIN STATEMENTS OF REWRITE
    Marek Szymczak authored
    Problem
    =======
    Server crashes, when one thread installs and uninstalls plugin of the plugin
    type and second thread connects and disconnects.
    
    Analysis
    ========
    Session thread acquires audit plugin at connect. Plugin acquisition is done
    using locking/unlocking same mutex multiple times. Server crashes, when
    the plugin is uninstalled during plugin acquisition between mutex unlock-lock.
    
    Fix
    ===
    When the plugin is unavailable for acquisition, it's simply skipped.
    The plugin is acquired on the next event notification.
    
    RB: 21236
    Approved by: Georgi Kodinov <georgi.kodinov@oracle.com>
    Approved by: Murthy Sidagam <venkata.sidagam@oracle.com>
Loading