What is the difference between Bus and Segmentation Errors?

Status
Not open for further replies.

raja.bhavanam

Junior Member level 3
Joined
Nov 22, 2005
Messages
28
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,281
Activity points
1,502
whats the difference?

What is the difference between a Bus Error and a Segmentation Error?
 

Re: whats the difference?

I think you'd write a bit more about your enviroment. Those are all terms, which are not really exactly defined.

For a segmentation error you must work on a system, which works with segmented memory. When you access on a certain segment, which is not loaded or on which you has no rights, than you get a segmentation error.

You get a bus error when, for instance, the bus isn't free for access.

Do you develop PCI-cards or something else?

Gomez
 

Re: whats the difference?

you check out these link...

1) https://en.wikipedia.org/wiki/Segmentation_fault
2) https://en.wikipedia.org/wiki/Bus_error

i am also in little confusion now... there is a little difference between these two errors
& both are related two memory access.
in one case you have memory but not the access for that...
& in other case, its either hardware problem or the insuficient memory..
(if my understanding is wrong plz correct me)
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…