LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 09-24-2009, 01:28 PM   #1
Akinjide
LQ Newbie
 
Registered: Mar 2009
Posts: 15

Rep: Reputation: 0
Problems Compiling/Running a Program on Ubuntu 8.10


I have some problems compiling/running a program on Ubuntu 8.10.

I compiled to an executable file, but l got the following messages while trying to run the program;


*** buffer overflow detected ***:
======= Backtrace: =========
/lib/tls/i686/cmov/libc.so.6(__fortify_fail+0x48)[0xb7c266d8]
/lib/tls/i686/cmov/libc.so.6[0xb7c24800]
/lib/tls/i686/cmov/libc.so.6[0xb7c23ef8]
/lib/tls/i686/cmov/libc.so.6(_IO_default_xsputn+0xc8)[0xb7b99a78]
/lib/tls/i686/cmov/libc.so.6(_IO_vfprintf+0xf4a)[0xb7b6c90a]
/lib/tls/i686/cmov/libc.so.6(__vsprintf_chk+0xa4)[0xb7c23fa4]
/lib/tls/i686/cmov/libc.so.6(__sprintf_chk+0x2d)[0xb7c23eed]
./aline[0x80654ea]
./aline[0x80656a1]
./aline[0x8067741]
/lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xe5)[0xb7b42685]
./aline[0x8049c51]
======= Memory map: ========
08048000-0806d000 r-xp 00000000 08:01 2203997 /home/bart/Desktop/Programs/ALINE/aline
0806d000-0806e000 r--p 00024000 08:01 2203997 /home/bart/Desktop/Programs/ALINE/aline
0806e000-0806f000 rw-p 00025000 08:01 2203997 /home/bart/Desktop/Programs/ALINE/aline
0806f000-0807a000 rw-p 0806f000 00:00 0
09f6a000-09fab000 rw-p 09f6a000 00:00 0 [heap]
b7a9d000-b7aaa000 r-xp 00000000 08:01 1392661 /lib/libgcc_s.so.1
b7aaa000-b7aab000 r--p 0000c000 08:01 1392661 /lib/libgcc_s.so.1
b7aab000-b7aac000 rw-p 0000d000 08:01 1392661 /lib/libgcc_s.so.1
b7aac000-b7ab0000 r-xp 00000000 08:01 1500744 /usr/lib/libXfixes.so.3.1.0
b7ab0000-b7ab1000 rw-p 00003000 08:01 1500744 /usr/lib/libXfixes.so.3.1.0
b7ab1000-b7ab9000 r-xp 00000000 08:01 1500764 /usr/lib/libXrender.so.1.3.0
b7ab9000-b7aba000 r--p 00007000 08:01 1500764 /usr/lib/libXrender.so.1.3.0
b7aba000-b7abb000 rw-p 00008000 08:01 1500764 /usr/lib/libXrender.so.1.3.0
b7ac8000-b7aca000 rw-p b7ac8000 00:00 0
b7aca000-b7ace000 r-xp 00000000 08:01 1500738 /usr/lib/libXdmcp.so.6.0.0
b7ace000-b7acf000 rw-p 00003000 08:01 1500738 /usr/lib/libXdmcp.so.6.0.0
b7acf000-b7ad1000 r-xp 00000000 08:01 1500727 /usr/lib/libXau.so.6.0.0
b7ad1000-b7ad2000 rw-p 00001000 08:01 1500727 /usr/lib/libXau.so.6.0.0
b7ad2000-b7ad4000 r-xp 00000000 08:01 1409705 /lib/tls/i686/cmov/libdl-2.8.90.so
b7ad4000-b7ad5000 r--p 00001000 08:01 1409705 /lib/tls/i686/cmov/libdl-2.8.90.so
b7ad5000-b7ad6000 rw-p 00002000 08:01 1409705 /lib/tls/i686/cmov/libdl-2.8.90.so
b7ad6000-b7aed000 r-xp 00000000 08:01 1501671 /usr/lib/libxcb.so.1.0.0
b7aed000-b7aee000 r--p 00016000 08:01 1501671 /usr/lib/libxcb.so.1.0.0
b7aee000-b7aef000 rw-p 00017000 08:01 1501671 /usr/lib/libxcb.so.1.0.0
b7aef000-b7af0000 r-xp 00000000 08:01 1501669 /usr/lib/libxcb-xlib.so.0.0.0
b7af0000-b7af1000 r--p 00000000 08:01 1501669 /usr/lib/libxcb-xlib.so.0.0.0
b7af1000-b7af2000 rw-p 00001000 08:01 1501669 /usr/lib/libxcb-xlib.so.0.0.0
b7af2000-b7af3000 rw-p b7af2000 00:00 0
b7af3000-b7b00000 r-xp 00000000 08:01 1500742 /usr/lib/libXext.so.6.4.0
b7b00000-b7b02000 rw-p 0000c000 08:01 1500742 /usr/lib/libXext.so.6.4.0
b7b02000-b7b09000 r-xp 00000000 08:01 1500758 /usr/lib/libXp.so.6.2.0
b7b09000-b7b0a000 r--p 00006000 08:01 1500758 /usr/lib/libXp.so.6.2.0
b7b0a000-b7b0b000 rw-p 00007000 08:01 1500758 /usr/lib/libXp.so.6.2.0
b7b0b000-b7b20000 r-xp 00000000 08:01 1500686 /usr/lib/libICE.so.6.3.0
b7b20000-b7b21000 rw-p 00014000 08:01 1500686 /usr/lib/libICE.so.6.3.0
b7b21000-b7b23000 rw-p b7b21000 00:00 0
b7b23000-b7b2a000 r-xp 00000000 08:01 1500715 /usr/lib/libSM.so.6.0.0
b7b2a000-b7b2b000 r--p 00006000 08:01 1500715 /usr/lib/libSM.so.6.0.0
b7b2b000-b7b2c000 rw-p 00007000 08:01 1500715 /usr/lib/libSM.so.6.0.0
b7b2c000-b7c84000 r-xp 00000000 08:01 1409702 /lib/tls/i686/cmov/libc-2.8.90.so
b7c84000-b7c86000 r--p 00158000 08:01 1409702 /lib/tls/i686/cmov/libc-2.8.90.so
b7c86000-b7c87000 rw-p 0015a000 08:01 1409702 /lib/tls/i686/cmov/libc-2.8.90.so
b7c87000-b7c8a000 rw-p b7c87000 00:00 0
b7c8a000-b7d75000 r-xp 00000000 08:01 1499909 /usr/lib/libX11.so.6.2.0
b7d75000-b7d76000 r--p 000ea000 08:01 1499909 /usr/lib/libX11.so.6.2.0
b7d76000-b7d78000 rw-p 000eb000 08:01 1499909 /usr/lib/libX11.so.6.2.0
b7d78000-b7d79000 rw-p b7d78000 00:00 0
b7d79000-b7dc6000 r-xp 00000000 08:01 1500768 /usr/lib/libXt.so.6.0.0
b7dc6000-b7dca000 rw-p 0004c000 08:01 1500768 Aborted

Thanks

Jide
 
Old 09-24-2009, 02:22 PM   #2
fib11235
LQ Newbie
 
Registered: Sep 2009
Distribution: Gentoo, openSUSE
Posts: 20

Rep: Reputation: 0
That means for example:
you created table containing 5 elements but your program insert value on 10 place.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
compiling and running a c program in Linux myrto Linux - Newbie 6 12-21-2006 05:11 PM
compiling &running C program naobi Programming 2 09-11-2006 12:42 PM
Running a program in Ubuntu LeythDC5 Ubuntu 19 07-12-2006 01:35 PM
Running a program in Ubuntu LeythDC5 Linux - Software 2 07-12-2006 09:44 AM
Running a program after compiling - How? halem Linux - Newbie 2 02-24-2001 10:11 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:42 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration