Re: crashing web browser with openURL call
Re: crashing web browser with openURL call
- Subject: Re: crashing web browser with openURL call
- From: Fred Baker <email@hidden>
- Date: Sat, 06 Jun 2009 08:16:00 -0700
On Jun 5, 2009, at 2:18 PM, iseecolors wrote:
I am making a call to openURL (in NSWorkspace) that works great as
long as the default browser is already running and has a window
open. However, if I make the call when the default browser is
either not running, or does not have a window open, the get the
console output below. I am guessing that there is something in the
web page that the browsers don't like, but I am not sure how to get
the browsers to give me more information.
Any hints or thoughts?
The call I make:
[[NSWorkspace sharedWorkspace] openURL: [NSURL URLWithString:
urlStr] ];
The console output I see:
6/5/09 2:11:34 PM [0x0-0xa70a7].com.apple.Safari[3281] Debugger()
was called!
6/5/09 2:11:34 PM com.apple.launchd[132]
([0x0-0xa70a7].com.apple.Safari[3281]) Exited abnormally: Interrupt
6/5/09 2:12:25 PM [0x0-0xa90a9].org.mozilla.firefox[3284] Debugger()
was called!
6/5/09 2:12:25 PM com.apple.launchd[132]
([0x0-0xa90a9].org.mozilla.firefox[3284]) Exited abnormally: Interrupt
6/5/09 2:12:25 PM com.apple.launchd[132]
([0x0-0xa90a9].org.mozilla.firefox[3284]) Exited abnormally: Interrupt
Rich Collyer
To address your supposition: Did you attempt to use some other URL to
see if it made any difference? If not the web page content, then is
urlStr formed correctly?
Are you certain your system has defined a default web browser (for
example, Preferences/General/Default Web Browser in Safari)?
Fred
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden