Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Mac OS X > JavaScript problems with Safari... and my mind

JavaScript problems with Safari... and my mind
Thread Tools
Dedicated MacNNer
Join Date: Sep 2001
Location: New York, NY
Status: Offline
Reply With Quote
Oct 7, 2003, 10:12 AM
 
I posted a couple days ago about loosing all my prefrences. As it turned out the problem was caused by low disk space. Well I have everything back up and running now, but I am continuing to have problems with safari. IE still works perfectly.

First I reinstalled Safari. The problem still remained. This suggested to me the problem is not with Safari, but is made evident through Safari.

After watching my browser consistantly crash on certain websites I suspected the problem had something with java. So I turned off java and all the crashing was over. I then turned it on but left JavaScript off... no problem... I turned JavaScript on and BOOM there is the problem. I went through and deleted any .plist file that had anything to do with java. No deal. The problem remains.

As I understand it, the root of my problems are related to the java implimentation on OS X. Of course I have no idea what the hell I am talking about so... who knows. I am including a part on the crash log from safari in hopes someone can tell me where the problem is and how to fix it. If there is any other information that would be helpful... tell me what you need and how to get it.

Thanks as always


***FROM CRASH LOG***

Command: Safari
PID: 850

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

Thread 0 Crashed:
#0 0x9017fe08 in CFPropertyListCreateFromStream
#1 0x97e54644 in +[NSPropertyListSerialization propertyListFromData:mutabilityOption:format:error Description:]
#2 0x7e39489c in -[WebNetscapePluginPackage pListForPath:createFile:]
#3 0x7e393a7c in -[WebNetscapePluginPackage getPluginInfoFromPLists]
#4 0x7e39405c in -[WebNetscapePluginPackage initWithPath:]
#5 0x7e374e68 in +[WebBasePluginPackage pluginWithPath:]
#6 0x7e395f34 in -[WebPluginDatabase init]
#7 0x7e375720 in +[WebPluginDatabase installedPlugins]
#8 0x7e39c1f4 in -[WebViewFactory pluginsInfo]
#9 0x7ed0124c in KConfig::readNumEntry(char const*, int) const
#10 0x7ec6c8fc in KJS:luginBase:luginBase[unified](KJS::ExecState*)
#11 0x7ecfc84c in KJS::Navigator::getValueProperty(KJS::ExecState*, int) const
#12 0x7ecfca8c in KJS::Navigator::get(KJS::ExecState*, KJS::Identifier const& const
#13 0x7f50c05c in KJS::Reference::getValue(KJS::ExecState*) const
#14 0x7f4deb30 in KJS::AccessorNode2::evaluate(KJS::ExecState*)
#15 0x7f4e2468 in KJS::AssignExprNode::evaluate(KJS::ExecState*)
#16 0x7f4dc7e4 in KJS::VarDeclNode::evaluate(KJS::ExecState*)
#17 0x7f4e8978 in KJS::VarDeclListNode::evaluate(KJS::ExecState*)
#18 0x7f4ebbfc in KJS::VarStatementNode::execute(KJS::ExecState*)
#19 0x7f4f24c0 in KJS::SourceElementsNode::execute(KJS::ExecState*)
#20 0x7f4ff86c in KJS::BlockNode::execute(KJS::ExecState*)
#21 0x7f4f5a4c in KJS:eclaredFunctionImp::execute(KJS::ExecState*)
#22 0x7f4da3b0 in KJS::FunctionImp::call(KJS::ExecState*, KJS::Object&, KJS::List const&
#23 0x7f4eb8a8 in KJS::FunctionCallNode::evaluate(KJS::ExecState*)
#24 0x7f4eeb10 in KJS::ExprStatementNode::execute(KJS::ExecState*)
#25 0x7f4f22a8 in KJS::SourceElementsNode::execute(KJS::ExecState*)
#26 0x7f4ff86c in KJS::BlockNode::execute(KJS::ExecState*)
#27 0x7f4fab78 in KJS::IfNode::execute(KJS::ExecState*)
#28 0x7f4f22a8 in KJS::SourceElementsNode::execute(KJS::ExecState*)
#29 0x7f4ff86c in KJS::BlockNode::execute(KJS::ExecState*)
#30 0x7f4fab78 in KJS::IfNode::execute(KJS::ExecState*)
#31 0x7f4f22a8 in KJS::SourceElementsNode::execute(KJS::ExecState*)
#32 0x7f4ff86c in KJS::BlockNode::execute(KJS::ExecState*)
#33 0x7f4fab78 in KJS::IfNode::execute(KJS::ExecState*)
#34 0x7f4f24c0 in KJS::SourceElementsNode::execute(KJS::ExecState*)
#35 0x7f4ff86c in KJS::BlockNode::execute(KJS::ExecState*)
#36 0x7f4f5a4c in KJS:eclaredFunctionImp::execute(KJS::ExecState*)
#37 0x7f4da3b0 in KJS::FunctionImp::call(KJS::ExecState*, KJS::Object&, KJS::List const&
#38 0x7f4eb8a8 in KJS::FunctionCallNode::evaluate(KJS::ExecState*)
#39 0x7f4eeb10 in KJS::ExprStatementNode::execute(KJS::ExecState*)
#40 0x7f4f22a8 in KJS::SourceElementsNode::execute(KJS::ExecState*)
#41 0x7f4ff86c in KJS::BlockNode::execute(KJS::ExecState*)
#42 0x7f4e5b30 in KJS::InterpreterImp::evaluate(KJS::UString const&, KJS::Value const&
#43 0x7f4da8b8 in KJS::Interpreter::evaluate(KJS::UString const&, KJS::Value const&, KJS::UString const&
#44 0x7ec18104 in KJSProxyImpl::evaluate(QString, int, QString const&, DOM::Node const&
#45 0x7ecc28c8 in KHTMLPart::executeScript(QString, int, DOM::Node const&, QString const&
#46 0x7ec1f910 in HTMLTokenizer::scriptExecution(QString const&, QString, int)
#47 0x7ec1f4ac in HTMLTokenizer::scriptHandler()
#48 0x7ebef7fc in HTMLTokenizer:arseSpecial(khtml:OMStringIt&
#49 0x7ebe1eb4 in HTMLTokenizer:arseTag(khtml:OMStringIt&
#50 0x7ebdff70 in HTMLTokenizer::write(QString const&, bool)
#51 0x7ebdcce0 in KHTMLPart::write(char const*, int)
#52 0x7e36e5e4 in -[WebDataSource(WebPrivate) _receivedData:]
#53 0x7e36e44c in -[WebMainResourceClient connection:didReceiveData:]
#54 0x97ed0394 in -[NSURLConnection(NSURLConnectionInternal) _sendDidReceiveDataCallback]
#55 0x97ecffa8 in -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks]
#56 0x97df29d0 in -[NSArray makeObjectsPerformSelector:withObject:]
#57 0x97ef5bec in _sendCallbacks
#58 0x90149414 in __CFRunLoopDoSources0
#59 0x901487f8 in __CFRunLoopRun
#60 0x90180f58 in CFRunLoopRunSpecific
#61 0x969a3b70 in RunCurrentEventLoopInMode
#62 0x969b3b00 in ReceiveNextEventCommon
#63 0x969dabbc in BlockUntilNextEventMatchingListInMode
#64 0x9308dedc in _DPSNextEvent
#65 0x930a0158 in -[NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]
#66 0x00009920 in 0x9920
#67 0x930b1d88 in -[NSApplication run]
#68 0x9315fc58 in NSApplicationMain
#69 0x000071b4 in 0x71b4
#70 0x00007034 in 0x7034

Thread 1:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0xc0009190 in __ape_internal
#3 0xc0000efc in __ape_agent
#4 0x90020c28 in _pthread_body

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

Thread 3:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x901489f0 in __CFRunLoopRun
#3 0x90180f58 in CFRunLoopRunSpecific
#4 0x97e05680 in -[NSRunLoop runMode:beforeDate:]
#5 0x97e19188 in -[NSRunLoop run]
#6 0x97e68650 in +[NSURLConnection(NSURLConnectionInternal) _resourceLoadLoop:]
#7 0x97e2cc50 in forkThreadForFunction
#8 0x90020c28 in _pthread_body

Thread 4:
#0 0x9002568c in select
#1 0x97ef47a4 in _loadRunLoop
#2 0x90020c28 in _pthread_body

Thread 5:
#0 0x90073ba8 in mach_msg_trap
#1 0x90005ed0 in mach_msg
#2 0x901489f0 in __CFRunLoopRun
#3 0x90180f58 in CFRunLoopRunSpecific
#4 0x97e05680 in -[NSRunLoop runMode:beforeDate:]
#5 0x97e19188 in -[NSRunLoop run]
#6 0x97e67f94 in +[NSURLCache _diskCacheSyncLoop:]
#7 0x97e2cc50 in forkThreadForFunction
#8 0x90020c28 in _pthread_body

PPC Thread State:
srr0: 0x9017fe08 srr1: 0x0200f030 vrsave: 0x00000000
xer: 0x00000000 lr: 0x9017fde0 ctr: 0x901ba588 mq: 0x00000000
r0: 0x9017fde0 r1: 0xbfffc7b0 r2: 0x24002280 r3: 0x00000000
r4: 0x00000000 r5: 0x00002000 r6: 0x01ab647c r7: 0xbfffa710
r8: 0x00000000 r9: 0x00000000 r10: 0x000fbf70 r11: 0x00000014
r12: 0x901ba588 r13: 0x7ed8c710 r14: 0x7ed8c710 r15: 0x7e3d5d50
r16: 0x7e3d5d50 r17: 0x7e3d5d50 r18: 0x0012b150 r19: 0x7e3d5d50
r20: 0x7e3d5d50 r21: 0x01aa8070 r22: 0x00000000 r23: 0x01aa7f80
r24: 0x01aa7f60 r25: 0x00000000 r26: 0x00000000 r27: 0x00000000
r28: 0x00000000 r29: 0x00000000 r30: 0x00000000 r31: 0x9017fda0

**********
Polar Express RE-MASTERED >>in 3D<< for IMAX! www.imax.com
     
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status: Offline
Reply With Quote
Oct 7, 2003, 12:42 PM
 
I'm not in the know on this, but when you reinstalled Safari, did you clear out your preferences and other data files? Often problems with an application that arise from low-disk space situations are due to corrupted preference files or the like.
     
K++
Senior User
Join Date: Jan 2002
Location: NYC
Status: Offline
Reply With Quote
Oct 7, 2003, 02:37 PM
 
Looks like bad memory to me.
     
prutz11  (op)
Dedicated MacNNer
Join Date: Sep 2001
Location: New York, NY
Status: Offline
Reply With Quote
Oct 7, 2003, 08:46 PM
 
Originally posted by K++:
Looks like bad memory to me.
Thanks for the suggestion. I ran tech tool and everything tested out as ok. I don't think memory is the problem. I was thinking it might be a wierd permission error, but I fixed them all and it was a no go.

I did remove any prefrence files before reinstall.

ahhh... one other bit of information... These problems are only affecting my girlfriends account. Not mine.

Thanks much

<edit> typo you
(Last edited by prutz11; Oct 7, 2003 at 10:58 PM. )
Polar Express RE-MASTERED >>in 3D<< for IMAX! www.imax.com
     
Mac Elite
Join Date: Mar 2001
Location: Provo, UT
Status: Offline
Reply With Quote
Oct 7, 2003, 10:33 PM
 
ahhh... one other bit of information... These problems are only affecting you girlfriends account. Not mine.

I have a girlfriend? Does my wife know?
     
prutz11  (op)
Dedicated MacNNer
Join Date: Sep 2001
Location: New York, NY
Status: Offline
Reply With Quote
Oct 7, 2003, 10:56 PM
 
Originally posted by clarkgoble:
ahhh... one other bit of information... These problems are only affecting you girlfriends account. Not mine.

I have a girlfriend? Does my wife know?
LOL. What a strange typo. Hope I don't get you in trouble
Polar Express RE-MASTERED >>in 3D<< for IMAX! www.imax.com
     
Addicted to MacNN
Join Date: Feb 2001
Location: zurich, switzerland
Status: Offline
Reply With Quote
Oct 8, 2003, 01:35 AM
 
Originally posted by prutz11:
Thanks for the suggestion. I ran tech tool and everything tested out as ok. I don't think memory is the problem. I was thinking it might be a wierd permission error, but I fixed them all and it was a no go.

I did remove any prefrence files before reinstall.

ahhh... one other bit of information... These problems are only affecting my girlfriends account. Not mine.

Thanks much

<edit> typo you
If it happened all over the place, I would agree with K++ that it might be a memory error, but you saying it only happens on my (I mean your ) girlfriend's account and this string in the log,

#0 0x9017fe08 in CFPropertyListCreateFromStream
#1 0x97e54644 in +[NSPropertyListSerialization propertyListFromData:mutabilityOption:format:error
Description:]


make me think it's probably a corrupt plist file, and one in your girlfriend's directory at that. If you go into her home directory and go to the Library and then the Preferences directories and delete the com.apple.Safari.plist file, it might be ok again.

However, I'm only guessing. That a corrupt plist file causes a kernel crash is new to me.

If it really doesn't work after that, save her data, delete the account and make a new one, I would think.
weird wabbit
     
prutz11  (op)
Dedicated MacNNer
Join Date: Sep 2001
Location: New York, NY
Status: Offline
Reply With Quote
Oct 8, 2003, 02:09 AM
 
I am pretty sure now that the problem is with java 1.4.1. I think this because IE is still working fine and I have heard that IE still uses the old version of Java by default. I downloaded the Java 1.4.1 update from apple and tried to reinstall it, but it says that a newer version is already on the machine and it won't install. Can anyone think of a way to install this? Would it be safe to log in as root and delete Java so I can install it again? I looked for any preference files but did not see any. Are the preferences in something other than a .plist for java?

At this point I am about to take the suggestion to just make a new user, but I just feel like there has to be a cleaner way to solve the problem

Thanks for the help... hope all your girlfriends are well
Polar Express RE-MASTERED >>in 3D<< for IMAX! www.imax.com
     
Addicted to MacNN
Join Date: Feb 2001
Location: zurich, switzerland
Status: Offline
Reply With Quote
Oct 8, 2003, 01:31 PM
 
The crash log you posted has a dump from the WebFoundation, which is the core of Safari. This has nothing to do with Java. It can't really be that the problem is with the webfoundation itself as it works in your user profile, and specifically mentions an error while reading a plist. I would go ahead and make a new user, I think, and at the same time send the error to apple with the bug feedback feature in Safari (just in case it really is a WebFoundation problem)
weird wabbit
     
   
Thread Tools
Forum Links
Forum 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
Top
Privacy Policy
All times are GMT -5. The time now is 08:35 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2