Last Comment Bug 785166 - Crash when dismissing gaia Clock alarm alert window
: Crash when dismissing gaia Clock alarm alert window
Status: RESOLVED FIXED
:
Product: Core
Classification: Components
Component: General (show other bugs)
: unspecified
: ARM Gonk (Firefox OS)
: -- normal (vote)
: mozilla17
Assigned To: Chris Jones [:cjones] inactive; ni?/f?/r? if you need me
:
Mentors:
Depends on:
Blocks: b2g-e10s-work
  Show dependency treegraph
 
Reported: 2012-08-23 11:40 PDT by Chris Jones [:cjones] inactive; ni?/f?/r? if you need me
Modified: 2012-08-24 19:59 PDT (History)
3 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---
+


Attachments
Protect against already-canceled vibrations (1.07 KB, patch)
2012-08-23 14:09 PDT, Chris Jones [:cjones] inactive; ni?/f?/r? if you need me
justin.lebar+bug: review+
Details | Diff | Review

Description Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-08-23 11:40:10 PDT
There's a known crash trying to change a setting, but this crash seems to be happening at a different time.  Possible dup.
Comment 1 Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-08-23 13:55:12 PDT
o_O

Program received signal SIGSEGV, Segmentation fault.
0x408fb356 in nsTArray_base<nsTArrayDefaultAllocator>::Length (this=0x0) at ../../dist/include/nsTArray.h:192
(gdb) bt
#0  0x408fb356 in nsTArray_base<nsTArrayDefaultAllocator>::Length (this=0x0) at ../../dist/include/nsTArray.h:192
#1  0x41d35b3e in nsTArray<unsigned long long, nsTArrayInfallibleAllocator>::operator== (this=0x0, other=...) at ../dist/include/nsTArray.h:465
#2  0x41d34a6c in mozilla::hal::CancelVibrate (id=...) at /home/cjones/mozilla/inbound/hal/Hal.cpp:162
#3  0x41d38758 in mozilla::hal_sandbox::HalParent::RecvCancelVibrate (this=0x48a53880, id=..., browserParent=0x49d7f260) at /home/cjones/mozilla/inbound/hal/sandbox/SandboxHal.cpp:337
#4  0x41c4eb1e in mozilla::hal_sandbox::PHalParent::OnMessageReceived (this=0x48a53880, __msg=...) at /home/cjones/mozilla/new-b2g/objdir-gecko/ipc/ipdl/PHalParent.cpp:358
#5  0x41c1c52e in mozilla::dom::PContentParent::OnMessageReceived (this=0x49381400, __msg=...) at /home/cjones/mozilla/new-b2g/objdir-gecko/ipc/ipdl/PContentParent.cpp:1274
#6  0x41baf5aa in mozilla::ipc::AsyncChannel::OnDispatchMessage (this=0x49381408, msg=...) at /home/cjones/mozilla/inbound/ipc/glue/AsyncChannel.cpp:473
#7  0x41bba21a in mozilla::ipc::RPCChannel::OnMaybeDequeueOne (this=0x49381408) at /home/cjones/mozilla/inbound/ipc/glue/RPCChannel.cpp:402
#8  0x41b7c212 in DispatchToMethod<mozilla::dom::ContentParent, void (mozilla::dom::ContentParent::*)()> (obj=0x49381408, method=(void (mozilla::dom::ContentParent::*)(mozilla::dom::ContentParent *)) 0x41bba061 <mozilla::ipc::RPCChannel::OnMaybeDequeueOne()>, arg=...) at /home/cjones/mozilla/inbound/ipc/chromium/src/base/tuple.h:383
#9  0x41b7c010 in RunnableMethod<mozilla::dom::ContentParent, void (mozilla::dom::ContentParent::*)(), Tuple0>::Run (this=0x48a50100) at /home/cjones/mozilla/inbound/ipc/chromium/src/base/task.h:307
#10 0x41bb8d44 in mozilla::ipc::RPCChannel::RefCountedTask::Run (this=0x44b5cc10) at ../../dist/include/mozilla/ipc/RPCChannel.h:425
#11 0x41bb8e28 in mozilla::ipc::RPCChannel::DequeueTask::Run (this=0x44ffd560) at ../../dist/include/mozilla/ipc/RPCChannel.h:448
#12 0x41e26734 in MessageLoop::RunTask (this=0x403260e0, task=0x44ffd560) at /home/cjones/mozilla/inbound/ipc/chromium/src/base/message_loop.cc:326
#13 0x41e2678a in MessageLoop::DeferOrRunPendingTask (this=0x403260e0, pending_task=...) at /home/cjones/mozilla/inbound/ipc/chromium/src/base/message_loop.cc:334
#14 0x41e26af2 in MessageLoop::DoWork (this=0x403260e0) at /home/cjones/mozilla/inbound/ipc/chromium/src/base/message_loop.cc:434
#15 0x41bb7894 in mozilla::ipc::MessagePump::Run (this=0x40303310, aDelegate=0x403260e0) at /home/cjones/mozilla/inbound/ipc/glue/MessagePump.cpp:86
#16 0x41e262f4 in MessageLoop::RunInternal (this=0x403260e0) at /home/cjones/mozilla/inbound/ipc/chromium/src/base/message_loop.cc:208
#17 0x41e2628e in MessageLoop::RunHandler (this=0x403260e0) at /home/cjones/mozilla/inbound/ipc/chromium/src/base/message_loop.cc:201
#18 0x41e26236 in MessageLoop::Run (this=0x403260e0) at /home/cjones/mozilla/inbound/ipc/chromium/src/base/message_loop.cc:175
#19 0x41a847e6 in nsBaseAppShell::Run (this=0x4404f5e0) at /home/cjones/mozilla/inbound/widget/xpwidgets/nsBaseAppShell.cpp:163
#20 0x41863bf4 in nsAppStartup::Run (this=0x441c3640) at /home/cjones/mozilla/inbound/toolkit/components/startup/nsAppStartup.cpp:273
#21 0x408e0872 in XREMain::XRE_mainRun (this=0xbea568d0) at /home/cjones/mozilla/inbound/toolkit/xre/nsAppRunner.cpp:3800
#22 0x408e0aae in XREMain::XRE_main (this=0xbea568d0, argc=1, argv=0xbea58ae4, aAppData=0xd400) at /home/cjones/mozilla/inbound/toolkit/xre/nsAppRunner.cpp:3877
#23 0x408e0c5a in XRE_main (argc=1, argv=0xbea58ae4, aAppData=0xd400, aFlags=0) at /home/cjones/mozilla/inbound/toolkit/xre/nsAppRunner.cpp:3953
#24 0x00008d04 in do_main (argc=1, argv=0xbea58ae4) at /home/cjones/mozilla/inbound/b2g/app/nsBrowserApp.cpp:153
#25 0x00008f9c in main (argc=1, argv=0xbea58ae4) at /home/cjones/mozilla/inbound/b2g/app/nsBrowserApp.cpp:229
Comment 2 Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-08-23 13:56:15 PDT
(gdb) p gLastIDToVibrate
$3 = {
  mRawPtr = 0x0
}
Comment 3 Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-08-23 14:09:16 PDT
Created attachment 654789 [details] [diff] [review]
Protect against already-canceled vibrations
Comment 4 Justin Lebar (not reading bugmail) 2012-08-23 14:13:28 PDT
Comment on attachment 654789 [details] [diff] [review]
Protect against already-canceled vibrations

Awesome.
Comment 5 Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-08-23 17:37:54 PDT
Pushed but backed out because I messed up the bug #

https://hg.mozilla.org/integration/mozilla-inbound/rev/df85150b8d2f
https://hg.mozilla.org/integration/mozilla-inbound/rev/5e5711c63caa

Didn't add the reland to the backout cset so holding for a bit.
Comment 6 Chris Jones [:cjones] inactive; ni?/f?/r? if you need me 2012-08-24 14:14:06 PDT
https://hg.mozilla.org/integration/mozilla-inbound/rev/50430d101d34
Comment 7 Ryan VanderMeulen [:RyanVM] 2012-08-24 19:59:59 PDT
https://hg.mozilla.org/mozilla-central/rev/50430d101d34

Note You need to log in before you can comment on or make changes to this bug.