[kdevelop] [Bug 403098] kdevelop always crashes when opening a certain project

2019-01-12 Thread Francis Herne
https://bugs.kde.org/show_bug.cgi?id=403098

Francis Herne  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

--- Comment #6 from Francis Herne  ---
Sorry, I should have noticed the different names.

In that case, I'm fairly certain the original bug is a different one.

-

Salvo: Please try to add a reduced code example using my steps from Comment #2
above; I still haven't been able to reproduce the bug from only the backtrace.

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

[kdevelop] [Bug 403098] kdevelop always crashes when opening a certain project

2019-01-12 Thread Jonathan Verner
https://bugs.kde.org/show_bug.cgi?id=403098

--- Comment #5 from Jonathan Verner  ---
> My concern is that your original backtrace still *doesn't* look like an 
> instance of that bug to me, thus it's possible that you've been unlucky and 
> encountered two different ones.

I am sorry for the confusion I probably caused. I am not the original reporter
of this bug, its just that drKonqui directed me to this bug which seemed to
have a very similar backtrace, so I added my comments here...

> Can you please try with the patch from above (or just 5.3-git) and see if it 
> does solve your original problem?

The kdevelop-git appimage indeed does not crash on my reduced example. But
again, I am not sure about the originally reported case by Salvo


> Thanks again, and sorry for the bugs...

Thank you for working on this excellent IDE!!

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

[kdevelop] [Bug 403098] kdevelop always crashes when opening a certain project

2019-01-11 Thread Francis Herne
https://bugs.kde.org/show_bug.cgi?id=403098

Francis Herne  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #4 from Francis Herne  ---
Thanks for the reduced example!

Now I'm a bit puzzled...

The example in your last comment is (like Sven suspected before) an instance of
https://bugs.kde.org/show_bug.cgi?id=403045 , which should be fixed by the
patch linked in that bug.

My concern is that your original backtrace still *doesn't* look like an
instance of that bug to me, thus it's possible that you've been unlucky and
encountered two different ones.

Can you please try with the patch from above (or just 5.3-git) and see if it
does solve your original problem?

Thanks again, and sorry for the bugs...

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

[kdevelop] [Bug 403098] kdevelop always crashes when opening a certain project

2019-01-11 Thread Jonathan Verner
https://bugs.kde.org/show_bug.cgi?id=403098

Jonathan Verner  changed:

   What|Removed |Added

 CC||jonathan.ver...@gmail.com

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

[kdevelop] [Bug 403098] kdevelop always crashes when opening a certain project

2019-01-11 Thread Francis Herne
https://bugs.kde.org/show_bug.cgi?id=403098

--- Comment #2 from Francis Herne  ---
I don't think it is, there's no annotated assignment in the call stack...

Looks similar, though.


To the reporter:

Thanks for the report.

The crash is in the Python parser, probably triggered by some specific
combination of syntax.

If you run `export QT_LOGGING_RULES="kdevelop.plugins.python=true"` before
starting KDevelop, it will print (among other things) lines of the format

`kdevelop.plugins.python:  > PARSING > parsing file 
QUrl("file:///home/flh/foo.py") ; has priority -1`

This should identify the file being parsed at the time of the crash.

The call stack in your crash report should help find the specific part
responsible; it involved:

 - An attribute access
 - Inside a list comprehension
 - As part of a function call (either as an argument, or the thing being
called)
 - At the top level of a function body.

If you can produce a minimal example (perhaps with variable names etc.
anonymized) that would help identify and fix the problem.


Note: I have tried to reproduce the issue just by looking at the call stack,
but without success so far.

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

[kdevelop] [Bug 403098] kdevelop always crashes when opening a certain project

2019-01-11 Thread Sven Brauch
https://bugs.kde.org/show_bug.cgi?id=403098

Sven Brauch  changed:

   What|Removed |Added

 CC||m...@flherne.uk,
   ||m...@svenbrauch.de

--- Comment #1 from Sven Brauch  ---
@Francis this looks like the issue you fixed recently ...?

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