[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade [Php::VariableDeclaration::isVariadic]

2017-11-18 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=386969

Kevin Funk  changed:

   What|Removed |Added

   Version Fixed In||5.2.1

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

[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade [Php::VariableDeclaration::isVariadic]

2017-11-18 Thread Milian Wolff
https://bugs.kde.org/show_bug.cgi?id=386969

Milian Wolff  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/kde
   ||v-php/3036fee6e96fa776e05a3
   ||ac572355146b7171991
 Status|CONFIRMED   |RESOLVED

--- Comment #9 from Milian Wolff  ---
Git commit 3036fee6e96fa776e05a3ac572355146b7171991 by Milian Wolff.
Committed on 18/11/2017 at 18:33.
Pushed by mwolff into branch '5.2'.

Check dynamic_cast result before derefencing its value

M  +1-1duchain/navigation/declarationnavigationcontext.cpp

https://commits.kde.org/kdev-php/3036fee6e96fa776e05a3ac572355146b7171991

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

[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade [Php::VariableDeclaration::isVariadic]

2017-11-18 Thread Sven Brauch
https://bugs.kde.org/show_bug.cgi?id=386969

--- Comment #8 from Sven Brauch  ---
git clone git://anongit.kde.org/kdev-php
cd kdev-php
mkdir build; cd build; cmake .. -DCMAKE_INSTALL_PREFIX=
make install

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

[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade [Php::VariableDeclaration::isVariadic]

2017-11-18 Thread Julio J .
https://bugs.kde.org/show_bug.cgi?id=386969

--- Comment #7 from Julio J.  ---
@Sven Brauch: Thanks, that was my plan.

@Kevin Funk: I've managed to compile KDevelop from sources with debug symbols,
the kdev-php isn't included, and I can't find a way to include it. Could you
point me to somewhere where I can read how to compile it w/ PHP support? All
resources I could find were for KDevelop4 :(

Thanks!

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

[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade [Php::VariableDeclaration::isVariadic]

2017-11-15 Thread Sven Brauch
https://bugs.kde.org/show_bug.cgi?id=386969

Sven Brauch  changed:

   What|Removed |Added

 CC||m...@svenbrauch.de

--- Comment #6 from Sven Brauch  ---
FWIW, until it's fixed, you can easily go back to 5.1.2 by using the AppImage
in the meantime.

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

[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade [Php::VariableDeclaration::isVariadic]

2017-11-15 Thread Julio J .
https://bugs.kde.org/show_bug.cgi?id=386969

--- Comment #5 from Julio J.  ---
I'll file a different bug. tbh, I've submitted these 2 because DrKonqi gave
them 3 stars.

I'll look into getting debug symbols because I'd love to keep using kdevelop
and these constant crashes are making it unusable.

Thanks for the link!

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

[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade [Php::VariableDeclaration::isVariadic]

2017-11-15 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=386969

--- Comment #4 from Kevin Funk  ---
Please file a different bug for this one -- it has a different backtrace.

But also please try to get debug symbols first. Does the following wiki page
for ArchLinux help, maybe?
 
https://wiki.archlinux.org/index.php/Debug_-_Getting_Traces#CMAKE_.28KDE.29_applications

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

[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade [Php::VariableDeclaration::isVariadic]

2017-11-15 Thread Julio J .
https://bugs.kde.org/show_bug.cgi?id=386969

--- Comment #3 from Julio J.  ---
Created attachment 108889
  --> https://bugs.kde.org/attachment.cgi?id=108889&action=edit
Another backtrace, same kind of crash I've been having since yesterday.

Another backtrace, not sure if related to above but it just crashed again :(

If I should file another bug for this one just let me know.

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

[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade [Php::VariableDeclaration::isVariadic]

2017-11-15 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=386969

Kevin Funk  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|UNCONFIRMED |CONFIRMED

--- Comment #2 from Kevin Funk  ---
@Heinz: Quick look -- I suspect the place where this crashes is:

duchain/navigation/declarationnavigationcontext.cpp:
159 void DeclarationNavigationContext::htmlFunction()
...
197   VariableDeclaration *argDec =
dynamic_cast(decls[currentArgNum]);
198 
199   if (argDec->isVariadic()) {

... where argDec is being a nullptr or invalid?

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

[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade [Php::VariableDeclaration::isVariadic]

2017-11-15 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=386969

Kevin Funk  changed:

   What|Removed |Added

 CC||ppr...@liwjatan.at

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

[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade [Php::VariableDeclaration::isVariadic]

2017-11-15 Thread Kevin Funk
https://bugs.kde.org/show_bug.cgi?id=386969

Kevin Funk  changed:

   What|Removed |Added

Summary|KDevelop keeps crashing |KDevelop keeps crashing
   |since the 5.2 upgrade   |since the 5.2 upgrade
   ||[Php::VariableDeclaration::
   ||isVariadic]
  Component|general |Language Support: PHP

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

[kdevelop] [Bug 386969] KDevelop keeps crashing since the 5.2 upgrade

2017-11-15 Thread Julio J .
https://bugs.kde.org/show_bug.cgi?id=386969

--- Comment #1 from Julio J.  ---
Wow, re-reading the report it sounds ironic, but I truly thank all of you for a
great job on KDE and Kdevelop (regardless of the bugs that may sneak in).

Keep it up!

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