sablevm-bugs Mailing List for SableVM (Page 8)
Brought to you by:
egagnon
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(2) |
Nov
(4) |
Dec
(8) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
(5) |
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(16) |
Sep
(10) |
Oct
|
Nov
(2) |
Dec
(7) |
2003 |
Jan
(14) |
Feb
(11) |
Mar
(59) |
Apr
(3) |
May
(1) |
Jun
(7) |
Jul
(8) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2004 |
Jan
|
Feb
|
Mar
(26) |
Apr
|
May
|
Jun
(1) |
Jul
(12) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <no...@so...> - 2002-08-06 05:09:40
|
Bugs item #434181, was opened at 2001-06-18 10:39 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=434181&group_id=5523 Category: Execution Problem Group: SableVM >Status: Closed >Resolution: Fixed Priority: 6 Submitted By: Pascal Grange (pascal) Assigned to: Etienne M. Gagnon (egagnon) Summary: problem with long and the % operator Initial Comment: This class make a java.lang.NullPointerException when run with sablevm : public class Test{ public static void main(String args[]){ long i = 1; i = i % 2; } } Compiling and running : $> sablevm [...] Test java.lang.NullPointerException at Test.main ([Ljava/lang/String;)V (in file Test.java at line 3) at org/sablevm/vm/Startup.main (Ljava/lang/String;[Ljava/lang/String;)V (unknown) at org/sablevm/vm/Startup.main ([Ljava/lang/String;)V (in file Startup.java at line 18) Note that with this line : i = (long) ((int)i % 2); instead of : i = i % 2; all goes well. ---------------------------------------------------------------------- >Comment By: Etienne M. Gagnon (egagnon) Date: 2002-08-06 01:09 Message: Logged In: YES user_id=15365 The new code fixes this problem and many others. Thanks for the detailed report! ---------------------------------------------------------------------- Comment By: Pascal Grange (pascal) Date: 2001-06-25 05:44 Message: Logged In: YES user_id=5113 NOTE that this bug was observed on the sablevm-0.1.6 release, on a bi-pentiumIII machine under redhat 6.2 with a 2.2.14 linux kernel. This bug was observed for the lrem instruction and the ldiv instruction too, but not for ladd or lsub. Finally, note that it appears only when using the inlined-threaded-interpreter, but not with the direct or indirect-threaded-interpreter. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=434181&group_id=5523 |
From: <no...@so...> - 2002-08-06 05:08:37
|
Bugs item #429958, was opened at 2001-06-04 00:06 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 Category: Execution Problem Group: SableVM >Status: Closed Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Etienne M. Gagnon (egagnon) Summary: Abortion on Linux 2.4 Initial Comment: Thank you for your great VM. SableVM is easier to understand VM architecture. I found a problem of abortion on VM. The abortion takes place on Linux kernel ver. 2.4. The cause is at about line number 97-99 in interpreter.c, following context; locals = (_svmt_stack_value *) (((char *) frame) - method->locals_size); Inspite of the value of 'method' is set NULL, 'locals_size' points c3 on my environment. I can avoid this problem by using if statement, like this, if (method != NULL) { locals = ... stack = ... } -- Hiro ISHIKAWA Graduate School of Science and Engineering, Waseda University ---------------------------------------------------------------------- Comment By: Etienne M. Gagnon (egagnon) Date: 2002-08-06 01:06 Message: Logged In: YES user_id=15365 The new code fixes this bug and many others. Thanks for your report! ---------------------------------------------------------------------- Comment By: Etienne M. Gagnon (egagnon) Date: 2001-06-08 16:11 Message: Logged In: YES user_id=15365 This is effectively a bug. method->locals_size doesn't dereference NULL when "method" is NULL, because the offset of locals_size is added to it. We must cause the segmentation fault using a NULL dereference. Will be fixed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 |
From: <no...@so...> - 2002-08-06 05:06:54
|
Bugs item #429958, was opened at 2001-06-04 00:06 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 Category: Execution Problem Group: SableVM Status: Open >Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Etienne M. Gagnon (egagnon) Summary: Abortion on Linux 2.4 Initial Comment: Thank you for your great VM. SableVM is easier to understand VM architecture. I found a problem of abortion on VM. The abortion takes place on Linux kernel ver. 2.4. The cause is at about line number 97-99 in interpreter.c, following context; locals = (_svmt_stack_value *) (((char *) frame) - method->locals_size); Inspite of the value of 'method' is set NULL, 'locals_size' points c3 on my environment. I can avoid this problem by using if statement, like this, if (method != NULL) { locals = ... stack = ... } -- Hiro ISHIKAWA Graduate School of Science and Engineering, Waseda University ---------------------------------------------------------------------- >Comment By: Etienne M. Gagnon (egagnon) Date: 2002-08-06 01:06 Message: Logged In: YES user_id=15365 The new code fixes this bug and many others. Thanks for your report! ---------------------------------------------------------------------- Comment By: Etienne M. Gagnon (egagnon) Date: 2001-06-08 16:11 Message: Logged In: YES user_id=15365 This is effectively a bug. method->locals_size doesn't dereference NULL when "method" is NULL, because the offset of locals_size is added to it. We must cause the segmentation fault using a NULL dereference. Will be fixed. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 |
From: <no...@so...> - 2002-08-06 05:04:55
|
Bugs item #422564, was opened at 2001-05-09 03:12 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=422564&group_id=5523 Category: Execution Problem Group: SableVM >Status: Closed >Resolution: Fixed Priority: 8 Submitted By: Navindra Umanee (navindra) Assigned to: Etienne M. Gagnon (egagnon) Summary: Switch statement not handled correctly Initial Comment: Aha! Found my second or third SableVM bug -- finally one that's easy to describe and reproduce. ;-) Check the attached .java file, and compile it. Run it against Sun Java and SableVM: [asimov] [/home/navindra/work] java SableVMBug Switch1: 1 [asimov] [/home/navindra/work] sablevm -Y SableVMBug Switch1: default While debugging coffi, I at first thought this bug involved nested switches but the simplicity of this included example proves otherwise and muchly confuses me. It appears that sometimes switches work and sometimes not. I'll look into this some more if it'll help. ---------------------------------------------------------------------- >Comment By: Etienne M. Gagnon (egagnon) Date: 2002-08-06 01:04 Message: Logged In: YES user_id=15365 The new code fixes this bug and many others. ---------------------------------------------------------------------- Comment By: Navindra Umanee (navindra) Date: 2001-05-09 03:59 Message: Logged In: YES user_id=210140 It's more interesting than I thought. The problem exhibits itself if one uses the Sun Java compiler to compile the attached file, but not if one uses the Jikes compiler with the SablePath libraries. The most interesting difference in the compiled code is that Jikes uses a Tableswitch where javac uses a Lookupswitch. Hmmm. Must sleep. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=105523&aid=422564&group_id=5523 |
From: <no...@so...> - 2001-06-26 13:41:22
|
Bugs item #434181, was opened at 2001-06-18 07:39 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=434181&group_id=5523 Category: Execution Problem Group: SableVM Status: Open Resolution: None >Priority: 6 Submitted By: Pascal Grange (pascal) >Assigned to: Etienne M. Gagnon (egagnon) Summary: problem with long and the % operator Initial Comment: This class make a java.lang.NullPointerException when run with sablevm : public class Test{ public static void main(String args[]){ long i = 1; i = i % 2; } } Compiling and running : $> sablevm [...] Test java.lang.NullPointerException at Test.main ([Ljava/lang/String;)V (in file Test.java at line 3) at org/sablevm/vm/Startup.main (Ljava/lang/String;[Ljava/lang/String;)V (unknown) at org/sablevm/vm/Startup.main ([Ljava/lang/String;)V (in file Startup.java at line 18) Note that with this line : i = (long) ((int)i % 2); instead of : i = i % 2; all goes well. ---------------------------------------------------------------------- Comment By: Pascal Grange (pascal) Date: 2001-06-25 02:44 Message: Logged In: YES user_id=5113 NOTE that this bug was observed on the sablevm-0.1.6 release, on a bi-pentiumIII machine under redhat 6.2 with a 2.2.14 linux kernel. This bug was observed for the lrem instruction and the ldiv instruction too, but not for ladd or lsub. Finally, note that it appears only when using the inlined-threaded-interpreter, but not with the direct or indirect-threaded-interpreter. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=434181&group_id=5523 |
From: <no...@so...> - 2001-06-25 09:44:58
|
Bugs item #434181, was opened at 2001-06-18 07:39 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=434181&group_id=5523 Category: Execution Problem Group: SableVM Status: Open Resolution: None Priority: 5 Submitted By: Pascal Grange (pascal) Assigned to: Nobody/Anonymous (nobody) Summary: problem with long and the % operator Initial Comment: This class make a java.lang.NullPointerException when run with sablevm : public class Test{ public static void main(String args[]){ long i = 1; i = i % 2; } } Compiling and running : $> sablevm [...] Test java.lang.NullPointerException at Test.main ([Ljava/lang/String;)V (in file Test.java at line 3) at org/sablevm/vm/Startup.main (Ljava/lang/String;[Ljava/lang/String;)V (unknown) at org/sablevm/vm/Startup.main ([Ljava/lang/String;)V (in file Startup.java at line 18) Note that with this line : i = (long) ((int)i % 2); instead of : i = i % 2; all goes well. ---------------------------------------------------------------------- >Comment By: Pascal Grange (pascal) Date: 2001-06-25 02:44 Message: Logged In: YES user_id=5113 NOTE that this bug was observed on the sablevm-0.1.6 release, on a bi-pentiumIII machine under redhat 6.2 with a 2.2.14 linux kernel. This bug was observed for the lrem instruction and the ldiv instruction too, but not for ladd or lsub. Finally, note that it appears only when using the inlined-threaded-interpreter, but not with the direct or indirect-threaded-interpreter. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=434181&group_id=5523 |
From: <no...@so...> - 2001-06-18 14:39:03
|
Bugs item #434181, was updated on 2001-06-18 07:39 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=434181&group_id=5523 Category: Execution Problem Group: SableVM Status: Open Resolution: None Priority: 5 Submitted By: Pascal Grange (pascal) Assigned to: Nobody/Anonymous (nobody) Summary: problem with long and the % operator Initial Comment: This class make a java.lang.NullPointerException when run with sablevm : public class Test{ public static void main(String args[]){ long i = 1; i = i % 2; } } Compiling and running : $> sablevm [...] Test java.lang.NullPointerException at Test.main ([Ljava/lang/String;)V (in file Test.java at line 3) at org/sablevm/vm/Startup.main (Ljava/lang/String;[Ljava/lang/String;)V (unknown) at org/sablevm/vm/Startup.main ([Ljava/lang/String;)V (in file Startup.java at line 18) Note that with this line : i = (long) ((int)i % 2); instead of : i = i % 2; all goes well. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=434181&group_id=5523 |
From: <no...@so...> - 2001-06-08 20:11:53
|
Bugs item #429958, was updated on 2001-06-03 21:06 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 Category: Execution Problem Group: SableVM Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) >Assigned to: Etienne M. Gagnon (egagnon) Summary: Abortion on Linux 2.4 Initial Comment: Thank you for your great VM. SableVM is easier to understand VM architecture. I found a problem of abortion on VM. The abortion takes place on Linux kernel ver. 2.4. The cause is at about line number 97-99 in interpreter.c, following context; locals = (_svmt_stack_value *) (((char *) frame) - method->locals_size); Inspite of the value of 'method' is set NULL, 'locals_size' points c3 on my environment. I can avoid this problem by using if statement, like this, if (method != NULL) { locals = ... stack = ... } -- Hiro ISHIKAWA Graduate School of Science and Engineering, Waseda University ---------------------------------------------------------------------- >Comment By: Etienne M. Gagnon (egagnon) Date: 2001-06-08 13:11 Message: Logged In: YES user_id=15365 This is effectively a bug. method->locals_size doesn't dereference NULL when "method" is NULL, because the offset of locals_size is added to it. We must cause the segmentation fault using a NULL dereference. Will be fixed. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 |
From: <no...@so...> - 2001-06-04 04:39:46
|
Bugs item #429958, was updated on 2001-06-03 21:06 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 Category: Execution Problem Group: SableVM Status: Open Resolution: None Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: Abortion on Linux 2.4 Initial Comment: Thank you for your great VM. SableVM is easier to understand VM architecture. I found a problem of abortion on VM. The abortion takes place on Linux kernel ver. 2.4. The cause is at about line number 97-99 in interpreter.c, following context; locals = (_svmt_stack_value *) (((char *) frame) - method->locals_size); Inspite of the value of 'method' is set NULL, 'locals_size' points c3 on my environment. I can avoid this problem by using if statement, like this, if (method != NULL) { locals = ... stack = ... } -- Hiro ISHIKAWA Graduate School of Science and Engineering, Waseda University ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=429958&group_id=5523 |
From: <no...@so...> - 2001-05-10 14:08:40
|
Bugs item #217315, was updated on 2000-10-19 20:40 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=217315&group_id=5523 >Category: Configuration Problem Group: SableVM Status: Closed Resolution: Fixed Priority: 5 Submitted By: Nobody/Anonymous (nobody) Assigned to: Etienne M. Gagnon (egagnon) Summary: I don't know where to get libgmp2 Initial Comment: checking if gcc supports -c -o file.lo... yes checking if gcc supports -fno-rtti -fno-exceptions ... yes checking if gcc static flag -static works... -static checking if the linker (/usr/bin/ld) is GNU ld... yes checking whether the linker (/usr/bin/ld) supports shared libraries... yes checking command to parse /usr/bin/nm -B output... ok checking how to hardcode library paths into programs... immediate checking for /usr/bin/ld option to reload object files... -r checking dynamic linker characteristics... Linux ld.so checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs checking for dlopen in -ldl... yes checking for dlfcn.h... yes checking whether a program can dlopen itself... yes checking whether a statically linked program can dlopen itself... no creating libtool updating cache ./config.cache loading cache ./config.cache checking for mpz_init in -lgmp2... no ***ERROR: libgmp2 is missing ---------------------------------------------------------------------- Comment By: Etienne M. Gagnon (egagnon) Date: 2000-10-20 09:17 Message: Try installing the following 2 Madrake rpms: http://rpmfind.net/linux/Mandrake/Mandrake/7.1/Mandrake/RPMS/gmp-2.0.2-13mdk.i586.rpm http://rpmfind.net/linux/Mandrake/Mandrake/7.1/Mandrake/RPMS/gmp-devel-2.0.2-13mdk.i586.rpm But, SableVM is ALPHA quality software; it is NOT yet ready for use as a jvm to run java applications! If this is what you are looking for, you should instead get Kaffe from www.kaffe.org. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2000-10-20 08:56 Message: checking if libtool supports shared libraries... yes checking whether to build shared libraries... yes checking whether to build static libraries... yes checking for objdir... .libs checking for dlfcn.h... (cached) yes checking whether a program can dlopen itself... (cached) yes checking whether a statically linked program can dlopen itself... (cached) no creating libtool loading cache ./config.cache checking for mpz_init in -lgmp2... no ***ERROR: libgmp2 is missing Still getting the same error with when trying to compile sablepath, could not find any such file as "libgmp.so" or whatever it is caled it was not in the package. The reason I am attempting to install this software is so I can use http://www.dialpad.com because they require that java virtual machine be installed, so I thought that this is what it was. ---------------------------------------------------------------------- Comment By: Etienne M. Gagnon (egagnon) Date: 2000-10-20 08:48 Message: Here's the official GMP web page: http://www.swox.com/gmp/ There, you should find all the appropriate information and links. ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2000-10-20 08:40 Message: I do not have a debian system sorry I have Linux-Mandrake 7.0-2. ftp.gnu.org has no such file there, please specify the correct address details. nt...@ki... ---------------------------------------------------------------------- Comment By: Etienne M. Gagnon (egagnon) Date: 2000-10-20 08:32 Message: Here are some ways to get libgmp2: 1- On Debian GNU/Linux (woody), you can execute (as root): apt-get install libgmp2 2- Get the sources for the debian package from: http://ftp.debian.org/debian/dists/woody/main/source/libs/libgmp2_2.0.2-8.dsc http://ftp.debian.org/debian/dists/woody/main/source/libs/libgmp2_2.0.2.orig.tar.gz http://ftp.debian.org/debian/dists/woody/main/source/libs/libgmp2_2.0.2-8.diff.gz As you can see, the debian package has a patch file that you must apply before compiling the sources. You will probably need to rename the generated library file and links from libgmp.so* to libgmp2.so* 3- If this does not work for you, you can get the sources from the ftp.gnu.org, and compile it on your system. Make sure to rename the compiled library file and links from libgmp.so.* to libgmp2.so* ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2000-10-19 20:41 Message: sorry e mail is nt...@ki... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=217315&group_id=5523 |
From: <no...@so...> - 2001-05-10 14:04:56
|
Bugs item #225404, was updated on 2000-12-11 15:19 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=225404&group_id=5523 >Category: Execution Problem >Group: SableVM Status: Closed Resolution: None Priority: 5 Submitted By: Etienne M. Gagnon (egagnon) Assigned to: Brent Fulgham (bfulgham) >Summary: Error messages on missing "optional" configuration files Initial Comment: Hi! When I run sablevm without creating any configuration file, I get error messages, even though these files are optional, e.g.: $ sablevm sablevm: unable to open config file /home/egagnon/work/etc sablevm: unable to open config file /home/egagnon Usage: sablevm [-?] [--boot-class-path=PATH]... ---------------------------------------------------------------------- Comment By: Brent Fulgham (bfulgham) Date: 2000-12-12 13:31 Message: Fix checked in to remove extranneous error messages. ---------------------------------------------------------------------- Comment By: Etienne M. Gagnon (egagnon) Date: 2000-12-11 16:43 Message: Oops. My replay was meant for the other bug... Etienne ---------------------------------------------------------------------- Comment By: Etienne M. Gagnon (egagnon) Date: 2000-12-11 16:39 Message: I added the file in the CVS repository (as it is not feasible to attach a file to a bug report). It is in: test/configuration/sablevm Etienne ---------------------------------------------------------------------- Comment By: Brent Fulgham (bfulgham) Date: 2000-12-11 15:35 Message: Whoops! Looks like some left-over debugging code. I'll remove it and check in with the fix for the other bug... ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=225404&group_id=5523 |
From: <no...@so...> - 2001-05-10 14:04:56
|
Bugs item #225402, was updated on 2000-12-11 15:15 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=225402&group_id=5523 >Category: Execution Problem >Group: SableVM Status: Closed Resolution: Fixed Priority: 5 Submitted By: Etienne M. Gagnon (egagnon) Assigned to: Brent Fulgham (bfulgham) Summary: Parsing lengthy options fails in configuration file Initial Comment: Hi! I have tested creating a $HOME.sablevm file with the following content: --- BEGIN --- class-path=0123456789... (continuing for a very long time) --- END --- When I do this, I get the following error message: $ sablevm sablevm: unable to open config file /home/egagnon/work/etc Invalid syntax in /home/egagnon/.sablevm: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 Aborted ---------------------------------------------------------------------- Comment By: Etienne M. Gagnon (egagnon) Date: 2000-12-11 16:52 Message: Finally! I found the problem with this "bug report". The message width is so large that the "submit change" button is far on the right of the html page... OK. The requested file is in CVS, in: test/configuration/sablevm Etienne ---------------------------------------------------------------------- Comment By: Brent Fulgham (bfulgham) Date: 2000-12-11 15:59 Message: Eh... Could I get a copy of the file you used? It might be running up against some internal constraint of the fgets function, in which case we'll have to re-implement using fgetc. However, I suspect there's some parsing issue with the line-based reads and realloc's. Thanks, -Brent ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=225402&group_id=5523 |
From: <no...@so...> - 2001-05-10 14:04:56
|
Bugs item #422564, was updated on 2001-05-09 00:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=422564&group_id=5523 >Category: Execution Problem >Group: SableVM Status: Open Resolution: None Priority: 8 Submitted By: Navindra Umanee (navindra) Assigned to: Etienne M. Gagnon (egagnon) Summary: Switch statement not handled correctly Initial Comment: Aha! Found my second or third SableVM bug -- finally one that's easy to describe and reproduce. ;-) Check the attached .java file, and compile it. Run it against Sun Java and SableVM: [asimov] [/home/navindra/work] java SableVMBug Switch1: 1 [asimov] [/home/navindra/work] sablevm -Y SableVMBug Switch1: default While debugging coffi, I at first thought this bug involved nested switches but the simplicity of this included example proves otherwise and muchly confuses me. It appears that sometimes switches work and sometimes not. I'll look into this some more if it'll help. ---------------------------------------------------------------------- Comment By: Navindra Umanee (navindra) Date: 2001-05-09 00:59 Message: Logged In: YES user_id=210140 It's more interesting than I thought. The problem exhibits itself if one uses the Sun Java compiler to compile the attached file, but not if one uses the Jikes compiler with the SablePath libraries. The most interesting difference in the compiled code is that Jikes uses a Tableswitch where javac uses a Lookupswitch. Hmmm. Must sleep. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=422564&group_id=5523 |
From: <no...@so...> - 2001-05-10 13:49:36
|
Bugs item #422564, was updated on 2001-05-09 00:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=422564&group_id=5523 Category: None Group: Execution Error Status: Open Resolution: None >Priority: 8 Submitted By: Navindra Umanee (navindra) >Assigned to: Etienne M. Gagnon (egagnon) Summary: Switch statement not handled correctly Initial Comment: Aha! Found my second or third SableVM bug -- finally one that's easy to describe and reproduce. ;-) Check the attached .java file, and compile it. Run it against Sun Java and SableVM: [asimov] [/home/navindra/work] java SableVMBug Switch1: 1 [asimov] [/home/navindra/work] sablevm -Y SableVMBug Switch1: default While debugging coffi, I at first thought this bug involved nested switches but the simplicity of this included example proves otherwise and muchly confuses me. It appears that sometimes switches work and sometimes not. I'll look into this some more if it'll help. ---------------------------------------------------------------------- Comment By: Navindra Umanee (navindra) Date: 2001-05-09 00:59 Message: Logged In: YES user_id=210140 It's more interesting than I thought. The problem exhibits itself if one uses the Sun Java compiler to compile the attached file, but not if one uses the Jikes compiler with the SablePath libraries. The most interesting difference in the compiled code is that Jikes uses a Tableswitch where javac uses a Lookupswitch. Hmmm. Must sleep. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=422564&group_id=5523 |
From: <no...@so...> - 2001-05-09 07:59:50
|
Bugs item #422564, was updated on 2001-05-09 00:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=422564&group_id=5523 Category: None Group: Execution Error Status: Open Resolution: None Priority: 5 Submitted By: Navindra Umanee (navindra) Assigned to: Nobody/Anonymous (nobody) Summary: Switch statement not handled correctly Initial Comment: Aha! Found my second or third SableVM bug -- finally one that's easy to describe and reproduce. ;-) Check the attached .java file, and compile it. Run it against Sun Java and SableVM: [asimov] [/home/navindra/work] java SableVMBug Switch1: 1 [asimov] [/home/navindra/work] sablevm -Y SableVMBug Switch1: default While debugging coffi, I at first thought this bug involved nested switches but the simplicity of this included example proves otherwise and muchly confuses me. It appears that sometimes switches work and sometimes not. I'll look into this some more if it'll help. ---------------------------------------------------------------------- >Comment By: Navindra Umanee (navindra) Date: 2001-05-09 00:59 Message: Logged In: YES user_id=210140 It's more interesting than I thought. The problem exhibits itself if one uses the Sun Java compiler to compile the attached file, but not if one uses the Jikes compiler with the SablePath libraries. The most interesting difference in the compiled code is that Jikes uses a Tableswitch where javac uses a Lookupswitch. Hmmm. Must sleep. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=422564&group_id=5523 |
From: <no...@so...> - 2001-05-09 07:12:39
|
Bugs item #422564, was updated on 2001-05-09 00:12 You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=422564&group_id=5523 Category: None Group: Execution Error Status: Open Resolution: None Priority: 5 Submitted By: Navindra Umanee (navindra) Assigned to: Nobody/Anonymous (nobody) Summary: Switch statement not handled correctly Initial Comment: Aha! Found my second or third SableVM bug -- finally one that's easy to describe and reproduce. ;-) Check the attached .java file, and compile it. Run it against Sun Java and SableVM: [asimov] [/home/navindra/work] java SableVMBug Switch1: 1 [asimov] [/home/navindra/work] sablevm -Y SableVMBug Switch1: default While debugging coffi, I at first thought this bug involved nested switches but the simplicity of this included example proves otherwise and muchly confuses me. It appears that sometimes switches work and sometimes not. I'll look into this some more if it'll help. ---------------------------------------------------------------------- You can respond by visiting: http://sourceforge.net/tracker/?func=detail&atid=105523&aid=422564&group_id=5523 |
From: Etienne M. G. <eg...@j-...> - 2001-01-25 22:28:39
|
From: <no...@so...> - 2000-12-12 21:31:07
|
Bug #125404, was updated on 2000-Dec-11 15:19 Here is a current snapshot of the bug. Project: SableVM Category: Configuration File Status: Closed Resolution: None Bug Group: Execution Error Priority: 5 Submitted by: egagnon Assigned to : bfulgham Summary: Error messages on missing "optional" configuration files Details: Hi! When I run sablevm without creating any configuration file, I get error messages, even though these files are optional, e.g.: $ sablevm sablevm: unable to open config file /home/egagnon/work/etc sablevm: unable to open config file /home/egagnon Usage: sablevm [-?] [--boot-class-path=PATH]... Follow-Ups: Date: 2000-Dec-12 13:31 By: bfulgham Comment: Fix checked in to remove extranneous error messages. ------------------------------------------------------- Date: 2000-Dec-11 16:43 By: egagnon Comment: Oops. My replay was meant for the other bug... Etienne ------------------------------------------------------- Date: 2000-Dec-11 16:39 By: egagnon Comment: I added the file in the CVS repository (as it is not feasible to attach a file to a bug report). It is in: test/configuration/sablevm Etienne ------------------------------------------------------- Date: 2000-Dec-11 15:35 By: bfulgham Comment: Whoops! Looks like some left-over debugging code. I'll remove it and check in with the fix for the other bug... ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=125404&group_id=5523 |
From: <no...@so...> - 2000-12-12 00:52:50
|
Bug #125402, was updated on 2000-Dec-11 15:15 Here is a current snapshot of the bug. Project: SableVM Category: Configuration File Status: Open Resolution: None Bug Group: Execution Error Priority: 5 Submitted by: egagnon Assigned to : bfulgham Summary: Parsing lengthy options fails in configuration file Details: Hi! I have tested creating a $HOME.sablevm file with the following content: --- BEGIN --- class-path=0123456789... (continuing for a very long time) --- END --- When I do this, I get the following error message: $ sablevm sablevm: unable to open config file /home/egagnon/work/etc Invalid syntax in /home/egagnon/.sablevm: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 Aborted Follow-Ups: Date: 2000-Dec-11 16:52 By: egagnon Comment: Finally! I found the problem with this "bug report". The message width is so large that the "submit change" button is far on the right of the html page... OK. The requested file is in CVS, in: test/configuration/sablevm Etienne ------------------------------------------------------- Date: 2000-Dec-11 15:59 By: bfulgham Comment: Eh... Could I get a copy of the file you used? It might be running up against some internal constraint of the fgets function, in which case we'll have to re-implement using fgetc. However, I suspect there's some parsing issue with the line-based reads and realloc's. Thanks, -Brent ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=125402&group_id=5523 |
From: <no...@so...> - 2000-12-12 00:43:29
|
Bug #125404, was updated on 2000-Dec-11 15:19 Here is a current snapshot of the bug. Project: SableVM Category: Configuration File Status: Open Resolution: None Bug Group: Execution Error Priority: 5 Submitted by: egagnon Assigned to : bfulgham Summary: Error messages on missing "optional" configuration files Details: Hi! When I run sablevm without creating any configuration file, I get error messages, even though these files are optional, e.g.: $ sablevm sablevm: unable to open config file /home/egagnon/work/etc sablevm: unable to open config file /home/egagnon Usage: sablevm [-?] [--boot-class-path=PATH]... Follow-Ups: Date: 2000-Dec-11 16:43 By: egagnon Comment: Oops. My replay was meant for the other bug... Etienne ------------------------------------------------------- Date: 2000-Dec-11 16:39 By: egagnon Comment: I added the file in the CVS repository (as it is not feasible to attach a file to a bug report). It is in: test/configuration/sablevm Etienne ------------------------------------------------------- Date: 2000-Dec-11 15:35 By: bfulgham Comment: Whoops! Looks like some left-over debugging code. I'll remove it and check in with the fix for the other bug... ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=125404&group_id=5523 |
From: <no...@so...> - 2000-12-12 00:39:51
|
Bug #125404, was updated on 2000-Dec-11 15:19 Here is a current snapshot of the bug. Project: SableVM Category: Configuration File Status: Open Resolution: None Bug Group: Execution Error Priority: 5 Submitted by: egagnon Assigned to : bfulgham Summary: Error messages on missing "optional" configuration files Details: Hi! When I run sablevm without creating any configuration file, I get error messages, even though these files are optional, e.g.: $ sablevm sablevm: unable to open config file /home/egagnon/work/etc sablevm: unable to open config file /home/egagnon Usage: sablevm [-?] [--boot-class-path=PATH]... Follow-Ups: Date: 2000-Dec-11 16:39 By: egagnon Comment: I added the file in the CVS repository (as it is not feasible to attach a file to a bug report). It is in: test/configuration/sablevm Etienne ------------------------------------------------------- Date: 2000-Dec-11 15:35 By: bfulgham Comment: Whoops! Looks like some left-over debugging code. I'll remove it and check in with the fix for the other bug... ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=125404&group_id=5523 |
From: <no...@so...> - 2000-12-11 23:59:42
|
Bug #125402, was updated on 2000-Dec-11 15:15 Here is a current snapshot of the bug. Project: SableVM Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: egagnon Assigned to : bfulgham Summary: Parsing lengthy options fails in configuration file Details: Hi! I have tested creating a $HOME.sablevm file with the following content: --- BEGIN --- class-path=0123456789... (continuing for a very long time) --- END --- When I do this, I get the following error message: $ sablevm sablevm: unable to open config file /home/egagnon/work/etc Invalid syntax in /home/egagnon/.sablevm: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 Aborted Follow-Ups: Date: 2000-Dec-11 15:59 By: bfulgham Comment: Eh... Could I get a copy of the file you used? It might be running up against some internal constraint of the fgets function, in which case we'll have to re-implement using fgetc. However, I suspect there's some parsing issue with the line-based reads and realloc's. Thanks, -Brent ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=125402&group_id=5523 |
From: <no...@so...> - 2000-12-11 23:35:48
|
Bug #125404, was updated on 2000-Dec-11 15:19 Here is a current snapshot of the bug. Project: SableVM Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: egagnon Assigned to : bfulgham Summary: Error messages on missing "optional" configuration files Details: Hi! When I run sablevm without creating any configuration file, I get error messages, even though these files are optional, e.g.: $ sablevm sablevm: unable to open config file /home/egagnon/work/etc sablevm: unable to open config file /home/egagnon Usage: sablevm [-?] [--boot-class-path=PATH]... Follow-Ups: Date: 2000-Dec-11 15:35 By: bfulgham Comment: Whoops! Looks like some left-over debugging code. I'll remove it and check in with the fix for the other bug... ------------------------------------------------------- For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=125404&group_id=5523 |
From: <no...@so...> - 2000-12-11 23:19:32
|
Bug #125404, was updated on 2000-Dec-11 15:19 Here is a current snapshot of the bug. Project: SableVM Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: egagnon Assigned to : bfulgham Summary: Error messages on missing "optional" configuration files Details: Hi! When I run sablevm without creating any configuration file, I get error messages, even though these files are optional, e.g.: $ sablevm sablevm: unable to open config file /home/egagnon/work/etc sablevm: unable to open config file /home/egagnon Usage: sablevm [-?] [--boot-class-path=PATH]... For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=125404&group_id=5523 |
From: <no...@so...> - 2000-12-11 23:15:23
|
Bug #125402, was updated on 2000-Dec-11 15:15 Here is a current snapshot of the bug. Project: SableVM Category: None Status: Open Resolution: None Bug Group: None Priority: 5 Submitted by: egagnon Assigned to : bfulgham Summary: Parsing lengthy options fails in configuration file Details: Hi! I have tested creating a $HOME.sablevm file with the following content: --- BEGIN --- class-path=0123456789... (continuing for a very long time) --- END --- When I do this, I get the following error message: $ sablevm sablevm: unable to open config file /home/egagnon/work/etc Invalid syntax in /home/egagnon/.sablevm: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123 Aborted For detailed info, follow this link: http://sourceforge.net/bugs/?func=detailbug&bug_id=125402&group_id=5523 |