[kdevelop] [Bug 451856] kdevelop crashes while parsing /usr/lib64/python3.6/html/entities.py or /usr/lib64/python3.6/email/message.py

2023-03-19 Thread Christian Andersen
https://bugs.kde.org/show_bug.cgi?id=451856

Christian Andersen  changed:

   What|Removed |Added

 CC||chr...@mail.dk

--- Comment #9 from Christian Andersen  ---
On my Teensy C++ projects (Arduino style using an Arm processor).
Kdevelop crashes while doing background parsing if there are too many symbolic
links in the path to libraries or sources,
It seems like it generates a recursive loop that finally crashes Kdevelop.
I am using Ubuntu 22.04, where it fails. It worked fine with Ubuntu 20.04.
When most symbolic links are replaced with real files, then everything works
fine.

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

[kdevelop] [Bug 451856] kdevelop crashes while parsing /usr/lib64/python3.6/html/entities.py or /usr/lib64/python3.6/email/message.py

2022-03-24 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=451856

--- Comment #8 from Aaron Williams  ---
I was finally able to get kdevelop to come up without crashing. I had to
temporarily delete the symlinks to the two toolchains while it was parsing then
re-create the symlinks afterwards. It seems that something in the arm-none-eabi
toolchain is causing the Kdevelop parser to crash. After doing this I have
added the tools and tools-scp symlinks to be excluded from the project.

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

[kdevelop] [Bug 451856] kdevelop crashes while parsing /usr/lib64/python3.6/html/entities.py or /usr/lib64/python3.6/email/message.py

2022-03-24 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=451856

--- Comment #7 from Aaron Williams  ---
It is not always crashing on the same file though I am seeing the same loop
behavior.

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

[kdevelop] [Bug 451856] kdevelop crashes while parsing /usr/lib64/python3.6/html/entities.py or /usr/lib64/python3.6/email/message.py

2022-03-24 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=451856

--- Comment #6 from Aaron Williams  ---
With this last crash the issue appears to be a bit different. This looks like a
stack overflow due to a loop:

Thread 25 "Queue(0x561" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff9d47f700 (LWP 21318)]
0x7fff8fc0b312 in clang::ASTContext::getTypeInfoImpl (this=0x63f0ff80,
T=) at ../tools/clang/include/clang/AST/Type.h:4480
4480  QualType getUnderlyingType() const { return TOType; }

(gdb) bt
#0  0x7fff8fc0b312 in clang::ASTContext::getTypeInfoImpl
(this=0x63f0ff80, T=) at
../tools/clang/include/clang/AST/Type.h:4480
#1  0x7fff8fc0c1bf in clang::ASTContext::getTypeInfo (this=0x63f0ff80,
T=0x612b0470) at ../tools/clang/lib/AST/ASTContext.cpp:1867
#2  0x7fff8fc0b317 in clang::ASTContext::getTypeInfoImpl
(this=0x63f0ff80, T=) at
../tools/clang/include/clang/AST/Type.h:4480
#3  0x7fff8fc0c1bf in clang::ASTContext::getTypeInfo (this=0x63f0ff80,
T=0x612b0470) at ../tools/clang/lib/AST/ASTContext.cpp:1867
#4  0x7fff8fc0b317 in clang::ASTContext::getTypeInfoImpl
(this=0x63f0ff80, T=) at
../tools/clang/include/clang/AST/Type.h:4480
#5  0x7fff8fc0c1bf in clang::ASTContext::getTypeInfo (this=0x63f0ff80,
T=0x612b0470) at ../tools/clang/lib/AST/ASTContext.cpp:1867
#6  0x7fff8fc0b317 in clang::ASTContext::getTypeInfoImpl
(this=0x63f0ff80, T=) at
../tools/clang/include/clang/AST/Type.h:4480
#7  0x7fff8fc0c1bf in clang::ASTContext::getTypeInfo (this=0x63f0ff80,
T=0x612b0470) at ../tools/clang/lib/AST/ASTContext.cpp:1867
#8  0x7fff8fc0b317 in clang::ASTContext::getTypeInfoImpl
(this=0x63f0ff80, T=) at
../tools/clang/include/clang/AST/Type.h:4480
#9  0x7fff8fc0c1bf in clang::ASTContext::getTypeInfo (this=0x63f0ff80,
T=0x612b0470) at ../tools/clang/lib/AST/ASTContext.cpp:1867
...

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

[kdevelop] [Bug 451856] kdevelop crashes while parsing /usr/lib64/python3.6/html/entities.py or /usr/lib64/python3.6/email/message.py

2022-03-24 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=451856

--- Comment #5 from Aaron Williams  ---
Created attachment 147707
  --> https://bugs.kde.org/attachment.cgi?id=147707=edit
gcc toolchain tree-affine.h

File where parser is crashing

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

[kdevelop] [Bug 451856] kdevelop crashes while parsing /usr/lib64/python3.6/html/entities.py or /usr/lib64/python3.6/email/message.py

2022-03-24 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=451856

--- Comment #4 from Aaron Williams  ---
I am also seeing this crash during background parsing. Is there some way to
disable it?

Thread 39 "Queue(0x562" received signal SIGSEGV, Segmentation fault.
[Switching to Thread 0x7fff949cc700 (LWP 5135)]
0x7fff9039d312 in clang::ASTContext::getTypeInfoImpl (this=0x62eacc20,
T=) at ../tools/clang/include/clang/AST/Type.h:4480
4480  QualType getUnderlyingType() const { return TOType; }

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

[kdevelop] [Bug 451856] kdevelop crashes while parsing /usr/lib64/python3.6/html/entities.py or /usr/lib64/python3.6/email/message.py

2022-03-24 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=451856

--- Comment #3 from Aaron Williams  ---
It looks like it is crashing on other non-Python files as well. It's possible
that this is an issue with OpenSUSE since I see that the version for most of
KDevelop is 21.12.3-lp153.10.8 however the Python plugin is 21.12.3-lp153.10.1.
After uninstalling the Python plugin it is still crashing. Now I am seeing the
following error:


KCrash: Application 'kdevelop' crashing...
The X11 connection broke (error 1). Did the X11 server die?
DUContextData::m_importers There were items left on destruction: 601
DUContextData::m_importedContexts There were items left on destruction: 1160
TopDUContextData::m_usedDeclarationIds There were items left on destruction:
720
ClassFunctionDeclarationData::m_defaultParameters There were items left on
destruction: 1316
MacroDefinitionData::parameters There were items left on destruction: 5791
malloc(): smallbin double linked list corrupted
Unable to start Dr. Konqi
Re-raising signal for core dump handling.

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

[kdevelop] [Bug 451856] kdevelop crashes while parsing /usr/lib64/python3.6/html/entities.py or /usr/lib64/python3.6/email/message.py

2022-03-24 Thread Friedrich W. H. Kossebau
https://bugs.kde.org/show_bug.cgi?id=451856

Friedrich W. H. Kossebau  changed:

   What|Removed |Added

 CC|kosse...@kde.org|

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

[kdevelop] [Bug 451856] kdevelop crashes while parsing /usr/lib64/python3.6/html/entities.py or /usr/lib64/python3.6/email/message.py

2022-03-24 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=451856

--- Comment #2 from Aaron Williams  ---
In OpenSUSE these files are part of python3-base-3.6.15-150300.10.21.1.x86_64

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

[kdevelop] [Bug 451856] kdevelop crashes while parsing /usr/lib64/python3.6/html/entities.py or /usr/lib64/python3.6/email/message.py

2022-03-24 Thread Aaron Williams
https://bugs.kde.org/show_bug.cgi?id=451856

Aaron Williams  changed:

   What|Removed |Added

Summary|kdevelop crashes while  |kdevelop crashes while
   |parsing project, looks like |parsing
   |a loop  |/usr/lib64/python3.6/html/e
   ||ntities.py or
   ||/usr/lib64/python3.6/email/
   ||message.py

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