[Paraview-developers] Resolve (paraview) dependencies of plugin
hermann.detz at gmail.com
hermann.detz at gmail.com
Thu Mar 1 08:43:49 EST 2018
What I get is this:
Thread 1 "paraview" received signal SIGSEGV, Segmentation fault.
__strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:62
62 ../sysdeps/x86_64/multiarch/strlen-avx2.S: No such file or
directory.
(gdb) bt
#0 __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:62
#1 0x00007fffe6349e2c in vtkXMLParser::ParseBuffer(char const*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkIOXMLParser-pv5.4.so.1
#2 0x00007fffe634ad1d in vtkXMLParser::ParseXML() ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkIOXMLParser-pv5.4.so.1
#3 0x00007fffe634a23a in vtkXMLParser::Parse() ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkIOXMLParser-pv5.4.so.1
#4 0x00007fffe6349b48 in vtkXMLParser::Parse(char const*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkIOXMLParser-pv5.4.so.1
#5 0x00007ffff38f0b9a in
vtkSIProxyDefinitionManager::LoadConfigurationXMLFromString(char
const*, bool) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkPVServerImplementationCore-pv5.4.so.1
#6 0x00007ffff38f0cd2 in
vtkSIProxyDefinitionManager::HandlePlugin(vtkPVPlugin*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkPVServerImplementationCore-pv5.4.so.1
#7 0x00007ffff38f3299 in
vtkObject::vtkClassMemberCallback<vtkSIProxyDefinitionManager>::operato
r()(vtkObject*, unsigned long, void*) ()
---Type <return> to continue, or q <return> to quit---
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkPVServerImplementationCore-pv5.4.so.1
#8 0x00007fffe1bfe6ac in vtkSubjectHelper::InvokeEvent(unsigned long,
void*, vtkObject*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkCommonCore-pv5.4.so.1
#9 0x00007ffff361b1f5 in
vtkPVPluginTracker::RegisterPlugin(vtkPVPlugin*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkPVClientServerCoreCore-pv5.4.so.1
#10 0x00007ffff360afad in vtkPVPluginLoader::LoadPlugin(char const*,
vtkPVPlugin*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkPVClientServerCoreCore-pv5.4.so.1
#11 0x00007ffff360fbd0 in vtkPVPluginLoader::LoadPluginInternal(char
const*, bool) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkPVClientServerCoreCore-pv5.4.so.1
#12 0x00007ffff3c112c0 in vtkSMPluginManager::LoadLocalPlugin(char
const*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkPVServerManagerCore-pv5.4.so.1
#13 0x00007ffff6ce0932 in pqPluginManager::loadExtension(pqServer*,
QString const&, QString*, bool) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib---Type <return>
to continue, or q <return> to quit---
/paraview-5.4/libvtkpqCore-pv5.4.so.1
#14 0x00007ffff7383d0f in pqPluginDialog::loadPlugin(pqServer*, QString
const&, bool) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkpqComponents-pv5.4.so.1
#15 0x00007ffff7386480 in pqPluginDialog::loadPlugin(pqServer*, bool)
()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkpqComponents-pv5.4.so.1
#16 0x00007fffe24bbb31 in QMetaObject::activate(QObject*, int, int,
void**) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Core.so.5
#17 0x00007fffe2f673c2 in QAbstractButton::clicked(bool) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#18 0x00007fffe2f675b4 in ?? ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#19 0x00007fffe2f69157 in ?? ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#20 0x00007fffe2f692ac in
QAbstractButton::mouseReleaseEvent(QMouseEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#21 0x00007fffe2ecab98 in QWidget::event(QEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#22 0x00007fffe2e8694c in QApplicationPrivate::notify_helper(QObject*,
QEvent*)
()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#23 0x00007fffe2e8e7ad in QApplication::notify(QObject*, QEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#24 0x00007fffe2492be8 in QCoreApplication::notifyInternal2(QObject*,
QEvent*)
()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Core.so.5
#25 0x00007fffe2e8d3ff in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)
()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#26 0x00007fffe2ee4596 in ?? ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#27 0x00007fffe2ee6ecb in ?? ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib---Type <return>
to continue, or q <return> to quit---
/paraview-5.4/libQt5Widgets.so.5
#28 0x00007fffe2e8694c in QApplicationPrivate::notify_helper(QObject*,
QEvent*)
()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#29 0x00007fffe2e8ddb6 in QApplication::notify(QObject*, QEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#30 0x00007fffe2492be8 in QCoreApplication::notifyInternal2(QObject*,
QEvent*)
()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Core.so.5
#31 0x00007fffe28e5c70 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate
::MouseEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Gui.so.5
#32 0x00007fffe28e7a15 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterface
Private::WindowSystemEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Gui.so.5
#33 0x00007fffe28c4adb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::Proce
ssEventsFlag>) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib---Type <return>
to continue, or q <return> to quit---
/paraview-5.4/libQt5Gui.so.5
#34 0x00007fffce3a0ec6 in ?? ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5XcbQpa.so.5
#35 0x00007fffe249119a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Core.so.5
#36 0x00007fffe305e5b7 in QDialog::exec() ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#37 0x00007ffff7ab1fc4 in pqManagePluginsReaction::managePlugins() ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libvtkpqApplicationComponents-pv5.4.so.1
#38 0x00007fffe24bbb31 in QMetaObject::activate(QObject*, int, int,
void**) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Core.so.5
#39 0x00007fffe2e80832 in QAction::triggered(bool) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#40 0x00007fffe2e82cd0 in QAction::activate(QAction::ActionEvent) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
---Type <return> to continue, or q <return> to quit---
#41 0x00007fffe2fe32ca in ?? ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#42 0x00007fffe2fea1f6 in ?? ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#43 0x00007fffe2feb109 in QMenu::mouseReleaseEvent(QMouseEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#44 0x00007fffe2ecab98 in QWidget::event(QEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#45 0x00007fffe2fed47b in QMenu::event(QEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#46 0x00007fffe2e8694c in QApplicationPrivate::notify_helper(QObject*,
QEvent*)
()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#47 0x00007fffe2e8e7ad in QApplication::notify(QObject*, QEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#48 0x00007fffe2492be8 in QCoreApplication::notifyInternal2(QObject*,
QEvent*)
---Type <return> to continue, or q <return> to quit---
()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Core.so.5
#49 0x00007fffe2e8d3ff in QApplicationPrivate::sendMouseEvent(QWidget*,
QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer<QWidget>&, bool)
()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#50 0x00007fffe2ee49a6 in ?? ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#51 0x00007fffe2ee6ecb in ?? ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#52 0x00007fffe2e8694c in QApplicationPrivate::notify_helper(QObject*,
QEvent*)
()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#53 0x00007fffe2e8ddb6 in QApplication::notify(QObject*, QEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Widgets.so.5
#54 0x00007fffe2492be8 in QCoreApplication::notifyInternal2(QObject*,
QEvent*)
()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib---Type <return>
to continue, or q <return> to quit---
/paraview-5.4/libQt5Core.so.5
#55 0x00007fffe28e5c70 in
QGuiApplicationPrivate::processMouseEvent(QWindowSystemInterfacePrivate
::MouseEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Gui.so.5
#56 0x00007fffe28e7a15 in
QGuiApplicationPrivate::processWindowSystemEvent(QWindowSystemInterface
Private::WindowSystemEvent*) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Gui.so.5
#57 0x00007fffe28c4adb in
QWindowSystemInterface::sendWindowSystemEvents(QFlags<QEventLoop::Proce
ssEventsFlag>) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Gui.so.5
#58 0x00007fffce3a0ec6 in ?? ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5XcbQpa.so.5
#59 0x00007fffe249119a in
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Core.so.5
#60 0x00007fffe2499144 in QCoreApplication::exec() ()
from /ParaView-5.4.1-Qt5-OpenGL2-MPI-Linux-64bit/lib/paraview-
5.4/libQt5Core.so.5
---Type <return> to continue, or q <return> to quit---
#61 0x0000000000409ce8 in main ()
It does not seem to come even to my custom code.
Hermann
On Thu, 2018-03-01 at 08:23 -0500, Ben Boeckel wrote:
> On Thu, Mar 01, 2018 at 11:05:56 +0100, hermann.detz at gmail.com wrote:
> > Thank you for helping!
> >
> > I did clear the RPATH field in the .so using chrpath to then be
> > able to
> > use the LD_LIBRARY_PATH variable. ldd then does find all
> > dependencies
> > of the plugin.
>
> This looks like Linux now, not macOS :) . Here, ParaView will set up
> LD_LIBRARY_PATH to its .
>
> > However, when I run paraview and load the plugin, I get the
> > following
> > SIGSEGV:
> >
> > Thread 1 "paraview" received signal SIGSEGV, Segmentation fault.
> > __strlen_avx2 () at ../sysdeps/x86_64/multiarch/strlen-avx2.S:62
> > 62 ../sysdeps/x86_64/multiarch/strlen-avx2.S: No such file
> > or
> > directory.
> >
> > The same .so file works on the machine, where I developed the
> > plugin.
> > In fact, it works for both, the paraview binaries from the webpage
> > and
> > for a version, I compiled by myself. But it does not work on
> > another
> > machine. Both computers are running Linux 17.10 64 bit and are
> > fully
> > updated.
>
> A backtrace would help. All the SIGSEGV tells me is that
> `strlen(NULL)`
> is happening…somewhere :) . What happens with `paraview -dr` (which
> ignores local settings and uses a blank slate)?
>
> > Any good idea, how to debug this? Am I missing something like the
> > static libc linkings?
>
> Statically linking libc isn't going to work either. That's generally
> used in single-binary deployments…and those don't really support
> plugins
> :) .
>
> --Ben
More information about the Paraview-developers
mailing list