radekp / qtmoko

QtExtended, formerly known as Qtopia from TrollTech, discontinued by Nokia
http://qtmoko.org
Other
70 stars 39 forks source link

Endless loop when starting up, possibly due to plane mode #106

Closed ydirson closed 12 years ago

ydirson commented 12 years ago

After forced system reboot while in plane mode, qpe now cannot start again, and gets restarted in a loop, asserting every time:

ASSERT: "level == QPhoneRfFunctionality::Full || level == QPhoneRfFunctionality::DisableTransmitAndReceive" in file .../src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp, line 348 Aborted

Adding a trace shows that "level" is indeed 0 (aka QPhoneRfFunctionality::Minimum). If I comment the assert out, qpe boots a bit further, allowing to enter PIN code, but then fails on another assert:

ASSERT: "QPhoneRfFunctionality::DisableTransmitAndReceive == d->m_rfFunc->level()" in file /work/yann/freerunner/qtmoko/qtmoko-i18n/src/server/phone/telephony/callpolicymanager/cell/cellmodemmanager.cpp, line 829

Looks like ::Minimum is really not supported. However, the only use of it is found in fsorffunctionality.cpp. But 0 also appears to be the default value for QPhoneRfFunctionality, since the ctor does not set an explicit value.

Questions arise:

I also attempted to locate a place where the airplane override state of the current profile would be stored in the filesystem, as noted on IRC the other day, but could not find anything. Hints welcome :)

ydirson commented 12 years ago

Hm - after breaking my /opt/qtmoko with libs mismatches, and upgrading to v44, there is no more problem. In fact, maybe I had broken things myself beforehand with partial upgrades of locally-built binaries...