public inbox for pthreads-win32@sourceware.org
 help / color / mirror / Atom feed
From: "Dave Baggett" <dmb@itasoftware.com>
To: <pthreads-win32@sourceware.cygnus.com>
Subject: Re: Bug report with source code attached
Date: Wed, 01 Mar 2000 09:54:00 -0000	[thread overview]
Message-ID: <025401bf83a6$8b21a130$0903a8c0@itasoftware.com> (raw)
In-Reply-To: <430F887D415DD1118C2700805F31ECF102E2F64E@sota0005.cognos.com>

John Bossom wrote:

> 1) you didn't include the thread code, so we really don't
>    know if all the threads are still consuming resources
>    (and running!) or not. If they are you are chewing up
>    all the system resources... there should be sufficient
>    checks in both your code (and pthreads-win32) to deal
>    with out of memory/resource errors (i.e. checking for
>    failures of malloc, etc.)

I think I may have been confusing.

That wasn't a *piece* of the code that causes the crash --
that code *itself* will cause a crash. In other words, there 
is no more code to show you as far as eliciting the bug
is concerned. Of course, in my real app the threads actually
do things, but that seems to have no bearing on this crash bug.
I watered down my test case to the code I sent, and that's all
you need to cause a crash. In other words, just paste that code
into "test.cpp", compile it, and run it. Within about 15
minutes the program should crash.

I know it looks pretty unlikely, but that's what happens
on my machine (NT SP5, 1GB RAM). I'd certainly be 
interested to learn that nobody else can duplicate this crash
if that's the case -- that means I need to reinstall NT,
I suppose.

Dave

  reply	other threads:[~2000-03-01  9:54 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-03-01  7:38 Bossom, John
2000-03-01  9:54 ` Dave Baggett [this message]
  -- strict thread matches above, loose matches on Subject: below --
2000-03-02  7:46 Bossom, John
2000-03-02 16:15 ` Dave Baggett
2000-03-02  0:32 reentrant
2000-02-29 23:59 Dave Baggett
2000-03-01  1:10 ` Dave Baggett

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='025401bf83a6$8b21a130$0903a8c0@itasoftware.com' \
    --to=dmb@itasoftware.com \
    --cc=pthreads-win32@sourceware.cygnus.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).