Summary: | amarok crashes on quit when collection scan was aborted | ||
---|---|---|---|
Product: | [Applications] amarok | Reporter: | simon |
Component: | Collections/Local | Assignee: | Amarok Developers <amarok-bugs-dist> |
Status: | RESOLVED FIXED | ||
Severity: | crash | ||
Priority: | NOR | ||
Version: | 2.0-SVN | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
simon
2008-12-04 11:20:09 UTC
oops forgot to set correct severity still freezing (looooooooooooooong) when aborting a scan and still crashing ... Ok, I can confirm this with latest SVN trunk. Debug: amarok: BEGIN: virtual ScanResultProcessor::~ScanResultProcessor() amarok: END__: virtual ScanResultProcessor::~ScanResultProcessor() - Took 4.1e-05s amarok: END__: virtual void XmlParseJob::run() - Took 4.4s amarok: END__: void ScanManager::stopParser() - Took 0.1s amarok: END__: virtual ScanManager::~ScanManager() - Took 0.1s QProcess: Destroyed while process is still running. amarok: BEGIN: virtual XmlParseJob::~XmlParseJob() amarok: END__: virtual XmlParseJob::~XmlParseJob() - Took 0.00019s amarok: BEGIN: virtual App::~App() amarok: BEGIN: virtual void SqlCollection::stopScan() QSocketNotifier: Invalid socket 50 and type 'Read', disabling... KCrash: Application 'amarok' crashing... Backtrace: [KCrash handler] #6 0x00000000 in ?? () #7 0xb6b65d86 in CollectionManager::stopScan (this=0x8926660) at /home/mark/kde/src/amarok/src/collection/CollectionManager.cpp:164 #8 0xb6be317e in ~App (this=0xbfddde00) at /home/mark/kde/src/amarok/src/App.cpp:193 #9 0x0804c16f in main (argc=4, argv=0xbfdde304) at /home/mark/kde/src/amarok/src/main.cpp:130 #0 0xb7fdc430 in __kernel_vsyscall () SVN commit 911001 by markey: Fix crash on exit when collection scan has been aborted. Crash was caused by dangling pointer. QPointer to the rescue. BUG: 176870 M +3 -1 SqlCollection.h WebSVN link: http://websvn.kde.org/?view=rev&revision=911001 SVN commit 923010 by dmeltzer: Backport r911001 Fix crash on exit when collection scan has been aborted. Crash was caused by dangling pointer. QPointer to the rescue. BUG: 176870 M +3 -1 SqlCollection.h WebSVN link: http://websvn.kde.org/?view=rev&revision=923010 |