Linux Socket Crash

Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 0xb7513b70 (LWP 8290)] 0x080b6a8e in CSocketManager::update (this=0x818915c, sec=0, usec=5000) at ../../server/src/CSocket.cpp:131 131 if (FD_ISSET(sock, &set_read)) (gdb) bt #0 0x080b6a8e in CSocketManager::update (this=0x818915c, sec=0, usec=5000) at ../../server/src/CSocket.cpp:131 #1 0x08095bd7 in TServer::doMain (this=0x8188d70) at ../../server/src/TServer.cpp:232 #2 0x080954b8 in TServer::operator() (this=0x8188d70) at ../../server/src/TServer.cpp:116 #3 0x08088ac9 in boost::detail::thread_data<boost::reference_wrapper<TServer> >::run (this=0x81b8418) at /usr/include/boost/thread/detail/thread.hpp:81 #4 0xb7fcfc45 in thread_proxy () from /usr/lib/libboost_thread.so.1.40.0 #5 0xb7d37585 in start_thread () from /lib/i686/cmov/libpthread.so.0 #6 0xb7e1929e in clone () from /lib/i686/cmov/libc.so.6