New issue
Advanced search Search tips
Note: Color blocks (like or ) mean that a user may not be available. Tooltip shows the reason.

Issue 841616 link

Starred by 1 user

Issue metadata

Status: Duplicate
Owner:
Closed: May 2018
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Linux
Pri: 2
Type: Bug



Sign in to add a comment

Crash in glQueryCounter

Project Member Reported by vmi...@chromium.org, May 9 2018

Issue description

This is a split from  Issue 841280 .

UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.87 Safari/537.36

Steps to reproduce the problem:
1. Build source code 
    config args.gn file as below:
		use_sanitizer_coverage = true
		is_asan = true
		is_debug = false
		enable_nacl = false
		treat_warnings_as_errors = false
	ninja -j4 -C out/chrome_asan chrome
2. Build a mini web server.
	I used python twisted module to build the webserver.
	1) cp 1.ogg(OR any other normal ogg file) to webserver/res/
	2) python webserver/web.py
3. ./chrome http://127.0.0.1:8605/poc.html

What is the expected behavior?
no process crash

What went wrong?
could stably get crash and received signal 11 SEGV_MAPERR

Did this work before? N/A 

Chrome version: 68.0.3419.0  Channel: dev
OS Version: 16.04
Flash Version:
 
poc.html
1.9 KB View Download
signal11.log
7.7 KB View Download
webserver.zip
782 KB Download
Labels: Needs-Feedback
The signal 11 error seems to be a crash in the GL driver while calling into glQueryCounter(), and may require blacklisting GL timers on that GPU.

cdsrc2016@ could you please attach a copy of the "chrome://gpu" information you are running on?

Comment 2 by piman@chromium.org, May 9 2018

Cc: penghuang@chromium.org

Comment 3 by cdsrc2...@gmail.com, May 10 2018

This is the gpu information,copy from chrome://gpu page when running the poc.html(cuz it's only a copy of text,maybe inconvenient to browse)
gpu_info.txt
22.4 KB View Download
I think we already disabled GL_EXT_disjoint_timer_query on VMware on Linux (see [1]). Which OS are you using?

https://chromium-review.googlesource.com/c/chromium/src/+/960582

Comment 5 by piman@chromium.org, May 10 2018

We need to disable GL_ARB_timer_query as well.

Comment 6 by piman@chromium.org, May 10 2018

Cc: -penghuang@chromium.org vmi...@chromium.org
Owner: penghuang@chromium.org

Comment 7 by cdsrc2...@gmail.com, May 11 2018

As you can see in the picture , my host already disabled GL_EXT_disjoint_timer_query,but enabled GL_ARB_timer_query.
My OS is ubuntu 16.04 and "uname" is :4.13.0-41-generic x86_64 GNU/Linux.

Shall i disable GL_ARB_timer_query and try POC again?
GL_ARB_timer_query .png
57.8 KB View Download
GL_EXT_disjoint_timer_query.png
14.0 KB View Download
Project Member

Comment 8 by bugdroid1@chromium.org, May 11 2018

The following revision refers to this bug:
  https://chromium.googlesource.com/chromium/src.git/+/a9c55609ee218dd5ef1d466328065b56fb6d4909

commit a9c55609ee218dd5ef1d466328065b56fb6d4909
Author: Peng Huang <penghuang@chromium.org>
Date: Fri May 11 15:16:29 2018

Disable GL_ARB_timer_query for VMware GPU on Linux

Bug:  841616 
Cq-Include-Trybots: luci.chromium.try:android_optional_gpu_tests_rel;luci.chromium.try:linux_optional_gpu_tests_rel;luci.chromium.try:mac_optional_gpu_tests_rel;luci.chromium.try:win_optional_gpu_tests_rel
Change-Id: I6e7d47e3e127ab9f634ea658c25466e2c53bd07e
Reviewed-on: https://chromium-review.googlesource.com/1054472
Reviewed-by: Antoine Labour <piman@chromium.org>
Commit-Queue: Peng Huang <penghuang@chromium.org>
Cr-Commit-Position: refs/heads/master@{#557885}
[modify] https://crrev.com/a9c55609ee218dd5ef1d466328065b56fb6d4909/gpu/config/gpu_driver_bug_list.json

Mergedinto: 811661
Status: Duplicate (was: Assigned)
Project Member

Comment 10 by sheriffbot@chromium.org, Aug 18

Labels: -Restrict-View-SecurityTeam allpublic
This bug has been closed for more than 14 weeks. Removing security view restrictions.

For more details visit https://www.chromium.org/issue-tracking/autotriage - Your friendly Sheriffbot

Sign in to add a comment