<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>95590</bug_id>
          
          <creation_ts>2012-08-31 11:02:18 -0700</creation_ts>
          <short_desc>[Gtk] Assert on ChromeClientGtk::scroll with delta (0, -1)</short_desc>
          <delta_ts>2012-08-31 15:51:37 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>WebKitGTK</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="José Dapena Paz">jdapena</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>webkit.review.bot</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>709808</commentid>
    <comment_count>0</comment_count>
    <who name="José Dapena Paz">jdapena</who>
    <bug_when>2012-08-31 11:02:18 -0700</bug_when>
    <thetext>Steps to reproduce:
1. Build WK1-GTK  with Accelerated compositing and webgl enabled.
2. Run GtkLauncher
3. Open http://2012.beercamp.com

Outcome: crash due to the  assert.

Assert:
ASSERTION FAILED: !delta.isEmpty()

Backtrace:
#0  0x00007ffff531cc27 in WebKit::ChromeClient::scroll (this=0x59b780, delta=..., rectToScroll=..., clipRect=...) at ../../Source/WebKit/gtk/WebCoreSupport/ChromeClientGtk.cpp:654
#1  0x00007ffff5bdd09c in WebCore::Chrome::scroll (this=0x5bb7e0, scrollDelta=..., rectToScroll=..., clipRect=...) at ../../Source/WebCore/page/Chrome.cpp:97
#2  0x00007ffff5c2bf40 in WebCore::FrameView::scrollContentsFastPath (this=0x1780480, scrollDelta=..., rectToScroll=..., clipRect=...) at ../../Source/WebCore/page/FrameView.cpp:1554
#3  0x00007ffff5d7cd59 in WebCore::ScrollView::scrollContents (this=0x1780480, scrollDelta=...) at ../../Source/WebCore/platform/ScrollView.cpp:678
#4  0x00007ffff5d7b00f in WebCore::ScrollView::scrollTo (this=0x1780480, newOffset=...) at ../../Source/WebCore/platform/ScrollView.cpp:385
#5  0x00007ffff5c30714 in WebCore::FrameView::scrollTo (this=0x1780480, newOffset=...) at ../../Source/WebCore/page/FrameView.cpp:2693
#6  0x00007ffff5d7af68 in WebCore::ScrollView::setScrollOffset (this=0x1780480, offset=...) at ../../Source/WebCore/platform/ScrollView.cpp:365
#7  0x00007ffff5d741fa in WebCore::ScrollableArea::scrollPositionChanged (this=0x17804d0, position=...) at ../../Source/WebCore/platform/ScrollableArea.cpp:147
#8  0x00007ffff5d74491 in WebCore::ScrollableArea::setScrollOffsetFromAnimation (this=0x17804d0, offset=...) at ../../Source/WebCore/platform/ScrollableArea.cpp:192
#9  0x00007ffff5d712e1 in WebCore::ScrollAnimator::notifyPositionChanged (this=0x97f0c0) at ../../Source/WebCore/platform/ScrollAnimator.cpp:149
#10 0x00007ffff5d70c79 in WebCore::ScrollAnimator::scrollToOffsetWithoutAnimation (this=0x97f0c0, offset=...) at ../../Source/WebCore/platform/ScrollAnimator.cpp:79
#11 0x00007ffff5d74090 in WebCore::ScrollableArea::scrollToOffsetWithoutAnimation (this=0x17804d0, offset=...) at ../../Source/WebCore/platform/ScrollableArea.cpp:126
#12 0x00007ffff5d7c7fd in WebCore::ScrollView::updateScrollbars (this=0x1780480, desiredOffset=...) at ../../Source/WebCore/platform/ScrollView.cpp:623
#13 0x00007ffff5d7b203 in WebCore::ScrollView::setScrollPosition (this=0x1780480, scrollPoint=...) at ../../Source/WebCore/platform/ScrollView.cpp:420
#14 0x00007ffff5c2cd09 in WebCore::FrameView::setScrollPosition (this=0x1780480, scrollPoint=...) at ../../Source/WebCore/page/FrameView.cpp:1762
#15 0x00007ffff5bf91af in WebCore::DOMWindow::scrollTo (this=0x10c9e40, x=0, y=1) at ../../Source/WebCore/page/DOMWindow.cpp:1414
#16 0x00007ffff61e5c49 in WebCore::jsDOMWindowPrototypeFunctionScrollTo (exec=0x7fff86bfe088) at DerivedSources/WebCore/JSDOMWindow.cpp:9653
#17 0x00007fffab5a4265 in ?? ()
#18 0x00007fffffffc9f0 in ?? ()
#19 0x00007ffff3b80079 in llint_op_call () from /home/jose/Desarrollo/git/WebKit/WebKitBuild/Debug/.libs/libjavascriptcoregtk-3.0.so.0
#20 0x00007fffffffc980 in ?? ()
#21 0x00007fffffffc9b0 in ?? ()
#22 0x00007fff954f1d00 in ?? ()
#23 0x00007ffff3a84c77 in JSC::Register::Register (this=0x0) at ../../Source/JavaScriptCore/interpreter/Register.h:105
#24 0x00007ffff3b2d3aa in JSC::JITCode::execute (this=0x7fff8434ea68, registerFile=0x5ebb38, callFrame=0x7fff86bfe038, globalData=0x89fbe0) at ../../Source/JavaScriptCore/jit/JITCode.h:133
#25 0x00007ffff3b29cc0 in JSC::Interpreter::executeCall (this=0x5ebb20, callFrame=0x7fffa81cf388, function=0x7fff954f1d00, callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../Source/JavaScriptCore/interpreter/Interpreter.cpp:1045
#26 0x00007ffff3bf64b1 in JSC::call (exec=0x7fffa81cf388, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../Source/JavaScriptCore/runtime/CallData.cpp:39
#27 0x00007ffff5482bf3 in WebCore::JSMainThreadExecState::call (exec=0x7fffa81cf388, functionObject=..., callType=JSC::CallTypeJS, callData=..., thisValue=..., args=...) at ../../Source/WebCore/bindings/js/JSMainThreadExecState.h:56
#28 0x00007ffff54e6dbb in WebCore::ScheduledAction::executeFunctionInContext (this=0x2061030, globalObject=0x7fffa81cf180, thisValue=..., context=0x12454d8) at ../../Source/WebCore/bindings/js/ScheduledAction.cpp:115
#29 0x00007ffff54e6f92 in WebCore::ScheduledAction::execute (this=0x2061030, document=0x12453b0) at ../../Source/WebCore/bindings/js/ScheduledAction.cpp:137
#30 0x00007ffff54e6b32 in WebCore::ScheduledAction::execute (this=0x2061030, context=0x12454d8) at ../../Source/WebCore/bindings/js/ScheduledAction.cpp:83
#31 0x00007ffff5bf38a6 in WebCore::DOMTimer::fired (this=0xa9d7e0) at ../../Source/WebCore/page/DOMTimer.cpp:149
#32 0x00007ffff5da32b9 in WebCore::ThreadTimers::sharedTimerFiredInternal (this=0x5de160) at ../../Source/WebCore/platform/ThreadTimers.cpp:115
#33 0x00007ffff5da31e7 in WebCore::ThreadTimers::sharedTimerFired () at ../../Source/WebCore/platform/ThreadTimers.cpp:93
#34 0x00007ffff64c15ca in WebCore::timeout_cb () at ../../Source/WebCore/platform/gtk/SharedTimerGtk.cpp:49
#35 0x00007ffff471f379 in g_timeout_dispatch (source=0x9b8a10, callback=0x7ffff64c15a9 &lt;WebCore::timeout_cb(gpointer)&gt;, user_data=0x0) at gmain.c:3882
#36 0x00007ffff471d5ec in g_main_dispatch (context=0x472ef0) at gmain.c:2539
#37 0x00007ffff471e291 in g_main_context_dispatch (context=0x472ef0) at gmain.c:3075
#38 0x00007ffff471e474 in g_main_context_iterate (context=0x472ef0, block=1, dispatch=1, self=0x74d120) at gmain.c:3146
#39 0x00007ffff471e89d in g_main_loop_run (loop=0x76af00) at gmain.c:3340
#40 0x00007ffff4b871ae in gtk_main () at gtkmain.c:1161
#41 0x000000000040546d in main (argc=1, argv=0x7fffffffd268) at ../../Tools/GtkLauncher/main.c:534</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>709823</commentid>
    <comment_count>1</comment_count>
      <attachid>161738</attachid>
    <who name="José Dapena Paz">jdapena</who>
    <bug_when>2012-08-31 11:16:04 -0700</bug_when>
    <thetext>Created attachment 161738
Patch</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>709833</commentid>
    <comment_count>2</comment_count>
      <attachid>161738</attachid>
    <who name="Martin Robinson">mrobinson</who>
    <bug_when>2012-08-31 11:27:48 -0700</bug_when>
    <thetext>Comment on attachment 161738
Patch

Great! Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>710039</commentid>
    <comment_count>3</comment_count>
      <attachid>161738</attachid>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-08-31 15:51:35 -0700</bug_when>
    <thetext>Comment on attachment 161738
Patch

Clearing flags on attachment: 161738

Committed r127328: &lt;http://trac.webkit.org/changeset/127328&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>710040</commentid>
    <comment_count>4</comment_count>
    <who name="WebKit Review Bot">webkit.review.bot</who>
    <bug_when>2012-08-31 15:51:37 -0700</bug_when>
    <thetext>All reviewed patches have been landed.  Closing bug.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>161738</attachid>
            <date>2012-08-31 11:16:04 -0700</date>
            <delta_ts>2012-08-31 15:51:35 -0700</delta_ts>
            <desc>Patch</desc>
            <filename>bug-95590-20120831201551.patch</filename>
            <type>text/plain</type>
            <size>1615</size>
            <attacher name="José Dapena Paz">jdapena</attacher>
            
              <data encoding="base64">U3VidmVyc2lvbiBSZXZpc2lvbjogMTI3MTQwCmRpZmYgLS1naXQgYS9Tb3VyY2UvV2ViS2l0L2d0
ay9DaGFuZ2VMb2cgYi9Tb3VyY2UvV2ViS2l0L2d0ay9DaGFuZ2VMb2cKaW5kZXggMDQzNjVmMzI5
NDgwNDY5YjdiZDM1NDYwNTM0NjM2ZmUzNjkxMjE5NS4uYWI3OTgzNDMyMGJjYjQ2ZmE0MTc4Yzdk
MWY1N2RlZjVlMzNlZGNkMyAxMDA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