[Differential] [Updated] D1618: Ensure method call with non-null type

brauch (Sven Brauch) noreply at phabricator.kde.org
Mon May 16 11:44:07 UTC 2016


brauch added a comment.


  As said on IRC, I think this is the correct fix for the crash in the first place and should go in in any case. All other code in kdevplatform does not assume that type and idType are not null when calling that method, so qmljs shouldn't either.
  
  For finding the actual reason, you might want to start by looking at the addBaseClass() calls in declarationbuilder.cpp. One of them must add the base class with a null type (maybe add some qDebugs() or conditional breakpoints). Then trace it back from there.

REPOSITORY
  rKDEVELOP KDevelop

REVISION DETAIL
  https://phabricator.kde.org/D1618

EMAIL PREFERENCES
  https://phabricator.kde.org/settings/panel/emailpreferences/

To: cordlandwehr, KDevelop, kfunk, brauch
Cc: kdevelop-devel


More information about the KDevelop-devel mailing list