Thread
:
[N9] Hydra Widget Platform v1.3 from Sviox, now with Cordova support
View Single Post
sviox
2013-08-18 , 14:04
Posts: 79 | Thanked: 211 times | Joined on Aug 2012
#
129
Fixed a nasty crasher that randomly occurred right after uninstalling an app. Any developers following this? Do try to find the bug in this simplified piece of code:
void DetailsPage:
nUninstallClicked(){
WidgetManager::instance()->uninstallWidget( m_widgetBaseName );
}
And the signature of the called method is:
virtual void uninstallWidget( const QString& widgetBaseName, bool upgradeMode = false );
I'll give you a hint: DetailsPage is closed (and later, asynchronously deleted after a simple ~200ms back animation) within uninstallWidget() context and the segmentation fault occurred before leaving the method and more exactly within a QString::compare() call.
Anyone? It's quite obvious when written like this but took a good while to locate with all the rest of the code around
Quote & Reply
|
The Following User Says Thank You to sviox For This Useful Post:
nokiabot
sviox
View Public Profile
Send a private message to sviox
Find all posts by sviox