Closed Bug 839032 Opened 12 years ago Closed 11 years ago

Intermittent tprovider, ts | application crashed [@ mozalloc_abort(char const*)] due to "ABORT: We need a context on Android" after "java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface"

Categories

(Core Graveyard :: Widget: Android, defect)

ARM
Android
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: emorley, Unassigned)

References

Details

(Keywords: crash, intermittent-failure)

Crash Data

Android Tegra 250 mozilla-inbound talos remote-troboprovider on 2013-02-07 00:52:00 PST for push 3fbeb63f1457

slave: tegra-190

https://tbpl.mozilla.org/php/getParsedLog.php?id=19522234&tree=Mozilla-Inbound

{
PROCESS-CRASH | tprovider | application crashed [@ mozalloc_abort(char const*)]
Crash dump filename: /tmp/tmpvqe17i/5662746f-a6a4-47a3-77ec69cb-6bb52277.dmp
Operating system: Android
                  0.0.0 Linux 2.6.32.9-00002-gd8084dc-dirty #1 SMP PREEMPT Wed Feb 2 11:32:06 PST 2011 armv7l nvidia/harmony/harmony/harmony:2.2/FRF91/20110202.102810:eng/test-keys
CPU: arm
     0 CPUs

Crash reason:  SIGSEGV
Crash address: 0x0

Thread 17 (crashed)
 0  libmozalloc.so!mozalloc_abort(char const*) [mozalloc_abort.cpp : 30 + 0x4]
     r4 = 0x00000000    r5 = 0xffffffff    r6 = 0xafd42550    r7 = 0x5549b015
     r8 = 0x00000001    r9 = 0x55a42e0c   r10 = 0x00000000    fp = 0x55a42d6e
     sp = 0x51fff4f0    lr = 0x4496a9a7    pc = 0x4496a9aa
    Found by: given as instruction pointer in context
 1  libxul.so!NS_DebugBreak_P [nsDebugImpl.cpp : 422 + 0x5]
     sp = 0x51fff4f8    pc = 0x5549b217
    Found by: stack scanning
 2  0 (deleted) + 0x11f911f
     sp = 0x51fff514    pc = 0x41202121
    Found by: stack scanning
 3  0 (deleted) + 0x11fde6d
     sp = 0x51fff530    pc = 0x41206e6f
    Found by: stack scanning
 4  libc.so + 0x36
     sp = 0x51fff578    pc = 0xafd00038
    Found by: stack scanning
 5  libEGL_tegra.so + 0x1054a
     sp = 0x51fff57c    pc = 0x8131054c
    Found by: stack scanning
 6  libEGL_tegra.so + 0x3ee9
     sp = 0x51fff580    pc = 0x81303eeb
    Found by: stack scanning
 7  0 (deleted) + 0x184bf5b
     sp = 0x51fff5a0    pc = 0x41854f5d
    Found by: stack scanning
 8  0 (deleted) + 0x1aa13ce
     sp = 0x51fff5a4    pc = 0x41aaa3d0
    Found by: stack scanning
 9  2 (deleted) + 0x10e58e
     sp = 0x51fff5ac    pc = 0x48494590
    Found by: stack scanning
}

{
02-07 00:59:33.270 I/SUTAgentAndroid( 1493): 10.250.48.219 : ls
02-07 00:59:33.480 D/GeckoLayerClient( 2193): Screen-size changed to (1024,768)
02-07 00:59:33.480 D/GeckoLayerClient( 2193): Window-size changed to (1024,695)
02-07 00:59:33.760 E/        ( 1020): Couldn't find or open 'accelerometer_tegra' driver (Not a typewriter)
02-07 00:59:33.770 I/Gecko   ( 2193): Logging GL tracing output to /data/data/org.mozilla.fennec/firefox.trace
02-07 00:59:33.770 I/Gecko   ( 2193): Attempting load of /data/local/egltrace.so
02-07 00:59:33.770 I/Gecko   ( 2193): Attempting load of libEGL.so
02-07 00:59:33.770 W/System.err( 2193): java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface
02-07 00:59:33.770 W/System.err( 2193): 	at com.google.android.gles_jni.EGLImpl._eglCreateWindowSurface(Native Method)
02-07 00:59:33.770 W/System.err( 2193): 	at com.google.android.gles_jni.EGLImpl.eglCreateWindowSurface(EGLImpl.java:87)
02-07 00:59:33.770 W/System.err( 2193): 	at org.mozilla.gecko.gfx.GLController.provideEGLSurface(GLController.java:145)
02-07 00:59:33.770 W/System.err( 2193): 	at dalvik.system.NativeStart.run(Native Method)
02-07 00:59:33.770 W/System.err( 2193): 	at dalvik.system.NativeStart.run(Native Method)
02-07 00:59:33.770 I/Gecko   ( 2193): ###!!! ABORT: We need a context on Android: file ../../../gfx/layers/opengl/LayerManagerOGL.cpp, line 498
02-07 00:59:33.770 E/Gecko   ( 2193): mozalloc_aborTraceback (most recent call last):
  File "run_tests.py", line 331, in <module>
t: ###!!! ABORT: We need a context on Android: file ../../../gfx/layers/opengl/LayerManagerOGL.cpp, line 498
02-07 00:59:34.088 W/SharedBufferStack( 1020): waitForCondition(ReallocateCondition) timed out (identity=19, status=0). CPU may be pegged. trying again.
02-07 00:59:34.290 I/SUTAgentAndroid( 1493): 10.250.48.219 : isdir /mnt/sdcard/tests
02-07 00:59:34.320 I/SUTAgentAndroid( 1493): 10.250.48.219 : cd /mnt/sdcard/tests
02-07 00:59:34.350 I/SUTAgentAndroid( 1493): 10.250.48.219 : ls
02-07 00:59:34.390 E/SurfaceFlinger( 1020): assertReallocate(1) failed (No such device)
02-07 00:59:34.390 D/AndroidRuntime( 2185): Shutting down VM
02-07 00:59:34.390 I/ActivityManager( 1020): Process org.mozilla.fennec (pid 2193) has died.
02-07 00:59:34.390 I/WindowManager( 1020): WIN DEATH: Window{48555060 org.mozilla.fennec/org.mozilla.fennec.App paused=false}
02-07 00:59:34.390 W/ActivityManager( 1020): Crash of app org.mozilla.fennec running instrumentation ComponentInfo{org.mozilla.roboexample.test/org.mozilla.fennec.FennecInstrumentationTestRunner}
02-07 00:59:34.390 I/ActivityManager( 1020): Force stopping package org.mozilla.fennec uid=10033
02-07 00:59:34.400 D/jdwp    ( 2185): adbd disconnected
02-07 00:59:34.400 D/Zygote  (  939): Process 2193 terminated by signal (11)
}
https://tbpl.mozilla.org/php/getParsedLog.php?id=19596281&tree=Mozilla-Inbound
Summary: Intermittent tprovider | application crashed [@ mozalloc_abort(char const*)] due to "ABORT: We need a context on Android" after "java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface" → Intermittent tprovider, ts | application crashed [@ mozalloc_abort(char const*)] due to "ABORT: We need a context on Android" after "java.lang.IllegalArgumentException: Make sure the SurfaceView or associated SurfaceHolder has a valid Surface"
I think comment 6 was actually bug 761987. (I hope to have fixed /this/ bug as part of bug 844275).
Depends on: 844275
Since the last report of this (comment 5) was over a month ago, and before 844274 landed, I'm gonna cross my fingers and mark this bug fixed. Please reopen if it happens again.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.