Skip to content

Game crash when monitor attempts to display non-unicode characters #70

@Derpford

Description

@Derpford

name: Bug report
about: Report an issue of the mod crashing or behaving in an unexpected way
title: ''
labels: bug
assignees: ''


Describe the bug
On printing an invalid character to the screen, the entire game crashes.

To Reproduce

  1. Build a functioning computer.
  2. Print some invalid unicode. An easy way to do this is to cat the contents of a device with a lot of data on it (such as /dev/vdX, where X is the device corresponding to your primary hard drive).
  3. Game crashes.

Log files
Crash Report and Log: https://gist.github.com/Derpford/c2afc8f2ed27c5442d947965b3b03d69
I tested this on singleplayer, so there's no server log.

Expected behavior
Blank space printed where the invalid char would be, or possibly the OC2 computer crashing (not the whole game).

Versions (please complete the following information):

  • Minecraft: 1.20.1
  • Forge: 47.4.4
  • oc2: 2.1.7

Additional context
I ran into this while trying to figure out which device identifier was the floppy disk I'd just inserted. lsdev lists things such as the CPU and the disk drive itself. It's unclear how I'm supposed to find the device identifier for a disk I want to format, at least, not without accidentally formatting my primary partition. mke2fs doesn't have tab completion, either.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions