Safari Closes 5 secs after opening!

Discussion in 'Mac Apps and Mac App Store' started by joshysquashy, Jul 5, 2007.

  1. joshysquashy macrumors 6502a

    Joined:
    May 13, 2005
    Location:
    UK
    #1
    My Safari closes 5 seconds after I open it.

    Things I have tried:

    Deleting all Safari preferences, reset and delete cache.
    Repair Permissions
    Install the 10.4.10 update again
    Install Safari 2.0 (it worked!)
    Install update AGAIN! (it stopped working)
    Restore a backup (before it stopped working) - it worked!
    Ran Software Update - IT STOPPED WORKIN!!!
    Repaired Permissions, it still doesn't work!

    OK, I'm tearing my hair out now. The 3 Beta does work, but I prefer 2 for the moment until all issues are worked out. I have dissabled things like Shapeshifter, not installed any extra plugins at the moment.

    Does anyone have an idea of what I should do?
     
  2. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #2
    I suspect you've got a corrupt font or font cache file somewhere, especially if other applications behave like this too. The cause could also be something you've overlooked, like Safari's icon cache. I could help track down the cause of your issue better if you posted the information in ~/Library/Logs/CrashReporter/Safari.crash.log - make sure you include, if not the whole file, the information for the thread that crashed. Usually, the relevant info looks something like this:

    Code:
    Thread X Crashed:
    (stuff) KERN_PROTECTION_FAILURE
    (stuff) EXC_BAD_ACCESS
    (stack trace follows)
     
  3. joshysquashy thread starter macrumors 6502a

    Joined:
    May 13, 2005
    Location:
    UK
    #3
    OK, I hope I have the right section of the crash report:

    Code:
    Thread 3 Crashed:
    0   <<00000000>> 	0xfffeff20 objc_msgSend_rtp + 32
    1   com.apple.Foundation     	0x92c0f630 -[NSURLConnection(NSURLConnectionInternal) _wasRedirectedToRequest:redirectResponse:] + 424
    2   com.apple.Foundation     	0x92c0e06c -[NSConnectionHTTPURLProtocol attemptRetryAfter3xxResponse] + 620
    3   com.apple.Foundation     	0x92d2135c -[NSConnectionHTTPURLProtocol performHTTPHeaderRead] + 696
    4   com.apple.Foundation     	0x92c0d668 readStreamCallback2 + 116
    5   com.apple.CoreFoundation 	0x9082af3c _CFStreamSignalEventSynch + 332
    6   com.apple.CoreFoundation 	0x907de4fc __CFRunLoopDoSources0 + 384
    7   com.apple.CoreFoundation 	0x907dda2c __CFRunLoopRun + 452
    8   com.apple.CoreFoundation 	0x907dd4ac CFRunLoopRunSpecific + 268
    9   com.apple.Foundation     	0x92c076a8 +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:] + 264
    10  com.apple.Foundation     	0x92be01a0 forkThreadForFunction + 108
    11  libSystem.B.dylib        	0x9002bd08 _pthread_body + 96
    
    Thread 4:
    0   libSystem.B.dylib        	0x9000b348 mach_msg_trap + 8
    1   libSystem.B.dylib        	0x9000b29c mach_msg + 60
    2   com.apple.CoreFoundation 	0x907ddba8 __CFRunLoopRun + 832
    3   com.apple.CoreFoundation 	0x907dd4ac CFRunLoopRunSpecific + 268
    4   com.apple.Foundation     	0x92c087e8 +[NSURLCache _diskCacheSyncLoop:] + 152
    5   com.apple.Foundation     	0x92be01a0 forkThreadForFunction + 108
    6   libSystem.B.dylib        	0x9002bd08 _pthread_body + 96
    
    Thread 5:
    0   libSystem.B.dylib        	0x9001f88c select + 12
    1   com.apple.CoreFoundation 	0x907f0434 __CFSocketManager + 472
    2   libSystem.B.dylib        	0x9002bd08 _pthread_body + 96
    
    Thread 6:
    0   libSystem.B.dylib        	0x9002c3c8 semaphore_wait_signal_trap + 8
    1   libSystem.B.dylib        	0x90030eac pthread_cond_wait + 480
    2   com.apple.Foundation     	0x92be730c -[NSConditionLock lockWhenCondition:] + 68
    3   com.apple.Syndication    	0x9b6c742c -[AsyncDB _run:] + 192
    4   com.apple.Foundation     	0x92be01a0 forkThreadForFunction + 108
    5   libSystem.B.dylib        	0x9002bd08 _pthread_body + 96
    
    Thread 3 crashed with PPC Thread State 64:
      srr0: 0x00000000fffeff20 srr1: 0x000000000200f030                        vrsave: 0x0000000000000000
        cr: 0x44004284          xer: 0x0000000000000007   lr: 0x0000000092c0f630  ctr: 0x0000000000000007
        r0: 0x0000000092c0f618   r1: 0x00000000f0203530   r2: 0x000000006f6d2f00   r3: 0x00000000068efbc0
        r4: 0x0000000090ab1998   r5: 0x0000000000000000   r6: 0x00000000ffffffff   r7: 0x00000000061bf000
        r8: 0x0000000000000001   r9: 0x00000000a0001fac  r10: 0x0000000000000007  r11: 0x000000006f551998
       r12: 0x0000000006aaa18b  r13: 0x0000000000000000  r14: 0x0000000000000001  r15: 0x0000000000000000
       r16: 0x0000000000000000  r17: 0x0000000000000000  r18: 0x0000000000000000  r19: 0x0000000000000000
       r20: 0x000000007fffffff  r21: 0x00000000ffffffff  r22: 0x0000000000000001  r23: 0x00000000006872a0
       r24: 0x0000000000000000  r25: 0x0000000006ace090  r26: 0x0000000006adb620  r27: 0x0000000001187c50
       r28: 0x0000000006adc080  r29: 0x00000000a2bdbca4  r30: 0x0000000006ad2ad0  r31: 0x0000000092c0f488
    
     
  4. wrldwzrd89 macrumors G5

    wrldwzrd89

    Joined:
    Jun 6, 2003
    Location:
    Solon, OH
    #4
    After analyzing the crash report, it appears that Safari is choking on whatever your homepage is set to (presumably the default since you cleared the preferences). I suggest making a second user account and trying it there. Does it recur? If it does, the cause could be any number of things, from a corrupted WebKit installation to some weird global file that's corrupted. If this turns out to be the case, the best fix is an Archive and Install of Mac OS X (with Preserve Users and Network Settings checked). If it doesn't, the cause is likely to be a corrupt file in your user account that you've overlooked, like the icon cache or even Safari's bookmarks file.
     
  5. joshysquashy thread starter macrumors 6502a

    Joined:
    May 13, 2005
    Location:
    UK
    #5
    I deleted the icon cache and bookmarks, and the strange thing is that
    a) safari 2.0 works, but 2.0.4 doesnt
    b) when reverting to a backup taken weeks before the issue, the problem persists.

    my homepage is google, and it loads before the crash. even navigating to another page works, but doesn't stop safari quitting.

    oh well, i am happy to continue with 2.0, lets hope i don't get a virus or something! eventually safari 3 will come out of beta/get better.

    thanks anyway. i suspect the webkit, perhaps the old version doesn't rely on the webkit in the same way?
     
  6. joshysquashy thread starter macrumors 6502a

    Joined:
    May 13, 2005
    Location:
    UK
    #6
    The strangest thing just happened - safari has done the exact same thing on my boyfriend's laptop, for no apparent reason, not after changing anything!

    if it helps we both have iBook G4's with 10.4.10 installed. how strange, is this happening to anyone else? i hope apple fixes this with an update!
     
  7. Maxiseller macrumors 6502a

    Maxiseller

    Joined:
    Jan 11, 2005
    Location:
    Little grey, chilly island.
    #7
    No problems here -

    It is probably just a coincidence!
     
  8. joshysquashy thread starter macrumors 6502a

    Joined:
    May 13, 2005
    Location:
    UK
    #8
    a very strange coincidence as it happened to both machines within a few days. the only thing linking them is the local internet (and internet) - i wonder if its a virus?! i hope it is just a coincidence, or a bug with safari 2.0.4 - which apple are working on a fix for.... i hope
     
  9. nayd87 macrumors newbie

    Joined:
    Aug 3, 2008
    #9
    My computer does the same book and it's a macbook pro. It's a recent problem. My main username has the problem but when I log onto my second username for my family to use I'm able to use their Safari.
     
  10. nayd87 macrumors newbie

    Joined:
    Aug 3, 2008
    #10
    My computer does the same book and it's a macbook pro. It's a recent problem. My main username has the problem but when I log onto my second username for my family to use I'm able to use their Safari. :apple:
     

Share This Page