Review Request 129600: segfault when ExpressionVisitor's lastType is nullptr

Leslie Zhai xiangzhai83 at gmail.com
Fri Dec 2 08:46:20 UTC 2016



> On 十二月 2, 2016, 4:10 p.m., Sven Brauch wrote:
> > Thanks for caring. I would prefer to change the expression visitor so it never returns a null type, i.e. initialize it to AbstractType::Ptr(new IntegralType(IntegralType::TypeMixed)) or so though.

Hi Sven Brauch,

I could *NOT* find suitable place to report kdev-ruby issues, because there is *NO* product nor component for it, then I just paste the debug info here http://kfunk.org/2016/11/30/kdevelop-seeking-maintainer-for-ruby-language-support/#comment-3030737273

Thanks a lot!

Regards,
Leslie Zhai


- Leslie


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


On 十二月 2, 2016, 1:24 p.m., Leslie Zhai wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://git.reviewboard.kde.org/r/129600/
> -----------------------------------------------------------
> 
> (Updated 十二月 2, 2016, 1:24 p.m.)
> 
> 
> Review request for KDevelop and Kevin Funk.
> 
> 
> Repository: kdev-ruby
> 
> 
> Description
> -------
> 
> When using kdevelop import redmine (a bug tracker written in ruby http://www.redmine.org/) segfault when ExpressionVisitor's lastType is nullptr, so I simply added the check
> 
> ```
> if (ev.lastType() != nullptr)
> ```
> 
> 
> Diffs
> -----
> 
>   duchain/builders/declarationbuilder.cpp 841fc2e 
> 
> Diff: https://git.reviewboard.kde.org/r/129600/diff/
> 
> 
> Testing
> -------
> 
> import redmine
> 
> 
> Thanks,
> 
> Leslie Zhai
> 
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kdevelop-devel/attachments/20161202/2615e4a2/attachment.html>


More information about the KDevelop-devel mailing list