Skip to content

Divide by Zero message redirect #147

Description

@Mellvik

Divide by zero faults in applications are now correctly trapped, reported and handled by the kernel, but the error message appears on the console, not on the terminal running the actual program.
The message on the terminal is simply 'Abort'.

Using SIGFPE in such cases may be an idea - with an appropriate message. I don't know whether FPEs are trapped, if not this signal may be used for DIVbyZERO exclusively. Otherwise a termination message like "Floating point or div-by-zero exception".

To be investigated.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions