Public bug reported:

chr 0.1.81-1 has been stuck in stonking-proposed for ~322 days; it fails
to build on amd64, amd64v3, arm64, ppc64el and s390x (armhf/riscv64
aren't built):

Build log (amd64):
https://launchpad.net/ubuntu/+source/chr/0.1.81-1/+build/32793394

The build succeeds, but the test suite crashes:

  actions
    search
  ../src/tests/filetests.cpp:786: FAILED:
    {Unknown expression after the reported line}
  due to a fatal error condition:
    SIGSEGV - Segmentation violation signal
  test cases:   12 |   11 passed | 1 failed
  1/1 editor:tests FAIL  killed by signal 11 SIGSEGV

The crashing section is SECTION("search") in src/tests/filetests.cpp
(~line 786): it sets a search text ("t"), then triggers F3 (find next)
and waits for cursorPositionChanged.

Debian: 0.1.81-1 builds and is in testing (no bugs). Differences in the
stonking build environment that may matter: Qt 6.11.2+dfsg-4ubuntu2, KF6
SyntaxHighlighting 6.29.0-0ubuntu1 (Debian unstable has 6.30.0), and
Ubuntu's default build flags (-O3 on ppc64el, LTO, _FORTIFY_SOURCE=3,
frame pointers).

Upstream: https://github.com/chr-editor/chr (active, last push 2026-09).

Suggested direction (to be done by whoever picks this up):
- Reproduce locally (build in a stonking chroot/container; run the test binary 
under gdb to get a backtrace of the search/F3 crash).
- Check whether it's a chr bug exposed by Ubuntu's flags (e.g. try with 
optimize=-lto or FORTIFY=2 to narrow it down), a Qt/KF6 behaviour change, or a 
timing issue in the test (search runs asynchronously).
- Check upstream git for related fixes after 0.1.81; fix or backport, upload as 
an Ubuntu delta and forward to Debian/upstream.
- Avoid just skipping the test unless the crash is shown to be test-only.

** Affects: chr (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: ftbfs update-excuse

** Tags added: update-excuse

** Tags added: ftbfs

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2170633

Title:
  chr FTBFS in stonking: editor test crashes (SIGSEGV) in search section

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/chr/+bug/2170633/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to