Bug 151654 - [ATK] ASSERTION FAILED: inSameLine(temp, prev) running GTK+ test /webkit2/WebKitWebView/editable/editable
Summary: [ATK] ASSERTION FAILED: inSameLine(temp, prev) running GTK+ test /webkit2/Web...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: HTML Editing (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: Gtk
Depends on:
Blocks:
 
Reported: 2015-11-30 06:00 PST by Carlos Garcia Campos
Modified: 2017-03-11 10:58 PST (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Carlos Garcia Campos 2015-11-30 06:00:24 PST
Not sure if this is specific to ATK, but happens in objectFocusedAndCaretOffsetUnignored (WebKitAccessibleWrapperAtk.cpp). I tried to move the unit tests html code into an isolated test case, but the same code doesn't trigger the assert when run in MiniBrowser.

/webkit2/WebKitWebView/editable/editable:                            ASSERTION FAILED: inSameLine(temp, prev)

../../Source/WebCore/editing/VisiblePosition.cpp(97) : WebCore::VisiblePosition WebCore::VisiblePosition::previous(WebCore::EditingBoundaryCrossingRule) const

1   0x7ff40fb7d8f1 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libjavascriptcoregtk-4.0.so.18(WTFCrash+0x1e) [0x7ff40fb7d8f1]

2   0x7ff4166f60d7 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZNK7WebCore15VisiblePosition8previousENS_27EditingBoundaryCrossingRuleE+0x15b) [0x7ff4166f60d7]

3   0x7ff417391c13 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(objectFocusedAndCaretOffsetUnignored+0x42e) [0x7ff417391c13]

4   0x7ff4173925d8 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore14FrameSelection37notifyAccessibilityForSelectionChangeERKNS_23AXTextStateChangeIntentE+0x196) [0x7ff4173925d8]

5   0x7ff4166a7934 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore14FrameSelection24updateAndRevealSelectionERKNS_23AXTextStateChangeIntentE+0x11c) [0x7ff4166a7934]

6   0x7ff4166a77a4 /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore14FrameSelection12setSelectionERKNS_16VisibleSelectionEjNS_23AXTextStateChangeIntentENS0_19CursorAlignOnScrollENS_15TextGranularityE+0x128) [0x7ff4166a77a4]

7   0x7ff4166a637f /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore14FrameSelection6moveToERKNS_8PositionES3_NS_9EAffinityENS_14EUserTriggeredE+0xc9) [0x7ff4166a637f]

8   0x7ff416b28d8e /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore12DOMSelection16setBaseAndExtentEPNS_4NodeEiS2_iRi+0x116) [0x7ff416b28d8e]

9   0x7ff416b29fab /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore12DOMSelection17selectAllChildrenEPNS_4NodeERi+0x51) [0x7ff416b29fab]

10  0x7ff4177c4c3a /home/slave/webkitgtk/gtk-linux-64-debug/build/WebKitBuild/Debug/lib/libwebkit2gtk-4.0.so.37(_ZN7WebCore48jsDOMSelectionPrototypeFunctionSelectAllChildrenEPN3JSC9ExecStateE+0x198) [0x7ff4177c4c3a]

11  0x7ff3be3ff0c8 [0x7ff3be3ff0c8]

**

ERROR:../../Tools/TestWebKitAPI/gtk/WebKit2Gtk/WebViewTest.cpp:58:static gboolean WebViewTest::webProcessCrashed(WebKitWebView*, WebViewTest*): code should not be reached

FAIL
Comment 1 Carlos Garcia Campos 2015-11-30 06:21:47 PST
GTK+ test skipped for Debug builds in r192794.