Bug 482777 - Kate crashes when saving file with (Haskell) LSP error
Summary: Kate crashes when saving file with (Haskell) LSP error
Status: RESOLVED DUPLICATE of bug 482152
Alias: None
Product: kate
Classification: Applications
Component: general (show other bugs)
Version: 24.02.0
Platform: Arch Linux Linux
: NOR crash
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords: drkonqi, qt6
Depends on:
Blocks:
 
Reported: 2024-03-07 21:05 UTC by Louis D.
Modified: 2024-03-07 22:09 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
New crash information added by DrKonqi (147.14 KB, text/plain)
2024-03-07 21:05 UTC, Louis D.
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Louis D. 2024-03-07 21:05:34 UTC
Application: kate (24.02.0)

Qt Version: 6.6.2
Frameworks Version: 6.0.0
Operating System: Linux 6.7.8-zen1-1-zen x86_64
Windowing System: Wayland
Distribution: Garuda Linux
DrKonqi: 6.0.1 [CoredumpBackend]

-- Information about the crash:
When saving a modified file with the Haskell LSP enabled, which detects an error, Kate crashes. This crash happens with and without custom LSP settings.

The crash can be reproduced every time.

-- Backtrace (Reduced):
#5  __pthread_kill_implementation (threadid=<optimized out>, signo=signo@entry=6, no_tid=no_tid@entry=0) at pthread_kill.c:44
#6  0x00007d7db78ab393 in __pthread_kill_internal (signo=6, threadid=<optimized out>) at pthread_kill.c:78
#7  0x00007d7db785a6c8 in __GI_raise (sig=sig@entry=6) at ../sysdeps/posix/raise.c:26
#8  0x00007d7db78424b8 in __GI_abort () at abort.c:79
#9  0x00007d7db78423dc in __assert_fail_base (fmt=0x7d7db79bcb68 "%s%s%s:%u: %s%sAssertion `%s' failed.\n%n", assertion=assertion@entry=0x7d7da131bf95 "IsArray()", file=file@entry=0x7d7da131dcd0 "/usr/src/debug/kate/kate-24.02.0/addons/lspclient/rapidjson/include/rapidjson/document.h", line=line@entry=1643, function=function@entry=0x7d7da131ffe0 "rapidjson::SizeType rapidjson::GenericValue<Encoding, Allocator>::Size() const [with Encoding = rapidjson::UTF8<>; Allocator = rapidjson::MemoryPoolAllocator<rapidjson::CrtAllocator>; rapidjson::SizeT"...) at assert.c:94


Reported using DrKonqi
Comment 1 Louis D. 2024-03-07 21:05:35 UTC
Created attachment 166635 [details]
New crash information added by DrKonqi

DrKonqi auto-attaching complete backtrace.
Comment 2 Louis D. 2024-03-07 21:09:45 UTC
As an additional info I forgot to add in the report, the Haskell LSP used is the the latest one at this date : 2.7.0.0 compiled for GHC 9.2.5
Comment 3 Christoph Cullmann 2024-03-07 22:09:04 UTC

*** This bug has been marked as a duplicate of bug 482152 ***