Vypise to toto pokud se na linuxu chci nakonektovat druhym klientem a spadne to:
*** glibc detected *** ./example: munmap_chunk(): invalid pointer: 0x0804c018 *** ======= Backtrace: ========= /lib/libc.so.6[0xb7dd234f] /lib/libc.so.6[0xb7dd27d6] /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6(_ZdlPv+0x21)[0xb7f83181] ./example[0x8049696] ./example[0x8049489] /lib/libc.so.6(__libc_start_main+0xe2)[0xb7d81ff2] ./example(__gxx_personality_v0+0x55)[0x8048bc1] ======= Memory map: ======== 08048000-0804a000 r-xp 00000000 03:02 1097951 /root/socket/lin35/example 0804a000-0804b000 r--p 00001000 03:02 1097951 /root/socket/lin35/example 0804b000-0804c000 rw-p 00002000 03:02 1097951 /root/socket/lin35/example 0804c000-0806d000 rw-p 0804c000 00:00 0 [heap] b7d6b000-b7d6c000 rw-p b7d6b000 00:00 0 b7d6c000-b7e97000 r-xp 00000000 03:02 6029609 /lib/libc-2.6.1.so b7e97000-b7e99000 r--p 0012b000 03:02 6029609 /lib/libc-2.6.1.so b7e99000-b7e9a000 rw-p 0012d000 03:02 6029609 /lib/libc-2.6.1.so b7e9a000-b7e9d000 rw-p b7e9a000 00:00 0 b7e9d000-b7ea7000 r-xp 00000000 03:02 869608 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1 b7ea7000-b7ea8000 r--p 00009000 03:02 869608 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1 b7ea8000-b7ea9000 rw-p 0000a000 03:02 869608 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libgcc_s.so.1 b7ea9000-b7ecd000 r-xp 00000000 03:02 6029552 /lib/libm-2.6.1.so b7ecd000-b7ece000 r--p 00023000 03:02 6029552 /lib/libm-2.6.1.so b7ece000-b7ecf000 rw-p 00024000 03:02 6029552 /lib/libm-2.6.1.so b7ecf000-b7fad000 r-xp 00000000 03:02 869597 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 b7fad000-b7fb1000 r--p 000dd000 03:02 869597 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 b7fb1000-b7fb2000 rw-p 000e1000 03:02 869597 /usr/lib/gcc/i686-pc-linux-gnu/4.1.2/libstdc++.so.6.0.8 b7fb2000-b7fb9000 rw-p b7fb2000 00:00 0 b7fc1000-b7fdb000 r-xp 00000000 03:02 6029540 /lib/ld-2.6.1.so b7fdb000-b7fdc000 r--p 00019000 03:02 6029540 /lib/ld-2.6.1.so b7fdc000-b7fdd000 rw-p 0001a000 03:02 6029540 /lib/ld-2.6.1.so bfbc5000-bfbdb000 rw-p bfbc5000 00:00 0 [stack] ffffe000-fffff000 ---p 00000000 00:00 0 [vdso] Aborted