Status: Assigned
Owner:
baj...@chromium.org
CC:
k...@chromium.org,
z...@chromium.org
Labels: Type-Bug Pri-1 Cr-Blink-WebGL OS-Android
New issue 498947 by
baj...@chromium.org: Many Three.js apps crash Chrome
on Nexus 6
https://code.google.com/p/chromium/issues/detail?id=498947
Originally reported in the three.js issue tracker:
https://github.com/mrdoob/three.js/issues/6658
Version: 40.0.2214.89
OS: Android 5.1.1; Nexus 6 Build/LMY47Z
What steps will reproduce the problem?
1. Visit
http://carvisualizer.plus360degrees.com/threejs/
What is the expected output? What do you see instead?
Browser crashes. Browser shouldn't crash.
Please use labels and text to provide additional information.
adb logcat provided the following crash stack:
Fatal signal 11 (SIGSEGV), code -6, fault addr 0x16e5 in tid 5980
(Chrome_InProcGp)
*** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
Build
fingerprint: 'google/shamu/shamu:5.1.1/LMY47Z/1860966:user/release-keys'
Revision: '33696'
ABI: 'arm'
pid: 5861, tid: 5980, name: Chrome_InProcGp >>>
com.android.chrome <<<
signal 11 (SIGSEGV), code -6 (SI_TKILL), fault addr 0x4
r0 9a163a88 r1 9808f3c0 r2 00000007 r3 00000000
r4 9a163a88 r5 9a163a50 r6 9808f3c0 r7 ffff8000
r8 9a163a54 r9 9a163a78 sl 00000000 fp 00000002
ip aaaf0f34 sp 9a1639d0 lr aa91bf85 pc aa5f9b56 cpsr 60030030
backtrace:
#00 pc 001d5b56 /system/vendor/lib/libllvm-glnext.so
#01 pc 004f7f81 /system/vendor/lib/libllvm-glnext.so
(QGPUFastISel::QGPUSelectSamplerIntrinsic(llvm::IntrinsicInst const*)+2108)
#02 pc 004f89c5 /system/vendor/lib/libllvm-glnext.so
(QGPUFastISel::QGPUSelectIntrinsic(llvm::Instruction const*, unsigned int,
bool)+2372)
#03 pc 004f9887 /system/vendor/lib/libllvm-glnext.so
(QGPUFastISel::QGPUSelectCall(llvm::Instruction const*, unsigned int,
bool)+94)
#04 pc 004dfee7 /system/vendor/lib/libllvm-glnext.so
(QGPUFastISel::TargetSelectInstruction(llvm::Instruction const*)+278)
#05 pc 004ce76d /system/vendor/lib/libllvm-glnext.so
(llvm::QGPUFastISelBase::SelectInstruction(llvm::Instruction const*)+46)
#06 pc 00543471 /system/vendor/lib/libllvm-glnext.so
(QGPUInstructionSelector::runOnMachineFunction(llvm::MachineFunction&)+312)
#07 pc 0037d6bd /system/vendor/lib/libllvm-glnext.so
(llvm::MachineFunctionPass::runOnFunction(llvm::Function&)+80)
#08 pc 00244c41 /system/vendor/lib/libllvm-glnext.so
(llvm::FPPassManager::runOnFunction(llvm::Function&)+192)
#09 pc 00244d11 /system/vendor/lib/libllvm-glnext.so
(llvm::FunctionPassManagerImpl::run(llvm::Function&)+52)
#10 pc 00244dc5 /system/vendor/lib/libllvm-glnext.so
(llvm::FunctionPassManager::run(llvm::Function&)+120)
#11 pc 0049484b /system/vendor/lib/libllvm-glnext.so
(llvm::llclib::Compile(llvm::Module*, void* (*)(unsigned int), char**,
unsigned int&, llvm::Module*, llvm::CLPrintfInterpreter const*)+2254)
#12 pc 00553759 /system/vendor/lib/libllvm-glnext.so
(LLVMCompiler::compile()+588)
#13 pc 00559209 /system/vendor/lib/libllvm-glnext.so
(SOLinker::linkShaders(QGLC_LINKPROGRAM_DATA*,
QGLC_LINKPROGRAM_RESULT*)+2236)
#14 pc 0055599f /system/vendor/lib/libllvm-glnext.so
(CompilerContext::LinkProgram(unsigned int, QGLC_SRCSHADER_IRSHADER**,
QGLC_LINKPROGRAM_DATA*, QGLC_LINKPROGRAM_RESULT*)+274)
#15 pc 0010524b /system/vendor/lib/egl/libGLESv2_adreno.so
(EsxShaderCompiler::CompileProgram(EsxContext*, EsxProgram const*,
EsxLinkedList const*, EsxInfoLog*)+762)
#16 pc 000f9511 /system/vendor/lib/egl/libGLESv2_adreno.so
(EsxProgram::Link(EsxContext*)+360)
#17 pc 000c16ad /system/vendor/lib/egl/libGLESv2_adreno.so
(EsxContext::LinkProgram(EsxProgram*)+40)
#18 pc 000e62ed /system/vendor/lib/egl/libGLESv2_adreno.so
(EsxGlApiParamValidate::GlLinkProgram(EsxDispatch*, unsigned int)+40)
#19 pc 000aa8a1 /system/vendor/lib/egl/libGLESv2_adreno.so
(glLinkProgram+48)
#20 pc 001dbd51 /system/lib/
libchrome.2214.89.so
This makes it pretty obvious that the crash is actually happening in the
driver on a call to glLinkProgram, so the ultimate fix is probably a driver
update. In the meantime, though, we can try to bisect the shader to find
what's causing the crash as see if there's a workaround for it.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings