Closed Bug 1047327 Opened 12 years ago Closed 8 years ago

[FM Radio] Failed assertion on devices without radio interface

Categories

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

ARM
Gonk (Firefox OS)
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WONTFIX

People

(Reporter: tzimmermann, Unassigned)

Details

I see this crash on the Nexus 4. The reason is apparently that there's no '/dev/radio0' on the device, so opening fails. But the result handler checks this by assertion, which makes the FM Radio App crash. STR: - open FM Radio APP on Nexus 4 [Switching to Thread 181.181] 0xb4ad5470 in mozilla::dom::FMRadioService::Notify (this=0xaaca9880, aInfo=<optimized out>) at ../../../../mozilla-central/dom/fmradio/FMRadioService.cpp:750 750 MOZ_ASSERT(IsFMRadioOn()); (gdb) bt #0 0xb4ad5470 in mozilla::dom::FMRadioService::Notify (this=0xaaca9880, aInfo=<optimized out>) at ../../../../mozilla-central/dom/fmradio/FMRadioService.cpp:750 #1 0xb448ae6a in Broadcast (aParam=..., this=0xa9f84594) at ../dist/include/mozilla/Observer.h:72 #2 mozilla::hal::NotifyFMRadioStatus (aFMRadioState=...) at ../../../mozilla-central/hal/Hal.cpp:1033 #3 0xb448f51c in mozilla::hal_impl::EnableFMRadio (aInfo=...) at ../../../mozilla-central/hal/gonk/GonkFMRadio.cpp:286 #4 0xb4ad653c in mozilla::dom::EnableRunnable::Run (this=0xac95e560) at ../../../../mozilla-central/dom/fmradio/FMRadioService.cpp:136 #5 0xb41a458a in ProcessNextEvent (aResult=0xbee6d7f7, aMayWait=false, this=0xb6a4e700) at ../../../../mozilla-central/xpcom/threads/nsThread.cpp:766 #6 nsThread::ProcessNextEvent (this=0xb6a4e700, aMayWait=<optimized out>, aResult=0xbee6d7f7) at ../../../../mozilla-central/xpcom/threads/nsThread.cpp:685 #7 0xb41b845c in NS_ProcessNextEvent (aThread=0xb6a4e700, aMayWait=<optimized out>) at /home/mozilla/Projects/mozilla/src/mozilla-central/xpcom/glue/nsThreadUtils.cpp:265 #8 0xb4367e4c in mozilla::ipc::MessagePump::Run (this=0xb6a01ee0, aDelegate=0xb6a701a0) at ../../../../mozilla-central/ipc/glue/MessagePump.cpp:99 #9 0xb4356646 in MessageLoop::RunInternal (this=0xb6a701a0) at ../../../../mozilla-central/ipc/chromium/src/base/message_loop.cc:229 #10 0xb435665e in RunHandler (this=0xb6a701a0) at ../../../../mozilla-central/ipc/chromium/src/base/message_loop.cc:222 #11 MessageLoop::Run (this=0xb6a701a0) at ../../../../mozilla-central/ipc/chromium/src/base/message_loop.cc:196 #12 0xb4c86642 in nsBaseAppShell::Run (this=0xb1fb9760) at ../../../../mozilla-central/widget/xpwidgets/nsBaseAppShell.cpp:164 #13 0xb529396e in nsAppStartup::Run (this=0xb2012910) at ../../../../../mozilla-central/toolkit/components/startup/nsAppStartup.cpp:278 #14 0xb52ae542 in XREMain::XRE_mainRun (this=0xbee6d98c) at ../../../../mozilla-central/toolkit/xre/nsAppRunner.cpp:4013 #15 0xb52ae72e in XREMain::XRE_main (this=0xbee6d98c, argc=<optimized out>, argv=<optimized out>, aAppData=<optimized out>) at ../../../../mozilla-central/toolkit/xre/nsAppRunner.cpp:4084 #16 0xb52ae888 in XRE_main (argc=1, argv=0xbee6fb44, aAppData=0x24938, aFlags=<optimized out>) at ../../../../mozilla-central/toolkit/xre/nsAppRunner.cpp:4298 #17 0x0000ae9c in do_main (argv=0xbee6fb44, argc=1) at ../../../../mozilla-central/b2g/app/nsBrowserApp.cpp:163 #18 main (argc=<optimized out>, argv=<optimized out>) at ../../../../mozilla-central/b2g/app/nsBrowserApp.cpp:256
Firefox OS is not being worked on
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.