almost working, but there is an SIGABRT
D_PRELOAD=./spacenav-lib-hack/build/Debug/src/libspnav-lib-hack.so freecad
FreeCAD 0.16, Libs: 0.16R
© Juergen Riegel, Werner Mayer, Yorik van Havre 2001-2015
##### #### ### ####
# # # # # #
# ## #### #### # # # # #
#### # # # # # # # ##### # #
# # #### #### # # # # #
# # # # # # # # # ## ## ##
# # #### #### ### # # #### ## ## ##
No module named WebGui
spnav-lib-hack: instead of spnav_x11_open(0x557304430830, 0xb600088) calling spnav_open() = 0
[xcb] Unknown sequence number while processing queue
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been called
[xcb] Aborting, sorry about that.
freecad: ../../src/xcb_io.c:259: poll_for_event: Assertion `!xcb_xlib_threads_sequence_lost' failed.
Neúspěšně ukončen (SIGABRT) (core dumped [obraz paměti uložen])
# There migth be memory leaks ouside our program in shared libraries.
# We want to ignore them and focus on leaks in our code.
# To use this ignore list, run with:
# LSAN_OPTIONS=suppressions=asan-ignore.txt
# In Netbeans it should be set in the project properties / Run / Environment
# Would ignore all memory leaks:
# leak:.*
# Ignore particular libraries:
leak:/lib/x86_64-linux-gnu/libdbus-1.so
leak:/usr/lib/x86_64-linux-gnu/libfontconfig.so