Skip to content

Terminal at xfce desktop corrupted after debos call

Affected images versions

Type Arch v2021 v2022 v2023dev2
minimal/fixedfunction amd64
minimal/fixedfunction armhf
minimal/fixedfunction arm64
target/hmi amd64
target/hmi armhf
target/hmi arm64
basesdk amd64 X X
sdk amd64 X X
nfs amd64
nfs armhf
nfs arm64
lxc amd64
lxc armhf
lxc arm64
image-builder
package-source-builder

Unaffected images versions

  • v2021 (no problem)

Steps to reproduce

Ordered list detailing every step so other developers can reproduce the issue. Include hardware which you used.

  • Use SDK or BASE SDK
  • Add archive from attachment to apertis-image-recipes. This adds a call of a shell script, which install Kanto from Eclipse.
  • Call debos with parameters "sudo debos -t architecture:amd64 -t ospack:ospack-apertis-amd64 --debug-shell apertis-image-recipes/ospack-fixedfunction-test.yaml"

Expected result

Build logs are put to screen, shell prompt will occur after that.

Actual result

After installation the xfce terminal is getting corrupted. Not input possible, all outputs are written at the last line. A reset of terminal settings from Terminal=>Reset helps.

Reproducibility

How often the issue is hit when repeating the test and changing nothing (same device, same image, etc.)?

Put the in the most appropriate entry:

  1. always
  2. often, but not always
  3. rarely

Impact of bug

This makes Image building very inconvenient The error occures always

Attachments

Scripts and changed ospack yaml bugterminal.tar.gz

Root cause

It seems, the buffer / terminal handling of xfce terminal is getting corrupted with output of script and called commands.

Outcomes

Debos at v2022 and v2023 versions of SDK/BASESDK are not crashing the terminal of shell.

Management data

This section is for management only, it should be the last one in the description.

Phabricator link: https://phabricator.apertis.org/T8875

Edited by Vignesh Raman