0

I have a piece of software running on a 64 bit Cent 5.8 Final box, kernel 2.6.18. This piece of software using fork and vfork. Recently some failures occurred, and in my logging I can see that fork or vfork failed, emitting a return code of -1. Cool, everything one would expect after a system call failure.

The interesting part is the errno that is logged. Because it is errno 513. I was under the impression that the highest errno was 131. Does anyone know how this is possible? Any insight into this issue would be extremely helpful.

kmarks2
  • 192
  • 1
  • 2
  • 12
  • 1
    I would contact the software author first. Clearly it's doing something wrong. – Michael Hampton Dec 06 '13 at 21:18
  • 1
    Is this the error you see after tracing the process or what gets returned back? – Matthew Ife Dec 06 '13 at 21:19
  • @MichaelHampton I first contacted an engineer at the company that makes the software. He said to me the error was a result of an out of bounds error because the `errno` returned to the caller was 513. – kmarks2 Dec 09 '13 at 14:07
  • @MIfe I saw the error in logging for the software that calls `fork`/`vfork`. When it fails, it simply states the failing process (`fork`) and the `errno` (513). – kmarks2 Dec 09 '13 at 14:12

0 Answers0