The default bug view has changed. See this FAQ.

Intermittent Android dom/devicestorage/ipc/test_ipc.html | Test timed out. (due to abort at nsACString_internal::MutatePrep())

RESOLVED FIXED in mozilla17

Status

()

Core
DOM: Device Interfaces
--
critical
RESOLVED FIXED
5 years ago
4 years ago

People

(Reporter: emorley, Assigned: dougt)

Tracking

({crash, intermittent-failure})

Trunk
mozilla17
ARM
Android
crash, intermittent-failure
Points:
---
Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [test disabled][leave open])

Attachments

(1 attachment, 2 obsolete attachments)

Android Tegra 250 mozilla-inbound opt test mochitest-3 on 2012-07-17 18:52:44 PDT for push 6aa560d1645d

slave: tegra-272

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

{
785 INFO TEST-START | /tests/dom/devicestorage/ipc/test_ipc.html
786 INFO TEST-PASS | /tests/dom/devicestorage/ipc/test_ipc.html | Got first iframe load event.
787 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/devicestorage/ipc/test_ipc.html | Test timed out.
788 ERROR TEST-UNEXPECTED-FAIL | /tests/dom/devicestorage/ipc/test_ipc.html | This test left crash dumps behind, but we weren't expecting it to!
789 INFO TEST-INFO | Found unexpected crash dump file /mnt/sdcard/tests/profile/minidumps/69be88e7-4265-4da3-135eea1d-3dcc15e9.dmp.
790 INFO TEST-INFO | Found unexpected crash dump file /mnt/sdcard/tests/profile/minidumps/69be88e7-4265-4da3-135eea1d-3dcc15e9.extra.
791 INFO TEST-END | /tests/dom/devicestorage/ipc/test_ipc.html | finished in 328106ms
}

{
16167 INFO TEST-START | Shutdown
16168 INFO Passed: 127733
16169 INFO Failed: 2
16170 INFO Todo:   9166
16171 INFO SimpleTest FINISHED

INFO | automation.py | Application ran for: 0:30:08.184080
INFO | automation.py | Reading PID log: /tmp/tmpXcE4hgpidlog
getting files in '/mnt/sdcard/tests/profile/minidumps/'
Downloading symbols from: http://ftp.mozilla.org/pub/mozilla.org/mobile/tinderbox-builds/mozilla-inbound-android/1342575474/fennec-17.0a1.en-US.android-arm.crashreporter-symbols.zip
PROCESS-CRASH | automation.py | application crashed (minidump found)
Crash dump filename: /tmp/tmpE2jOPG/69be88e7-4265-4da3-135eea1d-3dcc15e9.dmp
Operating system: Linux
                  0.0.0 Linux 2.6.32.9-00002-gd8084dc-dirty #1 SMP PREEMPT Wed Feb 2 11:32:06 PST 2011 armv7l
CPU: arm
     0 CPUs

Crash reason:  SIGSEGV
Crash address: 0x0

Thread 0 (crashed)
 0  libmozalloc.so!mozalloc_abort [mozalloc_abort.cpp:6aa560d1645d : 23 + 0x4]
     r4 = 0xafd42550    r5 = 0xbef9a454    r6 = 0x00000000    r7 = 0xffffffff
     r8 = 0x43ded2a5    r9 = 0x00000001   r10 = 0xbef9a068    fp = 0x4444d76a
     sp = 0xbef9a058    lr = 0xafd162f5    pc = 0x420ab704
    Found by: given as instruction pointer in context
 1  libc.so + 0x162f4
     r4 = 0xafd42550    r5 = 0xbef9a454    r6 = 0x00000000    r7 = 0xffffffff
     r8 = 0x43ded2a5    r9 = 0x00000001   r10 = 0xbef9a068    fp = 0x4444d76a
     sp = 0xbef9a058    pc = 0xafd162f5
    Found by: call frame info
 2  libxul.so!nsACString_internal::MutatePrep [nsTSubstring.cpp:6aa560d1645d : 131 + 0x0]
     sp = 0xbef9a060    pc = 0x43df8535
    Found by: stack scanning
 3  0x2323231f
     r4 = 0x00000000    r5 = 0x4444d72b    r6 = 0x6968435b    r7 = 0x3320646c
     r8 = 0x5d353839    sp = 0xbef9a078    pc = 0x23232320
    Found by: call frame info
}
Keywords: crash
https://tbpl.mozilla.org/php/getParsedLog.php?id=13623146&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=13623066&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=13623539&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=13624861&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=13625806&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=13626272&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=13630171&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=13630987&tree=Mozilla-Inbound
https://tbpl.mozilla.org/php/getParsedLog.php?id=13631756&tree=Mozilla-Inbound
Comment hidden (Treeherder Robot)
Summary: Intermittent Android dom/devicestorage/ipc/test_ipc.html | Test timed out. | This test left crash dumps behind, but we weren't expecting it to! → Intermittent Android dom/devicestorage/ipc/test_ipc.html | Test timed out. (due to abort at nsACString_internal::MutatePrep())
This test is also crashing on m-c.

The crash seems to start when bug 774671 was pushed:

https://tbpl.mozilla.org/?rev=ae22909cef5a

Though, suspiciously, the prior cset was a huge merge from m-i:

https://tbpl.mozilla.org/?rev=ba8463beab13
Comment hidden (Treeherder Robot)
Please ignore my comment 4. This crash had been crashing intermittently on earlier csets.
(In reply to Ed Morley [:edmorley] from comment #1)
> https://tbpl.mozilla.org/php/getParsedLog.php?id=13623146&tree=Mozilla-
> Inbound

The logcat for this one has "out of memory" - like 747787.

W/System.err( 1685): java.lang.OutOfMemoryError
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
I/dalvikvm-heap( 1685): Forcing collection of SoftReferences for 104-byte allocation
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
E/dalvikvm-heap( 1685): Out of memory on a 104-byte allocation.
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
I/dalvikvm-heap( 1685): Forcing collection of SoftReferences for 128-byte allocation
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
E/dalvikvm-heap( 1685): Out of memory on a 128-byte allocation.
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
I/dalvikvm-heap( 1685): Forcing collection of SoftReferences for 88-byte allocation
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
E/dalvikvm-heap( 1685): Out of memory on a 88-byte allocation.
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
I/dalvikvm-heap( 1685): Forcing collection of SoftReferences for 24-byte allocation
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
E/dalvikvm-heap( 1685): Out of memory on a 24-byte allocation.
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
I/dalvikvm-heap( 1685): Forcing collection of SoftReferences for 24-byte allocation
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
E/dalvikvm-heap( 1685): Out of memory on a 24-byte allocation.
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
I/dalvikvm-heap( 1685): Forcing collection of SoftReferences for 68-byte allocation
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
E/dalvikvm-heap( 1685): Out of memory on a 68-byte allocation.
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
I/dalvikvm-heap( 1685): Forcing collection of SoftReferences for 24-byte allocation
I/dalvikvm-heap( 1685): Clamp target GC heap from 17.940MB to 16.000MB
E/dalvikvm-heap( 1685): Out of memory on a 24-byte allocation.
I/ActivityManager( 1017): Process org.mozilla.fennec (pid 1685) has died.

Most of the other logs do not contain "out of memory".
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 10

5 years ago
devicestorage isn't implemented on Android.  We can disable this test for now.
(Assignee)

Comment 11

5 years ago
may be related to 763404.
Comment hidden (Treeherder Robot)
(Assignee)

Comment 13

5 years ago
Created attachment 643667 [details]
disable test on android xul
Assignee: nobody → doug.turner
Attachment #643667 - Flags: review?(mbrubeck)
(Assignee)

Comment 14

5 years ago
disable for now.  i'll investigate soon.
(Assignee)

Comment 15

5 years ago
Comment on attachment 643667 [details]
disable test on android xul

attaching random patches to random test failures.
Attachment #643667 - Attachment is obsolete: true
Attachment #643667 - Attachment is patch: false
Attachment #643667 - Flags: review?(mbrubeck)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 20

5 years ago
Created attachment 643699 [details] [diff] [review]
patch v.1
Attachment #643699 - Flags: review?(mbrubeck)
Comment hidden (Treeherder Robot)
Comment on attachment 643699 [details] [diff] [review]
patch v.1

I just remembered that, if I understand correctly, the preferred method these days is to add the directory name and a comment to testing/mochitest/android.json (see bug 761125 for some more context).  You should probably do that and ask jmaher for review.
Attachment #643699 - Flags: review?(mbrubeck)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 30

5 years ago
Created attachment 643714 [details] [diff] [review]
disable like the other device storage tests..
Attachment #643699 - Attachment is obsolete: true
Attachment #643714 - Flags: review?(jmaher)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment on attachment 643714 [details] [diff] [review]
disable like the other device storage tests..

Review of attachment 643714 [details] [diff] [review]:
-----------------------------------------------------------------

in this case we should just disable the entire dom/devicestorage test suite since they are all now officially failing.
Attachment #643714 - Flags: review?(jmaher)
Attachment #643714 - Flags: review+
Comment hidden (Treeherder Robot)
Comment on attachment 643714 [details] [diff] [review]
disable like the other device storage tests..

Review of attachment 643714 [details] [diff] [review]:
-----------------------------------------------------------------

One other thing, please open a bug to track this.  This test passed originally, so either this testcase won't work for a known reason (please provide bug) or we need to investigate when we have time (please provide bug).

Put the bug in the android.json next to the test case (there are examples in the file).
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 53

5 years ago
Comment on attachment 643714 [details] [diff] [review]
disable like the other device storage tests..

https://hg.mozilla.org/integration/mozilla-inbound/rev/dfdda6b5e2b0
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
https://hg.mozilla.org/mozilla-central/rev/dfdda6b5e2b0
Status: NEW → RESOLVED
Last Resolved: 5 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla17
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
Whiteboard: [orange] → [orange][test disabled][leave open]
Blocks: 775982
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
Comment hidden (Treeherder Robot)
(Assignee)

Comment 67

5 years ago
we disabled the device storage tests on android.
Status: REOPENED → RESOLVED
Last Resolved: 5 years ago5 years ago
Resolution: --- → FIXED
Keywords: intermittent-failure
Whiteboard: [orange][test disabled][leave open] → [test disabled][leave open]
You need to log in before you can comment on or make changes to this bug.