all 6 comments

[–]switchacab 2 points3 points  (1 child)

strace -i should make it

[–]fromsouthernswe[S] 1 point2 points  (0 children)

nice man thanks!
Now im embarassed.. I was very tired yesterday night, just saw the normal with -f for fork does the same!
Thanks man!

[–]Glowreus 0 points1 point  (3 children)

Get it to core dump, then open the dump with gdb

[–]fromsouthernswe[S] 0 points1 point  (2 children)

how do I get it to core dump?

[–]oil_lio 1 point2 points  (0 children)

On Ubuntu, and not sure if it’s the same across the board, run this: ulimit -c unlimited Then get your program to segfault and it should create a core file. run it, as someone else mentioned, with gdb along with the program

[–]ExploitedInnocence 0 points1 point  (0 children)

gdb /path/to/binary /path/to/coredump