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

            Bug ID: 371933
           Summary: Crash in Sublime::IdealController::raiseView
           Product: kdevplatform
           Version: git master
          Platform: Compiled Sources
                OS: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: NOR
         Component: sublime
          Assignee: kdevelop-bugs-n...@kde.org
          Reporter: rjvber...@gmail.com
  Target Milestone: ---

Created attachment 101943
  --> https://bugs.kde.org/attachment.cgi?id=101943&action=edit
backtrace

Application: kdevelop5 (5.0.2)
 (Compiled from sources)
Qt Version: 5.6.1
Frameworks Version: 5.27.0
Operating System: Linux 4.5.7-ck1-mainline-core2-rjvb x86_64
Distribution: Ubuntu 14.04.5 LTS

-- Information about the crash:
- What I was doing when the application crashed:

I hit the "Show differences" action in a changed document's context
(right-click) menu.
This happened after I had changed the application style from and back to the
active style via the style kcm (kcmshell5 style); the active style had been
rebuilt and reinstalled with KDevelop running.

However I notice that a check of m_view_to_action.contains(view) is made before
using .value(view). Evidently these Q_ASSERT checks disappear in production
mode. Maybe these could be complemented by a runtime check triggering an early
return on failure if that situation is not a guarantee for catastrophic failure
down the line but a situation that can indeed be ignored?

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to