delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/09/16/10:48:54

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Date: Thu, 16 Sep 1999 17:44:59 +0300
From: Paul Sokolovsky <paul-ml AT is DOT lg DOT ua>
X-Mailer: The Bat! (v1.32) S/N 34D3AC61
Reply-To: Paul Sokolovsky <paul-ml AT is DOT lg DOT ua>
X-Priority: 3 (Normal)
Message-ID: <5739.990916@is.lg.ua>
To: cygwin AT sourceware DOT cygnus DOT com, cygwin32-developers AT cygnus DOT com
Subject: Suspected bug in longjmp()
Mime-Version: 1.0

Hello cygwin32-developers AT cygnus DOT com,

  In my sources of b20.1 release, I see that longjmp() restores %fs
register. This might not be done, because %fs is system (in sence
'belonging to system') register in win32, and longjmp()'s work is to
resore application's state, not system's.

  Of course, this note comes not from speculative conclusion, but from
my practise with implementing my own fork() - on child's exit I
sometimes (about every tenth time) got exception in win95 kernel32.dll
on usual 'mov eax,fs:[0]' stuff: fs contained null selector. Not
restoring fs helped.

Best regards,
 Paul                          mailto:paul-ml AT is DOT lg DOT ua



--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


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