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. |
|