public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: Ross Johnson <rpj@ise.canberra.edu.au>
To: Harish SS <harish@myneton-india.com>
Cc: pthreads-win32@sources.redhat.com
Subject: Re: execute of pthreads-2001-07-03 fails
Date: Tue, 10 Jul 2001 01:09:00 -0000	[thread overview]
Message-ID: <3B4AB819.F7907E21@ise.canberra.edu.au> (raw)
In-Reply-To: <000a01c108f6$6697b580$4d02a8c0@opel>

Hi,

Harish SS wrote:
> 
> Hi,
> 
> When building the pthreads-2001.-7-03 tests, I get the following message.
> 
> Compiling exception3.exe
> exception3.c
> ... Running VCE test: exception3.exe
> NMAKE : fatal error U1077: '.\exception3.exe' : return code '0x3'
> Stop.
> NMAKE : fatal error U1077: 'C:\MSDEV\VC98\BIN\NMAKE.EXE' : return code '0x2'
> Stop.
> with an exception unhadled exception.
> 
> Could you help me iron out the reason/bug.
> 

tests/exception3.c is designed to exercise this known bug. The bug is
mentioned in the ANNOUNCE file:

      ---------------------------
      Known bugs in this snapshot
      ---------------------------

      1. Under MS VC++ (only tested with version 6.0), a term_func
         set via the standard C++ set_terminate() function is not called
         for some reason. The code in private.c:ptw32_threadStart()
         makes an explicit call to terminate(), which works as expected
         under MinGW32 g++, but doesn't appear to run the term_func
under
         MS VC++ 6.0.

The code has changed slightly since this was written, but the logic is
basically the same. The user supplied terminate function is retrieved
using set_terminate() and then run directly. If anybody does have a
solution it would nice to clean this one up.

Ross

-- 
+-------------------------+---+
| Ross Johnson            |   | "Come down off the cross
| Management & Technology |___|  We can use the wood" - Tom Waits
| Building 11                 |
| University of Canberra      | eMail: rpj@ise.canberra.edu.au
| ACT    2601                 | WWW:  
http://public.ise.canberra.edu.au/~rpj/
| AUSTRALIA                   |
+-----------------------------+

      reply	other threads:[~2001-07-10  1:09 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-07-09  9:17 Scott Rowe
2001-07-09 12:29 ` reentrant
2001-07-09 21:35   ` Ross Johnson
2001-07-09 21:17 ` Harish SS
2001-07-10  1:09   ` Ross Johnson [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3B4AB819.F7907E21@ise.canberra.edu.au \
    --to=rpj@ise.canberra.edu.au \
    --cc=harish@myneton-india.com \
    --cc=pthreads-win32@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).