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

 
 

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

Submitted by:  None
Submitted on:  Thu 17 Aug 2006 06:10:12 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect behavior
Status: FixedPrivacy: Public
Assigned to: Taylor R. Campbell <riastradh>Originator Name: Arthur A. Gleckler
Originator Email: -unavailable-Open/Closed: Closed
Keywords: 

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project MemberIn charge of this item.
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 File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 4 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Mon 09 Mar 2009 09:52:47 PM UTCriastradhAssigned toNone=>riastradh
    Mon 09 Mar 2009 09:41:01 PM UTCriastradhStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Thu 17 Aug 2006 06:10:12 AM UTCNoneCarbon-Copy-=>Added -unavailable-

    Back to the top


    Powered by Savane 3.1-cleanup1