- android - 多次调用 OnPrimaryClipChangedListener
- android - 无法更新 RecyclerView 中的 TextView 字段
- android.database.CursorIndexOutOfBoundsException : Index 0 requested, 光标大小为 0
- android - 使用 AppCompat 时,我们是否需要明确指定其 UI 组件(Spinner、EditText)颜色
亲爱的 stackoverflow 团队,
我最近使用以下构建指令在 ubuntu 上从源代码编译了 paraview,但是在打开任何 *vtk、*exodus 文件时我都得到了核心转储。
#! /bin/bash
export CC=mpicc
export CXX=mpicxx
export FC=mpif90
export F77=mpif77
cmake \
-D CMAKE_INSTALL_PREFIX:PATH=/home/pablo/BuildParaview \
-D BUILD_SHARED_LIBS:BOOL=OFF \
-D BUILD_TESTING:BOOL=ON \
-D PARAVIEW_ENABLE_PYTHON:BOOL=ON \
-D PARAVIEW_USE_MPI:BOOL=ON \
-D CMAKE_BUILD_TYPE:STRING=Debug \
-D PARAVIEW_BUILD_QT_GUI:BOOL=ON \
-D CMAKE_CXX_FLAGS:STRING="-O0 -Wall -std=c++11 -pedantic -Wno-long-long -ftrapv -Wno-deprecated-declarations" \
-D PARAVIEW_ENABLE_CATALYST:BOOL=ON \
-D PARAVIEW_USE_VTKM:BOOL=ON \
-D VTK_DIR:PATH="/home/pablo/BuildParaview/paraview/build/VTK/" \
-D CMAKE_PREFIX_PATH=/home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/cmake \
../ParaView/
make -j 1
make install
安装并删除“libqgtk3.so”文件后,paraview 能够启动,但在尝试读取任何 vtk 或 exodus 文件时出现问题,我立即收到以下错误:我不此时知道该怎么做。我的猜测是我错过了其他一些需要安装其他软件包的命令吗?如有任何帮助,我们将不胜感激。
pablo@pabloPavia:~/BuildParaview/bin$ ./paraview [pabloPavia:14797] * Process received signal [pabloPavia:14797] Signal: Aborted (6) [pabloPavia:14797] Signal code: (-6) [pabloPavia:14797] [ 0] /lib/x86_64-linux-gnu/libpthread.so.0(+0x11390)[0x7f54c40b7390] [pabloPavia:14797] [ 1] /lib/x86_64-linux-gnu/libc.so.6(gsignal+0x38)[0x7f54c3d11428] [pabloPavia:14797] [ 2] /lib/x86_64-linux-gnu/libc.so.6(abort+0x16a)[0x7f54c3d1302a] [pabloPavia:14797] [ 3] /lib/x86_64-linux-gnu/libgcc_s.so.1(+0x3717)[0x7f54c42c6717] [pabloPavia:14797] [ 4] ./paraview(ZN7vtkJson9OurReader12decodeNumberERNS0_5TokenERNS_5ValueE+0x68)[0xac31ee2] [pabloPavia:14797] [ 5] ./paraview(_ZN7vtkJson9OurReader12decodeNumberERNS0_5TokenE+0x48)[0xac31d8a] [pabloPavia:14797] [ 6] ./paraview(_ZN7vtkJson9OurReader9readValueEv+0x220)[0xac2fe5e] [pabloPavia:14797] [ 7] ./paraview(_ZN7vtkJson9OurReader9readArrayERNS0_5TokenE+0x17f)[0xac31b85] [pabloPavia:14797] [ 8] ./paraview(_ZN7vtkJson9OurReader9readValueEv+0x1b5)[0xac2fdf3] [pabloPavia:14797] [ 9] ./paraview(_ZN7vtkJson9OurReader10readObjectERNS0_5TokenE+0x4bb)[0xac316ed] [pabloPavia:14797] [10] ./paraview(_ZN7vtkJson9OurReader9readValueEv+0x14a)[0xac2fd88] [pabloPavia:14797] [11] ./paraview(_ZN7vtkJson9OurReader9readArrayERNS0_5TokenE+0x17f)[0xac31b85] [pabloPavia:14797] [12] ./paraview(_ZN7vtkJson9OurReader9readValueEv+0x1b5)[0xac2fdf3] [pabloPavia:14797] [13] ./paraview(_ZN7vtkJson9OurReader5parseEPKcS2_RNS_5ValueEb+0x126)[0xac2fa08] [pabloPavia:14797] [14] ./paraview(_ZN7vtkJson13OurCharReader5parseEPKcS2_PNS_5ValueEPNSt7_cxx1112basic_stringIcSt11char_traitsIcESaIcEEE+0x56)[0xac42ff8] [pabloPavia:14797] [15] ./paraview(_ZN28vtkSMTransferFunctionPresets12vtkInternals18LoadBuiltinPresetsEv+0x18a)[0x8e9ffcc] [pabloPavia:14797] [16] ./paraview(_ZN28vtkSMTransferFunctionPresets12vtkInternals10GetPresetsEv+0x42)[0x8e9f360] [pabloPavia:14797] [17] ./paraview(_ZN28vtkSMTransferFunctionPresets22GetFirstPresetWithNameEPKc+0xa4)[0x8e9d3b6] [pabloPavia:14797] [18] ./paraview(_ZN32pqColorAnnotationsPropertyWidget11applyPresetEPKc+0x5c)[0x5e5411a] [pabloPavia:14797] [19] ./paraview(_ZN32pqColorAnnotationsPropertyWidgetC1EP10vtkSMProxyP18vtkSMPropertyGroupP7QWidget+0x81a)[0x5e53faa] [pabloPavia:14797] [20] ./paraview(_ZN33pqStandardPropertyWidgetInterface28createWidgetForPropertyGroupEP10vtkSMProxyP18vtkSMPropertyGroup+0x1e0)[0x5e00e56] [pabloPavia:14797] [21] ./paraview(_ZN13pqProxyWidget21createPropertyWidgetsERK11QStringList+0x4ae)[0x79f861a] [pabloPavia:14797] [22] ./paraview(_ZN13pqProxyWidget13createWidgetsERK11QStringList+0x3a8)[0x79f7e7e] [pabloPavia:14797] [23] ./paraview(_ZN13pqProxyWidget11constructorEP10vtkSMProxyRK11QStringListP7QWidget6QFlagsIN2Qt10WindowTypeEE+0x26a)[0x79f6e02] [pabloPavia:14797] [24] ./paraview(_ZN13pqProxyWidgetC1EP10vtkSMProxyP7QWidget6QFlagsIN2Qt10WindowTypeEE+0x8f)[0x79f6a9f] [pabloPavia:14797] [25] ./paraview(_ZN16pqColorMapEditor24setColorTransferFunctionEP10vtkSMProxy+0x22c)[0x5dc351a] [pabloPavia:14797] [26] ./paraview(_ZN16pqColorMapEditor12updateActiveEv+0xd0)[0x5dc309c] [pabloPavia:14797] [27] ./paraview[0x5e2e094] [pabloPavia:14797] [28] /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5(_ZN11QMetaObject8activateEP7QObjectiiPPv+0x659)[0x7f54c62a0469] [pabloPavia:14797] [29] ./paraview(_ZN15pqActiveObjects21representationChangedEP20pqDataRepresentation+0x56)[0x7a77060] [pabloPavia:14797] End of error message * Aborted (core dumped)
这就是我在打开 *.vtk 文件时 paraview 中止后恰好在 gdb 中运行回溯时得到的结果:
Thread 1 "paraview" received signal SIGABRT, Aborted.
0x00007ffff3b87428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
54 ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0 0x00007ffff3b87428 in __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:54
#1 0x00007ffff3b8902a in __GI_abort () at abort.c:89
#2 0x00007ffff413c717 in __negvdi2 () from /lib/x86_64-linux-gnu/libgcc_s.so.1
#3 0x000000000ac31ee2 in vtkJson::OurReader::decodeNumber (this=0x163445d0, token=..., decoded=...) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1799
#4 0x000000000ac31d8a in vtkJson::OurReader::decodeNumber (this=0x163445d0, token=...) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1780
#5 0x000000000ac2fe5e in vtkJson::OurReader::readValue (this=0x163445d0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1337
#6 0x000000000ac31b85 in vtkJson::OurReader::readArray (this=0x163445d0, tokenStart=...) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1755
#7 0x000000000ac2fdf3 in vtkJson::OurReader::readValue (this=0x163445d0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1333
#8 0x000000000ac316ed in vtkJson::OurReader::readObject (this=0x163445d0, tokenStart=...) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1718
#9 0x000000000ac2fd88 in vtkJson::OurReader::readValue (this=0x163445d0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1329
#10 0x000000000ac31b85 in vtkJson::OurReader::readArray (this=0x163445d0, tokenStart=...) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1755
#11 0x000000000ac2fdf3 in vtkJson::OurReader::readValue (this=0x163445d0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1333
#12 0x000000000ac2fa08 in vtkJson::OurReader::parse (this=0x163445d0, beginDoc=0x162f8690 "[\n {\n \"Name\" : \"KAAMS\",\n \"IndexedColors\" : [\n 1.00,\n
1.00,\n 1.00,
\n 1.00,\n 0.00,\n 0.00,\n 0.00,\n 1.00,\n 0.00,\n "..., endDoc=0x163440d5 "", root=..., collectComments=false) at /home/pablo/BuildParaview/paraview
/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:1288
#13 0x000000000ac42ff8 in vtkJson::OurCharReader::parse (this=0x163445c0, beginDoc=0x162f8690 "[\n {\n \"Name\" : \"KAAMS\",\n \"IndexedColors\" : [\n 1.00,\n
1.00,\n 1
.00,\n 1.00,\n 0.00,\n 0.00,\n 0.00,\n 1.00,\n 0.00,\n "..., endDoc=0x163440d5 "", root=0x7fffffffb200, errs=0x7fffffffb280) at /home/pablo/BuildPara
view/paraview/ParaView/VTK/ThirdParty/jsoncpp/vtkjsoncpp/jsoncpp.cpp:2151
#14 0x0000000008e9ffcc in vtkSMTransferFunctionPresets::vtkInternals::LoadBuiltinPresets (this=0x162f7b90) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Rendering/vtkSMTransfer
FunctionPresets.cxx:188
#15 0x0000000008e9f360 in vtkSMTransferFunctionPresets::vtkInternals::GetPresets (this=0x162f7b90) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Rendering/vtkSMTransferFunction
Presets.cxx:73
#16 0x0000000008e9d3b6 in vtkSMTransferFunctionPresets::GetFirstPresetWithName (this=0x162f7b30, name=0xd0dd8b5 "KAAMS") at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Rendering
/vtkSMTransferFunctionPresets.cxx:267
#17 0x0000000005e5411a in pqColorAnnotationsPropertyWidget::applyPreset (this=0x162de1a0, presetName=0xd0dd8b5 "KAAMS") at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqColorAnnot
ationsPropertyWidget.cxx:746
#18 0x0000000005e53faa in pqColorAnnotationsPropertyWidget::pqColorAnnotationsPropertyWidget (this=0x162de1a0, smproxy=0x15739420, smgroup=0x15748400, parentObject=0x0) at /home/pablo/BuildParaview/paravi
ew/ParaView/Qt/ApplicationComponents/pqColorAnnotationsPropertyWidget.cxx:731
#19 0x0000000005e00e56 in pqStandardPropertyWidgetInterface::createWidgetForPropertyGroup (this=0x11be5fd0, proxy=0x15739420, group=0x15748400) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Applicatio
nComponents/pqStandardPropertyWidgetInterface.cxx:231
#20 0x00000000079f861a in pqProxyWidget::createPropertyWidgets (this=0x160e2ea0, properties=...) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqProxyWidget.cxx:818
#21 0x00000000079f7e7e in pqProxyWidget::createWidgets (this=0x160e2ea0, properties=...) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqProxyWidget.cxx:736
#22 0x00000000079f6e02 in pqProxyWidget::constructor (this=0x160e2ea0, smproxy=0x15739420, properties=..., parentObject=0x11a63930, wflags=...) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components
/pqProxyWidget.cxx:544
#23 0x00000000079f6a9f in pqProxyWidget::pqProxyWidget (this=0x160e2ea0, smproxy=0x15739420, parentObject=0x11a63930, wflags=...) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqProxyWidget
.cxx:497
#24 0x0000000005dc351a in pqColorMapEditor::setColorTransferFunction (this=0x11a63930, ctf=0x15739420) at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqColorMapEditor.cxx:255
#25 0x0000000005dc309c in pqColorMapEditor::updateActive (this=0x11a63930) at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqColorMapEditor.cxx:179
#26 0x0000000005e2e094 in pqColorMapEditor::qt_static_metacall (_o=0x11a63930, _c=QMetaObject::InvokeMetaMethod, _id=0,
_a=0x7fffffffbed0) at /home/pablo/BuildParaview/paraview/build/Qt/ApplicationCompone
nts/moc_pqColorMapEditor.cpp:99
#27 0x00007ffff6116469 in QMetaObject::activate(QObject*, int, int, void**) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#28 0x0000000007a77060 in pqActiveObjects::representationChanged (this=0x10ed18c0 <pqActiveObjects::instance()::activeObject>,
_t1=0x15732370) at /home/pablo/BuildParaview/paraview/build/Qt/Components/moc
_pqActiveObjects.cpp:308
#29 0x0000000007915fd8 in pqActiveObjects::triggerSignals (this=0x10ed18c0 <pqActiveObjects::instance()::activeObject>) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqActiveObjects.cxx:127
#30 0x0000000007917226 in pqActiveObjects::updateRepresentation (this=0x10ed18c0 <pqActiveObjects::instance()::activeObject>) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqActiveObjects.c
xx:522
#31 0x0000000007a76b04 in pqActiveObjects::qt_static_metacall (_o=0x10ed18c0 <pqActiveObjects::instance()::activeObject>,
_c=QMetaObject::InvokeMetaMethod, _id=17, _a=0x7fffffffc0c0) at /home/pablo/BuildP
araview/paraview/build/Qt/Components/moc_pqActiveObjects.cpp:173
#32 0x00007ffff6116469 in QMetaObject::activate(QObject*, int, int, void**) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#33 0x0000000007bc031c in pqView::representationAdded (this=0x1401dad0, _t1=0x15732370) at /home/pablo/BuildParaview/paraview/build/Qt/Core/moc_pqView.cpp:364
#34 0x0000000007ba89a5 in pqView::onRepresentationsChanged (this=0x1401dad0) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Core/pqView.cxx:339
#35 0x0000000007bbfd21 in pqView::qt_static_metacall (_o=0x1401dad0, _c=QMetaObject::InvokeMetaMethod, _id=21,
_a=0x7fffffffc390) at /home/pablo/BuildParaview/paraview/build/Qt/Core/moc_pqView.cpp:199
#36 0x00007ffff6116469 in QMetaObject::activate(QObject*, int, int, void**) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#37 0x0000000007c1c47a in vtkQtConnection::EmitExecute (this=0x1401cf30, _t1=0x13cd7a30, _t2=33, _t3=0x0, _t4=0x0,
_t5=0x1401d210) at /home/pablo/BuildParaview/paraview/build/VTK/GUISupport/Qt/moc_vtkQtCo
nnection.cpp:141
#38 0x0000000007c13aa1 in vtkQtConnection::Execute (this=0x1401cf30, caller=0x13cd7a30, e=33, call_data=0x0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/GUISupport/Qt/vtkQtConnection.cxx:72
#39 0x0000000007c13a30 in vtkQtConnection::DoCallback (vtk_obj=0x13cd7a30, event=33, client_data=0x1401cf30, call_data=0x0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/GUISupport/Qt/vtkQtConnection
.cxx:62
#40 0x000000000cd96031 in vtkCallbackCommand::Execute (this=0x1401d210, caller=0x13cd7a30, event=33, callData=0x0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/Common/Core/vtkCallbackCommand.cxx:42
#41 0x000000000cfadf03 in vtkSubjectHelper::InvokeEvent (this=0x13cae100, event=33, callData=0x0, self=0x13cd7a30) at /home/pablo/BuildParaview/paraview/ParaView/VTK/Common/Core/vtkObject.cxx:616
#42 0x000000000cfae423 in vtkObject::InvokeEvent (this=0x13cd7a30, event=33, callData=0x0) at /home/pablo/BuildParaview/paraview/ParaView/VTK/Common/Core/vtkObject.cxx:785
#43 0x000000000cfae5ee in vtkObject::Modified (this=0x13cd7a30) at /home/pablo/BuildParaview/paraview/ParaView/VTK/Common/Core/vtkObject.cxx:851
#44 0x0000000006157332 in vtkSMProperty::Modified (this=0x13cd7a30) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Core/vtkSMProperty.h:481
#45 0x0000000008f73054 in vtkSMProxyProperty::AddProxy (this=0x13cd7a30, proxy=0x14f9a270) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Core/vtkSMProxyProperty.cxx:79
#46 0x0000000008f412e5 in vtkSMPropertyHelper::Add (this=0x7fffffffc770, value=0x14f9a270, outputport=0) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCore/ServerManager/Core/vtkSMPropertyHelper.
cxx:823
#47 0x0000000008ec0b9f in vtkSMParaViewPipelineControllerWithRendering::Show (this=0x14f4aa40, producer=0x14e55bf0, outputPort=0, view=0x13cd6070) at /home/pablo/BuildParaview/paraview/ParaView/ParaViewCo
re/ServerManager/Rendering/vtkSMParaViewPipelineControllerWithRendering.cxx:408
#48 0x0000000008ec1906 in vtkSMParaViewPipelineControllerWithRendering::ShowInPreferredView (this=0x14f4aa40, producer=0x14e55bf0, outputPort=0, view=0x13cd6070) at /home/pablo/BuildParaview/paraview/Para
View/ParaViewCore/ServerManager/Rendering/vtkSMParaViewPipelineControllerWithRendering.cxx:559
#49 0x0000000005e3ab4e in pqApplyBehavior::showData (this=0x119767e0, source=0x14cf5550, view=0x1401dad0) at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqApplyBehavior.cxx:284
#50 0x0000000005e39fbb in pqApplyBehavior::applied (this=0x119767e0, pqproxy=0x14cf5550) at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqApplyBehavior.cxx:135
#51 0x0000000005e39eac in pqApplyBehavior::onApplied (this=0x119767e0, proxy=0x14cf5550) at /home/pablo/BuildParaview/paraview/ParaView/Qt/ApplicationComponents/pqApplyBehavior.cxx:107
#52 0x0000000005ec974f in pqApplyBehavior::qt_static_metacall (_o=0x119767e0, _c=QMetaObject::InvokeMetaMethod, _id=2,
_a=0x7fffffffcc20) at /home/pablo/BuildParaview/paraview/build/Qt/ApplicationComponen
ts/moc_pqApplyBehavior.cpp:83
#53 0x00007ffff6116469 in QMetaObject::activate(QObject*, int, int, void**) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#54 0x0000000007a82c62 in pqPropertiesPanel::applied (this=0x11a0cab0, _t1=0x14cf5550) at /home/pablo/BuildParaview/paraview/build/Qt/Components/moc_pqPropertiesPanel.cpp:362
#55 0x00000000079dac69 in pqPropertiesPanel::apply (this=0x11a0cab0) at /home/pablo/BuildParaview/paraview/ParaView/Qt/Components/pqPropertiesPanel.cxx:821
#56 0x0000000007a825f1 in pqPropertiesPanel::qt_static_metacall (_o=0x11a0cab0, _c=QMetaObject::InvokeMetaMethod, _id=5,
_a=0x7fffffffce60) at /home/pablo/BuildParaview/paraview/build/Qt/Components/moc_pq
PropertiesPanel.cpp:207
#57 0x00007ffff6116469 in QMetaObject::activate(QObject*, int, int, void**) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#58 0x00007ffff73ee342 in QAbstractButton::clicked(bool) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#59 0x00007ffff73ee544 in ?? () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#60 0x00007ffff73f00de in ?? () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#61 0x00007ffff73f022c in QAbstractButton::mouseReleaseEvent(QMouseEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#62 0x00007ffff727da58 in QWidget::event(QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#63 0x00007ffff723f4bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#64 0x00007ffff72472c3 in QApplication::notify(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#65 0x00007ffff60ebeb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#66 0x00007ffff7245f2f in QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/li
bQt5Widgets.so.5
#67 0x00007ffff7296ee6 in ?? () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#68 0x00007ffff729983b in ?? () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#69 0x00007ffff723f4bc in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#70 0x00007ffff72468e7 in QApplication::notify(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Widgets.so.5
#71 0x00007ffff60ebeb8 in QCoreApplication::notifyInternal2(QObject*, QEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#72 0x00007ffff6a6b310 in QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate::MouseEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Gui.so.5
#73 0x00007ffff6a6d105 in QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterfacePrivate::WindowSystemEvent*) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Gui.so.5
#74 0x00007ffff6a48d7b in QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Gui.so.5
#75 0x00007fffecda0f40 in ?? () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5XcbQpa.so.5
#76 0x00007ffff123b197 in g_main_context_dispatch () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#77 0x00007ffff123b3f0 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#78 0x00007ffff123b49c in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
#79 0x00007ffff613e11f in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#80 0x00007ffff60ea4aa in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#81 0x00007ffff60f2d34 in QCoreApplication::exec() () from /home/pablo/BuildParaview/Qt5.9.1/5.9.1/gcc_64/lib/libQt5Core.so.5
#82 0x0000000005db6db3 in main (argc=2, argv=0x7fffffffdbf8) at /home/pablo/BuildParaview/paraview/build/Applications/ParaView/paraview_main.cxx:121
最佳答案
从编译标志中删除了 -ftrapv
关于linux - 使用 cmake 构建 paraview 后,vtk 文件打开(核心转储),我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/50612711/
当我使用 vtkPolyDataWriter 创建 vtk 遗留文件时,我获得了具有连接性和偏移量的新版本数据文件 (5.1)。是否可以更改它并获得“遗留”旧格式? gmsh 似乎无法读取新格式版本的
我有一个不规则数据,x 维 - 384,y 维 - 256 和 z 维 64。现在这些坐标存储在 3 个单独的二进制文件中,我有一个数据文件,其中包含这些点的数据值。我想知道,我如何表示这样的数据以便
所以我有一个点,并在 z 轴上创建一条线以查看与某个网格的交点(将网格上的点投影到 z 轴上)。 所以我创建了一个 vtkCellLocator,但是函数的每个参数是什么?文档中根本没有描述它: in
我想将旧版 .vtk 文件转换为二进制文件,最好是 .vtu 文件,因为我使用的是非结构化网格。为此,我改编了来自 http://www.vtk.org/Wiki/VTK/Examples/Cxx/I
我想在 paraview 中可视化一些图形:一堆带有坐标的点,它们之间有一堆边。我还想给点和边线上色。我认为这对 vtk 格式来说并不难,因为我发现 vtk 格式示例几乎有我需要的东西。 据我所知,p
我想将旧版 .vtk 文件转换为二进制文件,最好是 .vtu 文件,因为我使用的是非结构化网格。为此,我改编了来自 http://www.vtk.org/Wiki/VTK/Examples/Cxx/I
我有与 VTK 集成的 Visual Studio MFC 项目。单击我的项目上的按钮将生成一个 VTK 窗口,当我第二次单击同一按钮并打开一个新的 VTK 窗口时,我想关闭该 VTK 窗口。 我当前
当我尝试在 ParaView 中加载大小约为 100mb 的 VTK 文件时,程序崩溃了。但是,如果我通过选择更少的数据点(现在平均大小约为 30mb)来减小文件的大小,它会毫无问题地加载。 我不确定
我在 3D numpy.ndarray 中有一个分段,我想将其渲染到 VTK 中。 [参见这里类似的过程:https://pyscience.wordpress.com/2014/11/16/volu
我已遵循介绍指南:https://kitware.github.io/vtk-js/docs/develop_requirement.html安装 vtk、node 和 git。 我一直在尝试集成到
在我的计算过程中,我保存了一堆与单个时间步长相关的 .vtk 文件。每个文件都使用 POLYDATA ASCII 文件格式描述一个多面体(我定义的一个 C++ 类)。多面体由多面体类的一个简单成员函数
目前,我们正在使用 Python 的 vtk 包装器和 Pyvista(一个更 pythonist 的 vtk 包装器)。 在过程的某些部分,我们有一些来自 .cxx 文件的日志行: 2022-03-
当我使用 mayavi (4.3.1) 可视化网格时,它会提示以下警告: 警告:导入的 VTK 版本 (5.1) 与使用的版本不匹配 构建 TVTK 类 (6.3)。这可能会导致问题。 请重建TVTK
我正在尝试将计算标量添加到现有 VTK 文件中。 我的代码的简化版本如下 import vtk import os import numpy as np reader = vtk.vtkDataSet
对于当前的项目,我必须使用矩阵中提供的信息并对其进行数学计算,以及使用 ITK/VTK 函数来显示医疗信息/渲染。基本上我必须以(我猜)50/50 的方式同时使用 matlab 例程和 VTK/ITK
我有一条小 python VTK计算嵌入在 TIFF 图像堆栈中的对象的体积和表面积的函数。为了将 TIFF 的 读入 VTK,我使用了 vtkTIFFReader 并使用 vtkImageThres
目前,我正在尝试结合使用 VTK 库和 Qt 来构建一个可视化 STL 文件的应用程序。为了开始,我安装了以下库/程序: Visual Studio 2015 专业版 CMake 3.7.0 VTK
如何获取数据集的范围?也称为数据的边界框。使用 StructuredPointsReader 读取数据. 最佳答案 因为 vtkStructuredPoints(vtkStructuredPoints
我正在尝试使用分析字段填充结构化网格,但是尽管阅读了vtk文档,但我还没有找到如何在网格点上实际设置标量值或设置网格的间距/原点信息的方法。从下面的代码开始,我该如何 将空间信息与网格相关联(即,单元
CGAL和VTK库之间有什么区别?两者都包含许多标准几何算法。谁能列出一些优先于另一个的应用程序域? 最佳答案 VTK主要针对可视化(前端)。它不方便地包含一些计算几何函数(例如Delaunay三角剖
我是一名优秀的程序员,十分优秀!