bugMIT/GNU Scheme - Bugs: bug #17452, MIT Scheme 20060414 occasionally...

 
 

bug #17452: MIT Scheme 20060414 occasionally fails to start.

Submitter:  None
Submitted:  Thu 17 Aug 2006 06:10:12 AM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  5 - Normal Item Group:  Incorrect behavior
Status:  Fixed Privacy:  Public
Assigned to:  riastradh Originator Name:  Arthur A. Gleckler
Originator Email:  -email is unavailable- Open/Closed:  Closed
Keywords: 
* Mandatory Fields

Add a New Comment Rich Markup
   

Mon 09 Mar 2009 09:41:01 PM UTC, comment #2: 

Original submitter has not encountered this since the report.  The problem probably lay in the Linux kernel for returning -1 from times(2) but not setting errno, or setting errno to EPERM for a system call for which it makes no sense.  The relevant primitives no longer signal errors, and now handle interruption more robustly, so that the symptom of immense recursion exhibited during garbage collection should not arise.  Any errors that the primitives now mask suggest strange circumstances, and can be inspected individually using ktrace or strace or similar.

Taylor R. Campbell <riastradh>
Group Member
Sun 20 Aug 2006 04:56:12 AM UTC, comment #1: 

I've just seen another bug that is probably related.  A thread in my program just signaled this condition:

  #[condition 11 system-call-error]
  (type #[condition-type 12 system-call-error])
  (continuation #[continuation 13])
  (restarts (#[restart 14 abort]))
  (field-values #(system-clock () times operation-not-permitted))
  (properties #[1d-table 15])

I did this:

  (debug '#@13)

then hit "h".  The debugger spent a long time printing an enormous stack trace.  I eventually gave up and quit the debugger, but here is an excerpt of what it was printing:

  2669 gc-flip-internal        (let ((start-value (hook/gc-start))) (let ((sp ...
  2670 get-thread-event ...    (let ((interrupt-mask (set-interrupt-enables!  ...
  2671                         (make-continuation control-point (get-dynamic- ...
  2672                         (system-clock)
  2673 recorder/gc-start       (set! this-gc-start (process-time-clock))
  2674 gc-flip-internal        (let ((start-value (hook/gc-start))) (let ((sp ...
  2675 get-thread-event ...    (let ((interrupt-mask (set-interrupt-enables!  ...
  2676                         (make-continuation control-point (get-dynamic- ...
  2677                         (system-clock)
  2678 recorder/gc-start       (set! this-gc-start (process-time-clock))
  2679 gc-flip-internal        (let ((start-value (hook/gc-start))) (let ((sp ...
  2680 get-thread-event ...    (let ((interrupt-mask (set-interrupt-enables!  ...
  2681                         (make-continuation control-point (get-dynamic- ...
  2682                         (system-clock)
  2683 recorder/gc-start       (set! this-gc-start (process-time-clock))
  2684 gc-flip-internal        (let ((start-value (hook/gc-start))) (let ((sp ...
  2685 get-thread-event ...    (let ((interrupt-mask (set-interrupt-enables!  ...
  2686                         (make-continuation control-point (get-dynamic- ...
  2687                         (system-clock)
  2688 recorder/gc-start       (set! this-gc-start (process-time-clock))
  2689 gc-flip-internal 

I'll bet these are the same bug.

Arthur A. Gleckler <savannah-arthur>
Thu 17 Aug 2006 06:10:12 AM UTC, original submission:  

Every so often under Ubuntu 6.06, MIT Scheme 20060414 fails to start when I run <scheme -compiler>.  (I'm not sure whether the band matters.)  After two or three more tries, it always starts just fine.  Here's a transcript of a failed attempt to start:


MIT/GNU Scheme running under GNU/Linux
Type `^C' (control-C) followed by `H' to obtain information about interrupts.

;The primitive system-clock, while executing the times system call, received the error: Success.
;To continue, call RESTART with an option number:
; (RESTART 1) => Return to read-eval-print level 1.

2 error>
End of input stream reached.
Happy Happy Joy Joy.

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by riastradh (Posted a comment)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 4 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2009-03-09 riastradh Assigned toNone riastradh
    2009-03-09 riastradh StatusNone Fixed
        Open/ClosedOpen Closed
    2006-08-17 None Carbon-Copy- Added -unavailable-

    Back to the top

    Powered by Savane 3.13-02a9.
    Corresponding source code