Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ TheIDE and Library: Releases and ChangeLogs » LibClang/Assist++ crashes with Clang 20
LibClang/Assist++ crashes with Clang 20 [message #61710] Tue, 24 June 2025 23:03 Go to next message
Didier is currently offline  Didier
Messages: 732
Registered: November 2008
Location: France
Contributor
Hello,

I update my computer to fedora 42 some time ago and I have Clang 20.
Since then assist++ crashes every time after a few seconds (I think it depends on which files I am working on).
So this is quite annoying Sad

This is what I get in the log:
* /home/xxxx/upp/theide 24.06.2025 22:42:01, user: xxxx

22:42:01:795 INFO  LoadLibClang0(): libclang path: "/usr/lib64/libclang.so.20.1.6"
22:42:01:799 INFO  GuiMainFn_(): Revision: e1e14c30 Build: 17914 master
64 bit CLANG C++17 SIMD Compiled: 06/06/2025 18:11:37 /home/xxxx/upp/theide
****************** PANIC: Illegal instruction!


I tried with different Assist++ standard : and the one that works best (ar at least that doesn't crash instantly Wink ) is C++23


Here is my Assist configuration:
index.php?t=getfile&id=7098&private=0
Re: LibClang/Assist++ crashes with Clang 20 [message #61712 is a reply to message #61710] Thu, 26 June 2025 09:39 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14263
Registered: November 2005
Ultimate Member
Didier wrote on Tue, 24 June 2025 23:03
Hello,

I update my computer to fedora 42 some time ago and I have Clang 20.
Since then assist++ crashes every time after a few seconds (I think it depends on which files I am working on).
So this is quite annoying Sad

This is what I get in the log:
* /home/xxxx/upp/theide 24.06.2025 22:42:01, user: xxxx

22:42:01:795 INFO  LoadLibClang0(): libclang path: "/usr/lib64/libclang.so.20.1.6"
22:42:01:799 INFO  GuiMainFn_(): Revision: e1e14c30 Build: 17914 master
64 bit CLANG C++17 SIMD Compiled: 06/06/2025 18:11:37 /home/xxxx/upp/theide
****************** PANIC: Illegal instruction!


I tried with different Assist++ standard : and the one that works best (ar at least that doesn't crash instantly Wink ) is C++23


Here is my Assist configuration:
index.php?t=getfile&id=7098&private=0


Is it with git master head (nightly) or "release"?
Re: LibClang/Assist++ crashes with Clang 20 [message #61713 is a reply to message #61712] Thu, 26 June 2025 13:42 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 732
Registered: November 2008
Location: France
Contributor
It' with the master :

GIT commit : ff0949a4a5934d5a8bc5a92d275c1e073c3317b9
Author: Mirek Fidler <[email]mirek.fidler@gmail.com[/email]>  2025-05-27 12:33:04
Committer: Mirek Fidler <[email]mirek.fidler@gmail.com[/email]>  2025-05-27 12:33:04
Parent: 522ccf5de056b44cec6840a10e571085ec53ba6a (Painter: Ellipse(Rect) fixed)
Child:  e1e14c308eb217d79c19d4cddcc6aaf8931553a2 (Merge branch 'master' of [url]https://github.com/ultimatepp/ultimatepp[/url])
Branches: master, remotes/origin/master
Follows: 2025.1
Precedes: 

    CodeEditor: compiler/linker problem workaround


Since it's one month old, I will update to latest version tonight and see if it's better

[Updated on: Thu, 26 June 2025 13:43]

Report message to a moderator

Re: LibClang/Assist++ crashes with Clang 20 [message #61714 is a reply to message #61713] Sat, 28 June 2025 00:16 Go to previous messageGo to next message
Didier is currently offline  Didier
Messages: 732
Registered: November 2008
Location: France
Contributor
Hello Mirek,

I just tried with latest master version : same crash Confused

GIT : c0c5c293a9e104134854e6442f4c85647f9d9bfe
uthor: Mirek Fidler <mirek.fidler@gmail.com>  2025-06-27 09:47:27
Committer: Mirek Fidler <mirek.fidler@gmail.com>  2025-06-27 09:47:27
Parent: e471f7d0eba667d3cd5a9728a723e024b4740148 (RichEdit: DiagramEditor selection)
Child:  e98b68c34038b037c753afe8d794e45e171370b4 (Merge branch 'master' of https://github.com/ultimatepp/ultimatepp)
Branches: master, remotes/origin/master
Follows: 2025.1
Precedes: 

    RichEdit: Diagram
Re: LibClang/Assist++ crashes with Clang 20 [message #61715 is a reply to message #61714] Sat, 28 June 2025 08:56 Go to previous messageGo to next message
mirek is currently offline  mirek
Messages: 14263
Registered: November 2005
Ultimate Member
Didier wrote on Sat, 28 June 2025 00:16
Hello Mirek,

I just tried with latest master version : same crash Confused

GIT : c0c5c293a9e104134854e6442f4c85647f9d9bfe
uthor: Mirek Fidler <mirek.fidler@gmail.com>  2025-06-27 09:47:27
Committer: Mirek Fidler <mirek.fidler@gmail.com>  2025-06-27 09:47:27
Parent: e471f7d0eba667d3cd5a9728a723e024b4740148 (RichEdit: DiagramEditor selection)
Child:  e98b68c34038b037c753afe8d794e45e171370b4 (Merge branch 'master' of https://github.com/ultimatepp/ultimatepp)
Branches: master, remotes/origin/master
Follows: 2025.1
Precedes: 

    RichEdit: Diagram


- there should be "switch off assist after crash" dialog when you start theide next time. Does that work? (just curious here)
- any chance you can run it, compiled for debug, in gdb and send the backtrace after crash ("bt")
Re: LibClang/Assist++ crashes with Clang 20 [message #61718 is a reply to message #61715] Sun, 29 June 2025 11:29 Go to previous message
Didier is currently offline  Didier
Messages: 732
Registered: November 2008
Location: France
Contributor
Hello Mirek,

Quote:
there should be "switch off assist after crash" dialog when you start theide next time

Yes this works fine

Quote:
any chance you can run it, compiled for debug, in gdb and send the backtrace after crash ("bt")

Yes, I also included all the Backtrace detailed info (bt full) in the joined file so everything should be there

Note : the stacktrace was done by loading project 'ide' and launching "full source scan"
Previous Topic: libclang/asist++ crashes theide when source contains language feature...
Goto Forum:
  


Current Time: Wed Jul 02 12:46:21 CEST 2025

Total time taken to generate the page: 0.03673 seconds