← Back to team overview

touch-packages team mailing list archive

[Bug 1380736] Re: Unlocking sim while dash is not loaded leads to a system lockup

 

looking at the report mterry posted it looks like coming from qtubuntu-
media. I'm not familiar with that code base but after having a quick
look these caught my eye:

http://bazaar.launchpad.net/~phablet-team/qtubuntu-
media/trunk/view/head:/src/aal/aalmediaplayerservice.cpp:

AalMediaPlayerService::AalMediaPlayerService(QObject *parent):
...
m_service = this;
---
    m_hubPlayerSession->playback_status_changed().connect(
            std::bind(&AalMediaPlayerService::onPlaybackStatusChanged, this, _1));
...

First m_service is static, so if ever more than one instance of
AalMediaPlayerService is created things will brobably break. Should that
be a singleton instead?

secondly, there is is connection made to m_hubPlayerSession, but it is
not disconnected in

void 
AalMediaPlayerService::setPlayer(const std::shared_ptr<core::ubuntu::media::Player> &player)
{
    m_hubPlayerSession = player;
}

nor in the destructor ~AalMediaPlayerService()  even though the (static)
m_service might get descructed as it's parent is relayed to it's parent
QObject class.

** Also affects: qtubuntu-media (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to unity8 in Ubuntu.
https://bugs.launchpad.net/bugs/1380736

Title:
  Unlocking sim while dash is not loaded leads to a system lockup

Status in Network Menu:
  Invalid
Status in “dbus-cpp” package in Ubuntu:
  New
Status in “media-hub” package in Ubuntu:
  New
Status in “qtubuntu-media” package in Ubuntu:
  New
Status in “unity8” package in Ubuntu:
  New

Bug description:
  STEPS:
  1. Install a new image (Apparently it works with just re-running the wizard)
  2. While the dash is empty drag down the network indicator
  3. Click on the first unlock sim button
  4. Type in the unlock code and hit the tick
  5. System locks up

  EXPECTED:
  I expect the lock you unlock the sim and change back to the indicator

  ACTUAL:
  The system hard locks nothing works.  In the end you are forced to hard shutdown the phone by pressing and holding the power button till the phone powers down.

  Booting the Phone back up after this and everthing works as expected.
  Also waiting on the dash to fully load and fill with apps and then unlocking works.

To manage notifications about this bug go to:
https://bugs.launchpad.net/indicator-network/+bug/1380736/+subscriptions