CudaText: Crash on exit on NixOS build
Steps to reproduce:
- start cudatext
- stop via File -> Quit
What happens:
[FORMS.PP] ExceptionOccurred
Sender=EAccessViolation
Exception=Access violation
Stack trace:
$0000000000000000
$000000000087FD72
$000000000056E476
$00000000005F642E
$00000000005E36C9
$00000000005F8F2E
$0000000000478B4E
$000000000047A566
$00000000004309EB
$00000000004758F6
Exception at 0000000000000000: EAccessViolation:
Access violation.
Exception at 00000000004B2E36: EAccessViolation:
Access violation.
CudaText: 1.121.0 Widget sets: qt5, gtk2, gtk3
About this issue
- Original URL
- State: closed
- Created 3 years ago
- Comments: 33 (17 by maintainers)
No, that’s NixOS specific that all dependencies pinned at build time, application can’t find any other lib somewere else, other than exact one specified at build time.
I’ve finally found the root cause: downgrading Python-for-Lazarus from 2021.01.08 to 2020.10.23 solves the problem (more exactly this commit caused crash). So, here is a stable deps set for cudatext 1.122.0:
Looks like the problem is nix specific somehow, as far as when I build using lazbuild out of nix store, resulting cudatext doesn’t crash on exit, but when I build nix package using lazbuild, resulting cudatext crashes on exit.