View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0014757ParaView(No Category)public2014-05-28 09:152014-08-29 11:00
ReporterUtkarsh Ayachit 
Assigned ToUtkarsh Ayachit 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product Version 
Target Version4.2Fixed in Version4.2 
Summary0014757: Developer tag: Plugin libraries are potentially unloaded before proxies from the plugins are removed.
DescriptionPlugin libraries are potentially unloaded before proxies from the plugins are removed.

Refer to Kitware Helpdesk Ticket: KW00001440 for more details.
TagsNo tags attached.
ProjectKitware
Topic Namefix_plugin_loading_order
Typecrash
Attached Files

 Relationships

  Notes
(0032670)
Utkarsh Ayachit (administrator)
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 (administrator)
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 (manager)
2014-05-30 22:13

Developer tag in git. Closing.

 Issue History
Date Modified Username Field Change
2014-05-28 09:15 Utkarsh Ayachit New Issue
2014-05-28 09:15 Utkarsh Ayachit Topic Name => fix_plugin_loading_order
2014-05-28 09:15 Utkarsh Ayachit Note Added: 0032670
2014-05-28 09:15 Utkarsh Ayachit Status backlog => gatekeeper review
2014-05-28 09:15 Utkarsh Ayachit Fixed in Version => git-next
2014-05-28 09:15 Utkarsh Ayachit Resolution open => fixed
2014-05-28 09:15 Utkarsh Ayachit Assigned To => Utkarsh Ayachit
2014-05-30 08:13 Utkarsh Ayachit Fixed in Version git-next => git-master
2014-05-30 08:14 Utkarsh Ayachit Note Added: 0032696
2014-05-30 08:14 Utkarsh Ayachit Status gatekeeper review => customer review
2014-05-30 22:13 Alan Scott Note Added: 0032704
2014-05-30 22:13 Alan Scott Status customer review => closed
2014-06-17 09:22 Utkarsh Ayachit Target Version => 4.2
2014-08-29 11:00 Utkarsh Ayachit Fixed in Version git-master => 4.2


Copyright © 2000 - 2018 MantisBT Team