public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* Re: libgcj/2431: static initializers
@ 2002-01-27 15:58 rodrigc
  0 siblings, 0 replies; 3+ messages in thread
From: rodrigc @ 2002-01-27 15:58 UTC (permalink / raw)
  To: bryce, gcc-bugs, gcc-prs, java-prs, torsten.rueger

Synopsis: static initializers

State-Changed-From-To: feedback->closed
State-Changed-By: rodrigc
State-Changed-When: Sun Jan 27 15:58:21 2002
State-Changed-Why:
    No feedback.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view%20audit-trail&database=gcc&pr=2431


^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: libgcj/2431: static initializers
@ 2001-09-29 23:38 bryce
  0 siblings, 0 replies; 3+ messages in thread
From: bryce @ 2001-09-29 23:38 UTC (permalink / raw)
  To: bryce, gcc-bugs, gcc-prs, java-prs, nobody, torsten.rueger

Synopsis: static initializers

Responsible-Changed-From-To: unassigned->bryce
Responsible-Changed-By: bryce
Responsible-Changed-When: Sat Sep 29 23:38:12 2001
Responsible-Changed-Why:
    .
State-Changed-From-To: open->feedback
State-Changed-By: bryce
State-Changed-When: Sat Sep 29 23:38:12 2001
State-Changed-Why:
    We can't fix this one without a test case. Possibly it has
    been fixed already.

http://gcc.gnu.org/cgi-bin/gnatsweb.pl?cmd=view&pr=2431&database=gcc


^ permalink raw reply	[flat|nested] 3+ messages in thread

* libgcj/2431: static initializers
@ 2001-03-30  0:26 torsten.rueger
  0 siblings, 0 replies; 3+ messages in thread
From: torsten.rueger @ 2001-03-30  0:26 UTC (permalink / raw)
  To: gcc-gnats

>Number:         2431
>Category:       libgcj
>Synopsis:       static initializers
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Mar 30 00:26:00 PST 2001
>Closed-Date:
>Last-Modified:
>Originator:     torsten.rueger@firsthop.com
>Release:        gcc version 3.0 20010320 (prerelease)
>Organization:
>Environment:
Configured with: ../gcc-20010320/configure --enable-threads=posix --prefix=/tmp/local/ --enable-shared --enable-languages=c++,javaLinux inception 2.2.12-20 #1 Mon Sep 27 10:40:35 EDT 1999 i686 unknown
>Description:
I got some bizzare NullPointer Exception, something like
MyObject o = new MyObject();
o.toString();  // NULL Pointer here
Running from the command I got the nullpointer. Runniing under a debugger I got sigsuspend in the init of the first Thread. So I gave up. 
Just by chance I tried removing a static initializer in MyObject, and the problem disapeared.
I mean I move d
static { someCode}  
into some other init method, and now all works fine
>How-To-Repeat:
I couldn't make a small case for this.
I have 300 classes here, all gnu, that I could send, Makefile and everything included.
>Fix:

>Release-Note:
>Audit-Trail:
>Unformatted:


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2002-01-27 23:58 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-01-27 15:58 libgcj/2431: static initializers rodrigc
  -- strict thread matches above, loose matches on Subject: below --
2001-09-29 23:38 bryce
2001-03-30  0:26 torsten.rueger

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).