Reputation: 95
For some reason, the generated core file is only a core from a thread that is part of the main application.
When I load it with the binary that actualy crashed, I get
BFD: Warning: core is truncated: expected core file size >= 40919040, found: 61440.
How can I tell gdb that this is a thread from that binary?
Upvotes: 1
Views: 4228
Reputation: 213385
For some reason, the generated core file is only a core from a thread that is part of the main application.
Whatever led you to conclude that? That conclusion is most likely wrong.
BFD: Warning: core is truncated: expected core file size >= 40919040, found: 61440.
This message means exactly what it says: your core
file should have been 40919040
bytes in size, but isn't.
The most likely reasons:
ulimit -c
set to 15 (too low)Upvotes: 3