I’m encountering a problem with a Jetson TX2 (Jetpack 4.4+CUDA 10.2). I want to run my little program to read a RFID connected via USB and the terminal shows this :
airod@airod:~$ ./a.out
[Exception] map::at (catched from: get_data())
terminate called after throwing an instance of 'bool'
Aborted (core dumped)
1/ I don’t have any fucntion named like that.
2/ This program is fully fonctionnal on another TX2 I have but I didn’t mount this old TX2 so I don’t know what environment is setup.
The exception might be thrown from a library. Did you build the program with debug symbols? If so (and if not optimized) it should be a simple case to find the relevant block of code via gdb. An example:
gdb ./a.out
r
# Assuming it crashed, get a backtrace/stack frame ...
bt
# And list the current lines:
list
There are a couple of other tools related to libraries and system calls which might help as well if gdb isn’t enough.