Bug 436331 - Kate 21.04 from Binary Factory stable build crash at launch
Summary: Kate 21.04 from Binary Factory stable build crash at launch
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: general (other bugs)
Version First Reported In: 21.04.0
Platform: Microsoft Windows Other
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-04-29 01:36 UTC by Gary Wang
Modified: 2021-05-03 02:38 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Gary Wang 2021-04-29 01:36:18 UTC
SUMMARY

Kate 21.04 downloaded from Binary Factory stable build crash at launch.


STEPS TO REPRODUCE
1. Download Kate from binary factory (kate-21.04.0-1259-windows-msvc2019_64-cl.exe)
2. Install it
3. Try launch kate.exe

OBSERVED RESULT

kate.exe crashed at launch

EXPECTED RESULT

It can launch normally

SOFTWARE/OS VERSIONS
Windows: 10 Home, 20H2 19042.928

ADDITIONAL INFORMATION
System Language: Simplified Chinese

Crash log generated by drmingw:

kate.exe caused an Unknown [0xC0000374] Exception at location 00007FFEF654F0B9 in module ntdll.dll.

AddrPC           Params
00007FFEF654F0B9 00007FF62637BE10 0000000D1BEFEBE0 0000014184F90000  ntdll.dll!RtlIsZeroMemory
00007FFEF654F083 0000000000000080 00007FFEF65B77F0 000000000000000F  ntdll.dll!RtlIsZeroMemory
00007FFEF6557E02 000000000000000F 0000000000000030 0000014185080000  ntdll.dll!RtlpNtSetValueKey
00007FFEF65580EA 000001418CB95400 000000000000001B 000001418CB9F030  ntdll.dll!RtlpNtSetValueKey
00007FFEF655DD71 0000000002820360 000000000000001B 000001418CB9F030  ntdll.dll!RtlpNtSetValueKey
00007FFEF650284F 0000014184F90000 0000000000000000 0000000000000020  ntdll.dll!memset
00007FFEF647B3C7 0000000000000000 0000000000000020 0000000D1BEFCFA8  ntdll.dll!RtlAllocateHeap
00007FFEF41AFDE6 0000000000000008 0000000000000008 0000000000000000  ucrtbase.dll!_malloc_base
00007FFE77000DE1 0000000D1BEFD218 0000000000000000 0000000000000004  Qt5Core.dll!QArrayData::allocate
00007FFE770899CF 0000000000000044 0000000000000000 0000000D1BEFD278  Qt5Core.dll!QString::reallocData
00007FFE76FD24FF 000001418CB56800 0000000000000000 0000000000000001  Qt5Core.dll!QString::operator+=
00007FFE8DCCE38D 000001418CB568C0 0000000D1BEFD218 0000000D1BEFD280  KF5TextEditor.dll!Kate::TextLineData::firstChar
00007FFE8DCB4466 000001418CB951A0 00007FFE772724E0 0000000000000080  KF5TextEditor.dll!Kate::TextLineData::firstChar
00007FFE8DC97AE8 000001418CB568C0 000001418CB951A0 0000014100000080  KF5TextEditor.dll!Kate::TextLineData::firstChar
00007FFE8DC8FCB9 000001418CB568C0 000001418A5EA6C0 000001418CB329A0  KF5TextEditor.dll!Kate::TextLineData::firstChar
00007FFE8DCB0DE1 000001418CB329A0 000001418CB568C0 000001418A4448F0  KF5TextEditor.dll!Kate::TextLineData::firstChar
00007FFE8DC58D59 000001418CA47DD0 000001418A5EA6C0 000001418CB329A0  KF5TextEditor.dll!Kate::TextLineData::firstChar
00007FFE8DC5A243 000001418CAC2508 000001418CAC2520 000001418CA47DD0  KF5TextEditor.dll!Kate::TextLineData::firstChar
00007FFE8DB8B2ED 000001418A5EA6C0 000001418A5EA950 0000014100000000  KF5TextEditor.dll!Kate::TextLineData::firstChar
00007FFE8DB5BE81 000001418A5E9DF0 000001418517BEE0 000001418517BEE0  KF5TextEditor.dll!Kate::TextLineData::firstChar
00007FFE8DA6C25C 000001418A5E9DF0 00007FFE8DDBE808 00000000001B002E  KF5TextEditor.dll!Kate::TextLineData::firstChar
00007FF6263122F0 000001418CAD1A10 000001418C4BCB70 000001418517BEE0  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6262A035B 000001418517BEE0 000001418517BEE0 000001418C4BCB70  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6263159AC 000001418CAD1A10 000001418A4FBCF0 000001418CAD1A10  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6262A4FFA 0000000D1BEFE468 000001418A5D8AD8 000001418A4FBCF0  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6262A55D9 0000000D1BEFE600 0000000D1BEFE620 0000014100000001  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6262AE1A8 000001418A3C76D0 000001418A50A500 0000000D1BEFE6B0  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6262803CB 0000000D1BEFE760 0000000000000000 000001418A3C76D0  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6262D203D 0000000D1BEFE940 0000000D1BEFE900 0000000D1BEFF701  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6262CF0A3 0000000D1BEFF750 0000000D1BEFE940 000001418A43B100  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6262CEBAA 0000000D1BEFF750 0000000000000000 0000000D00000002  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6262CEB46 0000000000000000 00007FFE772724E0 0000000000000000  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6262CFF08 0000000000000000 0000000000000003 0000000000000000  kate.exe!cleanupRunningKateAppInstanceMap
00007FF626282352 0000000D1BEFEC00 0000000D00000000 00007FF626398C20  kate.exe!cleanupRunningKateAppInstanceMap
00007FF62627FE32 0000000D1BEFF6A0 000001418A4FB500 00000141850B0020  kate.exe!cleanupRunningKateAppInstanceMap
00007FF626279DE4 0000000000000001 0000000000000000 00000141850F5A00  kate.exe!cleanupRunningKateAppInstanceMap
00007FF6263344F7 0000000000000000 0000000000000000 0000000000000000  kate.exe!cleanupRunningKateAppInstanceMap
00007FF626332B7E 0000000000000000 0000000000000000 0000000000000000  kate.exe!cleanupRunningKateAppInstanceMap
00007FFEF4827034 0000000000000000 0000000000000000 0000000000000000  KERNEL32.DLL!BaseThreadInitThunk
00007FFEF64A2651 0000000000000000 0000000000000000 0000000000000000  ntdll.dll!RtlUserThreadStart

Also, before upgrade to 21.04, kate-20.12.2-1180-windows-msvc2019_64-cl.exe works fine. I also did try uninstall then install the new version and this still happens.
Comment 1 Christoph Cullmann 2021-05-02 18:15:17 UTC
Could you try this build:

https://binary-factory.kde.org/view/Windows%2064-bit/job/Kate_Release_win64/1264/

I patched some stuff in KTextEditor that did cause crashs for me.

Now at least here I no longer have such startup or document close/quit crashs.
Comment 2 Gary Wang 2021-05-03 02:38:17 UTC
Thanks for the fix, it works now with kate-21.04.0-1264-windows-msvc2019_64-cl.exe :)