[racket-dev] drracket crash with bad prefs

From: Robby Findler (robby at eecs.northwestern.edu)
Date: Wed Sep 28 22:05:02 EDT 2011

That preference setting means that your window was on the second
monitor (at position x=76, y=9). And it looks like what happened is
that when you started up drracket a second time, that monitor wasn't
there anymore and a bug caused it to crash instead of just moving your
window to an existing monitor.

I've pushed a repair for the crash, but does that sound like a
plausible scenario?

Robby

On Wed, Sep 28, 2011 at 8:51 PM, Stephen Chang <stchang at ccs.neu.edu> wrote:
> Occasionally, my prefs file gets into a state where drracket cant
> start and fails with this error:
>
> -: expects type <number> as 2nd argument, given: #f; other arguments were: 76
>
>  === context ===
> C:\plt\collects\framework\private\frame.rkt:255:2
> C:\plt\collects\racket\private\class-internal.rkt:3680:0: continue-make-super
> C:\plt\collects\racket\private\class-internal.rkt:3680:0: continue-make-super
> C:\plt\collects\drracket\private\frame.rkt:594:4
> C:\plt\collects\racket\private\class-internal.rkt:3680:0: continue-make-super
> C:\plt\collects\drracket\private\unit.rkt:1301:4
> C:\plt\collects\racket\private\class-internal.rkt:3680:0: continue-make-super
> C:\plt\collects\drracket\private\module-language.rkt:816:4
> C:\plt\collects\racket\private\class-internal.rkt:3680:0: continue-make-super
> C:\plt\collects\drracket\private\debug.rkt:1520:4
> C:\plt\collects\racket\private\class-internal.rkt:3680:0: continue-make-super
> C:\plt\collects\racket\private\class-internal.rkt:3680:0: continue-make-super
> C:\plt\collects\drracket\private\module-language-tools.rkt:50:4
> C:\plt\collects\racket\private\class-internal.rkt:3680:0: continue-make-super
> C:\plt\collects\drracket\private\syncheck\gui.rkt:1404:6
> C:\plt\collects\racket\private\class-internal.rkt:3680:0: continue-make-super
> ...
>
>
>
> If I wipe away the following line in the prefs file, it starts fine.
>
> (plt:framework-pref:drracket:unit-window-position (1 76 9))
>
>
> But I dont know what I did to get that line to appear in my prefs.
> Last few things I did was run a slideshow presentation and activated a
> few lazy stepper windows.
>
> Anyone have any ideas? I attached the prefs file I'm using. This has
> never happened before. Has anything changed in those files?
>
> Using 5.1.3.10 2011-09-26 on windows xp.
>
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>



Posted on the dev mailing list.