This is the result using gdb debugger:
Starting program: /home/om/Escritorio/test linux/test2/MiAplicaciĆ³n
[Thread debugging using libthread_db enabled]
Program received signal SIGSEGV, Segmentation fault.
0x07dfa5c3 in BASS_FX_BPM_Free () from /usr/local/lib/libbass_fx.so
... the app crash when using BASS_FX_TempoCreate(), but appear to crash in BASS_FX_BPM_Free
Always crash in BASS_FX_BPM_Free