<div>Running the following in DrScheme causes is it to crash:</div>
<div> </div>
<div>(module cut-and-paste mzscheme<br> (provide cut-and-paste-test)<br> (require (lib "mred.ss" "mred")<br> (lib "class.ss"))<br> <br> (define (cut-and-paste-test)<br> (let* ((f (new frame% (label "Cut And Paste Test")))<br>
(b (new button% (parent f) (label "Copy")<br> (callback (lambda (b e)<br> (send the-clipboard set-clipboard-string "Hello World" 0))))))<br> (send f show #t)))<br>
(cut-and-paste-test))</div>
<div> </div>
<div> </div>
<div><font size="1"><font size="2">The following was in the event log:</font></font></div>
<div><font size="1"></font> </div>
<div><font size="1">Faulting application DrScheme.exe, version 372.0.0.0, time stamp 0x4775c396, faulting module ntdll.dll, version 6.0.6000.16386, time stamp 0x4549bdc9, exception code 0xc0000374, fault offset 0x000af1c9, process id 0x80c4, application start time 0x01c88d349d2bdba5.</font></div>
<div><font size="1"><font size="2"></font></font> </div>
<div><font size="1"><font size="2">There's also an APPCRASH event:</font></font></div>
<div><font size="1"><font size="2"></font></font> </div>
<div><font size="1">Version=1<br>EventType=APPCRASH<br>EventTime=128508463997450000<br>ReportType=2<br>Consent=1<br>UploadTime=128508464028980000<br>Response.BucketId=697865926<br>Response.BucketTable=1<br>Response.type=4<br>
Sig[0].Name=Application Name<br>Sig[0].Value=DrScheme.exe<br>Sig[1].Name=Application Version<br>Sig[1].Value=372.0.0.0<br>Sig[2].Name=Application Timestamp<br>Sig[2].Value=4775c396<br>Sig[3].Name=Fault Module Name<br>Sig[3].Value=StackHash_f274<br>
Sig[4].Name=Fault Module Version<br>Sig[4].Value=6.0.6000.16386<br>Sig[5].Name=Fault Module Timestamp<br>Sig[5].Value=4549bdc9<br>Sig[6].Name=Exception Code<br>Sig[6].Value=c0000374<br>Sig[7].Name=Exception Offset<br>Sig[7].Value=000af1c9<br>
DynamicSig[1].Name=OS Version<br>DynamicSig[1].Value=6.0.6000.2.0.0.256.6<br>DynamicSig[2].Name=Locale ID<br>DynamicSig[2].Value=1033<br>DynamicSig[22].Name=Additional Information 1<br>DynamicSig[22].Value=f274<br>DynamicSig[23].Name=Additional Information 2<br>
DynamicSig[23].Value=ca7d6549edd6bedb30b1391fec00ebe3<br>DynamicSig[24].Name=Additional Information 3<br>DynamicSig[24].Value=5cd1<br>DynamicSig[25].Name=Additional Information 4<br>DynamicSig[25].Value=d9b2e2cae83ee3efa7ad319c5b2aa163<br>
UI[2]=C:\Program Files\PLT\DrScheme.exe<br>UI[3]=MrEd-based application has stopped working<br>UI[4]=Windows can check online for a solution to the problem.<br>UI[5]=Check online for a solution and close the program<br>UI[6]=Check online for a solution later and close the program<br>
UI[7]=Close the program<br>State[0].Key=Transport.DoneStage1<br>State[0].Value=1<br>State[1].Key=DataRequest<br>State[1].Value=Bucket=697865926/nBucketTable=1/nResponse=1/n<br>FriendlyEventName=Stopped working<br>ConsentKey=APPCRASH<br>
AppName=MrEd-based application<br>AppPath=C:\Program Files\PLT\DrScheme.exe<br></font></div><br><br>
<div class="gmail_quote">On Mon, Mar 24, 2008 at 11:03 AM, Matthew Flatt <<a href="mailto:mflatt@cs.utah.edu">mflatt@cs.utah.edu</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">At Sun, 23 Mar 2008 18:31:11 -0400, "Ben Simon" wrote:<br>> Consider the following MrEd code:<br>><br>> (new button%<br>> (parent controls) (label "Copy To Clipboard")<br>
> (callback (lambda (button evt)<br>> (send the-clipboard set-clipboard-string "Hello World" 0))))<br>><br>> When I invoke this code as a stand alone .exe, it works as expected - Hello<br>
> World shows up on the system clipboared.<br>><br>> When I invoke this code inside DrScheme, it causes DrScheme to immediately<br>> crash (as in drscheme.exe dies).<br>><br>> I'm running under Windows Vista - v372.<br>
<br></div>I haven't been able to reproduce the problem using v372 on Vista. Can<br>you send a complete program?<br><br>Thanks,<br><font color="#888888">Matthew<br><br></font></blockquote></div><br><br clear="all"><br>
-- <br>Have an idea for software? I can make it happen - <a href="http://www.ideas2executables.com">http://www.ideas2executables.com</a><br>My Blog: <a href="http://benjisimon.blogspot.com">http://benjisimon.blogspot.com</a>