Closed Bug 1070850 Opened 10 years ago Closed 10 years ago

crash in mozilla::ipc::ProcessLink::SendMessage(IPC::Message*)

Categories

(Firefox OS Graveyard :: Gaia::Settings, defect)

ARM
Gonk (Firefox OS)
defect
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: RobertC, Unassigned)

References

Details

(Keywords: crash, regression, Whiteboard: [fromAutomation])

Crash Data

Attachments

(1 file)

Attached file logcat.txt
This bug was filed from the Socorro interface and is 
report bp-cf9d11db-c836-480f-a345-565c22140922.
=============================================================

Device is crashing after startup when trying to run automated tests on v2.2. The stacktrace shows that it crashes when trying to get the 'lockscreen.enabled' setting.
This issue cannot be reproduced manually, but all tests fail with automation. Issue is also reproduced on Jenkins.

Reproduction rate: 10 out of 10
This issue is not reproduced on v2.1

I have attached a logcat from when I ran the test locally. I believe the problems start after line 2853.

Traceback (most recent call last):
  File "/home/robertchira/.virtualenvs/gaia/local/lib/python2.7/site-packages/marionette_client-0.8.4-py2.7.egg/marionette/marionette_test.py", line 246, in run
    self.setUp()
  File "/home/robertchira/workspace/gaia/tests/python/gaia-ui-tests/gaiatest/tests/functional/browser/test_browser_bookmark.py", line 17, in setUp
    GaiaTestCase.setUp(self)
  File "/home/robertchira/workspace/gaia/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 785, in setUp
    self.cleanup_gaia(full_reset=False)
  File "/home/robertchira/workspace/gaia/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 817, in cleanup_gaia
    if self.data_layer.get_setting('lockscreen.enabled'):
  File "/home/robertchira/workspace/gaia/tests/python/gaia-ui-tests/gaiatest/gaia_test.py", line 212, in get_setting
    return self.marionette.execute_async_script('return GaiaDataLayer.getSetting("%s")' % name, special_powers=True)
  File "/home/robertchira/.virtualenvs/gaia/local/lib/python2.7/site-packages/marionette_client-0.8.4-py2.7.egg/marionette/marionette.py", line 1252, in execute_async_script
    filename=os.path.basename(frame[0]))
  File "/home/robertchira/.virtualenvs/gaia/local/lib/python2.7/site-packages/marionette_client-0.8.4-py2.7.egg/marionette/decorators.py", line 35, in _
    return func(*args, **kwargs)
  File "/home/robertchira/.virtualenvs/gaia/local/lib/python2.7/site-packages/marionette_client-0.8.4-py2.7.egg/marionette/marionette.py", line 615, in _send_message
    response = self.client.send(message)
  File "/home/robertchira/.virtualenvs/gaia/local/lib/python2.7/site-packages/marionette_transport-0.3-py2.7.egg/marionette_transport/transport.py", line 101, in send
    response = self.receive()
  File "/home/robertchira/.virtualenvs/gaia/local/lib/python2.7/site-packages/marionette_transport-0.3-py2.7.egg/marionette_transport/transport.py", line 58, in receive
    raise IOError(self.connection_lost_msg)

Last working build:
Device firmware (date) 	19 Sep 2014 09:08:57
Device firmware (incremental) 	eng.cltbld.20140919.120846
Device firmware (release) 	4.4.2
Device identifier 	flame
Gaia date 	19 Sep 2014 09:50:54
Gaia revision 	c7ef0bf06ce1
Gecko build 	20140919101748
Gecko revision 	e155b3edd2f3
Gecko version 	35.0a1

First broken:
Device firmware (date) 	19 Sep 2014 09:08:57
Device firmware (incremental) 	eng.cltbld.20140919.120846
Device firmware (release) 	4.4.2
Device identifier 	flame
Gaia date 	19 Sep 2014 09:50:54
Gaia revision 	c7ef0bf06ce1
Gecko build 	20140919111750
Gecko revision 	35556216bf86
Gecko version 	35.0a1

Only Gecko was changed between these 2 builds.
The only change is actually the Gecko revision 35556216bf86 which merges mozilla-central; so I think we'll need a regression window using mozilla-inbound instead of b2g-inbound...
I will start working on a window.
Regression window mozilla inbound

Last working:
Gaia-Rev        bc2da39ccd2b82b67773f10c8da8fc8eedc483ab
Gecko-Rev       https://hg.mozilla.org/integration/mozilla-inbound/rev/0e6e9d291380
Build-ID        20140919022748
Version         35.0a1
Device-Name     flame
FW-Release      4.3
FW-Incremental  110
FW-Date         Fri Jun 27 15:57:58 CST 2014
Bootloader      L1TC00011230

First broken:
Gaia-Rev        bc2da39ccd2b82b67773f10c8da8fc8eedc483ab
Gecko-Rev       https://hg.mozilla.org/integration/mozilla-inbound/rev/422fd81a4118
Build-ID        20140919022948
Version         35.0a1
Device-Name     flame
FW-Release      4.3
FW-Incremental  110
FW-Date         Fri Jun 27 15:57:58 CST 2014
Bootloader      L1TC00011230
https://bugzilla.mozilla.org/show_bug.cgi?id=1032125 from the mozilla-inbound regression range has been backed out.

Re comment #0, I experimented a bit to see if I could workaround this in the test framework (by shuffling the setUp steps and adding waits for Gaia to starT) but I could not find anything.

Changing the test framework caused different failure types so I don't think this is directly to do with getSetting or the Settings API. Thus the stacktrace in comment #0 is symptomatic, not the fault itself.
Depends on: 1032125
The backout worked. Tests are running as expected and I see no more crashes.
Closing this since the patch from Bug 1032125 landed successfully and the tests are no longer failing.
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: