Informix Error -6050: Bad key description: internal error.
Cause and resolution
Bad key description: internal error.
This error should not be returned. The most likely cause of the error is that some internal data structure that ALL uses has been overwritten in memory. Review the program logic. When you are certain that the program cannot have stored into ALL data, note all circumstances and contact IBM Technical Support.
Oninit® Troubleshooting Guidance
Reasons / Common Causes
-6050 is flagged by the archived catalogue as an internal error, most likely from an internal data structure used by ALL having been overwritten in memory.
- An internal ALL data structure overwritten in memory, per the archived catalogue — the named likely cause.
Solutions / Resolution
- Review the program logic for anything that could write into ALL's internal data, per the archived catalogue.
- If the program cannot be the cause, note all circumstances and contact IBM Technical Support, per the archived catalogue.
Examples
N/A
No specific triggering statement is documented beyond the function-level condition described above.
Diagnostic Checks
- Review the program for any code that could corrupt ALL's internal memory structures.
Related Errors / Related Topics
- -6055 — "BEGIN WORK failed."
- -6056 — "COMMIT WORK failed."
- -6057 — "ROLLBACK WORK failed."
- -6066 — "Database server protocol error."
An internal data-structure corruption — review the program first, then escalate if it isn't the cause.