public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "thebohemian at gmx dot net" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libgcj/7532] shutdown hooks not run upon abnormal termination
Date: Thu, 01 Dec 2005 12:46:00 -0000	[thread overview]
Message-ID: <20051201124624.9877.qmail@sourceware.org> (raw)
In-Reply-To: <bug-7532-3243@http.gcc.gnu.org/bugzilla/>



------- Comment #8 from thebohemian at gmx dot net  2005-12-01 12:46 -------
Created an attachment (id=10378)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=10378&action=view)
a test for the shutdown situation

Here is another small test case.

Output on another free VM looks like this:

jamvm test.shutdownhook.Test
waiting ...
Shutting down!
Exception in thread "Thread-3" java.lang.Error
   at test.shutdownhook.Test$3.run (Test.java:26)
   at java.lang.Thread.run (Thread.java:674)
Exception in thread "Thread-2" java.lang.NullPointerException
   at test.shutdownhook.Test$2.run (Test.java:19)
   at java.lang.Thread.run (Thread.java:674)

On gcj the shutdown hooks are not called when stopping it via ctrl-c.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=7532


       reply	other threads:[~2005-12-01 12:46 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <bug-7532-3243@http.gcc.gnu.org/bugzilla/>
2005-12-01 12:46 ` thebohemian at gmx dot net [this message]
2005-12-01 14:05 ` thebohemian at gmx dot net
     [not found] <20020807153600.7532.jmr@fulcrummicro.com>
2004-09-23  7:50 ` aph at gcc dot gnu dot org
2003-05-24  0:48 pinskia@physics.uc.edu
  -- strict thread matches above, loose matches on Subject: below --
2003-05-23 21:29 pinskia@physics.uc.edu

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=20051201124624.9877.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.org \
    /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).