Go Back   The macosxhints Forums > OS X Help Requests > Applications



Reply
 
Thread Tools Rate Thread Display Modes
Old 07-11-2003, 02:08 AM   #1
darkpaw
All Star
 
Join Date: Apr 2002
Location: England
Posts: 513
Safari unexpectedly quits on launch

iMac G4/800/15"
Safari 1.0 (v85 gold master)

I've tried everything I can think of to get Safari to work. It used to, but since downloading the 1.0 version, it unexpectedly crashes on launch.

The Console says to look at the Safari.crash.log and that file has a kernel panic in it.

(I will post the KP when I have access to the machine - it's a friend's).

I have done the following and none have worked:
- Switched off Unsanity's APE
- Created a new user and ran Safari
- Deleted prefs files and ran Safari
- Reinstalled Combo Update 10.2.6
- Fixed permissions using Disk Utility
- Uninstalled everything to do with Safari
- Downloaded and installed new copy from Apple's site

Any ideas? Thanks.
__________________
http://www.keeponfighting.net - Fighting for animal rights
http://www.darkpaw.co.uk
http://www.needstuff.co.uk - Recycle your unwanted clutter for FREE! (UK only)
darkpaw is offline   Reply With Quote
Old 07-11-2003, 05:01 AM   #2
vonleigh
All Star
 
Join Date: Jan 2002
Posts: 579
Very nice troubleshooting procedure. Since it's not a userland problem (you verified that by making a new user, no need to delete prefs), I'd be inclined to believe that it has to do with one of the frameworks that Safari installs.

For example, the latest Safari updates the Foundation framework, be sure to check for that when you get the console.log and system.log:

Code:
% lsbom /Library/Receipts/Safari.pkg/Contents/Archive.bom|grep Foundation.framework
./System/Library/Frameworks/Foundation.framework...


v
vonleigh is offline   Reply With Quote
Old 07-11-2003, 07:50 AM   #3
darkpaw
All Star
 
Join Date: Apr 2002
Location: England
Posts: 513
Cheers Von, I'll try that later on tonight.
__________________
http://www.keeponfighting.net - Fighting for animal rights
http://www.darkpaw.co.uk
http://www.needstuff.co.uk - Recycle your unwanted clutter for FREE! (UK only)
darkpaw is offline   Reply With Quote
Old 07-11-2003, 02:22 PM   #4
darkpaw
All Star
 
Join Date: Apr 2002
Location: England
Posts: 513
Sorry, that didn't fix it. The iMac already had a Foundation.framework. I moved it, copied mine and tried it, but Safari didn't even unexpectedly quit - the application triangle in the Dock appeared twice and disappeared. Nothing in the console for that either...

I have now put the original framework back.

Here's the KP I mentioned earlier:

Code:
Date/Time:  2003-07-10 23:58:25 +0100
OS Version: 10.2.6 (Build 6L60)
Host:       xxxxx.local.

Command:    Safari
PID:        555

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

Thread 0 Crashed:
 #0   0x00000000 in 0x0
 #1   0x95378274 in _ZN14KWQTextDecoder7convertEPKcib
 #2   0x95378438 in _ZN14KWQTextDecoder9toUnicodeEPKcib
 #3   0x9542f5cc in _ZN5khtml7Decoder6decodeEPKci
 #4   0x9547a460 in +[WebCoreEncodings decodeData:]
 #5   0x00071cc8 in 0x71cc8
 #6   0x0003083c in 0x3083c
 #7   0x000309b4 in 0x309b4
 #8   0x00007aa4 in 0x7aa4
 #9   0x97e2d260 in -[NSSet makeObjectsPerformSelector:]
 #10  0x930ad738 in -[NSIBObjectData nibInstantiateWithOwner:topLevelObjects:]
 #11  0x93124578 in old_loadNib
 #12  0x930eaa2c in +[NSBundle(NSNibLoading) _loadNibFile:nameTable:withZone:ownerBundle:]
 #13  0x93149a5c in +[NSBundle(NSNibLoading) loadNibFile:externalNameTable:withZone:]
 #14  0x9314981c in +[NSBundle(NSNibLoading) loadNibNamed:owner:]
 #15  0x9315fbfc in NSApplicationMain
 #16  0x000071b4 in 0x71b4
 #17  0x00007034 in 0x7034

Thread 1:
 #0   0x90073c28 in mach_msg_trap
 #1   0x90005f70 in mach_msg
 #2   0xc0009190 in __ape_internal
 #3   0xc0000efc in __ape_agent
 #4   0x90020d28 in _pthread_body

Thread 2:
 #0   0x90073c28 in mach_msg_trap
 #1   0x90005f70 in mach_msg
 #2   0x901489f0 in __CFRunLoopRun
 #3   0x90180f58 in CFRunLoopRunSpecific
 #4   0x97e05680 in -[NSRunLoop runMode:beforeDate:]
 #5   0x97e19188 in -[NSRunLoop run]
 #6   0x956ff628 in +[WebFileDatabase _syncLoop:]
 #7   0x97e2cc50 in forkThreadForFunction
 #8   0x90020d28 in _pthread_body

PPC Thread State:
  srr0: 0x00000000 srr1: 0x4200f030                vrsave: 0x00000000
   xer: 0x00000000   lr: 0x95378098  ctr: 0x00000000   mq: 0x00000000
    r0: 0x95378098   r1: 0xbfffd5c0   r2: 0x00000000   r3: 0x0019d090
    r4: 0x00000200   r5: 0x00000000   r6: 0x00000000   r7: 0x0119cda0
    r8: 0x000fb010   r9: 0xa02228e0  r10: 0x000fb290  r11: 0xa5350d64
   r12: 0x00000000  r13: 0x00000000  r14: 0x00000000  r15: 0x00000000
   r16: 0x001c02e0  r17: 0xa309a6d4  r18: 0xa309a6d4  r19: 0xa309a6d4
   r20: 0xa309a6d4  r21: 0x00000000  r22: 0x00000000  r23: 0xbffff870
   r24: 0x00000000  r25: 0x00f9bdc0  r26: 0x00f9bc30  r27: 0x00000000
   r28: 0x00000000  r29: 0x000051f8  r30: 0x00f79000  r31: 0x95377fd4
__________________
http://www.keeponfighting.net - Fighting for animal rights
http://www.darkpaw.co.uk
http://www.needstuff.co.uk - Recycle your unwanted clutter for FREE! (UK only)
darkpaw is offline   Reply With Quote
Old 07-11-2003, 04:25 PM   #5
tlarkin
League Commissioner
 
Join Date: Mar 2003
Location: Bay Area, CA
Posts: 11,352
Does anything else crash or just safari? I believe that exc_bad_access error is when the system tries to access something in the system or virtual memory and the data its digging for is corrupted or incorrect. If you got the apple hardware test cd that came with the machine, boot off it and test your ram. This is just a hunch, and may or may not have anything to do with your problem.
__________________
sudo make me a sammich
tlarkin is offline   Reply With Quote
Old 07-11-2003, 04:31 PM   #6
mervTormel
League Commissioner
 
Join Date: Jan 2002
Posts: 5,536
Thread 0 Crashed:
#0 0x00000000 in 0x0


hex 0 is an invalid memory address. it's prolly not RAM.

something else, regarding unicode. i'd say it's time to reinstall, say, the 10.2.x combo update and safari again.

[edit: oh, you did that. ::shrug::]
mervTormel is offline   Reply With Quote
Old 07-11-2003, 04:35 PM   #7
tlarkin
League Commissioner
 
Join Date: Mar 2003
Location: Bay Area, CA
Posts: 11,352
Quote:
Originally posted by mervTormel
Thread 0 Crashed:
#0 0x00000000 in 0x0


hex 0 is an invalid memory address. it's prolly not RAM.

something else, regarding unicode. i'd say it's time to reinstall, say, the 10.2.x combo update and safari again.

[edit: oh, you did that. ::shrug::]

Thats why I suggested testing the ram, thats the only thing I could think of off the top of my head by reading the situation and steps already taken.
__________________
sudo make me a sammich
tlarkin is offline   Reply With Quote
Old 07-11-2003, 07:01 PM   #8
darkpaw
All Star
 
Join Date: Apr 2002
Location: England
Posts: 513
Yeah, I've tried reinstalling the combo update and Safari, but to no avail It simply won't run, which is annoying as it was me and my friend who made my friend's mum buy her iMac! (Did that sentence make sense???)

The only other thing I can do is back up her hard drive to my spare, and reinstall the whole machine That's a bit drastic though.

Thanks for the suggestions so far. You guys rock! Any other ideas?
__________________
http://www.keeponfighting.net - Fighting for animal rights
http://www.darkpaw.co.uk
http://www.needstuff.co.uk - Recycle your unwanted clutter for FREE! (UK only)
darkpaw is offline   Reply With Quote
Old 07-11-2003, 07:15 PM   #9
yellow
Moderator
 
Join Date: Jan 2002
Posts: 10,677
Did you try removing (to your desktop) all the junk in /Library/Internet Plug-Ins/? If one of those is causing it, then it could be why it follows you to a new user.
yellow is offline   Reply With Quote
Old 07-11-2003, 07:36 PM   #10
darkpaw
All Star
 
Join Date: Apr 2002
Location: England
Posts: 513
Ooooh, good idea yellow. I'll give it a go tomorrow. Thanks mate.
__________________
http://www.keeponfighting.net - Fighting for animal rights
http://www.darkpaw.co.uk
http://www.needstuff.co.uk - Recycle your unwanted clutter for FREE! (UK only)
darkpaw is offline   Reply With Quote
Old 07-11-2003, 08:01 PM   #11
vonleigh
All Star
 
Join Date: Jan 2002
Posts: 579
OH also, what does it say in the system.log right before safari crashes? You posted the safari crash log but not this, it may say something.


v
vonleigh is offline   Reply With Quote
Old 07-14-2003, 11:56 AM   #12
yellow
Moderator
 
Join Date: Jan 2002
Posts: 10,677
So what happened DP?
yellow is offline   Reply With Quote
Old 07-14-2003, 02:36 PM   #13
darkpaw
All Star
 
Join Date: Apr 2002
Location: England
Posts: 513
I've not been to my friend's house, though I have e-mailed them to give them your suggestions. Patience Daniel-San...
__________________
http://www.keeponfighting.net - Fighting for animal rights
http://www.darkpaw.co.uk
http://www.needstuff.co.uk - Recycle your unwanted clutter for FREE! (UK only)
darkpaw is offline   Reply With Quote
Old 07-17-2003, 07:32 PM   #14
ebara
Prospect
 
Join Date: Jun 2003
Posts: 14
I had the same problem and did all the head-scratching, Safari file erasing you can think of until I found the fix on MacFixIt. Just find and trash

com.apple.quicktime.plugin.preferences.plist

now, Safari 1.0 works like a charm again

Pass the word around since we are many to have suffered from this bug.

Cheers

Ebara
ebara is offline   Reply With Quote
Old 07-17-2003, 08:54 PM   #15
saint.duo
MVP
 
Join Date: Jan 2002
Location: Seattle
Posts: 1,084
Safari also installs/updates the WebKit.framework, which was apparently corrupt on my install, causing Safari to crash on launch. Deleting the framework and reinstalling safari has fixed it.
saint.duo is offline   Reply With Quote
Old 07-19-2003, 05:45 AM   #16
darkpaw
All Star
 
Join Date: Apr 2002
Location: England
Posts: 513
Neither of those two suggestions fixed it

Thanks anyway, but I think she's going to do a reinstall of the OS - her iMac has been experiencing a lot of beach ball spinning recently, even after installing more RAM (and no, the RAM didn't cause that or Safari to knack up).

Besides, it'll give her something to do
__________________
http://www.keeponfighting.net - Fighting for animal rights
http://www.darkpaw.co.uk
http://www.needstuff.co.uk - Recycle your unwanted clutter for FREE! (UK only)
darkpaw is offline   Reply With Quote
Old 07-19-2003, 06:24 PM   #17
darkpaw
All Star
 
Join Date: Apr 2002
Location: England
Posts: 513
Oh, well, colour me shocked... Guess who had to do the flippin' reinstall? No, no, no, no, no. It was me.

And it all works fine. It even seems to have ended her almost perpetual spinning beach ball problem too.

Unfortunately, this doesn't explain why it happened in the first place, and it could even happen again...

Cheers for the help guys.
__________________
http://www.keeponfighting.net - Fighting for animal rights
http://www.darkpaw.co.uk
http://www.needstuff.co.uk - Recycle your unwanted clutter for FREE! (UK only)
darkpaw is offline   Reply With Quote
Reply


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

Forum Jump



All times are GMT -5. The time now is 03:31 PM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.
Site design © IDG Consumer & SMB; individuals retain copyright of their postings
but consent to the possible use of their material in other areas of IDG Consumer & SMB.