Closed Bug 1186668 Opened 9 years ago Closed 5 years ago

Google Maps crashes browser in Ubuntu 14.04

Categories

(Core :: Graphics: CanvasWebGL, defect, P3)

39 Branch
Unspecified
Linux
defect

Tracking

()

RESOLVED WORKSFORME
Tracking Status
platform-rel --- -

People

(Reporter: honey, Unassigned)

References

Details

(Keywords: crash, Whiteboard: [platform-rel-Google][platform-rel-GoogleMaps][gfx-noted])

Crash Data

User Agent: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0
Build ID: 20150629114848

Steps to reproduce:

Viewed maps.google.com

It doesn't seem to happen every time. It seems if I use Firefox for awhile, then view maps.google.com, it crashes, but when I restarted Firefox and view maps.google.com straight away, it doesn't crash.



Actual results:

Crashed.

gdb backtrace:
Program received signal SIGSEGV, Segmentation fault.
0x0000000000000000 in ?? ()
(gdb) 
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007fffae717a25 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#2  0x00007fffae713a17 in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#3  0x00007fffae71a7ef in ?? () from /usr/lib/x86_64-linux-gnu/dri/swrast_dri.so
#4  0x00007ffff1c345aa in raw_fClear (this=0x7fff7ef78000, mask=mask@entry=17664) at ../../dist/include/GLContext.h:956
#5  mozilla::gl::GLContext::fClear (this=0x7fff7ef78000, mask=mask@entry=17664) at ../../dist/include/GLContext.h:963
#6  0x00007ffff22725c7 in mozilla::WebGLContext::ForceClearFramebufferWithDefaultValues (this=0x7fff75cee000, fakeNoAlpha=fakeNoAlpha@entry=false, 
    mask=mask@entry=17664, colorAttachmentsMask=colorAttachmentsMask@entry=0x7fffffff7550)
    at /build/firefox-4CFcvq/firefox-39.0+build5/dom/canvas/WebGLContext.cpp:1386
#7  0x00007ffff229630b in mozilla::WebGLFramebuffer::CheckAndInitializeAttachments (this=0x7fff542f8f60)
    at /build/firefox-4CFcvq/firefox-39.0+build5/dom/canvas/WebGLFramebuffer.cpp:805
#8  0x00007ffff2273826 in mozilla::WebGLContext::Clear (this=this@entry=0x7fff75cee000, mask=17664)
    at /build/firefox-4CFcvq/firefox-39.0+build5/dom/canvas/WebGLContextFramebufferOperations.cpp:33
#9  0x00007ffff20688e3 in mozilla::dom::WebGLRenderingContextBinding::clear (cx=<optimised out>, obj=..., self=0x7fff75cee000, args=...)
    at /build/firefox-4CFcvq/firefox-39.0+build5/obj-x86_64-linux-gnu/dom/bindings/WebGLRenderingContextBinding.cpp:9434
#10 0x00007ffff2243313 in mozilla::dom::GenericBindingMethod (cx=cx@entry=0x7fff67e3a1a0, argc=<optimised out>, vp=<optimised out>)
    at /build/firefox-4CFcvq/firefox-39.0+build5/dom/bindings/BindingUtils.cpp:2501
#11 0x00007ffff3052d0d in CallJSNative (args=..., native=0x7ffff22431de <mozilla::dom::GenericBindingMethod(JSContext*, unsigned int, JS::Value*)>, 
    cx=0x7fff67e3a1a0) at /build/firefox-4CFcvq/firefox-39.0+build5/js/src/jscntxtinlines.h:235
#12 js::Invoke (cx=0x7fff67e3a1a0, args=..., construct=<optimised out>) at /build/firefox-4CFcvq/firefox-39.0+build5/js/src/vm/Interpreter.cpp:470
#13 0x00007ffff304d829 in Interpret (cx=0x7fff67e3a1a0, state=...) at /build/firefox-4CFcvq/firefox-39.0+build5/js/src/vm/Interpreter.cpp:2592
#14 0x00007ffff30529ed in js::RunScript (cx=cx@entry=0x7fff67e3a1a0, state=...)
    at /build/firefox-4CFcvq/firefox-39.0+build5/js/src/vm/Interpreter.cpp:420
#15 0x00007ffff3052c6e in js::Invoke (cx=cx@entry=0x7fff67e3a1a0, args=..., construct=construct@entry=js::NO_CONSTRUCT)
    at /build/firefox-4CFcvq/firefox-39.0+build5/js/src/vm/Interpreter.cpp:489
#16 0x00007ffff30541ff in js::Invoke (cx=cx@entry=0x7fff67e3a1a0, thisv=..., fval=..., argc=argc@entry=1, argv=argv@entry=0x7fffffff93a0, rval=..., 
    rval@entry=...) at /build/firefox-4CFcvq/firefox-39.0+build5/js/src/vm/Interpreter.cpp:526
#17 0x00007ffff31c7e58 in js::jit::DoCallFallback (cx=0x7fff67e3a1a0, frame=0x7fffffff93e8, stub_=0x7fff709a4bc8, argc=1, vp=0x7fffffff9390, res=...)
    at /build/firefox-4CFcvq/firefox-39.0+build5/js/src/jit/BaselineIC.cpp:9653
#18 0x00007ffff7fdb630 in ?? ()
#19 0x00007ffff530bcd0 in vtable for js::jit::ICToBool_Int32::Compiler () from /usr/lib/firefox/libxul.so
#20 0x00007fffffff9348 in ?? ()
#21 0x00007fffffff9428 in ?? ()
#22 0xfff9000000000000 in ?? ()
---Type <return> to continue, or q <return> to quit---
#23 0x00007ffff549fdc0 in js::jit::DoSpreadCallFallbackInfo () from /usr/lib/firefox/libxul.so
#24 0x00007fffde451a30 in ?? ()
#25 0x00007fffc0f26364 in ?? ()
#26 0x0000000000000482 in ?? ()
#27 0x00007fffffff93e8 in ?? ()
#28 0x00007fff709a4bc8 in ?? ()
#29 0x0000000000000001 in ?? ()
#30 0x00007fffffff9390 in ?? ()
#31 0xfffc7fff4f44a080 in ?? ()
#32 0xfffc7fff7242d1a0 in ?? ()
#33 0xfff8800000004500 in ?? ()
#34 0x00007fffffff9428 in ?? ()
#35 0x00007fff709a4bc8 in ?? ()
#36 0x00007fffd5f4eefb in ?? ()
#37 0x0000000000000681 in ?? ()
#38 0xfff8800000004500 in ?? ()
#39 0xfffc7fff7242d1a0 in ?? ()
#40 0xfffc7fff4f44a080 in ?? ()
#41 0xfffc7fffdef16cf8 in ?? ()
#42 0xfff9800000000000 in ?? ()
#43 0x0000000000000000 in ?? ()





Expected results:

It not to crash.
Hello Joshua,

Are you still having this problem?

I just attempted to reproduce on Linux x86_64 on the newest Nightly build 45.0a1 and Firefox 42 but I could not. 

Thank you,

Justin
Flags: needinfo?(honey)
Yep, still happening. It may be because I'm running Firefox as a different user?
i.e. I'm using `sudo -H -u firefox "/usr/bin/firefox-start" "$@"'
and then running
xhost +SI:localuser:firefox
for sound to get through.

This does cause flash to crash when opening the microphone in firefox, so it may be related?
Flags: needinfo?(honey)
Hi, could you provide a crash ID?
https://developer.mozilla.org/docs/How_to_get_a_stacktrace_for_a_bug_report.
Severity: normal → critical
Component: Untriaged → General
Flags: needinfo?(honey)
Keywords: crash
OS: Unspecified → Linux
26154ad3-be49-4f7f-883d-024a12151217 and 07860905-c565-4ecf-86b6-0fd372151206 for 42.0
2ed43a45-e58f-4143-bdad-3378a2151219 for 43.0

As you can see, the signature is very similar in the two different versions.
Flags: needinfo?(honey)
Crash Signature: [@ @0x0 | swrast_dri.so@0x145a54 ] [@ swrast_dri.so@0x145a4f ]
Status: UNCONFIRMED → NEW
Ever confirmed: true
Crash Signature: [@ @0x0 | swrast_dri.so@0x145a54 ] [@ swrast_dri.so@0x145a4f ] → [@ @0x0 | swrast_dri.so@0x145a54 ] [@ swrast_dri.so@0x145a4f ] [@ swrast_dri.so@0x145a54 ] [@ @0x0 | swrast_dri.so@0x13c36b ] [@ swrast_dri.so@0x13c36b ] [@ swrast_dri.so@0x15530f ] [@ @0x0 | swrast_dri.so@0x1489fd ]
Component: General → Canvas: WebGL
Product: Firefox → Core
platform-rel: --- → ?
Whiteboard: [platform-rel-Google][platform-rel-GoogleMaps]
platform-rel: ? → -
Priority: -- → P3
Whiteboard: [platform-rel-Google][platform-rel-GoogleMaps] → [platform-rel-Google][platform-rel-GoogleMaps][gfx-noted]
See Also: → 1369706

No recent crashes. Closing as WFM.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.