Skip to content

[Bug]: Crash when switching between Dex and non-Dex #4694

@Digicrat

Description

@Digicrat

Problem description

I upgraded to the Samsung Flip7, and have just started playing around with Termux in it with the new Dex Mode (One UI8).

I'm not sure how much of this is a Termux vs a Dex issue (I suspect a bit of both), but several times now I've had Termux crash when switching between Dex and non-Dex, or simply re-opening Dex mode later.

The typical case I'm seeing is, once Dex-mode is reopened:

  • Termux font sizes are oddly super-zoomed. (Note: I also see this periodically on Chrome, and in that app re-launching within Dex is my only option to restore normal zoom levels)
  • Termux is non-responsive to any keyboard inputs or attempts to adjust zoom
  • After a short period of attempting to get it to respond, Termux just exits/crashes.
  • I'm not sure what, if any, log files may be useful, but I'm happy to collect some.

Steps to reproduce the behavior.

  • Open Termux natively
  • Connect an external display and access Termux. Sometimes this will start with the issue already present on the first attempt.
  • Switch back to native mode
  • Re-launch Dex mode. If it hasn't previously, termux text will be zoomed-in to max levels, interface will be non-responsive, and it will likely exit/crash within a few seconds.

What is the expected behavior?

It should automatically scale appropriately to the display when switching to/from Dex mode and not crash.

System information

  • Termux application version: 0.118.3 (from app info)
  • Android OS version: 16
  • Device model: Samsung Flip7

Possibly Related? Edit: Not related

I've seen the crash described above with only termux running, however I also just had a different crash when trying to run xfce with termux-x11. I don't think these are related, but in that case I see a few warnings about "Failed to get system bus: Could not connect NO such file or desktop" and "xlib: extension DPMS missing on display" before Termux reports [Process completed (signal 9) - press Enter]

Edit: Found the docs on this issue, and toggling the option seems to have resolved this part. I haven't tried toggling Dex mode again to see if it had any affect on the primary issue.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions