After my program finishes its execution,this piece of information about an error appears on terminal:
I also debugged the code nothing seems wrong except after returning "0" to OS this error messege shows up:Code:*** stack smashing detected ***: ./LL Test File Generator terminated ======= Backtrace: ========= /lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x50)[0x440390] /lib/tls/i686/cmov/libc.so.6(+0xe233a)[0x44033a] ./LL Test File Generator[0x8048ba0] /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe6)[0x374bd6] ./LL Test File Generator[0x8048571] ======= Memory map: ======== 0035e000-004b1000 r-xp 00000000 08:07 4850296 /lib/tls/i686/cmov/libc-2.11.1.so 004b1000-004b2000 ---p 00153000 08:07 4850296 /lib/tls/i686/cmov/libc-2.11.1.so 004b2000-004b4000 r--p 00153000 08:07 4850296 /lib/tls/i686/cmov/libc-2.11.1.so 004b4000-004b5000 rw-p 00155000 08:07 4850296 /lib/tls/i686/cmov/libc-2.11.1.so 004b5000-004b8000 rw-p 00000000 00:00 0 00784000-007a1000 r-xp 00000000 08:07 4849748 /lib/libgcc_s.so.1 007a1000-007a2000 r--p 0001c000 08:07 4849748 /lib/libgcc_s.so.1 007a2000-007a3000 rw-p 0001d000 08:07 4849748 /lib/libgcc_s.so.1 00888000-00889000 r-xp 00000000 00:00 0 [vdso] 00d5d000-00d78000 r-xp 00000000 08:07 4850277 /lib/ld-2.11.1.so 00d78000-00d79000 r--p 0001a000 08:07 4850277 /lib/ld-2.11.1.so 00d79000-00d7a000 rw-p 0001b000 08:07 4850277 /lib/ld-2.11.1.so 08048000-08049000 r-xp 00000000 08:05 11741 /media/MS-Internal-Store/Workspace/LL Test File Generator/Release/LL Test File Generator 08049000-0804a000 r--p 00000000 08:05 11741 /media/MS-Internal-Store/Workspace/LL Test File Generator/Release/LL Test File Generator 0804a000-0804b000 rw-p 00001000 08:05 11741 /media/MS-Internal-Store/Workspace/LL Test File Generator/Release/LL Test File Generator 0804b000-0806a000 rw-p 00000000 00:00 0 09609000-0962a000 rw-p 00000000 00:00 0 [heap] b771f000-b7720000 rw-p 00000000 00:00 0 b7732000-b7735000 rw-p 00000000 00:00 0 bfd02000-bfd17000 rw-p 00000000 00:00 0 [stack] Aborted
I have no clue if this has something to do with my code or OS.Any ideas?Code:No source available for "__kernel_vsyscall() at 0x12d422"



LinkBack URL
About LinkBacks



