Not able to run a.out on new Jetson TX2

Hello everyone,

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.

Anyone has an idea? Thank you by advance

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
# Assuming it crashed, get a backtrace/stack frame ...
# And list the current lines:

There are a couple of other tools related to libraries and system calls which might help as well if gdb isn’t enough.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.