Review Request 129768: Fix segfault when analyzing source code with clang-tidy

Leslie Zhai xiangzhai83 at gmail.com
Thu Jan 5 03:58:38 UTC 2017



> On Jan. 4, 2017, 7:09 p.m., Sven Brauch wrote:
> > Our plugins have dependency handling (look at the json files), it should be possible to make the clang-tidy plugin depend on something that provides a build system, if that is the problem.
> 
> Aleix Pol Gonzalez wrote:
>     No, this problem happens when you're running a project based on IProjectFileManager (IIRC?) where there's no build system information.
>     You might have cmake installed but if the project you're analyzing isn't cmake-based, it's not of much help.
> 
> Sven Brauch wrote:
>     Ok. Then at least the error message doesn't make sense (about the shared libraries).

Hi Sven,

Yes, I can only reproduce such issue is installed the share libraries (for example, kdevcmakemanager.so) to wrong place!

Regards,
Leslie Zhai


- Leslie


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://git.reviewboard.kde.org/r/129768/#review101781
-----------------------------------------------------------


On Jan. 5, 2017, 11:55 a.m., Leslie Zhai wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129768/
> -----------------------------------------------------------
> 
> (Updated Jan. 5, 2017, 11:55 a.m.)
> 
> 
> Review request for KDevelop and Kevin Funk.
> 
> 
> Bugs: 374525
>     https://bugs.kde.org/show_bug.cgi?id=374525
> 
> 
> Repository: kdev-clang-tidy
> 
> 
> Description
> -------
> 
> Hi KDevelop developers,
> 
> KDevelop segfault when analyzing source code with clang-tidy, so I simply added ```if (!buildSystem)``` check
> 
> Regards,
> Leslie Zhai
> 
> 
> Diffs
> -----
> 
>   src/plugin.cpp 0def66e 
> 
> Diff: https://git.reviewboard.kde.org/r/129768/diff/
> 
> 
> Testing
> -------
> 
> Analyzed K3B with clang-tidy
> 
> 
> Thanks,
> 
> Leslie Zhai
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20170105/65eef9c9/attachment.html>


More information about the KDevelop-devel mailing list