How to debug a segmentation error?
This is basically what happens:
I start my server in the background: ./server &
then I launched my client: ./client
When I try to log in to my server, the correct username and password are fine, but when I type the wrong password and password, this leads to a segmentation error.
How to make the compiler / debugger possible to output some kind of error that it actually sees, which causes a core dump of the segmentation kernel.
I know gdb, but I'm trying to use the gdb client, but it does not work.
source share