Closed Bug 1219587 Opened 9 years ago Closed 6 years ago

The homescreen enters a crash loop when b2g is started with run-gdb.sh

Categories

(Firefox OS Graveyard :: Stability, defect)

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: cyu, Unassigned)

Details

This is seen on the debug build running on aries (gecko revision: 76bd0c01d72e).
When launching b2g with ./run-gdb.sh, the homescreen enters a crash loop. Crash stack:

Program received signal SIGSEGV, Segmentation fault.
0xb3f3f21c in mozilla::dom::TabChild::RecvCacheFileDescriptor (this=<optimized out>, aPath=..., aFileDescriptor=...) at mozilla-central/dom/ipc/TabChild.cpp:1457
1457        MOZ_ASSERT(info->mCallback);
(gdb) bt
#0  0xb3f3f21c in mozilla::dom::TabChild::RecvCacheFileDescriptor (this=<optimized out>, aPath=..., aFileDescriptor=...) at mozilla-central/dom/ipc/TabChild.cpp:1457
#1  0xb2de098c in mozilla::dom::PBrowserChild::OnMessageReceived (this=0xb8866cd4, msg__=...) at /mnt/SSD/data/git/aries/B2G/objdir-gecko-dbg/ipc/ipdl/PBrowserChild.cpp:2844
#2  0xb2e4f462 in mozilla::dom::PContentChild::OnMessageReceived (this=<optimized out>, msg__=...) at /mnt/SSD/data/git/aries/B2G/objdir-gecko-dbg/ipc/ipdl/PContentChild.cpp:5866
#3  0xb2c0a178 in mozilla::ipc::MessageChannel::DispatchAsyncMessage (this=this@entry=0xb83bafa8, aMsg=...) at mozilla-central/ipc/glue/MessageChannel.cpp:1389
#4  0xb2c17f2e in mozilla::ipc::MessageChannel::DispatchMessage (this=this@entry=0xb83bafa8, aMsg=...) at mozilla-central/ipc/glue/MessageChannel.cpp:1309
#5  0xb2c190e2 in mozilla::ipc::MessageChannel::OnMaybeDequeueOne (this=0xb83bafa8) at mozilla-central/ipc/glue/MessageChannel.cpp:1280
#6  0xb29182ac in DispatchToMethod<FdWatcher, void (FdWatcher::*)()> (arg=..., method=<optimized out>, obj=<optimized out>) at mozilla-central/ipc/chromium/src/base/tuple.h:387
#7  RunnableMethod<FdWatcher, void (FdWatcher::*)(), Tuple0>::Run (this=<optimized out>) at mozilla-central/ipc/chromium/src/base/task.h:323
#8  0xb2c06e8a in Run (this=<optimized out>) at ../../dist/include/mozilla/ipc/MessageChannel.h:471
#9  mozilla::ipc::MessageChannel::DequeueTask::Run (this=<optimized out>) at ../../dist/include/mozilla/ipc/MessageChannel.h:488
#10 0xb2bea7b8 in MessageLoop::RunTask (this=this@entry=0xbea6ac40, task=0xb88f1a48) at mozilla-central/ipc/chromium/src/base/message_loop.cc:364
#11 0xb2bee898 in MessageLoop::DeferOrRunPendingTask (this=this@entry=0xbea6ac40, pending_task=...) at mozilla-central/ipc/chromium/src/base/message_loop.cc:372
#12 0xb2bf0c36 in MessageLoop::DoWork (this=0xbea6ac40) at mozilla-central/ipc/chromium/src/base/message_loop.cc:459
#13 0xb2c06758 in mozilla::ipc::DoWorkRunnable::Run (this=<optimized out>) at mozilla-central/ipc/glue/MessagePump.cpp:220
#14 0xb29744e0 in nsThread::ProcessNextEvent (this=0xb8409fc0, aMayWait=<optimized out>, aResult=0xbea6aadf) at mozilla-central/xpcom/threads/nsThread.cpp:964
#15 0xb2997c94 in NS_ProcessNextEvent (aThread=0xb8409fc0, aMayWait=aMayWait@entry=false) at mozilla-central/xpcom/glue/nsThreadUtils.cpp:297
#16 0xb2c0db80 in mozilla::ipc::MessagePump::Run (this=0xb83a61f8, aDelegate=0xbea6ac40) at mozilla-central/ipc/glue/MessagePump.cpp:95
#17 0xb2bea6b6 in MessageLoop::RunInternal (this=0xbea6ac40) at mozilla-central/ipc/chromium/src/base/message_loop.cc:234
#18 0xb2bea6ea in RunHandler (this=<optimized out>) at mozilla-central/ipc/chromium/src/base/message_loop.cc:227
#19 MessageLoop::Run (this=<optimized out>) at mozilla-central/ipc/chromium/src/base/message_loop.cc:201
#20 0xb4106b38 in nsBaseAppShell::Run (this=0xb87ed788) at mozilla-central/widget/nsBaseAppShell.cpp:156
#21 0xb47e86c8 in XRE_RunAppShell () at mozilla-central/toolkit/xre/nsEmbedFunctions.cpp:787
#22 0xb2c0dd7a in mozilla::ipc::MessagePumpForChildProcess::Run (this=0xb83a61f8, aDelegate=0xbea6ac40) at mozilla-central/ipc/glue/MessagePump.cpp:259
#23 0xb2bea6b6 in MessageLoop::RunInternal (this=this@entry=0xbea6ac40) at mozilla-central/ipc/chromium/src/base/message_loop.cc:234
#24 0xb2bea6ea in RunHandler (this=0xbea6ac40) at mozilla-central/ipc/chromium/src/base/message_loop.cc:227
#25 MessageLoop::Run (this=this@entry=0xbea6ac40) at mozilla-central/ipc/chromium/src/base/message_loop.cc:201
#26 0xb47e9110 in XRE_InitChildProcess (aArgc=<optimized out>, aArgv=<optimized out>, aGMPLoader=<optimized out>) at mozilla-central/toolkit/xre/nsEmbedFunctions.cpp:623
#27 0xb2e85a7a in content_process_main (argc=8, argc@entry=9, argv=argv@entry=0xb8447fe0) at mozilla-central/ipc/contentproc/plugin-container.cpp:237
#28 0xb2c0da1a in mozilla::ipc::ProcLoaderLoadRunner::DoWork (this=0xb8460f10) at mozilla-central/ipc/glue/ProcessUtils_linux.cpp:434
#29 0xb2c194f2 in ProcLoaderServiceRun (aReservedFds=..., aArgv=<optimized out>, aArgc=1, aFd=<optimized out>, aPeerPid=14962) at mozilla-central/ipc/glue/ProcessUtils_linux.cpp:593
#30 XRE_ProcLoaderServiceRun (aPeerPid=14962, aFd=<optimized out>, aArgc=1, aArgv=<optimized out>, aReservedFds=...) at mozilla-central/ipc/glue/ProcessUtils_linux.cpp:627
#31 0xb6fa4c7c in RunProcesses (aReservedFds=..., argv=0xbea6b954, argc=1) at mozilla-central/b2g/app/B2GLoader.cpp:219
#32 main (argc=1, argv=0xbea6b954) at mozilla-central/b2g/app/B2GLoader.cpp:297
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 6 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.