[Webkit-unassigned] [Bug 11865] New: ASSERTION FAILURE: Control-click-and-drag on link causes _private->mouseDownEvent != nil assertion in [WebHTMLView(WebInternal) _delegateDragSourceActionMask]

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 17 18:18:30 PST 2006


http://bugs.webkit.org/show_bug.cgi?id=11865

           Summary: ASSERTION FAILURE: Control-click-and-drag on link causes
                    _private->mouseDownEvent != nil assertion in
                    [WebHTMLView(WebInternal) _delegateDragSourceActionMask]
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebCore Misc.
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: ddkilzer at kilzer.net


Summary:

Holding the Control key down and doing a click-and-drag on a link causes an
assertion failure in debug builds of WebKit.

Steps to reproduce:

1. Load a web page with links.
2. While holding down the Control key, click-and-drag a link on the page.

Expected results:

WebKit shouldn't crash (and should probably default to click-and-drag without
the Control key).

Actual results:

WebKit crashses on debug builds with an asssertion failure:

ASSERTION FAILED: _private->mouseDownEvent != nil
(/Users/ddkilzer/Projects/Cocoa/WebKit/WebKit/WebView/WebHTMLView.m:5093
-[WebHTMLView(WebInternal) _delegateDragSourceActionMask])
Segmentation fault

Notes:

Crash log from locally-built debug build of WebKit r18273 with Safari 2.0.4
(419.3) on Mac OS X 10.4.8 (8L127):

Date/Time:      2006-12-17 20:04:22.894 -0600
OS Version:     10.4.8 (Build 8L127)
Report Version: 4

Command: Safari
Path:    /Applications/Safari.app/Contents/MacOS/Safari
Parent:  bash [16966]

Version:        2.0.4 (419.3)
Build Version:  1
Project Name:   WebBrowser
Source Version: 4190300

PID:    4470
Thread: 0

Exception:  EXC_BAD_ACCESS (0x0001)
Codes:      KERN_INVALID_ADDRESS (0x0001) at 0xbbadbeef

Thread 0 Crashed:
0   com.apple.WebKit            0x00363288 -[WebHTMLView(WebInternal)
_delegateDragSourceActionMask] + 96 (WebHTMLView.m:5093)
1   com.apple.WebKit            0x00337510 -[WebFrameBridge
allowDHTMLDrag:UADrag:] + 292 (WebFrameBridge.mm:823)
2   com.apple.WebCore           0x014e344c
WebCore::EventHandler::handleDrag(WebCore::MouseEventWithHitTestResults const&)
+ 604 (EventHandlerMac.mm:561)
3   com.apple.WebCore           0x014e4f38
WebCore::EventHandler::handleMouseMoveEvent(WebCore::MouseEventWithHitTestResults
const&) + 48 (EventHandler.cpp:293)
4   com.apple.WebCore           0x014ea4a0
WebCore::EventHandler::handleMouseMoveEvent(WebCore::PlatformMouseEvent const&)
+ 1188 (EventHandler.cpp:835)
5   com.apple.WebCore           0x01132778
WebCore::FrameView::handleMouseMoveEvent(WebCore::PlatformMouseEvent const&) +
72 (FrameView.cpp:849)
6   com.apple.WebCore           0x014e0520
WebCore::EventHandler::mouseDragged(NSEvent*) + 412 (EventHandlerMac.mm:842)
7   com.apple.WebKit            0x0035a244 -[WebHTMLView mouseDragged:] + 336
(WebHTMLView.m:3004)
8   com.apple.AppKit            0x93767fa0 -[NSWindow sendEvent:] + 6424
9   com.apple.Safari            0x00021734 0x1000 + 132916
10  com.apple.AppKit            0x937108d4 -[NSApplication sendEvent:] + 4172
11  com.apple.Safari            0x00021238 0x1000 + 131640
12  com.apple.AppKit            0x93707d10 -[NSApplication run] + 508
13  com.apple.AppKit            0x937f887c NSApplicationMain + 452
14  com.apple.Safari            0x0005c77c 0x1000 + 374652
15  com.apple.Safari            0x0005c624 0x1000 + 374308


-- 
Configure bugmail: http://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list