Bug#981378: paraview: segfaults at startup via libvtkCommonCore-pv5.9.so

2021-01-30 Thread Drew Parsons
Package: meshio-tools
Followup-For: Bug #981378
Control: severity -1 important
Control: forwarded -1 
https://gitlab.kitware.com/paraview/paraview/-/issues/20412

Probably severity grave is overegging it.
paraview and meshio-tools won't necessarily be installed at the same
time. paraview will work fine if meshio-tools is not installed.
The meshio-tools themselves (apart from the plugin) work fine.

Downgrade severity to important.



Bug#981378: paraview: segfaults at startup via libvtkCommonCore-pv5.9.so

2021-01-30 Thread Drew Parsons
Package: paraview
Followup-For: Bug #981378
Control: reassign 981378 meshio-tools 4.3.5-2

Aha, the segfault disappears if meshio-tools is not installed.  It
must be related to the meshio plugin.  I'll transfer this bug report
to python-meshio.



Bug#981378: paraview: segfaults at startup via libvtkCommonCore-pv5.9.so

2021-01-30 Thread Drew Parsons
Package: paraview
Version: 5.9.0-1
Severity: grave
Justification: renders package unusable

Thanks for packaging the new paraview release.  The latest version of
python-meshio should be able to run with it.

paraview is segfaulting (SIGBABRT) at start up though,

$ paraview
Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use 
QT_QPA_PLATFORM=wayland to run on Wayland anyway.
double free or corruption (out)

Loguru caught a signal: SIGABRT



gdb points the finger at libvtkCommonCore-pv5.9.so.1, or possibly via
vtkCommonCore (VTK's version, not paraview's)

$ gdb paraview
(gdb) run
Starting program: /usr/bin/paraview 
...
[New Thread 0x7fffb63ff700 (LWP 219883)]
double free or corruption (out)

Thread 1 "paraview" received signal SIGABRT, Aborted.
__GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
50  ../sysdeps/unix/sysv/linux/raise.c: No such file or directory.
(gdb) bt
#0  __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50
#1  0x77e2a537 in __GI_abort () at abort.c:79
#2  0x77e83768 in __libc_message (action=action@entry=do_abort, 
fmt=fmt@entry=0x77f91e31 "%s\n") at ../sysdeps/posix/libc_fatal.c:155
#3  0x77e8aa5a in malloc_printerr (str=str@entry=0x77f94210 "double 
free or corruption (out)") at malloc.c:5347
#4  0x77e8c088 in _int_free (av=0x77fc3b80 , 
p=0x5627d1a0, have_lock=) at malloc.c:4314
#5  0x75c51ee3 in  () at 
/usr/bin/../lib/x86_64-linux-gnu/libvtkCommonCore-pv5.9.so.1
#6  0x75c5138d in 
vtkInformationKeyLookup::RegisterKey(vtkInformationKey*, 
std::__cxx11::basic_string, std::allocator > 
const&, std::__cxx11::basic_string, 
std::allocator > const&) () at 
/usr/bin/../lib/x86_64-linux-gnu/libvtkCommonCore-pv5.9.so.1
#7  0x75c50791 in vtkInformationKey::vtkInformationKey(char const*, 
char const*) () at /usr/bin/../lib/x86_64-linux-gnu/libvtkCommonCore-pv5.9.so.1
#8  0x75c4e38f in 
vtkInformationInformationVectorKey::vtkInformationInformationVectorKey(char 
const*, char const*) () at 
/usr/bin/../lib/x86_64-linux-gnu/libvtkCommonCore-pv5.9.so.1
#9  0x7fff7890108c in  () at 
/usr/lib/python3/dist-packages/vtkmodules/../../../x86_64-linux-gnu/libvtkCommonCore-9.0.so.1
#10 0x77fe1fb2 in call_init (l=, argc=argc@entry=1, 
argv=argv@entry=0x7fffe1e8, env=env@entry=0x559fa600) at dl-init.c:72
#11 0x77fe20b9 in call_init (env=0x559fa600, argv=0x7fffe1e8, 
argc=1, l=) at dl-init.c:30
#12 _dl_init (main_map=0x56827fd0, argc=1, argv=0x7fffe1e8, 
env=0x559fa600) at dl-init.c:119
#13 0x77f3d2bd in __GI__dl_catch_exception (exception=, 
operate=, args=) at dl-error-skeleton.c:182
#14 0x77fe6028 in dl_open_worker (a=a@entry=0x7fff5ef0) at 
dl-open.c:758
#15 0x77f3d260 in __GI__dl_catch_exception (exception=0x7fff5ed0, 
operate=0x77fe5c70 , args=0x7fff5ef0) at 
dl-error-skeleton.c:208
#16 0x77fe58ca in _dl_open
(file=0x7fffc6d50450 
"/usr/lib/python3/dist-packages/vtkmodules/vtkCommonCore.cpython-39-x86_64-linux-gnu.so",
 mode=-2147483646, caller_dlopen=0x734db3e0 
<_PyImport_FindSharedFuncptr+368>, nsid=-2, argc=1, argv=0x7fff5ed0, 
env=0x559fa600) at dl-open.c:837
#17 0x717e1258 in dlopen_doit (a=a@entry=0x7fff6110) at dlopen.c:66
#18 0x77f3d260 in __GI__dl_catch_exception 
(exception=exception@entry=0x7fff60b0, operate=0x717e1200 
, args=0x7fff6110) at dl-error-skeleton.c:208
#19 0x77f3d31f in __GI__dl_catch_error (objname=0x556eca50, 
errstring=0x556eca58, mallocedp=0x556eca48, operate=, 
args=) at dl-error-skeleton.c:227
#20 0x717e1a65 in _dlerror_run (operate=operate@entry=0x717e1200 
, args=args@entry=0x7fff6110) at dlerror.c:170
#21 0x717e12e4 in __dlopen (file=, mode=) 
at dlopen.c:87
#22 0x734db3e0 in _PyImport_FindSharedFuncptr
(prefix=0x73618eab "PyInit", shortname=0x7fffc6d3f170 "vtkCommonCore", 
pathname=0x7fffc6d50450 
"/usr/lib/python3/dist-packages/vtkmodules/vtkCommonCore.cpython-39-x86_64-linux-gnu.so",
 fp=0x0)
at ../Python/dynload_shlib.c:100
#23 0x734a028a in _PyImport_LoadDynamicModuleWithSpec (fp=0x0, 
spec=0x7fffc6d3f970) at ../Python/importdl.c:134
#24 _imp_create_dynamic_impl (module=, file=, 
spec=0x7fffc6d3f970) at ../Python/import.c:2297
#25 _imp_create_dynamic (module=, args=, 
nargs=) at ../Python/clinic/import.c.h:330
#26 0x733e8e84 in cfunction_vectorcall_FASTCALL (func=0x7fffd759fc20, 
args=0x7fffc6d3f1d8, nargsf=, kwnames=) at 
../Objects/methodobject.c:426
#27 0x7334b719 in do_call_core (kwdict=0x7fffc6d5a840, 
callargs=0x7fffc6d3f1c0, func=0x7fffd759fc20, tstate=0x55840cf0) at 
../Python/ceval.c:5120
#28 _PyEval_EvalFrameDefault (tstate=, f=, 
throwflag=) at ../Python/ceval.c:3580
#29 0x7347bddc in _PyEval_EvalFrame (throwflag=0, f=0x7fffc6d73900, 
tstate=0x55840cf0) at