﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	difficulty
121	srfi-19 dumps core in response to bad arguments	Tony Sidaway		"csi -R srfi-19
(format-date #t ""~Y"")
Segmentation fault

csi -R srfi-19
(format-date #t ""~Y"")
Segmentation fault

This typically dumps users back from the REPL to the shell command line, losing their session.  If this is encountered in compiled code, the program bails without explanation.

An error should be raised saying that the date object must be specified.

Also:
csi -R srfi-19
(format-date #t """")
Error: (get-output-string) argument is not a string-output-port: #<output port ""(stdout)"">

An error should be raised saying that the date object must be specified or that the format string is empty.

csi -R srfi-19
(format-date #t ""~Y"" (make-date 0 2 1 13 10 11 2009 0))
Error: (get-output-string) argument is not a string-output-port: #<output port ""(stdout)"">

The same happens if an output port is given instead of #t

According to the online documentation for the SRFI-19 egg, this procedure call should write the formatted date to (current-output-port) or to the specified port.
"	defect	closed	major		extensions	4.2.x	fixed	srfi-19		
