Reloading a Fides file causes a segfault
I noticed that when I open a .bp file with the FidesReader and then select it and press F5 [or right click and "Reload file"] Paraview crashes with the following trace
( 12.161s) [paraview ] vtkPVSessionCore.cxx:355 ERR| vtkPVSessionCore (0x5617982dfe20): Object type: vtkFidesReader, could not find requested method: "SetDataSourceIO"
or the method was called with incorrect arguments.
while processing
Message 0 = Invoke
Argument 0 = vtk_object_pointer {vtkFidesReader (0x56179fc4a5f0)}
Argument 1 = string_value {SetDataSourceIO}
( 12.170s) [paraview ] vtkPVSessionCore.cxx:356 ERR| vtkPVSessionCore (0x5617982dfe20): Aborting execution for debugging purposes.
############ ABORT #############
( 12.171s) [paraview ] vtkSIProxy.cxx:155 ERR| vtkSISourceProxy (0x561798095400): Error pushing property state: DataSourceIO
global_id: 7449
location: 1
[paraview_protobuf.DefinitionHeader.client_class]: "vtkSMSourceProxy"
[paraview_protobuf.DefinitionHeader.server_class]: "vtkSISourceProxy"
[paraview_protobuf.ProxyState.xml_group]: "sources"
[paraview_protobuf.ProxyState.xml_name]: "FidesFileReader"
[paraview_protobuf.ProxyState.property] {
name: "ConvertToVTK"
value {
type: INT
integer: 1
}
}
[paraview_protobuf.ProxyState.property] {
name: "DataSourceIO"
value {
type: STRING
}
}
[paraview_protobuf.ProxyState.property] {
name: "FileName"
value {
type: STRING
txt: "/home/mleoni/Stuff/RICAM/RFA/build-rfa2-FEniCS_X_MPI_GCC-Release/rfa/rfaSolution.bp"
}
}
[paraview_protobuf.ProxyState.has_annotation]: true
[paraview_protobuf.ProxyState.log_name]: "rfaSolution.bp"
[paraview_protobuf.ProxyState.vtk_classname]: "vtkFidesReader"
terminate called after throwing an instance of 'std::ios_base::failure[abi:cxx11]'
what(): Unable to open metadata file; does '' exist?: iostream error
Loguru caught a signal: SIGABRT
Stack trace:
46 0x5617963fd3a5 paraview(+0xa3a5) [0x5617963fd3a5]
45 0x7f95e13c4e40 __libc_start_main + 128
44 0x7f95e13c4d90 /lib/x86_64-linux-gnu/libc.so.6(+0x29d90) [0x7f95e13c4d90]
43 0x5617963fd19c paraview(+0xa19c) [0x5617963fd19c]
42 0x7f95df809f54 QCoreApplication::exec() + 148
41 0x7f95df8019bb QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 299
40 0x7f95df85caf8 QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 104
39 0x7f95d77de3c3 g_main_context_iteration + 51
38 0x7f95d78356f8 /lib/x86_64-linux-gnu/libglib-2.0.so.0(+0xaa6f8) [0x7f95d78356f8]
37 0x7f95d77e0d1b g_main_context_dispatch + 619
36 0x7f95c2267c8e /lib/x86_64-linux-gnu/libQt5XcbQpa.so.5(+0x75c8e) [0x7f95c2267c8e]
35 0x7f95dfbc1a6c QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 172
34 0x7f95dfbe9b1f QGuiApplicationPrivate::processKeyEvent(QWindowSystemInterfacePrivate::KeyEvent*) + 143
33 0x7f95dfbc4f72 QWindowSystemInterface::handleShortcutEvent(QWindow*, unsigned long, int, QFlags<Qt::KeyboardModifier>, unsigned int, unsigned int, unsigned int, QString const&, bool, unsigned short) + 402
32 0x7f95dfc1e4b3 QShortcutMap::tryShortcut(QKeyEvent*) + 99
31 0x7f95dfc1db14 QShortcutMap::dispatchEvent(QKeyEvent*) + 1108
30 0x7f95df80309a QCoreApplication::notifyInternal2(QObject*, QEvent*) + 314
29 0x7f95e0ac6763 QApplicationPrivate::notify_helper(QObject*, QEvent*) + 131
28 0x7f95e0ac3537 QAction::event(QEvent*) + 87
27 0x7f95e0ac294c QAction::activate(QAction::ActionEvent) + 172
26 0x7f95e0abfc56 QAction::triggered(bool) + 70
25 0x7f95df83b128 /lib/x86_64-linux-gnu/libQt5Core.so.5(+0x2f4128) [0x7f95df83b128]
24 0x7f95e1211890 pqReloadFilesReaction::reload(vtkSMSourceProxy*) + 192
23 0x7f95df30721a vtkSMReaderReloadHelper::ReloadFiles(vtkSMSourceProxy*) + 378
22 0x7f95df3396f1 vtkSMSourceProxy::UpdatePipelineInformation() + 129
21 0x7f95df1e3938 vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 56
20 0x7f95df1e5c7f vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) + 255
19 0x7f95de1c1bf5 vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) + 37
18 0x7f95de1c1702 vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) + 242
17 0x7f95de1c158e vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) + 1262
16 0x7f95d8f56460 vtkSISourceProxyCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) + 1920
15 0x7f95df222720 vtkSISourceProxy::UpdatePipelineInformation() + 176
14 0x7f95dc4cb619 vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 1305
13 0x7f95dc54756d vtkStreamingDemandDrivenPipeline::ExecuteInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 45
12 0x7f95dc4cf34b vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) + 91
11 0x7f95d57ae46b vtkFidesReader::RequestInformation(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 187
10 0x7f95d57ac979 vtkFidesReader::ParseDataModel(std::string const&) + 233
9 0x7f95cbc3ff1f fides::io::DataSetReader::DataSetReader(std::string, fides::io::DataSetReader::DataModelInput, std::unordered_map<std::string, std::unordered_map<std::string, std::string, std::hash<std::string>, std::equal_to<std::string>, std::allocator<std::pair<std::string const, std::string > > >, std::hash<std::string>, std::equal_to<std::__cxx11::basic_string<char, std::char_traits<char>, std8 0x7f95cbc3f873 /home/mleoni/opt/Paraview/install/bin/../lib/libvtkfides-pv5.11.so.1(+0x98873) [0x7f95cbc3f873]
7 0x7f95da457518 /lib/x86_64-linux-gnu/libstdc++.so.6(+0xae518) [0x7f95da457518]
6 0x7f95da4572b7 /lib/x86_64-linux-gnu/libstdc++.so.6(+0xae2b7) [0x7f95da4572b7]
5 0x7f95da45724c /lib/x86_64-linux-gnu/libstdc++.so.6(+0xae24c) [0x7f95da45724c]
4 0x7f95da44bbbe /lib/x86_64-linux-gnu/libstdc++.so.6(+0xa2bbe) [0x7f95da44bbbe]
3 0x7f95e13c37f3 abort + 211
2 0x7f95e13dd476 raise + 22
1 0x7f95e1431a7c pthread_kill + 300
0 0x7f95e13dd520 /lib/x86_64-linux-gnu/libc.so.6(+0x42520) [0x7f95e13dd520]
( 12.171s) [paraview ] :0 FATL| Signal: SIGABRT
I'm using Paraview revision cc71987b compiled by me.
Edited by Massimiliano Leoni