<?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>120585</bug_id>
          
          <creation_ts>2013-09-01 13:31:46 -0700</creation_ts>
          <short_desc>[Qt4] Crash on tools.wmflabs.org</short_desc>
          <delta_ts>2013-12-20 12:14:12 -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>WebKit Qt</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          <blocked>88186</blocked>
          <everconfirmed>0</everconfirmed>
          <reporter>jingdow</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>allan.jensen</cc>
    
    <cc>arurajku</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>923557</commentid>
    <comment_count>0</comment_count>
    <who name="">jingdow</who>
    <bug_when>2013-09-01 13:31:46 -0700</bug_when>
    <thetext>Qtwebkit based browsers with WebGL enabled crash on tools.wmflabs.org pages.

Page: http://tools.wmflabs.org/geohack/geohack.php?pagename=Gates_of_Belgrade&amp;params=44_47_3_N_20_30_44_E_&amp;title=Eastern+Gate+of+Belgrade

qtwebkit version: 2.3.2 (latest git from http://gitorious.org/webkit/qtwebkit-23)

Browsers tested: QupZilla &amp; QtTestBrowser

Backtraces:
QupZilla: http://pastebin.com/gVZGmAnM
QtTestBrowser: http://pastebin.com/vuUmxgae

Note: In QtTestBrowser you must enable WebGL in order to reproduce the crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923581</commentid>
    <comment_count>1</comment_count>
    <who name="Arunprasad Rajkumar">arurajku</who>
    <bug_when>2013-09-01 21:41:23 -0700</bug_when>
    <thetext>(In reply to comment #0)
&gt; Qtwebkit based browsers with WebGL enabled crash on tools.wmflabs.org pages.
&gt; 
&gt; Page: http://tools.wmflabs.org/geohack/geohack.php?pagename=Gates_of_Belgrade&amp;params=44_47_3_N_20_30_44_E_&amp;title=Eastern+Gate+of+Belgrade
&gt; 
&gt; qtwebkit version: 2.3.2 (latest git from http://gitorious.org/webkit/qtwebkit-23)
&gt; 
&gt; Browsers tested: QupZilla &amp; QtTestBrowser
&gt; 
&gt; Backtraces:
&gt; QupZilla: http://pastebin.com/gVZGmAnM
&gt; QtTestBrowser: http://pastebin.com/vuUmxgae
&gt; 
&gt; Note: In QtTestBrowser you must enable WebGL in order to reproduce the crash.

What is your Graphics Driver? Incase your&apos;s is not MESA, try with MESA &amp; share the results?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923587</commentid>
    <comment_count>2</comment_count>
    <who name="">jingdow</who>
    <bug_when>2013-09-01 22:28:57 -0700</bug_when>
    <thetext>It could be the mesa&apos;s fault! I use mesa git tree (r600g), and recently they&apos;ve enabled &apos;sb&apos; shader optimization backend as default. I&apos;ve tried several other pages which require WebGL (among them a simple http://get.webgl.org/), and I get a crash every time.

Will it help if I build mesa with debugging symbols?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923588</commentid>
    <comment_count>3</comment_count>
    <who name="Arunprasad Rajkumar">arurajku</who>
    <bug_when>2013-09-01 22:30:33 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; It could be the mesa&apos;s fault! I use mesa git tree (r600g), and recently they&apos;ve enabled &apos;sb&apos; shader optimization backend as default. I&apos;ve tried several other pages which require WebGL (among them a simple http://get.webgl.org/), and I get a crash every time.
&gt; 
&gt; Will it help if I build mesa with debugging symbols?

So from your comment you are using non stable mesa driver. Could you install stable mesa &amp; hav a try?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923590</commentid>
    <comment_count>4</comment_count>
    <who name="">jingdow</who>
    <bug_when>2013-09-01 22:35:33 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; It could be the mesa&apos;s fault! I use mesa git tree (r600g), and recently they&apos;ve enabled &apos;sb&apos; shader optimization backend as default. I&apos;ve tried several other pages which require WebGL (among them a simple http://get.webgl.org/), and I get a crash every time.
&gt; &gt; 
&gt; &gt; Will it help if I build mesa with debugging symbols?
&gt; 
&gt; So from your comment you are using non stable mesa driver. Could you install stable mesa &amp; hav a try?

Yes, no problem.

Just to note, it&apos;s not the new shader optimization backend&apos;s fault, because I get the same crash with R600_DEBUG=nosb.

Will report immediately with stable driver from Arch Linux&apos;s repo.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923591</commentid>
    <comment_count>5</comment_count>
    <who name="">jingdow</who>
    <bug_when>2013-09-01 22:41:31 -0700</bug_when>
    <thetext>(In reply to comment #3)
&gt; (In reply to comment #2)
&gt; &gt; It could be the mesa&apos;s fault! I use mesa git tree (r600g), and recently they&apos;ve enabled &apos;sb&apos; shader optimization backend as default. I&apos;ve tried several other pages which require WebGL (among them a simple http://get.webgl.org/), and I get a crash every time.
&gt; &gt; 
&gt; &gt; Will it help if I build mesa with debugging symbols?
&gt; 
&gt; So from your comment you are using non stable mesa driver. Could you install stable mesa &amp; hav a try?

Tried mesa and ati-dri 9.2.0 stable. Getting the same crash.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923595</commentid>
    <comment_count>6</comment_count>
    <who name="Arunprasad Rajkumar">arurajku</who>
    <bug_when>2013-09-01 22:51:15 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; (In reply to comment #3)
&gt; &gt; (In reply to comment #2)
&gt; &gt; &gt; It could be the mesa&apos;s fault! I use mesa git tree (r600g), and recently they&apos;ve enabled &apos;sb&apos; shader optimization backend as default. I&apos;ve tried several other pages which require WebGL (among them a simple http://get.webgl.org/), and I get a crash every time.
&gt; &gt; &gt; 
&gt; &gt; &gt; Will it help if I build mesa with debugging symbols?
&gt; &gt; 
&gt; &gt; So from your comment you are using non stable mesa driver. Could you install stable mesa &amp; hav a try?
&gt; 
&gt; Tried mesa and ati-dri 9.2.0 stable. Getting the same crash.

ahh!. I also had issues with ati-dri. pls disable the ATI DRI  using ATI catalyst control center &amp; try with plain mesa.

You can confirm with &quot;gfxinfo&quot; tool.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923618</commentid>
    <comment_count>7</comment_count>
    <who name="">jingdow</who>
    <bug_when>2013-09-02 01:20:58 -0700</bug_when>
    <thetext>No no, ati-dri is the Arch Linux&apos;s package name for mesa3d ati drivers. I don&apos;t use catalyst drivers (I actually never had).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923655</commentid>
    <comment_count>8</comment_count>
    <who name="Arunprasad Rajkumar">arurajku</who>
    <bug_when>2013-09-02 04:32:04 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; No no, ati-dri is the Arch Linux&apos;s package name for mesa3d ati drivers. I don&apos;t use catalyst drivers (I actually never had).

can you publish your &quot;glxinfo&quot; output?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923660</commentid>
    <comment_count>9</comment_count>
    <who name="">jingdow</who>
    <bug_when>2013-09-02 05:08:26 -0700</bug_when>
    <thetext>% glxinfo G OpenGL    
OpenGL vendor string: X.Org
OpenGL renderer string: Gallium 0.4 on AMD RV635
OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.0
OpenGL core profile shading language version string: 1.40
OpenGL core profile context flags: (none)
OpenGL core profile extensions:
OpenGL version string: 3.0 Mesa 9.2.0
OpenGL shading language version string: 1.30
OpenGL context flags: (none)

Complete report: http://pastebin.com/6Tis03mX</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923666</commentid>
    <comment_count>10</comment_count>
    <who name="Arunprasad Rajkumar">arurajku</who>
    <bug_when>2013-09-02 05:21:58 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; % glxinfo G OpenGL    
&gt; OpenGL vendor string: X.Org
&gt; OpenGL renderer string: Gallium 0.4 on AMD RV635
&gt; OpenGL core profile version string: 3.1 (Core Profile) Mesa 9.2.0
&gt; OpenGL core profile shading language version string: 1.40
&gt; OpenGL core profile context flags: (none)
&gt; OpenGL core profile extensions:
&gt; OpenGL version string: 3.0 Mesa 9.2.0
&gt; OpenGL shading language version string: 1.30
&gt; OpenGL context flags: (none)
&gt; 
&gt; Complete report: http://pastebin.com/6Tis03mX

Can you try with export LIBGL_ALWAYS_SOFTWARE=1 ? (force s/w rasterizer)

export LIBGL_ALWAYS_SOFTWARE=1;
QtTestBrowser http://get.webgl.org;

Just to ensure it is a driver issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>923670</commentid>
    <comment_count>11</comment_count>
    <who name="">jingdow</who>
    <bug_when>2013-09-02 05:36:00 -0700</bug_when>
    <thetext>(In reply to comment #10)
&gt; 
&gt; Can you try with export LIBGL_ALWAYS_SOFTWARE=1 ? (force s/w rasterizer)
&gt; 
&gt; export LIBGL_ALWAYS_SOFTWARE=1;
&gt; QtTestBrowser http://get.webgl.org;
&gt; 
&gt; Just to ensure it is a driver issue.

It crashes again.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>927234</commentid>
    <comment_count>12</comment_count>
    <who name="Allan Sandfeld Jensen">allan.jensen</who>
    <bug_when>2013-09-10 02:09:08 -0700</bug_when>
    <thetext>For the record. I can not make it crash on the given site.

Would it be possible to build without production_build set, so we can get a better backtrace?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>961991</commentid>
    <comment_count>13</comment_count>
    <who name="">jingdow</who>
    <bug_when>2013-12-20 12:14:12 -0800</bug_when>
    <thetext>Just to report, I don&apos;t have this crash anymore. Don&apos;t know how or why.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>