Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 49156 (LWP 12243)] 0x400f02e6 in std::string::assign () from /usr/lib/libstdc++.so.5 (gdb) bt #0 0x400f02e6 in std::string::assign () from /usr/lib/libstdc++.so.5 #1 0x400ef535 in std::string::operator= () from /usr/lib/libstdc++.so.5 #2 0x0804b306 in parse_torrent (torrent=0x41a72d30) at client.cpp:168 #3 0x0804b116 in handle_info (sockfd=7) at client.cpp:121 #4 0x0804ac6c in clientmain () at client.cpp:55 #5 0x08049beb in eztvclient (unused=0x0) at main.cpp:118 #6 0x40021c51 in pthread_start_thread () from /lib/libpthread.so.0 #7 0x40021db4 in pthread_start_thread_event () from /lib/libpthread.so.0 #8 0x4021238a in clone () from /lib/libc.so.6 (gdb) frame 2 #2 0x0804b306 in parse_torrent (torrent=0x41a72d30) at client.cpp:168 168 t_info.name = name;