I am writing a small program. When I run one of the parameters, I get the following error.
terminate called after throwing an instance of 'std::invalid_argument' what(): stoi Aborted (core dumped)
I look in the directory where I store the .cpp and .h files, and the kernel appears there after starting. I used
ulimit -c unlimited
And I checked it with
unlimit -a.
When I run gdb in my terminal and try to access the kernel, I get the following response
not in executable format: File format not recognized
How would I look at my main dump so that I can see what causes it?
source share