bugMIT/GNU Scheme - Bugs: bug #12521, Error handling of symbol<?

 
 

bug #12521: Error handling of symbol<?

Submitted by:  None
Submitted on:  Thu 31 Mar 2005 09:54:47 PM UTC  
 
Category: runtimeSeverity: 3 - Normal
Priority: 5 - NormalItem Group: Incorrect behavior
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
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.

 

Sun 23 Oct 2005 09:15:07 PM UTC, comment #1:

Fixed in recent snapshots.

Chris Hanson <cph>
Project Administrator
Thu 31 Mar 2005 09:54:47 PM UTC, original submission:

This is an excerpt from the last project I had to do.
I'm pretty sure it's not the intended behavior.
Hope it's useful (I didn't find it in the list of
corrected bugs since that version)

GB

----------------------------------------------------------

;; Side-note
; I found a bug in the procedure symbol<? in my scheme interpreter, which is
; Rel 7.5.1 Mc 11.165 Rt 14.180 Edwin 3.99 6.001 15.30
; and is the one I downloaded from the 6.001 site.
; My computer is an i686 with Linux (kernel: 2.6.9-gentoo-r4).
; The error is the following:
; symbol<? doesn't perform type checking, or at least not as it is supposed to
; also doesn't conform to the specification
; It is not described in the Revised 5 Report on Scheme, but in the guide.
;
; The expression
; (symbol<? '10 'ab)
; should be equivalent to
; (string<? (symbol->string '10) (symbol->string 'ab))
; however, the second one correctly sees the error, halting execution and
; printing the usual

;The object 10, passed as an argument to symbol-name, is not a symbol.
;Type D to debug error, Q to quit back to REP loop: q
;Quit!

; Whereas, symbol<? end up in segmentation fault:

;Hardware trap SIGSEGV
;Type D to debug error, Q to quit back to REP loop: q
;Quit!

; The debugger is not useful in this situation, and locating the source of
; the problem is a pain!

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

 

CC list is empty

 

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 2 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Sun 23 Oct 2005 09:15:07 PM UTCcphStatusNone=>Fixed
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1