MantisBT - ParaView
View Issue Details
0014757ParaView(No Category)public2014-05-28 09:152014-08-29 11:00
Utkarsh Ayachit 
Utkarsh Ayachit 
normalminorhave not tried
closedfixed 
 
4.24.2 
Kitware
fix_plugin_loading_order
crash
0014757: Developer tag: Plugin libraries are potentially unloaded before proxies from the plugins are removed.
Plugin libraries are potentially unloaded before proxies from the plugins are removed.

Refer to Kitware Helpdesk Ticket: KW00001440 for more details.
No tags attached.
Issue History
2014-05-28 09:15Utkarsh AyachitNew Issue
2014-05-28 09:15Utkarsh AyachitTopic Name => fix_plugin_loading_order
2014-05-28 09:15Utkarsh AyachitNote Added: 0032670
2014-05-28 09:15Utkarsh AyachitStatusbacklog => gatekeeper review
2014-05-28 09:15Utkarsh AyachitFixed in Version => git-next
2014-05-28 09:15Utkarsh AyachitResolutionopen => fixed
2014-05-28 09:15Utkarsh AyachitAssigned To => Utkarsh Ayachit
2014-05-30 08:13Utkarsh AyachitFixed in Versiongit-next => git-master
2014-05-30 08:14Utkarsh AyachitNote Added: 0032696
2014-05-30 08:14Utkarsh AyachitStatusgatekeeper review => customer review
2014-05-30 22:13Alan ScottNote Added: 0032704
2014-05-30 22:13Alan ScottStatuscustomer review => closed
2014-06-17 09:22Utkarsh AyachitTarget Version => 4.2
2014-08-29 11:00Utkarsh AyachitFixed in Versiongit-master => 4.2

Notes
(0032670)
Utkarsh Ayachit   
2014-05-28 09:15   
commit fcc678523372cce1deb07e9cb79704ea02e239b0
Author: Utkarsh Ayachit <utkarsh.ayachit@kitware.com>
Date: Wed May 21 09:58:41 2014 -0400

    KW00001440: Fix plugin library unloading.
    
    When running pvpython, if your Python script loaded some plugins (from
    shared libraries) and called "quit" or "exit" in the Python script
    itself, pvpython would segfault, if you created a proxy from the plugin.
    The problem was arising from the fact that the plugin shared library was
    unloaded before the VTK object corresponding to the proxy was destroyed
    during ProcessModule singleton cleanup. This was happenining because the
    vtkPVPluginLoader cleaner singleton (which unloads libraries) was
    finalized before the vtkPVPluginLoader singleton (which cleans up
    unreleased proxies).
    
    Fixed by adding a Schwarz counter to ensure that the plugin loader is
    not finalized before the process module. Since vtkPVPluginLoader.h is not
    included in a large number of translation units (and there's never need
    for it), the overhead for this is minimal.
    
    Change-Id: I0db6f4fc4e0657a623cb2dccefbb55a90ec05cab
(0032696)
Utkarsh Ayachit   
2014-05-30 08:14   
SUMMARY
---------------------------------------------
Topics merged into master:
        14679_color_legend_bugs
        14734-GoodDefaultSizeForpqProxyWidgetDialog
        cleanup-cmake
        fix_assembly_render_view
        fix_fragment_large_scale
        fix_plugin_loading_order
        fix_qt_modules
        remove-unused-directory


---------------------------------------------
Topics reverted from next:
  14673_fix_follow_data
(0032704)
Alan Scott   
2014-05-30 22:13   
Developer tag in git. Closing.