LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-21-2012, 09:51 AM   #1
Lazar
LQ Newbie
 
Registered: May 2012
Location: Niš
Distribution: Ubuntu
Posts: 1

Rep: Reputation: Disabled
Exclamation Assembly program


Hello Linux users.
I am into programming in NASM and i have a problem running program i have created. I have compiled and linked the files as it should be, yet there is no way i can open the final file i have made. When i go to the right directory by terminal and type ./TEST (which is name of the program file) it replies with: Segmentation fault (core dumped). Please help.
 
Old 05-21-2012, 10:10 AM   #2
manu-tm
Member
 
Registered: May 2008
Location: France
Distribution: Ubuntu, Debian
Posts: 343

Rep: Reputation: 43
This just means that your program crashed because of a segmentation fault (http://en.wikipedia.org/wiki/Segmentation_fault) so you must check and fix your code.
 
Old 05-21-2012, 10:34 AM   #3
Doc CPU
Senior Member
 
Registered: Jun 2011
Location: Stuttgart, Germany
Distribution: Mint, Debian, Gentoo, Win 2k/XP
Posts: 1,099

Rep: Reputation: 343Reputation: 343Reputation: 343Reputation: 343
Hi there,

Quote:
Originally Posted by manu-tm View Post
This just means that your program crashed because of a segmentation fault (http://en.wikipedia.org/wiki/Segmentation_fault)
right, and very often, that happens if you use indirect addressing or indexing without initializing the base address and/or properly checking the indexes.

[X] Doc CPU
 
  


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
what's wrong with my inline assembly program roMoon Programming 4 03-15-2011 11:40 PM
[SOLVED] I need help with understand a recursive assembly program. joeBuffer Programming 31 08-16-2009 10:36 PM
Assembly Program Question?? Nejad Programming 16 12-30-2008 11:54 AM
hash routine into assembly program rblampain Linux - Security 3 08-06-2005 01:49 AM
Please help me with my assembly program flamesrock Programming 2 01-30-2005 10:27 PM


All times are GMT -5. The time now is 01:42 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration