#227 An infinite loop happens, while errno=9

closed
nobody
None
5
2007-01-26
2007-01-11
Anonymous
No

Dears,

An infinite loop happens, while errno=9 resulted from calling a system call "select()" in a file xwin.c.

As a temporary measures, I inserted a state "break;" after the state "case -1:" in the source file.

Thank you.

Discussion

  • Peter Åstrand
    Peter Åstrand
    2007-01-11

    Logged In: YES
    user_id=344921
    Originator: NO

    errno 9 is typically "Bad file descriptor". Perhaps has something to do with sound or some other device redirection.

    Which version are you using? Please re-test with the latest CVS snapshot.

     
  • Peter Åstrand
    Peter Åstrand
    2007-01-11

    • status: open --> pending
     
    • status: pending --> closed
     
  • Logged In: YES
    user_id=1312539
    Originator: NO

    This Tracker item was closed automatically by the system. It was
    previously set to a Pending status, and the original submitter
    did not respond within 14 days (the time period specified by
    the administrator of this Tracker).

     
  • Logged In: NO

    Sorry, the previous temporary measures is incorrect. The errno=9 seems to happen for /dev/dsp on RedHat3, though I don't know the issue. I found that any modification as ignoring the error keeps away freeze by the infinite loop.