Save data with Extract Surface with sidesets crashes
We have a crash when trying to save data that is derived from the Extract Surfaces filter for sidesets. Here is how to replicate:
- Master, Linux (and Mac), builtin server.
- Open can.exo. Advanced. Turn off all blocks. Turn on Sets/ Unnamed set ID: 4. Apply.
- Extract Surface. Apply.
- File/ Save Data. Exodus data. Take defaults. OK.
This will crash with the following:
Stack trace:
60 0x407baa /.../paraview() [0x407baa]
59 0x7f7d3964f545 __libc_start_main + 245
58 0x40780a /.../paraview() [0x40780a]
57 0x7f7d3727e364 QCoreApplication::exec() + 132
56 0x7f7d37275ada QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 298
55 0x7f7d372cd5df QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 95
54 0x7f7d26d0745c g_main_context_iteration + 44
53 0x7f7d26d073a8 /lib64/libglib-2.0.so.0(+0x4c3a8) [0x7f7d26d073a8]
52 0x7f7d26d07049 g_main_context_dispatch + 345
51 0x7f7d0a64c450 /.../plugins/platforms/../../lib/libQt5XcbQpa.so.5(+0x86450) [0x7f7d0a64c450]
50 0x7f7d3761ba9b QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 171
49 0x7f7d37642205 QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) + 261
48 0x7f7d376408bb QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) + 1739
47 0x7f7d372774c8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
46 0x7f7d38cab9c4 QApplication::notify(QObject*, QEvent*) + 628
45 0x7f7d38ca464c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156
44 0x7f7d38cfcaa1 /../bin/../lib/libQt5Widgets.so.5(+0x1b2aa1) [0x7f7d38cfcaa1]
43 0x7f7d38cfa3a2 /../bin/../lib/libQt5Widgets.so.5(+0x1b03a2) [0x7f7d38cfa3a2]
42 0x7f7d38caaf6f QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) + 447
41 0x7f7d372774c8 QCoreApplication::notifyInternal2(QObject*, QEvent*) + 280
40 0x7f7d38cabf1f QApplication::notify(QObject*, QEvent*) + 1999
39 0x7f7d38ca464c QApplicationPrivate::notify_helper(QObject*, QEvent*) + 156
38 0x7f7d38e1997b QMenu::event(QEvent*) + 171
37 0x7f7d38ce03c8 QWidget::event(QEvent*) + 472
36 0x7f7d38e17783 QMenu::mouseReleaseEvent(QMouseEvent*) + 403
35 0x7f7d38e168cf /../bin/../lib/libQt5Widgets.so.5(+0x2cc8cf) [0x7f7d38e168cf]
34 0x7f7d38e0f83c /../bin/../lib/libQt5Widgets.so.5(+0x2c583c) [0x7f7d38e0f83c]
33 0x7f7d38ca096c QAction::activate(QAction::ActionEvent) + 204
32 0x7f7d38c9e4d2 QAction::triggered(bool) + 50
31 0x7f7d372a49da QMetaObject::activate(QObject*, int, int, void**) + 1898
30 0x7f7d392f25ef pqSaveDataReaction::saveActiveData() + 1423
29 0x7f7d392f1867 pqSaveDataReaction::saveActiveData(QString const&) + 1399
28 0x7f7d366998e1 vtkSMWriterProxy::UpdatePipeline() + 113
27 0x7f7d3653cf75 vtkPVSessionBase::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 53
26 0x7f7d3653df4b vtkPVSessionCore::ExecuteStream(unsigned int, vtkClientServerStream const&, bool) + 59
25 0x7f7d3653e112 vtkPVSessionCore::ExecuteStreamInternal(vtkClientServerStream const&, bool) + 242
24 0x7f7d340eddbd vtkClientServerInterpreter::ProcessStream(vtkClientServerStream const&) + 29
23 0x7f7d340edb1e vtkClientServerInterpreter::ProcessOneMessage(vtkClientServerStream const&, int) + 1294
22 0x7f7d340ed3ed vtkClientServerInterpreter::ProcessCommandInvoke(vtkClientServerStream const&, int) + 1229
21 0x7f7d340ecd89 vtkClientServerInterpreter::CallCommandFunction(char const*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) + 345
20 0x7f7d2e24f24e vtkPExodusIIWriterCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) + 446
19 0x7f7d340ecd89 vtkClientServerInterpreter::CallCommandFunction(char const*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) + 345
18 0x7f7d2e25bb01 vtkExodusIIWriterCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) + 1121
17 0x7f7d340ecd89 vtkClientServerInterpreter::CallCommandFunction(char const*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&) + 345
16 0x7f7d2e6b81c0 vtkWriterCommand(vtkClientServerInterpreter*, vtkObjectBase*, char const*, vtkClientServerStream const&, vtkClientServerStream&, void*) + 1920
15 0x7f7d2b5e367c vtkWriter::Write() + 44
14 0x7f7d32133fbd vtkStreamingDemandDrivenPipeline::UpdateWholeExtent() + 333
13 0x7f7d32134d4a vtkStreamingDemandDrivenPipeline::Update(int, vtkInformationVector*) + 282
12 0x7f7d32105386 vtkDemandDrivenPipeline::UpdateData(int) + 134
11 0x7f7d32133989 vtkStreamingDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 953
10 0x7f7d321063c6 vtkDemandDrivenPipeline::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 310
9 0x7f7d32100bb1 vtkCompositeDataPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 113
8 0x7f7d32103d47 vtkDemandDrivenPipeline::ExecuteData(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 55
7 0x7f7d32109b1e vtkExecutive::CallAlgorithm(vtkInformation*, int, vtkInformationVector**, vtkInformationVector*) + 62
6 0x7f7d1cd15fa6 vtkExodusIIWriter::ProcessRequest(vtkInformation*, vtkInformationVector**, vtkInformationVector*) + 310
5 0x7f7d1cd1efed vtkExodusIIWriter::WriteData() + 1197
4 0x7f7d1cf5d8f3 vtkPExodusIIWriter::CheckParameters() + 83
3 0x7f7d1cd1ea48 vtkExodusIIWriter::CheckParametersInternal(int, int) + 136
2 0x7f7d1cd1bb1a vtkExodusIIWriter::CreateDefaultMetadata() + 346
1 0x7f7d1cd131f7 vtkExodusIIWriter::CreateSetsMetadata(vtkModelMetadata*) + 1703
0 0x7f7d396633f0 /lib64/libc.so.6(+0x363f0) [0x7f7d396633f0]
@cory.quammen @utkarsh.ayachit Crash, thus probably needs to be fixed for 5.9.0.