<?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>133714</bug_id>
          
          <creation_ts>2014-06-10 20:28:02 -0700</creation_ts>
          <short_desc>webkitgtk shows scrambled screen/crashes when showing mobile wikipedia</short_desc>
          <delta_ts>2017-03-11 11:03:43 -0800</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>NEW</bug_status>
          <resolution></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>1</everconfirmed>
          <reporter name="Dustin Spicuzza">dustin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>berto</cc>
    
    <cc>bugs-noreply</cc>
    
    <cc>cgarcia</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1014643</commentid>
    <comment_count>0</comment_count>
    <who name="Dustin Spicuzza">dustin</who>
    <bug_when>2014-06-10 20:28:02 -0700</bug_when>
    <thetext>Now, stay with me for a second, as there are two bugs that I&apos;m reporting here, but I suspect they&apos;re caused by the same problem.

BUG #1:

When running the attached python program, I just get a blank window with a bunch of garbage in it. The program just accesses the mobile wikipedia site and tries to show a window. It&apos;s simple enough, seems like it should work. Changing the URL to google.com works without a problem.

I suspect that if you can diagnose/fix this bug, then bug #2 will also be fixed. 

BUG #2:

Accessing mobile wikipedia reliably crashes the trunk version of Exaile media player (note: I&apos;m a primary maintainer of Exaile) using the Wikipedia plugin (see https://bugs.launchpad.net/exaile/+bug/1243712). The wikipedia plugin uses webkitgtk to render the wiki pages, and I get error messages + stack trace that looks something like this there:

** Message: console message: http://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&amp;lang=en&amp;modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&amp;only=scripts&amp;skin=minerva&amp;version=20140606T033439Z @164: Use of &quot;name&quot; is deprecated. Use mw.user.getName instead.

** Message: console message: http://bits.wikimedia.org/en.wikipedia.org/load.php?debug=false&amp;lang=en&amp;modules=jquery%2Cmediawiki%2CSpinner%7Cjquery.triggerQueueCallback%2CloadingSpinner%2CmwEmbedUtil%7Cmw.MwEmbedSupport&amp;only=scripts&amp;skin=minerva&amp;version=20140606T033439Z @164: Use of &quot;anonymous&quot; is deprecated. Use mw.user.isAnon instead.

pure virtual method called
terminate called without an active exception

Program received signal SIGABRT, Aborted.
0x00007ffff6d62c39 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
56	  return INLINE_SYSCALL (tgkill, 3, pid, selftid, sig);


(gdb) bt
#0  0x00007ffff6d62c39 in __GI_raise (sig=sig@entry=6) at ../nptl/sysdeps/unix/sysv/linux/raise.c:56
#1  0x00007ffff6d64348 in __GI_abort () at abort.c:89
#2  0x00007fffd03d9f85 in __gnu_cxx::__verbose_terminate_handler () at ../../../../libstdc++-v3/libsupc++/vterminate.cc:95
#3  0x00007fffd03d7ee6 in __cxxabiv1::__terminate (handler=&lt;optimized out&gt;) at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:38
#4  0x00007fffd03d7f13 in std::terminate () at ../../../../libstdc++-v3/libsupc++/eh_terminate.cc:48
#5  0x00007fffd03d8a7f in __cxxabiv1::__cxa_pure_virtual () at ../../../../libstdc++-v3/libsupc++/pure.cc:50
#6  0x00007fffd5451e7c in WebCore::JSNodeOwner::isReachableFromOpaqueRoots () from /lib64/libwebkitgtk-1.0.so.0
#7  0x00007fffd466f1b5 in JSC::WeakBlock::visit () from /lib64/libjavascriptcoregtk-1.0.so.0
#8  0x00007fffd466c3fb in JSC::MarkedSpace::visitWeakSets () from /lib64/libjavascriptcoregtk-1.0.so.0
#9  0x00007fffd466195a in JSC::Heap::markRoots () from /lib64/libjavascriptcoregtk-1.0.so.0
#10 0x00007fffd466373a in JSC::Heap::collect () from /lib64/libjavascriptcoregtk-1.0.so.0
#11 0x00007fffd5402387 in collect () from /lib64/libwebkitgtk-1.0.so.0
#12 0x00007fffd53b49b9 in WebCore::ThreadTimers::sharedTimerFiredInternal () from /lib64/libwebkitgtk-1.0.so.0
#13 0x00007fffd53c9e12 in timeout_cb () from /lib64/libwebkitgtk-1.0.so.0
#14 0x00007fffec06ee43 in g_timeout_dispatch (source=source@entry=0x1c87a20, callback=&lt;optimized out&gt;, user_data=&lt;optimized out&gt;)
    at gmain.c:4451
#15 0x00007fffec06e2a6 in g_main_dispatch (context=0xa18ef0) at gmain.c:3066
#16 g_main_context_dispatch (context=context@entry=0xa18ef0) at gmain.c:3642
#17 0x00007fffec06e628 in g_main_context_iterate (context=0xa18ef0, block=block@entry=1, dispatch=dispatch@entry=1, 
    self=&lt;optimized out&gt;) at gmain.c:3713
#18 0x00007fffec06ea3a in g_main_loop_run (loop=0x448ba60) at gmain.c:3907

... truncated. 

Please let me know if I can provide other information that could be useful to debug/fix this. I&apos;d like to close the Exaile bug before our next release.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1014644</commentid>
    <comment_count>1</comment_count>
      <attachid>232844</attachid>
    <who name="Dustin Spicuzza">dustin</who>
    <bug_when>2014-06-10 20:28:55 -0700</bug_when>
    <thetext>Created attachment 232844
Python script that shows scrambled window</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>232844</attachid>
            <date>2014-06-10 20:28:55 -0700</date>
            <delta_ts>2014-06-10 20:28:55 -0700</delta_ts>
            <desc>Python script that shows scrambled window</desc>
            <filename>webtest.py</filename>
            <type>text/x-python</type>
            <size>397</size>
            <attacher name="Dustin Spicuzza">dustin</attacher>
            
              <data encoding="base64">IyEvdXNyL2Jpbi9lbnYgcHl0aG9uCgppbXBvcnQgZ3RrCmltcG9ydCB3ZWJraXQKCmd0ay5nZGsu
dGhyZWFkc19pbml0KCkKCndpbmRvdyA9IGd0ay5XaW5kb3coKQp2aWV3ID0gd2Via2l0LldlYlZp
ZXcoKQp2aWV3Lm9wZW4oJ2h0dHA6Ly9lbi5tLndpa2lwZWRpYS5vcmcvd2lraS9BbGJlcnRhX0h1
bnRlcicpICAjIHRoaXMgYnJlYWtzCiN2aWV3Lm9wZW4oJ2h0dHA6Ly93d3cuZ29vZ2xlLmNvbScp
ICAgICAgICAgICAgICAgICAgICAgICAgICMgdGhpcyB3b3Jrcywgbm8gcHJvYmxlbXMKd2luZG93
LmFkZCh2aWV3KQp3aW5kb3cuc2hvd19hbGwoKQp3aW5kb3cuY29ubmVjdCgnZGVsZXRlLWV2ZW50
JywgbGFtYmRhIHdpbmRvdywgZXZlbnQ6IGd0ay5tYWluX3F1aXQoKSkKCmd0ay5tYWluKCkKCg==
</data>

          </attachment>
      

    </bug>

</bugzilla>