[plt-dev] DrScheme definitions crash in pre-release

From: David Van Horn (dvanhorn at ccs.neu.edu)
Date: Fri May 22 16:23:44 EDT 2009

I can consistently put DrScheme in a bad state by the following:

1) Open a fairly large file (so syntax checking takes time)
2) Make a change
3) click Check Syntax
4) click Save -- before checking is complete.

It seems as soon as syntax checking completes, an internal error is 
signalled.  The error varies, but it always occurs.  Here are a couple:

1)

sequence-contract-violation: negative: method delete cannot be called, 
except in states (unlocked), args 0 360

  === context ===
/Applications/PLT Scheme Full 
v4.1.900/collects/drscheme/private/unit.ss:529:10: after-save-file 
method in ...heme/private/unit.ss:454:8
/Applications/PLT Scheme Full 
v4.1.900/collects/drscheme/private/unit.ss:3884:29
/Applications/PLT Scheme Full 
v4.1.900/collects/scheme/private/more-scheme.ss:155:2: 
call-with-break-parameterization
/Applications/PLT Scheme Full 
v4.1.900/collects/scheme/private/more-scheme.ss:271:2: 
call-with-exception-handler

2)

hash-ref: expects type <hash> as 1st argument, given: #f; other 
arguments were: #(struct:object:...engine/test-tool.scm:30:6 ...) 
#<procedure:...heme/syncheck.ss:461:35>

  === context ===
/Applications/PLT Scheme Full 
v4.1.900/collects/drscheme/syncheck.ss:414:12: syncheck:add-menu method 
in ...drscheme/syncheck.ss:221:10
/Applications/PLT Scheme Full 
v4.1.900/collects/scheme/private/map.ss:44:11: for-each
/Applications/PLT Scheme Full 
v4.1.900/collects/drscheme/syncheck.ss:1671:22: at-phase
/Applications/PLT Scheme Full 
v4.1.900/collects/scheme/private/map.ss:44:11: for-each
/Applications/PLT Scheme Full 
v4.1.900/collects/scheme/private/map.ss:44:11: for-each
/Applications/PLT Scheme Full 
v4.1.900/collects/drscheme/syncheck.ss:1489:4: annotate-basic
/Applications/PLT Scheme Full 
v4.1.900/collects/drscheme/syncheck.ss:1413:14: expanded-expression
/Applications/PLT Scheme Full v4.1.900/collects/drscheme/syncheck.ss:1247:38
/Applications/PLT Scheme Full v4.1.900/collects/drscheme/syncheck.ss:1244:35

After this, the definitions window is broken.  I cannot reposition the 
cursor, type text, etc.  I can click Save but it doesn't go away.  Run 
and the interactions window work fine.

This is on 4.1.900-svn21may2009 [3m], Mac OSX, ISL/lambda.

Should I be submitting bug reports, or emailing this list since this 
concerns the release candidate?

David


Posted on the dev mailing list.