The program keeps crashing.
Program is randomly crashing on two different computers, one with Windows 10 and the other with Xubuntu 17.04
The one with Linux shows a message like this portion:
*** Error in `./leonArdo': malloc(): memory corruption: 0x00000000031904a0 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7f5f78c2608b]
/lib/x86_64-linux-gnu/libc.so.6(+0x84ace)[0x7f5f78c31ace]
/lib/x86_64-linux-gnu/libc.so.6(__libc_malloc+0x54)[0x7f5f78c33984]
/usr/lib/x86_64-linux-gnu/libstdc++.so.6(_Znwm+0x18)[0x7f5f79523af8]
./leonArdo[0x509a44]
./leonArdo[0x5134dc]
./leonArdo[0x4fb04f]
lib/libQt5Widgets.so.5(_ZN19QApplicationPrivate13notify_helperEP7QObjectP6QEvent+0x9c)[0x7f5f7adcddcc]
lib/libQt5Widgets.so.5(_ZN12QApplication6notifyEP7QObjectP6QEvent+0x226)[0x7f5f7add5236]
./leonArdo[0x8768d9]
lib/libQt5Core.so.5(_ZN16QCoreApplication15notifyInternal2EP7QObjectP6QEvent+0x108)[0x7f5f79cad458]
lib/libQt5Core.so.5(_ZN23QCoreApplicationPrivate16sendPostedEventsEP7QObjectiP11QThreadData+0x2db)[0x7f5f79cafa4b]
lib/libQt5Core.so.5(+0x2c38b3)[0x7f5f79cfd8b3]
/lib/x86_64-linux-gnu/libglib-2.0.so.0(g_main_context_dispatch+0x2a7)[0x7f5f76033377]
...
...