<?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>106665</bug_id>
          
          <creation_ts>2013-01-11 07:29:45 -0800</creation_ts>
          <short_desc>[Qt] Crash when loading http://www.datejs.com/</short_desc>
          <delta_ts>2013-03-27 02:27:46 -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>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>108991</dup_id>
          
          <bug_file_loc>http://www.datejs.com/</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Blocker</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>108991</dependson>
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Arnaud LB">arnaud.lb</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>allan.jensen</cc>
    
    <cc>arnaud.lb</cc>
    
    <cc>svillar</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>805260</commentid>
    <comment_count>0</comment_count>
    <who name="Arnaud LB">arnaud.lb</who>
    <bug_when>2013-01-11 07:29:45 -0800</bug_when>
    <thetext>Opening http://www.datejs.com/ in a QWebView causes the process to crash.

This also seems to happen on any site using the datejs library.

The exact WebKit version is the one released with Qt 5.0.0.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>810598</commentid>
    <comment_count>1</comment_count>
    <who name="Sergio Villar Senin">svillar</who>
    <bug_when>2013-01-18 07:46:26 -0800</bug_when>
    <thetext>I cannot reproduce it with current trunk. Could you provide more information, a backtrace?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>810614</commentid>
    <comment_count>2</comment_count>
    <who name="Arnaud LB">arnaud.lb</who>
    <bug_when>2013-01-18 08:07:17 -0800</bug_when>
    <thetext>I reproduced this with &quot;fancybrowser&quot; from examples/webkitwidgets/fancybrowser:

$ gdb ./fancybrowser 
GNU gdb (GDB) 7.4.1-debian
Copyright (C) 2012 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later &lt;http://gnu.org/licenses/gpl.html&gt;
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type &quot;show copying&quot;
and &quot;show warranty&quot; for details.
This GDB was configured as &quot;i486-linux-gnu&quot;.
For bug reporting instructions, please see:
&lt;http://www.gnu.org/software/gdb/bugs/&gt;...
Reading symbols from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/fancybrowser...(no debugging symbols found)...done.
(gdb) r http://www.datejs.com/
Starting program: /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/fancybrowser http://www.datejs.com/
[Thread debugging using libthread_db enabled]
Using host libthread_db library &quot;/lib/i386-linux-gnu/i686/cmov/libthread_db.so.1&quot;.
[New Thread 0xf2271b70 (LWP 18195)]
Qt at-spi: error getting the accessibility dbus address:  &quot;The name org.a11y.Bus was not provided by any .service files&quot; 
Accessibility DBus not found. Falling back to session bus.
[New Thread 0xf18b3b70 (LWP 18196)]
[New Thread 0xf0d2fb70 (LWP 18197)]
[New Thread 0xf0274b70 (LWP 18200)]
[New Thread 0xefa73b70 (LWP 18201)]
[New Thread 0xee9fbb70 (LWP 18208)]

Program received signal SIGSEGV, Segmentation fault.
0xeda4908b in ?? ()
(gdb) bt
#0  0xeda4908b in ?? ()
#1  0xf62c8fa7 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#2  0xf62c7ef8 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#3  0xf63c76ac in JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, JSC::JSValue*) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#4  0xf528626f in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#5  0xf528686d in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#6  0xf60aa630 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#7  0xf545ad70 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#8  0xf545b30b in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#9  0xf545b845 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#10 0xf54483b8 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#11 0xf549e50c in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#12 0xf54a330a in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#13 0xf54fdf54 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#14 0xf54f328b in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#15 0xf56d5217 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#16 0xf56d3a3f in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#17 0xf56d5591 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#18 0xf56d5c39 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5WebKit.so.5
#19 0xf721c1bd in QMetaObject::activate(QObject*, int, int, void**) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#20 0xf721cbdb in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#21 0xf792fca5 in QNetworkReply::finished() () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Network.so.5
#22 0xf789ed60 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Network.so.5
#23 0xf79306f8 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Network.so.5
#24 0xf721a413 in QMetaCallEvent::placeMetaCall(QObject*) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#25 0xf721d872 in QObject::event(QEvent*) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#26 0xf7a51ec4 in QApplicationPrivate::notify_helper(QObject*, QEvent*) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Widgets.so.5
#27 0xf7a55738 in QApplication::notify(QObject*, QEvent*) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Widgets.so.5
#28 0xf71f37ae in QCoreApplication::notifyInternal(QObject*, QEvent*) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#29 0xf71f5974 in QCoreApplicationPrivate::sendPostedEvents(QObject*, int, QThreadData*) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#30 0xf71f5ecc in QCoreApplication::sendPostedEvents(QObject*, int) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#31 0xf7240aa4 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#32 0xf4d426d3 in g_main_context_dispatch () from /lib/i386-linux-gnu/libglib-2.0.so.0
#33 0xf4d42a70 in ?? () from /lib/i386-linux-gnu/libglib-2.0.so.0
#34 0xf4d42b51 in g_main_context_iteration () from /lib/i386-linux-gnu/libglib-2.0.so.0
#35 0xf7240eb8 in QEventDispatcherGlib::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#36 0xf2451ab6 in ?? () from /home/arnaud/Qt5.0.0/5.0.0/gcc/plugins/platforms/libqxcb.so
#37 0xf71f1fe6 in QEventLoop::processEvents(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#38 0xf71f2424 in QEventLoop::exec(QFlags&lt;QEventLoop::ProcessEventsFlag&gt;) () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#39 0xf71f5f72 in QCoreApplication::exec() () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Core.so.5
#40 0xf74a8214 in QGuiApplication::exec() () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Gui.so.5
#41 0xf7a4d074 in QApplication::exec() () from /home/arnaud/Qt5.0.0/5.0.0/gcc/examples/webkitwidgets/fancybrowser/../../../lib/libQt5Widgets.so.5
#42 0x0804b388 in ?? ()
#43 0xf6d61e46 in __libc_start_main (main=0x804b2b0, argc=2, ubp_av=0xffffd094, init=0x804d370, fini=0x804d3e0, rtld_fini=0xf7fee590, stack_end=0xffffd08c) at libc-start.c:228
#44 0x0804b44d in ?? ()


(With the Qt5.0.0 32bits binaries available for download at https://qt-project.org/downloads )</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>834706</commentid>
    <comment_count>3</comment_count>
    <who name="Arnaud LB">arnaud.lb</who>
    <bug_when>2013-02-16 06:34:46 -0800</bug_when>
    <thetext>Tried on Windows, MacOS. I can reproduce this only on Linux, so may be Linux specific.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>834710</commentid>
    <comment_count>4</comment_count>
    <who name="Arnaud LB">arnaud.lb</who>
    <bug_when>2013-02-16 06:54:01 -0800</bug_when>
    <thetext>Reproduced on a Debian box (64bit kernel, 32bit userland) and an Ubuntu VM (32bit).

Both &quot;fancybrowser&quot; and &quot;browser&quot; demos crash when loading http://datejs.com/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>862643</commentid>
    <comment_count>5</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2013-03-25 04:38:02 -0700</bug_when>
    <thetext>I can not reproduce this on 64bit linux. Could it be 32bit userland specific?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>862724</commentid>
    <comment_count>6</comment_count>
    <who name="Arnaud LB">arnaud.lb</who>
    <bug_when>2013-03-25 07:07:00 -0700</bug_when>
    <thetext>Yes, it seems.

I&apos;ve tried on a 64 bits ubuntu, and it doesn&apos;t crash there. Tried again on multile 32 bit systems, and it crashes on both.

So it seems to be specific to linux with 32 bits userland.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>863758</commentid>
    <comment_count>7</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2013-03-26 10:05:43 -0700</bug_when>
    <thetext>Confirmed on 32bit linux.
#0  0xb051708b in ?? ()
#1  0xb75f6934 in JSC::JITCode::execute(JSC::JSStack*, JSC::ExecState*, JSC::JSGlobalData*) ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#2  0xb75f57b4 in JSC::Interpreter::execute(JSC::ProgramExecutable*, JSC::ExecState*, JSC::JSObject*) ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#3  0xb77045e0 in JSC::evaluate(JSC::ExecState*, JSC::SourceCode const&amp;, JSC::JSValue, JSC::JSValue*) ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#4  0xb62d67ad in WebCore::ScriptController::evaluateInWorld(WebCore::ScriptSourceCode const&amp;, WebCore::DOMWrapperWorld*) () from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#5  0xb62d6f0b in WebCore::ScriptController::evaluate(WebCore::ScriptSourceCode const&amp;) ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#6  0xb64ff392 in WebCore::ScriptElement::executeScript(WebCore::ScriptSourceCode const&amp;) ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#7  0xb66d0ef0 in WebCore::HTMLScriptRunner::executePendingScriptAndDispatchEvent(WebCore::PendingScript&amp;) () from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#8  0xb66d1588 in WebCore::HTMLScriptRunner::executeParsingBlockingScript() ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#9  0xb66d19a8 in WebCore::HTMLScriptRunner::executeParsingBlockingScripts() ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#10 0xb66bb0e8 in WebCore::HTMLDocumentParser::notifyFinished(WebCore::CachedResource*) ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#11 0xb67fbb8b in WebCore::CachedResource::checkNotify() ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#12 0xb6800b8a in WebCore::CachedScript::data(WTF::PassRefPtr&lt;WebCore::ResourceBuffer&gt;, bool) ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#13 0xb686cae5 in WebCore::SubresourceLoader::didFinishLoading(double) ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#14 0xb685f23b in WebCore::ResourceLoader::didFinishLoading(WebCore::ResourceHandle*, double) ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#15 0xb6bfcb68 in WebCore::QNetworkReplyHandler::finish() ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#16 0xb6bfc88b in WebCore::QNetworkReplyHandlerCallQueue::flush() ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#17 0xb6bfca93 in WebCore::QNetworkReplyHandlerCallQueue::push(void (WebCore::QNetworkReplyHandler::*)())
    () from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#18 0xb6bfcfbf in WebCore::QNetworkReplyWrapper::didReceiveFinished() ()
   from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#19 0xb6bfd71d in WebCore::QNetworkReplyWrapper::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) [clone .part.69] () from /src/qtwebkit-23/WebKitBuild/Release/lib/libQtWebKit.so.4
#20 0xb51df6b1 in QMetaObject::activate(QObject*, QMetaObject const*, int, void**) ()
---Type &lt;return&gt; to continue, or q &lt;return&gt; to quit---
   from /usr/lib/i386-linux-gnu/libQtCore.so.4
#21 0xb5424db5 in QNetworkReply::finished() () from /usr/lib/i386-linux-gnu/libQtNetwork.so.4</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>863860</commentid>
    <comment_count>8</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2013-03-26 11:21:08 -0700</bug_when>
    <thetext>Seems to be fixed by the patch for bug 108991</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>864326</commentid>
    <comment_count>9</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2013-03-27 02:27:46 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 108991 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>