AppleSpy Forums

AppleSpy Forums

Go Back   AppleSpy Forums > Computing and Technology > Mac OS and Applications
Mac OS and Applications System software and all applications.

Reply
 
LinkBack Thread Tools Display Modes
Old 07-25-2002, 10:24 AM   #11 (permalink)
Senior Member
Join Date: Jun 2002
Location: Tucson, AZ
Posts: 5,957
Credits: 478
Default

What translation? That made sense.
nkuvu is offline   Reply With Quote
Old 07-25-2002, 03:43 PM   #12 (permalink)
BoA
Senior Member
Join Date: Nov 2001
Location: Issaquah, WA
Posts: 1,621
Credits: 397
Default

Now, in "English"...
Ok... What the display is telling you is: at memory location 0x00000009 there occurred an Executive Bad Access error of the type Kernel Protection Failure.

What this says is that code running from location 0x00000009 (or 10 byte past the start of memory) attempted to access memory that is protected from that access by the program current running. As a result, the Operating System's Executive is declaring an error and flushing the program as it is unable to meaningfully continue processing it.

In looking at the error again... the at value could be the address that the program was trying to access, rather than the program counter. This would make more sense but be somewhat less informative to a developer (IMHO). I haven't done enough code with OS X yet to have caused this specific error to occur... so, I haven't spent the time to learn the specifics of the syntax. But, in general context of writing code for Protected Operating Systems... I've seen the same type of error more times than I could ever hope to count. So, the general context I'm relating is valid...
__________________
Bo...
<span style=\'color:navy\'><span style=\'font-family:courier\'>SELECT * FROM users WHERE clue &gt; 0;</span>
<span style=\'color:green\'>0 Rows Returned.</span></span>
BoA is offline   Reply With Quote
Old 07-25-2002, 04:12 PM   #13 (permalink)
blb
Member
Join Date: Jun 2002
Posts: 83
Credits: 20
Default

Quote:
BoA wrote:
...
In looking at the error again... the at value could be the address that the program was trying to access, rather than the program counter. This would make more sense but be somewhat less informative to a developer (IMHO). I haven't done enough code with OS X yet to have caused this specific error to occur... so, I haven't spent the time to learn the specifics of the syntax. But, in general context of writing code for Protected Operating Systems... I've seen the same type of error more times than I could ever hope to count. So, the general context I'm relating is valid...
This is correct, that value (0x09) is the address the program attempted to access. The useful information to a developer should show up later in the crash log; for example, if I try to access that address by telling printf() that there is a string there, I get the same error:
Quote:

Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000009

Thread 0 Crashed:
#0 0x70000a50 in strlen
#1 0x70001b14 in vfprintf
#2 0x700129f0 in printf
#3 0x00001dec in main
#4 0x00001b38 in _start
#5 0x00001968 in start

(register information snipped)
When this occurs, is there ever anything consistent in the call stack (if it's readable like the one above, otherwise things are definitely more difficult)?
blb is offline   Reply With Quote
Old 07-25-2002, 04:48 PM   #14 (permalink)
Grumpy Old Man™
TheAppleDoctor's Avatar
Join Date: Jan 2002
Location: The Great White North
Posts: 11,486
Credits: 3,438
Blog Entries: 2
Default

Well, earlier this evening I suddenly lost all privileges to all drives... and could not enable root to correct it. So.... right now I am running a bone-stock 10.1.5 with absolutely no software other than what Apple provided. No third-party drivers, no third-party anything (except for IE 5.2.1).

I will leave it like this, sucky as it is, for a few days, and see what happens.

Man, am I glad I back up to DVD! Nothing's gone, but I am going to hold off re-installing anything for a while. Crash log is now enabled, so if it does happen I will at least be able to show it to some of you guys that seem to understand it. (Not trying to be difficult, but I still don't understand even if you are talking about a physical problem with RAM, or what.)
__________________
  • The man that hath no music in himself, nor is not moved with concord of sweet sounds, is fit for treasons, stratagems, and spoils;
    The motions of his spirit are dull as night, and his affections dark as Erebus. Let no such man be trusted. Mark the music.

    ~ William Shakespeare: The Merchant of Venice. Act. v. Sc. 1. ~
TheAppleDoctor is offline   Reply With Quote
Reply

Thread Tools
Display Modes

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT -4. The time now is 10:43 PM.