[KDevelop feedback] Crash setting up CMake project on Win 8.1

Kevin Funk kevin.funk at kdab.com
Mon Nov 28 15:47:32 UTC 2016


On Monday, 28 November 2016 14:53:05 CET George Socker wrote:
> OK,
> Looks like the plugin load error was dependency related.
> From DebugView:
> 
> Can't load plugin "KDevCMakeBuilder" some of its required dependencies could
> not be fulfilled: "org.kdevelop.IMakeBuilder" Can't load plugin
> "KDevCMakeBuilder" some of its required dependencies could not be
> fulfilled: "org.kdevelop.IMakeBuilder" Can't load plugin "KDevCMakeManager"
> because a required dependency could not be loaded:
> "org.kdevelop.IProjectBuilder at KDevCMakeBuilder" "CMake Project Builder" was
> the only plugin enabled under "Project Management". Enabling "Generic
> Project Manager" and "Custom Makefile Project Manager" and restarting
> KDevelop got it past " Could not load project management plugin
> KDevCMakeManager".
> 
> Not sure why they weren't enabled by default if they were needed for CMake.

Perfect, thanks for debugging! We'll have to double check what's wrong with 
those other plugins.

If you need further assistance, just shoot.

Cheers,
Kevin
 
> So far, I can't reproduce the crash on 5.0.3. CMake has now been run
> successfully.
> 
> Thanks,
> George
> 
> -----Original Message-----
> From: Kevin Funk [mailto:kfunk at kde.org]
> Sent: Monday, November 28, 2016 8:10 AM
> To: George Socker <gsocker at ara-inc.com>
> Cc: kdevelop-devel at kde.org
> Subject: Re: [KDevelop feedback] Crash setting up CMake project on Win 8.1
> 
> On Monday, 28 November 2016 13:04:13 CET George Socker wrote:
> > Kevin,
> > I can't get your preliminary 5.0.3 version to the crash point - after
> > selecting a CMake project and clicking Finish I get "Could not load
> > project management plugin KDevCMakeManager". It is enabled in the plugin
> > settings. I can send a dump if I can figure out how to get past this
> > point and reproduce the crash on 5.0.3.
> > 
> > CMake.exe is in the path.
> 
> Hmm, then you shouldn't run into this problem.
> 
> Please try the following:
> - Download DebugView [1]
> - Start the DebugView exe
> - Start KDevelop
> - Check DebugView again for interesting output from KDevelop
> 
> Paste or pastebin the output.
> 
> CC'ed kdevelop-devel at kde.org, this might be interesting to other users as
> well.
> 
> Cheers,
> Kevin
> 
> [1] https://technet.microsoft.com/en-us/sysinternals/debugview.aspx
> 
> > 5.0.1 and 5.0.2 both crash. Using the PDBs against 5.0.1 gets the
> > following
> > 
> > backtrace:
> > 	KDevPlatformInterfaces.dll!KDevelop::IPlugin::extensions() Line 136	C+
+
> > 
> > kdevcmakemanager.dll!KDevelop::IPlugin::extension<KDevelop::IProjectBu
> > ilde
> > r>() Line 172	C++ kdevcmakemanager.dll!CMakeManager::builder() Line
> > 249	C++
> > 
> >  	kdevcmakemanager.dll!
CMakeManager::createImportJob(KDevelop::ProjectFold
> >  	er
> > 
> > Item * item) Line 165	C++
> > KDevPlatformShell.dll!KDevelop::Project::open(const KDevelop::Path &
> > projectFile) Line 514	C++
> > KDevPlatformShell.dll!KDevelop::ProjectControllerPrivate::importProject(co
> > n
> > st QUrl & url_) Line 308	C++
> > KDevPlatformShell.dll!KDevelop::ProjectController::openProject(const QUrl
> > &
> > projectFile) Line 808	C++
> > KDevPlatformShell.dll!KDevelop::ProjectController::qt_static_metacall(QObj
> > e
> > ct * _o, QMetaObject::Call _c, int _id, void * * _a) Line 276	C++
> > 
> > KDevPlatformShell.dll!
KDevelop::ProjectController::qt_metacall(QMetaObject:
> > :Call _c, int _id, void * * _a) Line 347	C++
> > :
> > >	Qt5Qml.dll!0000000066bd144f()	Unknown
> > >	
> >  	Qt5Qml.dll!0000000066bd16fd()	Unknown
> >  	Qt5Qml.dll!0000000066bd30c5()	Unknown
> >  	Qt5Qml.dll!0000000066be2791()	Unknown
> >  	[External Code]
> > 
> > Apologies for the top posting, but I'm stuck with Outlook at work and
> > I can't reconfigure it.
> > 
> > George
> > 
> > -----Original Message-----
> > From: Kevin Funk [mailto:kfunk at kde.org]
> > Sent: Friday, November 25, 2016 4:48 AM
> > To: George Socker <gsocker at ara-inc.com>
> > Cc: mail at svenbrauch.de
> > Subject: Re: [KDevelop feedback] Crash setting up CMake project on Win
> > 8.1
> > 
> > On Friday, 25 November 2016 10:15:20 CET Kevin Funk wrote:
> > > On Monday, 21 November 2016 21:22:08 CET KDevelop wrote:
> > > > George Socker (not verified) (gsocker at ara-inc.com) sent a message
> > > > using the contact form at
> > > > https://www.kdevelop.org/contact/kdevelop_feedback.
> > > > 
> > > > Message
> > > > 
> > > >            I'm trying to open a CMake project on Windows 8.1 When
> > > > 
> > > > I
> > > > 
> > > > click
> > > > 
> > > > 'OK' on the build properties dialog, KDevelop crashes with the
> > > > following:
> > > > Unhandled exception at 0x00007FFC26FF9E31
> > > > (KDevPlatformInterfaces.dll) in
> > > > kdevelop.exe: 0xC0000005: Access violation reading location
> > > > 0x0000000000000020.
> > 
> > By the way,
> > 
> > I just uploaded a preliminary version of 5.0.3:
> > 
> > https://kfunk.blaucloud.de/index.php/s/wr2CsjmGyqkgyNF/download?path=
> > %2F&files=kdevelop-5.0.3-x64-setup.exe
> > 
> > Feel free to try out that one. If the crash persists, please send me
> > the core dump.
> > 
> > Cheers,
> > Kevin
> > 
> > > Heya,
> > > 
> > > first of all: thanks for the feedback!
> > > 
> > > Before debugging deeper, is cmake.exe in system-wide PATH for you or
> > > not?
> > > For KDevelop it's preferable to have it in PATH so the IDE can find it.
> > > 
> > > > I can supply a more detailed backtrace if there a PDB file
> > > > somewhere with the symbols.
> > > 
> > > Here are the PDBs for 5.0.1 x64 (older version, I know, but they
> > > 
> > > should still be useful, since binaries haven't changed much):
> > >   https://kfunk.blaucloud.de/index.php/s/6i2GHgCrmAygL7H
> > > 
> > > If that doesn't help I don't mind if you could just send us a core
> > > 
> > > dump either. Pretty easy to do with Userdump:
> > >   https://support.microsoft.com/en-us/kb/241215
> > > 
> > > Thanks!
> > > 
> > > > Thanks
> > 
> > --
> > Kevin Funk | kfunk at kde.org | http://kfunk.org
> 
> --
> Kevin Funk | kfunk at kde.org | http://kfunk.org


-- 
Kevin Funk | kevin.funk at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - The Qt, C++ and OpenGL Experts
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 7021 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161128/d3f91479/attachment-0001.bin>


More information about the KDevelop-devel mailing list