[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-02-12 Thread Alex Richardson via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #19 from Alex Richardson --- Git commit bba0f034c4bdfdf9375b7532d134ef05214ce51b by Alex Richardson. Committed on 12/02/2016 at 12:48. Pushed by arichardson into branch '5.0'. Don't add HintedType instances to

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-02-12 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #20 from Sven Brauch --- Hmm. Running duchainify /usr/lib/python3.5, I still see some very long hangs somewhere around this code (notably processing site-packages/twisted/trial/test/test_deferred.py). Maybe this needs to

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-02-11 Thread Alex Richardson via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #18 from Alex Richardson --- Thank you for fixing this! However there are still a lot of types being added that in my opinion don't need to exist: found potential duplicates when adding N6Python10HintedTypeE

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-02-10 Thread Alex Richardson via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #14 from Alex Richardson --- I added some debug output into UnsureType::addType() and get the rather confusing: "unsure (str, int, str, int, str, int, str, int, str, int, str, int, str, int, str, int, str, int,

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-02-10 Thread Alex Richardson via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #15 from Alex Richardson --- I am also getting some of these messages: kdevplatform.language: invalid item for index 35 1478 0 In case it helps: This is the huge unsure type that is being created (it is now so

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-02-10 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #16 from Sven Brauch --- Interesting. Can you maybe print type->indexed()->index() for each type in the list (and also the one which is added)? -- You are receiving this mail because: You are watching all bug changes.

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-02-10 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 Sven Brauch changed: What|Removed |Added Resolution|--- |FIXED

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-02-09 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #13 from Sven Brauch --- Thanks for the output. I think the reason is that KDevPlatform compares only the index of the type, but that is not at all reliable for unsure types. Instead, the types themselves have to be

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-02-09 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 Sven Brauch changed: What|Removed |Added Status|RESOLVED|REOPENED

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-02-09 Thread Alex Richardson via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #12 from Alex Richardson --- Created attachment 97119 --> https://bugs.kde.org/attachment.cgi?id=97119=edit debug output Still happening, here is some debug output -- You are receiving this mail because: You

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-02-09 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #10 from Sven Brauch --- Very good, thanks for testing. This is in 5.0, if I don't see it causing other issues I'll try to backport it to 4.7.x as well ... -- You are receiving this mail because: You are watching all

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-01-30 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 Sven Brauch changed: What|Removed |Added Status|CONFIRMED |RESOLVED

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-01-30 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #7 from Sven Brauch --- Created attachment 96925 --> https://bugs.kde.org/attachment.cgi?id=96925=edit potential fix for this bug -- You are receiving this mail because: You are watching all bug changes.

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-01-30 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #6 from Sven Brauch --- I found a possibly related issue, could you maybe apply the patch below and see if you can still reproduce your problem? -- You are receiving this mail because: You are watching all bug changes.

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-01-28 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #5 from Sven Brauch --- Thanks, I'll try that. You could try unsuretype.cpp in kdevplatform, in addType, to see which types are added ... but it will probably be too spammy no matter where you put it. -- You are

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-01-28 Thread Alex Richardson via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #4 from Alex Richardson --- I was editing the script here: https://github.com/RichardsonAlex/cheri-scripts Hasn't happended the last two days, but I have only done minor edits, so I guess the number of UnsureType

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-01-27 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 Sven Brauch changed: What|Removed |Added Severity|normal |crash -- You are receiving

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-01-27 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 --- Comment #3 from Sven Brauch --- Hmm. Can you post the backtrace? Also do you have example code which you edit to trigger this bug? -- You are receiving this mail because: You are watching all bug changes.

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-01-26 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 Sven Brauch changed: What|Removed |Added CC||p.v.niek...@hccnet.nl ---

[kdev-python] [Bug 358563] Possible infinite loop in UnsureType::toString()

2016-01-26 Thread Sven Brauch via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=358563 Sven Brauch changed: What|Removed |Added Ever confirmed|0 |1