Segfault on startup on powerpc64le-linux-gnu
Hi,
I tried to build ParaView 5.6.0 from source on powerpc64le-linux-gnu, on a POWER9 machine running Ubuntu 18.04.
After adding the necessary libraries and setting VTK_USE_SYSTEM_PNG, the build succeeded.
However, after installation and startup, I get a segfault. gdb shows
(gdb) r
Starting program: /home/ig25/paraview-bin/bin/paraview
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/powerpc64le-linux-gnu/libthread_db.so.1".
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-ig25'
[New Thread 0x7fffe0c4ec90 (LWP 20184)]
Thread 1 "paraview" received signal SIGSEGV, Segmentation fault.
0x00007ffff39a7c94 in vtkInitializationHelper::LoadSettings () at /home/ig25/ParaView-v5.6.0/ParaViewCore/ServerManager/SMApplication/vtkInitializationHelper.cxx:332
332 vtkPVOptions* options = vtkProcessModule::GetProcessModule()->GetOptions();
(gdb)
Compiler was gcc 7.3.0.
An strace showed me, as the last lines,
openat(AT_FDCWD, "/home/ig25/lib/plugins", O_RDONLY|O_NONBLOCK|O_CLOEXEC|O_DIRECTORY) = -1 ENOENT (No such file or directory) openat(AT_FDCWD, "/home/ig25/.config/ParaView/ParaView-UserSettings.json", O_RDONLY) = -1 ENOENT (No such file or directory) --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} --- +++ killed by SIGSEGV (core dumped) +++ Segmentation fault (core dumped)
Suspecting that the missing json file had anything to do with it, I created an empty one, but the segfault remained.
Ideas? Workarounds?