contour-terminal/contour

Crash when using byobu

Closed this issue · 1 comments

Contour Terminal version

master

Installer source

Github: source code cloned

Operating System

any

Architecture

x86-64

Other Software

byobu

Steps to reproduce

F9

Expected Behavior

No response

Actual Behavior

crash

Additional notes

No response

On macOS:

brew install byobu
byobu

then press F9 to pull up the config menu.

StdErr:

[2024-12-09 08:36:44.346329] [pty.input] master received: "\e[?2026h\e[40m\e[1;47r\e[32;2;1;47;191$x\e[1;1H\e[K\e[97m\e[44m                                                                                                                                                                                               \e[2;1H                                                                                                                                                                                               \e[3;1H                                                                                                                                                                                               \e[4;1H                                                                                                                                                                                               \e[5;1H                                                                                                                                                                          \e[1;48r\e[5"
[2024-12-09 08:36:44.346356] [vt.trace.sequence] [alternate] Processing DECSM          CSI ? 2026 h
[2024-12-09 08:36:44.346365] [vt.trace.sequence] [alternate] Processing SGR            CSI 40 m
[2024-12-09 08:36:44.346372] [vt.trace.sequence] [alternate] Processing DECSTBM        CSI 1;47 r
[2024-12-09 08:36:44.346379] [vt.trace.sequence] [alternate] Processing DECFRA         CSI 32;2;1;47;191 $ x
libc++abi: terminating
[1]    61945 abort      contour debug '*'

Stack trace:

Process:               contour [45636]
Path:                  /Applications/contour.app/Contents/MacOS/contour
Identifier:            org.contourterminal.Contour
Version:               0.5.1.7247 (0.5.1.7247)
Code Type:             ARM-64 (Native)

Crashed Thread:        5  Terminal.Loop
Termination Reason:    Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process:   contour [45636]


Thread 5 Crashed:: Terminal.Loop
6   libc++abi.dylib                          0x1839e866c std::terminate() + 36
7   contour                                  0x104415078 vtbackend::Line<vtbackend::CompactCell>::useRange(boxed::detail::boxed<int, vtbackend::detail::tags::ColumnOffset>, boxed::detail::boxed<int, vtpty::detail::tags::ColumnCount>) + 108
8   contour                                  0x104423204 vtbackend::Screen<vtbackend::CompactCell>::fillArea(char32_t, int, int, int, int) + 204
9   contour                                  0x10442d0b0 vtbackend::Screen<vtbackend::CompactCell>::apply(vtbackend::Function const&, vtbackend::Sequence const&) + 7540
10  contour                                  0x1044210ec vtbackend::Screen<vtbackend::CompactCell>::applyAndLog(vtbackend::Function const&, vtbackend::Sequence const&) + 28
11  contour                                  0x104420f38 vtbackend::Screen<vtbackend::CompactCell>::processSequence(vtbackend::Sequence const&) + 628
12  contour                                  0x1044622a0 vtparser::Parser<vtbackend::SequenceBuilder<vtbackend::Terminal::ModeDependantSequenceHandler, vtbackend::Terminal::TerminalInstructionCounter>, false>::processOnceViaStateMachine(unsigned char) + 116
13  contour                                  0x1044561a0 vtbackend::Terminal::processInputOnce() + 424
14  contour                                  0x1043a3000 contour::TerminalSession::mainLoop() + 456