Skip to content

Crash on launch under screen ... sometimes #640

@fastcat

Description

@fastcat

Host: Debian Trixie
Built from master using EDIT_CFG_ICUUC_SONAME=libicuuc.so.76 EDIT_CFG_ICUI18N_SONAME=libicui18n.so.76 EDIT_CFG_ICU_RENAMING_AUTO_DETECT=true cargo build --config .cargo/release.toml --release

If I run it in a screen session, it crashes at launch depending on how I launch the screen session. I haven't quite figured out exactly what is different in the sessions that break it, but this is what it looks like:

Image

Note that the teal $ is my PS1 prompt here, and the 11;rgb... is a response from the terminal to some ANSI sequence edit sent before it died. The prompt is not "supposed" to be that color -- edit seems to have crashed in the middle of rendering so some color codes for its rendering were left "active".

It's not exiting with any error code -- adding a ; echo $? to the invocation shows it's exiting with code 0.

Rebuilding without ICU stuff does not affect the results.

Building without the release flags (i.e. just cargo build) still doesn't affect the results (I was hoping I'd get some kind of error trace perhaps, but no such luck).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions