I'm getting this in my program, C++
Program received signal SIGSEGV, Segmentation Fault. 0xb7d62153 in __strtol_l_internal () from /lib/libc.so.6
I got that by using GDB. CC compiled it fine along with G++
sockf = openSocket(domainname, portc);
if(sockf > 0){
log("ZONTRECK","COMPLETED SOCKET!");
int newsockfd;
newsockfd = openListen(sockf,portc);
log("ZONTRECK","Starting console!");
main-- so its impossible to see what is going wrong. Try looking at the stack trace to see how its getting to where the fault is (wherecommand in gdb). If the stack trace makes no sense, you're probably smashing the stack somewhere. Try using valgrind to see if that can help. - Chris Dodd