When vampy encounters a python error, PyPlugScanner::getPyPlugs prints "Warning: Syntax error in VamPy plugin: XXXXXX. Avoiding plugin.". It dutifully avoids the plugin when built with -O0, but otherwise seems to try to use the plugin anyway and segfaults the whole program. The pre-built version seems to be built with -O2, so this affects everyone.
Here's a backtrace:
#0 0x00007ffff23ff57a in ?? () from /lib/libc.so.6
#1 0x00007fffe68f600f in ?? () from /usr/lib/libpython2.6.so.1.0
#2 0x00007fffe68f7bd6 in ?? () from /usr/lib/libpython2.6.so.1.0
#3 0x00007fffe68f7d0f in ?? () from /usr/lib/libpython2.6.so.1.0
#4 0x00007fffe68f8372 in ?? () from /usr/lib/libpython2.6.so.1.0
#5 0x00007fffe68f88f4 in PyImport_ImportModuleLevel ()
from /usr/lib/libpython2.6.so.1.0
#6 0x00007fffe68dac3f in ?? () from /usr/lib/libpython2.6.so.1.0
#7 0x00007fffe683b2e3 in PyObject_Call () from /usr/lib/libpython2.6.so.1.0
#8 0x00007fffe683df1f in PyObject_CallFunction ()
from /usr/lib/libpython2.6.so.1.0
#9 0x00007fffe68f8a1d in PyImport_Import () from /usr/lib/libpython2.6.so.1.0
#10 0x00007fffdeeefcae in PyPlugScanner::getScriptClass (
this=<value optimized out>, path=<value optimized out>, classname=DWARF-2 expression error: DW_OP_reg operations must be used either alone or in conjuction with DW_OP_piece.
)
at PyPlugScanner.cpp:154
#11 0x00007fffdeef0e07 in PyPlugScanner::getPyPlugs (this=0xf63c70)
at PyPlugScanner.cpp:96
#12 0x00007fffdeef3cea in vampGetPluginDescriptor (
version=<value optimized out>, index=<value optimized out>)
at vampy-main.cpp:334
#13 0x0000000000687e59 in ?? ()
#14 0x00000000005b3482 in ?? ()
#15 0x00000000005b646c in ?? ()
#16 0x00000000005bbc7c in ?? ()
#17 0x0000000000453ebe in ?? ()
#18 0x000000000044ff98 in ?? ()
#19 0x00000000004518f5 in ?? ()
#20 0x000000000043b827 in ?? ()
#21 0x00007ffff22f0c4d in __libc_start_main () from /lib/libc.so.6
#22 0x000000000043a4a9 in ?? ()
#23 0x00007fffffffe2a8 in ?? ()
#24 0x000000000000001c in ?? ()
#25 0x0000000000000001 in ?? ()
#26 0x00007fffffffe574 in ?? ()
#27 0x0000000000000000 in ?? ()