[Marble-bugs] [marble] [Bug 357157] Marble crashes while trying to open .osm files using the open file icon in Edit Maps Panel.

Dennis Nienhüser via KDE Bugzilla bugzilla_noreply at kde.org
Sat Jan 16 15:57:25 UTC 2016


https://bugs.kde.org/show_bug.cgi?id=357157

--- Comment #3 from Dennis Nienhüser <nienhueser at kde.org> ---
Git commit 31f7b982736eaece5a8d9958f1aca06dedc630be by Dennis Nienhüser.
Committed on 16/01/2016 at 15:57.
Pushed by nienhueser into branch 'master'.

Fix a crash when using the blocking API of ParsingRunnerManager

Both QThreadPool and ParsingRunnerManager were trying to delete the
same class instance. Now ParsingRunnerManager only keeps track of
the number of active parsers, but does not attempt to delete them
once they finish.

A simpler fix would have been to call setAutoDelete(false) in the
ParsingTask ctor, but this approach seems cleaner.

M  +15   -19   src/lib/marble/ParsingRunnerManager.cpp
M  +1    -2    src/lib/marble/ParsingRunnerManager.h
M  +1    -1    src/lib/marble/RunnerTask.cpp
M  +1    -1    src/lib/marble/RunnerTask.h

http://commits.kde.org/marble/31f7b982736eaece5a8d9958f1aca06dedc630be

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Marble-bugs mailing list