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, 01:26 AM   #1 (permalink)
Grumpy Old Man™
TheAppleDoctor's Avatar
Join Date: Jan 2002
Location: The Great White North
Posts: 11,486
Credits: 3,460
Blog Entries: 2
Default Kern protection failure

What is a kern protection failure, and what causes it? From time to time I get an unexpected quit in various programs (no one culprit or action that I can identify). Without fail, whatever the program is, the console crash log always starts out with the same message.

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

Anyone?

QS DP800, OS X 10.1.5 (5S66), 1.5GB RAM
__________________
  • 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
Old 07-25-2002, 01:35 AM   #2 (permalink)
Senior Member
Join Date: Jun 2002
Posts: 1,313
Credits: 4,455
Default

IINM, it's something in the kernel reaching into protected memory... maybe a dangling pointer? Have you installed anything recently?
MikeMc is offline   Reply With Quote
Old 07-25-2002, 01:37 AM   #3 (permalink)
Senior Member
Join Date: Jun 2002
Location: Ohio
Posts: 865
Credits: 379
Default

man I hate it when my pointers dangle...

I've always wondered what those lines of text mean when you get a kernel panic like that...i've only had it happen once thankfully
__________________
<span style=\'font-size:8pt;line-height:100%\'><a href=\'http://izzy.typepad.com\' target=\'_blank\'>Undisclosed Location</a> - my home on the web. And oh yeah, <a href=\'http://www.last.fm/user/izzymusic\' target=\'_blank\'>here's what I'm listening to</a>.</span>
Izzy is offline   Reply With Quote
Old 07-25-2002, 01:49 AM   #4 (permalink)
Senior Member
Join Date: Jun 2002
Location: Tucson, AZ
Posts: 5,957
Credits: 479
Default

IINM? "If I'm New Mexico"?

It could also be something reaching into kernel memory space... maybe.
nkuvu is offline   Reply With Quote
Old 07-25-2002, 02:04 AM   #5 (permalink)
Senior Member
Join Date: Jun 2002
Location: nyc
Posts: 1,962
Credits: 260
Default

Could even be drivers for a device Doc, like a usb mouse or printer, firewire something, blah blah blah.

Any new hardware or drivers for hardware?
Klink is offline   Reply With Quote
Old 07-25-2002, 03:18 AM   #6 (permalink)
Grumpy Old Man™
TheAppleDoctor's Avatar
Join Date: Jan 2002
Location: The Great White North
Posts: 11,486
Credits: 3,460
Blog Entries: 2
Default

New keyboard drivers (MacAlly iMediaKey), new firewire webcam drivers (iBot), new USB 2.0 card drivers...

If that is the direction of the likely cause of the problem, I'll try removing them one at a time and see what happens. As I said, it doesn't happen at any one time or with with any one program, so it may take awhile to isolate the cause, but at least it's a start. Any particular one most likely?

Thanks fot the help!
__________________
  • 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
Old 07-25-2002, 03:29 AM   #7 (permalink)
Senior Member
Join Date: Jun 2002
Posts: 1,313
Credits: 4,455
Default

If it doesn't really matter, I would say go for the webcam drivers first. How often does it happen... I know its sporatic, but usually when I have failures I can say that they will happen every 2-3 days... so you have some idea of how long to run with the new config before ensuring that's the problem.. If it happens every 2-3 days, I would say run 4 days, if no error, reinstall it, and try for 4 more days... if you fail, there's your problem...
MikeMc is offline   Reply With Quote
Old 07-25-2002, 04:16 AM   #8 (permalink)
Grumpy Old Man™
TheAppleDoctor's Avatar
Join Date: Jan 2002
Location: The Great White North
Posts: 11,486
Credits: 3,460
Blog Entries: 2
Default

sometimes a couple within a couple of hours, then days without. As for a schedule, it seems to happen just about the time I quit thinking about it. yvey: I'll try the webcam drivers first... it's not like I use the cam for much of anything.
__________________
  • 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
Old 07-25-2002, 09:47 AM   #9 (permalink)
BoA
Senior Member
Join Date: Nov 2001
Location: Issaquah, WA
Posts: 1,621
Credits: 397
Default Re: Kern protection failure

Quote:
TheAppleDoctor wrote:
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000009
This is telling you a who, what and where for a dangling pointer or memory corruption.

The error is the result of the processor executing an instruction that requested a read from a chunk of memory that was protected from user mode access. The value of the at, being such a low address in memory indicates (to me) that "something bad" happened like a memory corruption resulting in the instruction pointer being set to an address in a data segment (typically, data addresses start on the low end and instruction addresses start on the high end of memory.

The other two numbers are merely codes from the processor/os indicating the nature of the error.

There are a million ways to cause this most of which fit into three basic classes.
  • An unverified pointer being used to access memory, or
  • A corruption of memory through a bad pointer resulting in "random data" being used as a pointer reference, or
  • A bad instruction pointer changing the processor to load a bogus instruction.
__________________
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, 09:52 AM   #10 (permalink)
Grumpy Old Man™
TheAppleDoctor's Avatar
Join Date: Jan 2002
Location: The Great White North
Posts: 11,486
Credits: 3,460
Blog Entries: 2
Default

Translation? :?:
__________________
  • 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 09:16 AM.