WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
70808
ASSERTION FAILED: prev != *this in VisiblePosition.cpp
https://bugs.webkit.org/show_bug.cgi?id=70808
Summary
ASSERTION FAILED: prev != *this in VisiblePosition.cpp
Sudarsana Nagineni (babu)
Reported
2011-10-25 02:31:50 PDT
Steps to Reproduce: 1. Open Gmail and login 2. Click on Mail in the left (Just below the Gmail Logo) Result: This assert hits on the GTK debug build: Program terminated with signal 11, Segmentation fault. #0 0x00007f4f0284cb60 in WebCore::VisiblePosition::previous (this=0x7ffffb114880, rule=WebCore::CanCrossEditingBoundary) at ../../Source/WebCore/editing/VisiblePosition.cpp:89 89 ASSERT(prev != *this); (gdb) bt #0 0x00007f4f0284cb60 in WebCore::VisiblePosition::previous (this=0x7ffffb114880, rule=WebCore::CanCrossEditingBoundary) at ../../Source/WebCore/editing/VisiblePosition.cpp:89 #1 0x00007f4f02854b9f in WebCore::positionAvoidingFirstPositionInTable (c=...) at ../../Source/WebCore/editing/visible_units.cpp:324 #2 0x00007f4f02854ef2 in WebCore::startPositionForLine (c=...) at ../../Source/WebCore/editing/visible_units.cpp:369 #3 0x00007f4f02854f39 in WebCore::startOfLine (c=...) at ../../Source/WebCore/editing/visible_units.cpp:374 #4 0x00007f4f0285540a in WebCore::inSameLine (a=..., b=...) at ../../Source/WebCore/editing/visible_units.cpp:450 #5 0x00007f4f0284c966 in WebCore::VisiblePosition::init (this=0x7ffffb114e20, position=..., affinity=WebCore::UPSTREAM) at ../../Source/WebCore/editing/VisiblePosition.cpp:61 #6 0x00007f4f0284c8bd in WebCore::VisiblePosition::VisiblePosition (this=0x7ffffb114e20, pos=..., affinity=WebCore::UPSTREAM) at ../../Source/WebCore/editing/VisiblePosition.cpp:51 #7 0x00007f4f02d8fb46 in WebCore::RenderObject::createVisiblePosition (this=0x24728f8, offset=1, affinity=WebCore::UPSTREAM) at ../../Source/WebCore/rendering/RenderObject.cpp:2650 #8 0x00007f4f02dc3d7d in WebCore::createVisiblePositionForBox (box=0x2f7b808, offset=1, shouldAffinityBeDownstream=WebCore::UpstreamIfPositionIsNotAtStart) at ../../Source/WebCore/rendering/RenderText.cpp:517 #9 0x00007f4f02dc3eae in WebCore::createVisiblePositionAfterAdjustingOffsetForBiDi (box=0x2f7b808, offset=1, shouldAffinityBeDownstream=WebCore::UpstreamIfPositionIsNotAtStart) at ../../Source/WebCore/rendering/RenderText.cpp:527 #10 0x00007f4f02dc46f1 in WebCore::RenderText::positionForPoint (this=0x24728f8, point=...) at ../../Source/WebCore/rendering/RenderText.cpp:631 #11 0x00007f4f02affea6 in WebCore::EventHandler::handleMousePressEventSingleClick (this=0x1a9e928, event=...) at ../../Source/WebCore/page/EventHandler.cpp:409 #12 0x00007f4f02b005f5 in WebCore::EventHandler::handleMousePressEvent (this=0x1a9e928, event=...) at ../../Source/WebCore/page/EventHandler.cpp:518 #13 0x00007f4f02b03b58 in WebCore::EventHandler::handleMousePressEvent (this=0x1a9e928, mouseEvent=...) at ../../Source/WebCore/page/EventHandler.cpp:1496 #14 0x00007f4f033e39b7 in WebCore::EventHandler::passMousePressEventToSubframe (this=0x176d598, mev=..., subframe=0x1a9e120) at ../../Source/WebCore/page/gtk/EventHandlerGtk.cpp:104 #15 0x00007f4f02b035ad in WebCore::EventHandler::handleMousePressEvent (this=0x176d598, mouseEvent=...) at ../../Source/WebCore/page/EventHandler.cpp:1412 #16 0x00007f4f0240652c in webkit_web_view_button_press_event (widget=0x1746000, event=0x1c6d990) at ../../Source/WebKit/gtk/webkit/webkitwebview.cpp:795 #17 0x00007f4f014b0e58 in _gtk_marshal_BOOLEAN__BOXED (closure=0x1624230, return_value=0x7ffffb1156d0, n_param_values=<optimized out>, param_values=0x4906a40, invocation_hint=<optimized out>, marshal_data=<optimized out>) at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkmarshalers.c:85 #18 0x00007f4f00b760a4 in g_closure_invoke (closure=0x1624230, return_value=0x7ffffb1156d0, n_param_values=2, param_values=0x4906a40, invocation_hint=<optimized out>) at /build/buildd/glib2.0-2.30.0/./gobject/gclosure.c:774 #19 0x00007f4f00b87e5f in signal_emit_unlocked_R (node=<optimized out>, detail=0, instance=0x1746000, emission_return=0x7ffffb115830, instance_and_params=0x4906a40) at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c:3310 #20 0x00007f4f00b91483 in g_signal_emit_valist (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>, var_args=<optimized out>) at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c:3013 #21 0x00007f4f00b91852 in g_signal_emit (instance=<optimized out>, signal_id=<optimized out>, detail=<optimized out>) at /build/buildd/glib2.0-2.30.0/./gobject/gsignal.c:3060 #22 0x00007f4f015def39 in gtk_widget_event_internal (widget=0x1746000, event=0x1c6d990) at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkwidget.c:6132 #23 0x00007f4f014b063a in gtk_propagate_event (widget=0x1746000, event=0x1c6d990) at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkmain.c:2629 #24 0x00007f4f014b0a3b in gtk_main_do_event (event=0x1c6d990) at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkmain.c:1894 #25 0x00007f4efe5b7102 in gdk_event_source_dispatch (source=<optimized out>, callback=<optimized out>, user_data=<optimized out>) at /build/buildd/gtk+3.0-3.2.0/./gdk/x11/gdkeventsource.c:360 #26 0x00007f4f006b0a5d in g_main_dispatch (context=0x16574d0) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:2441 ---Type <return> to continue, or q <return> to quit--- #27 g_main_context_dispatch (context=0x16574d0) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3011 #28 0x00007f4f006b1258 in g_main_context_iterate (context=0x16574d0, block=<optimized out>, dispatch=1, self=<optimized out>) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3089 #29 0x00007f4f006b1792 in g_main_loop_run (loop=0x1864030) at /build/buildd/glib2.0-2.30.0/./glib/gmain.c:3297 #30 0x00007f4f014afe1d in gtk_main () at /build/buildd/gtk+3.0-3.2.0/./gtk/gtkmain.c:1367 #31 0x0000000000403a1d in main (argc=1, argv=0x7ffffb115d18) at ../../Tools/GtkLauncher/main.c:450
Attachments
Add attachment
proposed patch, testcase, etc.
Ryosuke Niwa
Comment 1
2011-10-25 13:10:55 PDT
Also see the
bug 70757
.
Sudarsana Nagineni (babu)
Comment 2
2011-10-29 08:45:45 PDT
(In reply to
comment #1
)
> Also see the
bug 70757
.
Thanks. This issue is not reproducible anymore.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug