LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
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


Closed Thread
  Search this Thread
Old 06-03-2018, 05:24 AM   #1
niranjan1609
LQ Newbie
 
Registered: Jun 2018
Posts: 1

Rep: Reputation: Disabled
actually while debugging an assembly language i have got the following error can any body figure out how i can rectify the following error


Program received signal SIGSEGV, Segmentation fault.
0xf7e38e1b in ?? () from /lib32/libc.so.6
[Link removed]


while debugging the above code in assembly language i got the above error can any body help me to debug that code.....

Last edited by rtmistler; 06-03-2018 at 05:16 PM.
 
Old 06-03-2018, 06:55 AM   #2
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
No, we cannot. What is it you actually wanted us to download? An executable? Do I get it correctly you post an executable, without source, and you want others to execute and debug that for you?

I think you have to re-adjust your attitude and think about what you actually are doing. I suppose you want to learn assembly language, that being the reason you program in assembly.

Although I am already spending too much time on this, writing more lines in this thread than you cared to do, I am giving you an advise. If you want to debug your code, load you program in gdb and run it from there. Set a breakpoint just before the crash, single step, and examine your registers and memory location.

If then something unexplainable happens which you do not understand, feel free to come back and ask for help.

jlinkels
 
Old 06-03-2018, 07:13 AM   #3
dave@burn-it.co.uk
Member
 
Registered: Sep 2011
Distribution: Puppy
Posts: 601

Rep: Reputation: 172Reputation: 172
As said, no-one (I hope) is going to be stupid enough to download a dodgy executable from a new member, and even if we were, we would have to dis-assemble it unless someone can actually read machine code.

My guess is that the error has something to do with 4k segments, but that is based on what little I know of assembler from 40 years ago.
 
Old 06-03-2018, 05:21 PM   #4
rtmistler
Moderator
 
Registered: Mar 2011
Location: USA
Distribution: MINT Debian, Angstrom, SUSE, Ubuntu, Debian
Posts: 9,882
Blog Entries: 13

Rep: Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930Reputation: 4930
Thread closed.
Link removed.
In spite of actions by new members, our long time members are reminded to be polite, and as opposed to personally offering your admonishments, use the report button. The actual member who reported this thread, appropriately stayed out of the thread, and I appreciate that.
 
  


Closed Thread



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
[SOLVED] A problem. When using assembly language to call the C language function mirage1993 Programming 3 10-03-2014 08:15 AM
how to rectify this error: RCC: Error in 'appchooser.qrc': Cannot find file 'akregato divya s Programming 3 04-13-2011 01:03 AM
Is Assembly Language considered a Structured Language? theKbStockpiler Programming 4 01-30-2011 09:09 AM
Can't figure out how to fix "Invalid mix of operators and operands" error in assembly steviebob Programming 25 07-10-2010 01:22 PM
Assembly debugging using DDD bluknight43 Programming 1 02-28-2005 01:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:33 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
Open Source Consulting | Domain Registration