public inbox for gcc-prs@sourceware.org
help / color / mirror / Atom feed
* libgcj/4213: SimpleDateFormat constructor SEGV's.
@ 2001-09-03 16:36 Anthony Green
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Green @ 2001-09-03 16:36 UTC (permalink / raw)
  To: gcc-gnats

>Number:         4213
>Category:       libgcj
>Synopsis:       SimpleDateFormat constructor SEGV's.
>Confidential:   no
>Severity:       critical
>Priority:       medium
>Responsible:    unassigned
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Mon Sep 03 16:36:00 PDT 2001
>Closed-Date:
>Last-Modified:
>Originator:     Anthony Green
>Release:        3.1 20010901 (experimental)
>Organization:
>Environment:
System: Linux fencer.cygnus.com 2.2.12-20smp #1 SMP Mon Sep 27 10:34:45 EDT 1999 i686 unknown
Architecture: i686

	
host: i686-pc-linux-gnu
build: i686-pc-linux-gnu
target: i686-pc-linux-gnu
configured with: /fencer/cutlass/aph/green/trunk/gcc/configure --prefix=/fencer/cutlass/aph/green/trunk/gcc/i --enable-threads --enable-languages=c++,java
>Description:
	Compiling and running the attached results in...

Exception in thread "main" java.lang.NullPointerException
   at 0x401c2f41: java.lang.Throwable.Throwable() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x401b764f: java.lang.Exception.Exception() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x401bbeaf: java.lang.RuntimeException.RuntimeException() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x401bb25f: java.lang.NullPointerException.NullPointerException() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x40183497: _Jv_ThrowNullPointerException (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x402631d6: java.text.DateFormatSymbols.DateFormatSymbols(java.util.Locale) (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x4026ec7b: java.text.SimpleDateFormat.SimpleDateFormat(java.lang.String, java.util.Locale) (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x4026ebbf: java.text.SimpleDateFormat.SimpleDateFormat(java.lang.String) (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x08048f6c: sdf.main(java.lang.String[]) (/tmp/sdf.java:9)
   at 0x4019d4c8: gnu.gcj.runtime.FirstThread.call_main() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x402292d8: gnu.gcj.runtime.FirstThread.run() (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x401aa70c: _Jv_ThreadRun(java.lang.Thread) (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x40184254: _Jv_RunMain(java.lang.Class, byte const, int, byte const, boolean) (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x401843ad: JvRunMain (/fencer/cutlass/aph/green/trunk/gcc/i/lib/libgcj.so.2)
   at 0x08048f1c: main (/tmp/cc2lKzL1main.i:0)
   at 0x404f71eb: __libc_start_main (/lib/libc.so.6)
   at 0x08048e19: _init ((null):0)

>How-To-Repeat:
	Compile and run the following...

import java.text.SimpleDateFormat;

public class sdf
{
  protected static String timestampFormat = "yyyy-MM-dd HH:mm:ss";

  public static void main(String args[])
  {
    SimpleDateFormat timestampFormatter	= new SimpleDateFormat(timestampFormat);

    System.out.println (timestampFormatter);
  }
}

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


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

* Re: libgcj/4213: SimpleDateFormat constructor SEGV's.
@ 2001-09-04 12:05 tromey
  0 siblings, 0 replies; 2+ messages in thread
From: tromey @ 2001-09-04 12:05 UTC (permalink / raw)
  To: gcc-bugs, gcc-prs, green, java-prs, nobody, tromey

Synopsis: SimpleDateFormat constructor SEGV's.

Responsible-Changed-From-To: unassigned->tromey
Responsible-Changed-By: tromey
Responsible-Changed-When: Tue Sep  4 12:05:33 2001
Responsible-Changed-Why:
    I'm handling it.
State-Changed-From-To: open->closed
State-Changed-By: tromey
State-Changed-When: Tue Sep  4 12:05:33 2001
State-Changed-Why:
    I checked in the fix.

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


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

end of thread, other threads:[~2001-09-04 12:05 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-09-03 16:36 libgcj/4213: SimpleDateFormat constructor SEGV's Anthony Green
2001-09-04 12:05 tromey

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