Skip to content
Tcl Source Code History Of Ticket 576158
Login

History Of Ticket 576158

Artifacts Associated With Ticket 576158

  1. Ticket change [b3f3d40870] (rid 124935) by s_a_white on 2002-07-01 21:38:54:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      The above error message is obtained spuriously when performing floating point calculations, which are 
      being performed in event executed scripts.  The problem dosen't appear in the same piece of TCL code 
      and may be related to CPU load / event frequency related.
      
      Tracing this further, with minor testing it would appear likely that strtod under some circumstance(s) can 
      return EINTR.  This problem was found on Mandrake 8.1/8.2 and RedHat 7.2 using various 2.4 provided 
      kernels and gcc 2.96 and 3.1.0.
      
    4. foundin initialized to: "obsolete: 8.3.3"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "s_a_white"
    9. subsystem initialized to: "07. Variables"
    10. title initialized to: "Unkown floating-pointer errno=4"
    11. type initialized to: "Bug"
  2. Ticket change [943d834c8c] (rid 105957) by msofer on 2002-07-02 04:43:26:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Could you provide a scriptlet that produces the error?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [6ace361f06] (rid 128216) by s_a_white on 2002-07-03 03:47:46:

    1. icomment:
      Logged In: YES 
      user_id=59929
      
      Some test code can be found here:
      
      http://sidplay2.sourceforge.net/bug_test.tgz
      
      Run ./build.sh and then wish test1.tcl.  Hold down the "a" key and you should see it print out the word hi.  
      Normally holding down the key for about 30 secs will do it (on my Athlon 700), but the length of time it takes is not 
      constant.
      
      
    2. login: "s_a_white"
    3. mimetype: "text/plain"
    4. username: "s_a_white"
  4. Ticket change [51a70d24cb] (rid 126167) by msofer on 2002-07-03 04:08:07:

    1. assignee changed to: "vasiljevic"
    2. icomment:
      Logged In: YES 
      user_id=148712
      
      Oohh ... threads! You wouldn't be accessing the same tcl
      interpreter from different OS threads by any chance? 
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  5. Ticket change [7e62770b84] (rid 97401) by msofer on 2002-07-03 04:10:29:

    1. assignee changed to: "msofer"
    2. icomment:
      Logged In: YES 
      user_id=148712
      
      Sorry Zoran; didn mean to assign this to you yet - until I'm
      confident it has to do with threading. You're welcome to
      pop-in though :)
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  6. Ticket change [1ae939cc41] (rid 123055) by s_a_white on 2002-07-03 04:24:41:

    1. icomment:
      Logged In: YES 
      user_id=59929
      
      > Oohh ... threads! You wouldn't be accessing the same tcl
      > interpreter from different OS threads by any chance? 
      
      As you can see from the example it dosen't.  In the case of our real program then no.  No thread accesses the 
      interpreter directly.  All threads requiring to talk to TCL use a FIFO style device that can handle the threading.  
      Some code has been written for tcl so it will treat the device as just another event source.
      
      
    2. login: "s_a_white"
    3. mimetype: "text/plain"
    4. username: "s_a_white"
  7. Ticket change [e142891e7e] (rid 87417) by msofer on 2003-02-19 23:16:13:

    1. icomment:
      
      
      File Added - 42867: bug_test.tgz
      
      Logged In: YES 
      user_id=148712
      
      Bug confirmed with the code provided (now attached to this
      report).
      
      If strtod returns EINTR, that would be a glibc bug. It is a
      good question if we can work around it ...
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  8. Add attachment "bug_test.tgz" [4867a67397] (rid 99877) by msofer on 2003-02-19 23:16:13.

  9. Ticket change [7dfaf25592] (rid 97325) by msofer on 2004-03-27 04:03:25:

    1. assignee changed to: "dkf"
    2. icomment:
      Logged In: YES 
      user_id=148712
      
      Oh boy, long neglected thing :(
      Donal: would you know what to do with this?
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. username: "msofer"
  10. Ticket change [fa4966ed4d] (rid 91843) by dkf on 2004-03-29 16:10:31:

    1. assignee changed to: "hobbs"
  11. Ticket change [28618c8e2c] (rid 88691) by dkf on 2004-03-29 16:10:32:

    1. icomment:
      Logged In: YES 
      user_id=79902
      
      No idea.  strtod() should never generate EINTR as it doesn't
      use syscalls (or if it does as part of loading some kind of
      l10n configuration, it should trap everything inside itself
      and do an appropriate fallback.)
      
      Dropping onto Jeff as he has a bit more experience with
      diagnosing problems resulting from intricate (mis)configuration.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"