delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/04/11/23:22:02

From: bk039 AT freenet DOT carleton DOT ca (Raymond Martineau)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Keyboard Lockups
Date: Wed, 12 Apr 2000 02:50:15 GMT
Organization: National Capital Freenet, Ottawa, Ontario, Canada
Lines: 47
Sender: bk039 AT freenet DOT carleton DOT ca (Raymond Martineau)
Message-ID: <38f3e07f.1026232@news.ncf.carleton.ca>
References: <38ed529d DOT 3367074 AT news DOT ncf DOT carleton DOT ca> <38ED9D75 DOT 13827ACF AT is DOT elta DOT co DOT il> <38f1240c DOT 818034 AT news DOT ncf DOT carleton DOT ca> <38F35B52 DOT 6790FA6A AT is DOT elta DOT co DOT il>
NNTP-Posting-Host: p16t4.xpr.dialup.ncf.carleton.ca
X-Trace: freenet9.carleton.ca 955508605 28018 134.117.137.93 (12 Apr 2000 03:03:25 GMT)
X-Complaints-To: complaints AT ncf DOT ca
NNTP-Posting-Date: 12 Apr 2000 03:03:25 GMT
X-Newsreader: Forte Free Agent 1.11/32.235
X-Given-From: bk039 AT freenet DOT carleton DOT ca (Raymond Martineau)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

On Tue, 11 Apr 2000 19:05:22 +0200, Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
wrote:

>Raymond Martineau wrote:
>> 
>> >> Under MS-DOS 7.0 (Windows 95 in Dos mode), I encounter keyboard
>> >> lockups when I quit a program compiled by a recent version of DJGPP.
>> >> When I either press or release a key during a split second window of
>> >> the program terminating, the keyboard completely locks up, and does
>> >> not respond.
>>
>> From my testing with the bug, the smallest program size it could be
>> reproduced in is a medium sized program.  One program in particular,
>> called QCCX (available at http://elohim.ai.mit.edu/qccx/) does not
>> have any visible code that hooks interrupts, and contains the problems
>> existing when compiled with GCC.
>
>I downloaded this package, but the executable inside seems to be not a DJGPP
>program, and there are no instructions how to build with DJGPP.  So I
>couldn't compile and try to run it.

It can be easily compiled by running "gcc -c *.cpp -o qccx.exe".  With
the exception of a few declaration errors (that are easily fixed), it
should compile without problem.  

The other program, although is more easily reproduced under certain
conditions (see below), does not seem to have the sources in the same
location.  I don't remember the URL for the sources (and can't find
them in the documentation), but I did manage to download a copy. 

>So I couldn't reproduce the problems you were describing.  Could you please
>post instructions how to download the sources, how to compile the programs,
>and how to run them (with what data files) in order to reproduce the
>problems?

When I checked the version of CWSDPMI (as you asked in another post),
I noticed that the problem was with version 0.90 (r1) that was found
in c:\windows\command.  This version was superceding the 0.90 (r4)
that was found in the current directorty, as well as c:\djgpp\bin.

After deleting the obsolete version, that problem, as well as some
other unrelated issues, disappeared.  Basically, it is a subtle form
of out-of-date libraries.  

--
Raymond Martineau - dynamo_tamarin AT yahoo DOT com
Frik-TF 0.09 Beta 2: http://www.ncf.ca/~bk039/index.htm

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019