Bug 12674 - REGRESSION: NetNewsWire 3.0 - Crashes in WebDocumentLoaderMac::attachToFrame()
Summary: REGRESSION: NetNewsWire 3.0 - Crashes in WebDocumentLoaderMac::attachToFrame()
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Page Loading (show other bugs)
Version: 420+
Hardware: Mac OS X 10.4
: P1 Normal
Assignee: Anders Carlsson
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2007-02-06 23:37 PST by Maciej Stachowiak
Modified: 2007-02-16 18:16 PST (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Stachowiak 2007-02-06 23:37:30 PST
2006-11-02 10:08:53 Ryan Nielsen:
I have NNW 3.0d6 set to show my news in the Combined View, which renders all of the news items on a single web page. Often on current Leopard builds (ever since the last WebKit submission), NNW will crash when I click on a news item. Here's the crashing thread's back trace and I've attached a crash log.

Thread 0 Crashed:
0   libobjc.A.dylib               	0x9082c606 __objc_error + 0
1   libobjc.A.dylib               	0x9082c63a __objc_error + 52
2   libobjc.A.dylib               	0x9082b76c _freedHandler + 58
3   com.apple.CoreFoundation      	0x9026c2f6 CFRetain + 86
4   com.apple.WebKit              	0x9e817f8e WebDocumentLoaderMac::attachToFrame() + 46
5   com.apple.WebCore             	0x94940aeb WebCore::FrameLoader::setPolicyDocumentLoader(WebCore::DocumentLoader*) + 43
6   com.apple.WebCore             	0x94943aa5 WebCore::FrameLoader::load(WebCore::DocumentLoader*, WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::FormState>) + 117
7   com.apple.WebCore             	0x949444ce WebCore::FrameLoader::load(NSURLRequest*, NSDictionary*, WebCore::FrameLoadType, WTF::PassRefPtr<WebCore::FormState>) + 158
8   com.apple.WebCore             	0x94944f1e WebCore::FrameLoader::load(NSURL*, NSString*, WebCore::FrameLoadType, NSString*, NSEvent*, WebCore::Element*, NSDictionary*) + 750
9   com.apple.WebCore             	0x946a3ba6 WebCore::FrameMac::loadRequest(WebCore::FrameLoadRequest const&, bool, NSEvent*, WebCore::Element*, NSMutableDictionary*) + 918
10  com.apple.WebCore             	0x946a44e3 WebCore::FrameMac::urlSelected(WebCore::FrameLoadRequest const&, WebCore::Event const*) + 579
11  com.apple.WebCore             	0x946909d6 WebCore::Frame::urlSelected(WebCore::ResourceRequest const&, WebCore::String const&, WebCore::Event const*, bool) + 1094
12  com.apple.WebCore             	0x94854d32 WebCore::HTMLAnchorElement::defaultEventHandler(WebCore::Event*) + 1250
13  com.apple.WebCore             	0x947de323 WebCore::EventTargetNode::dispatchGenericEvent(WTF::PassRefPtr<WebCore::Event>, int&, bool) + 675
14  com.apple.WebCore             	0x947de723 WebCore::EventTargetNode::dispatchEvent(WTF::PassRefPtr<WebCore::Event>, int&, bool) + 179
15  com.apple.WebCore             	0x947dedf2 WebCore::EventTargetNode::dispatchMouseEvent(WebCore::AtomicString const&, int, int, int, int, int, int, bool, bool, bool, bool, bool, WebCore::Node*) + 466
16  com.apple.WebCore             	0x947df19e WebCore::EventTargetNode::dispatchMouseEvent(WebCore::PlatformMouseEvent const&, WebCore::AtomicString const&, int, WebCore::Node*) + 142
17  com.apple.WebCore             	0x946a8fc9 WebCore::FrameView::dispatchMouseEvent(WebCore::AtomicString const&, WebCore::Node*, bool, int, WebCore::PlatformMouseEvent const&, bool) + 409
18  com.apple.WebCore             	0x946ab0cc WebCore::FrameView::handleMouseReleaseEvent(WebCore::PlatformMouseEvent const&) + 620
19  com.apple.WebCore             	0x9469b01b WebCore::FrameMac::mouseUp(NSEvent*) + 235
20  com.apple.WebKit              	0x9e7b0610 -[WebHTMLView mouseUp:] + 208
21  com.apple.AppKit              	0x91e292ed -[NSWindow sendEvent:] + 5516
22  com.ranchero.NetNewsWire      	0x0008be32 -[NNWMainWindow sendEvent:] + 145 (NNWMainWindow.m:79)
23  com.apple.AppKit              	0x91e1a3a6 -[NSApplication sendEvent:] + 2839
24  com.ranchero.RancheroAppKit   	0xc9000ed6 -[RSApplication sendEvent:] + 74
25  com.ranchero.NetNewsWire      	0x00089f83 -[NNWApplication sendEvent:] + 2362 (NNWApplication.m:197)
26  com.apple.AppKit              	0x91d4d819 -[NSApplication run] + 847
27  com.apple.AppKit              	0x91d415da NSApplicationMain + 663
28  com.ranchero.NetNewsWire      	0x00003132 _start + 228 (crt.c:272)
29  com.ranchero.NetNewsWire      	0x0000304d start + 41
30  ???                           	0x00000002 0 + 2

2006-11-02 10:09:32 Ryan Nielsen:
While I'm using a very version of NNW, I never saw this crash until recently. 

2006-11-05 02:03:44 Stephanie Lewis:
Duplicate of 4817479

2006-11-05 02:04:43 Stephanie Lewis:
oops, other way around 4817479 is a dupe of this bug

2006-11-05 17:30:59 Stephanie Lewis:
Can get new version of netnewswire here http://ranchero.com/netnewswire/.php.  Have not been able to reproduce in Leopard 9A300.

2006-11-05 18:40:20 Eric Christopher:
I was seeing this in NewsFire and can reproduce in 9A300.

2006-11-06 00:44:36 Ryan Nielsen:
I can repro on demand if someone would like to look @ one of my machines. The trick is to use the combined view (ctrl-3 or View->Layout->Combined) when viewing articles. Then all you need to do is click on the headlines for two articles.

2006-11-06 15:25:50 Brady Eidson:
Ryan - thanks for the clarified steps.  Using them I got the crash in the debugger.  Taking a look...

2006-11-06 15:27:24 Brady Eidson:
BTW, to clarify, I got it with ToT sources on Tiger, so it's not Leopard specific

2006-11-14 10:54:05 Stephanie Lewis:
Safari BRB Reviewed

2006-12-22 17:09:12 Brady Eidson:
I'm finally getting to this one - for some, inexplicable reason my ability to repro has gone away.  Specifically, I can no longer activate the combined view via the menu or Command-3...  ugh

2006-12-22 17:11:36 Brady Eidson:
Getting CrashTracer reports for this in higher-than-expected volumes... Need to regain my ability to repro!  I was using 3.0d7, I will try a different version

2006-12-22 17:13:02 Brady Eidson:
Wiping prefs worked (what a shocker...)

<rdar://problem/4816376>
Comment 1 Anders Carlsson 2007-02-08 20:06:06 PST
I know why this happens, reassigning to myself.
Comment 2 Anders Carlsson 2007-02-16 18:16:11 PST
This was fixed in revision 19537, closing.