ksh randomly crashes on login

Solution In Progress - Updated -

Environment

  • Red Hat Enterprise Linux (RHEL) 6
  • Red Hat Enterprise Linux (RHEL) 7
  • ksh

Issue

  • From time to time, when an user attempts to login, ksh will crash, with a logged message like this:
Apr 15 07:24:25 server kernel: ksh[3398] general protection ip:452989 sp:7fffef834e00 error:0 in ksh93[400000+15b000]

Resolution

One of the most common cases is file system full.

This problem is being tracked at:

RHEL6

https://bugzilla.redhat.com/show_bug.cgi?id=1212992

RHEL7

https://bugzilla.redhat.com/show_bug.cgi?id=1212993

Root Cause

  • If the server has no free disk space when logging in, ksh will crash while parsing /etc/profile.

Diagnostic Steps

  • If in /var/log/messages there are messages in the pattern No space left on device, this is the likely cause of ksh crashing.
  • Component
  • ksh

This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.

Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.