Closed Bug 891126 Opened 11 years ago Closed 11 years ago

B2G IPC failure on unagi when running under valgrind on m-c

Categories

(Firefox OS Graveyard :: General, defect)

x86_64
Linux
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: qdot, Unassigned)

References

Details

Relevant parts of log:

I/Gecko   (  639): [Parent 639] WARNING: Failed to get caller.: file /share/mozbuild/B2G/gecko/dom/indexedDB/IDBRequest.cpp, line 217
I/Gecko   (  639): [Parent 639] WARNING: Failed to get caller.: file /share/mozbuild/B2G/gecko/dom/indexedDB/IDBRequest.cpp, line 217
I/Gecko   (  639): [Parent 639] WARNING: Failed to get caller.: file /share/mozbuild/B2G/gecko/dom/indexedDB/IDBRequest.cpp, line 217
I/Gecko   (  639): [Parent 639] WARNING: Failed to get caller.: file /share/mozbuild/B2G/gecko/dom/indexedDB/IDBRequest.cpp, line 217
E/Profiler(  639): BPUnw: [11 total] thread_unregister_for_profiling(me=0xa0dd738)
I/Gecko   (  639):
I/Gecko   (  639): ###!!! [Parent][AsyncChannel] Error: Channel error: cannot send/recv
I/Gecko   (  639):
I/Gecko   (  639): [Parent 639] WARNING: RemoveObserver() called for unregistered observer: file /share/mozbuild/B2G/gecko/hal/Hal.cpp, line 205
I/Gecko   (  639): [Parent 639] WARNING: RemoveObserver() called for unregistered observer: file /share/mozbuild/B2G/gecko/hal/Hal.cpp, line 205
I/Gecko   (  639): [Parent 639] WARNING: RemoveObserver() called for unregistered observer: file /share/mozbuild/B2G/gecko/hal/Hal.cpp, line 205
I/Gecko   (  639): [Parent 639] WARNING: RemoveObserver() called for unregistered observer: file /share/mozbuild/B2G/gecko/hal/Hal.cpp, line 205
I/Gecko   (  639): [Parent 639] WARNING: RemoveObserver() called for unregistered observer: file /share/mozbuild/B2G/gecko/hal/Hal.cpp, line 205
The warnings in IDBRequest are harmless here... What's the actual failure that you see?
Well, once the "###!!! [Parent][AsyncChannel] Error: Channel error: cannot send/recv" comes up, all interesting work seems to stop and we never make it to the home screen. However, it's a somewhat ambiguous error so I wasn't sure if that was the cause. I had to turn off fair scheduling in valgrind as it kept complaining the system didn't support it, but that's pretty much the only difference from the instructions you posted way back when.
Ok. In the logs I'm getting 

************************************************************
* Call to xpconnect wrapped JSObject produced this error:  *
[Exception... "'Error: no message manager set' when calling method: [nsIObserver::observe]"  nsresult: "0x8057001c (NS_ERROR_XPC_JS_THREW_JS_OBJECT)"  location: "native frame :: <unknown filename> :: <TOP_LEVEL> :: line 0"  data: no]
************************************************************
[Parent 589] WARNING: RemoveObserver() called for unregistered observer: file /share/mozbuild/B2G/gecko/hal/Hal.cpp, line 205
[Parent 589] WARNING: RemoveObserver() called for unregistered observer: file /share/mozbuild/B2G/gecko/hal/Hal.cpp, line 205
[Parent 589] WARNING: RemoveObserver() called for unregistered observer: file /share/mozbuild/B2G/gecko/hal/Hal.cpp, line 205
[Parent 589] WARNING: RemoveObserver() called for unregistered observer: file /share/mozbuild/B2G/gecko/hal/Hal.cpp, line 205
[Parent 589] WARNING: RemoveObserver() called for unregistered observer: file /share/mozbuild/B2G/gecko/hal/Hal.cpp, line 205

Around the same time as

I/Gonk    (  589): Setting nice for pid 702 to 18
I/Gonk    (  589): Changed nice for pid 702 from 1 to 18.
I/Gecko   (  589):
I/Gecko   (  589): ###!!! [Parent][RPCChannel] Error: Channel error: cannot send/recv
I/Gecko   (  589):
I/Gecko   (  589):
I/Gecko   (  589): ###!!! [Parent][RPCChannel] Error: Channel error: cannot send/recv
I/Gecko   (  589):
I/Gecko   (  589):
I/Gecko   (  589): ###!!! [Parent][RPCChannel] Error: Channel error: cannot send/recv
I/Gecko   (  589):
I/Gecko   (  589):
I/Gecko   (  589): ###!!! [Parent][RPCChannel] Error: Channel error: cannot send/recv
I/Gecko   (  589):
I/Gecko   (  589):
I/Gecko   (  589): ###!!! [Parent][AsyncChannel] Error: Channel error: cannot send/recv
I/Gecko   (  589):
I/Gecko   (  589):
I/Gecko   (  589): ###!!! [Parent][AsyncChannel] Error: Channel error: cannot send/recv
I/Gecko   (  589):
I/Gecko   (  589):
I/Gecko   (  589): ###!!! [Parent][AsyncChannel] Error: Channel error: cannot send/recv
I/Gecko   (  589):
Ok, we're running out of memory. dmesg from failure:

<4>[07-09 21:37:13.682] [28: kswapd0]select 1027 (Communications), adj 6, size 4901, to kill
<4>[07-09 21:37:13.682] [28: kswapd0]send sigkill to 1027 (Communications), adj 6, size 4901
Just gonna call this wontfix. I think we're to the point of running out of memory on the 512mb phones now, shifting work focus to nexus-4.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.