(gdb) bt
#0 __libc_do_syscall () at ../sysdeps/unix/sysv/linux/arm/libc-do-syscall.S:46
#1 0xb601430c in pthread_join (threadid=2895729744, thread_return=0x0) at pthread_join.c:90
#2 0xb62e0194 in std::thread::join() () from /usr/lib/arm-linux-gnueabihf/libstdc++.so.6
#3 0xac99b284 in ?? () from /usr/lib/arm-linux-gnueabihf/libubuntu_application_api_test.so.3.0.0
#4 0xb61671a0 in __run_exit_handlers (status=<error reading variable: Cannot access memory at address 0xbeb6a2d8>, listp=<error reading variable: Cannot access memory at address 0xbeb6a2dc>, run_list_atexit=run_list_atexit@entry=true) at exit.c:82
#5 0xb61671d8 in __GI_exit (status=<optimized out>) at exit.c:104
#6 0xb615777a in __libc_start_main (main=<error reading variable: Cannot access memory at address 0xbeb6a30c>, argc=<error reading variable: Cannot access memory at address 0xbeb6a308>, argv=<error reading variable: Cannot access memory at address 0xbeb6a304>,
init=<optimized out>, fini=<error reading variable: Cannot access memory at address 0xbeb6a448>, rtld_fini=<error reading variable: Cannot access memory at address 0xbeb6a44c>, stack_end=<error reading variable: Cannot access memory at address 0xbeb6a450>)
at libc-start.c:323
#7 0x00014474 in _start ()
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
(gdb) info threads
Cannot find new threads: generic error