sablevm-developer Mailing List for SableVM (Page 9)
Brought to you by:
egagnon
You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(27) |
Aug
(22) |
Sep
(1) |
Oct
|
Nov
(1) |
Dec
(30) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(2) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(2) |
Sep
(32) |
Oct
|
Nov
|
Dec
|
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
(69) |
Sep
(10) |
Oct
(31) |
Nov
(15) |
Dec
(58) |
2003 |
Jan
(33) |
Feb
(81) |
Mar
(85) |
Apr
(24) |
May
(15) |
Jun
(14) |
Jul
(6) |
Aug
(9) |
Sep
(101) |
Oct
(59) |
Nov
(142) |
Dec
(34) |
2004 |
Jan
(107) |
Feb
(164) |
Mar
(181) |
Apr
(96) |
May
(81) |
Jun
(71) |
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Clark V. <cl...@CS...> - 2004-04-15 18:41:30
|
> Any Ideas howto generate SIGQUIT on a german keyboard? (Strg+c doesn't > print out anything, it just quits sablevm). Irrespective of keyboard localization you should still be able to use the 'kill' command to send a signal to a process: eg, "kill -QUIT 12345". -- ttfn, clark cl...@cs... On Thu, 15 Apr 2004, Clemens Eisserer wrote: > Hi Etienne! > > > SableVM will dump a stack trace during execution when you cause a SIGQUIT > > signal. On most systems you do this by pressing Ctrl-\ (Control key > > and "\" > > key together). It gives much more information than a simple gdb stack > > dump > > which does not tell us about the content of the Java stack. > > I've a german keyboard, where "/" is generated by pressing the "big"-key > (=write letters big) and the "7"-key. > Pressing STRG+7 and Strg+big+7 don't work. > > Any Ideas howto generate SIGQUIT on a german keyboard? (Strg+c doesn't > print out anything, it just quits sablevm). > > > I you have time, it would be grat if you also sent a minimal complete > > piece > > of code that I could simply "compile and run" to exhibit the problem. > > Currently I'm really very stressed, maybe I can find some time.. > > lg Linuxhippy > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Sablevm-developer mailing list > Sab...@li... > https://lists.sourceforge.net/lists/listinfo/sablevm-developer > > |
From: Clemens E. <lin...@we...> - 2004-04-15 17:16:27
|
Hi Etienne! > SableVM will dump a stack trace during execution when you cause a SIGQUIT > signal. On most systems you do this by pressing Ctrl-\ (Control key > and "\" > key together). It gives much more information than a simple gdb stack > dump > which does not tell us about the content of the Java stack. I've a german keyboard, where "/" is generated by pressing the "big"-key (=write letters big) and the "7"-key. Pressing STRG+7 and Strg+big+7 don't work. Any Ideas howto generate SIGQUIT on a german keyboard? (Strg+c doesn't print out anything, it just quits sablevm). > I you have time, it would be grat if you also sent a minimal complete > piece > of code that I could simply "compile and run" to exhibit the problem. Currently I'm really very stressed, maybe I can find some time.. lg Linuxhippy |
From: Etienne G. <gag...@uq...> - 2004-04-15 16:58:02
|
Hi Clemens, SableVM will dump a stack trace during execution when you cause a SIGQUIT signal. On most systems you do this by pressing Ctrl-\ (Control key and "\" key together). It gives much more information than a simple gdb stack dump which does not tell us about the content of the Java stack. I you have time, it would be grat if you also sent a minimal complete piece of code that I could simply "compile and run" to exhibit the problem. have fun! Etienne Clemens Eisserer wrote: > Hello again! > > After reinstalling my whole gtk/gdk/atk/pango rpms your build-system now > even worked on my system. > > I'm trying to use a lightweight gui library called "lwvcl", which is > based on a swingle awt.component. > At initialisation it does load some classes via class.forName and does > some other class-based stuff. > I think I've found a deadlock in > Class.getConstructor(Class[]).newInstance(Objects[]). > > As you can see with this piece if code several different classes where > loaded (some of them many times), but suddenly the method hangs when > > Here's the classname and the argument-type's list: > > So geladen:java.lang.String java.lang.String > So geladen:java.lang.String java.lang.String > So geladen:java.lang.String java.lang.String > So geladen:LwBorder int > So geladen:LwBorder int > So geladen:LwBorder int > So geladen:LwBorder int > So geladen:LwBorder int > So geladen:LwBorder int > So geladen:LwImgSetRender java.lang.String int int int int int > So geladen:LwImgSetRender java.lang.String int int int int int > So geladen:LwImgSetRender java.lang.String int int int int int > So geladen:LwImgSetRender java.lang.String int int int int int > So geladen:LwImgSetRender java.lang.String int int int int int > So geladen:LwImgSetRender java.lang.String int int int int int > So geladen:LwImgSetRender java.lang.String int int int int int > So geladen:LwImgSetRender java.lang.String int int int int int > So geladen:LwImgSetRender java.lang.String int int int int int > <----- Deadlock here > > > I tried to debug it using gdb, but unlike without gdb I get a segfault. > Here's the stacktrace: > > Program received signal SIGSEGV, Segmentation fault. > [Switching to Thread 16384 (LWP 2897)] > _svmf_interpreter (_env=0x0) at interpreter.c:266 > 266 _svmt_method_info *method = frame->method; > (gdb) bt > #0 _svmf_interpreter (_env=0x0) at interpreter.c:266 > #1 0x40083491 in JNI_CreateJavaVM (pvm=0xbffff1e0, penv=0xbffff1e4, > _vm_args=0xbffff1f0) at invoke_interface.c:293 > #2 0x08049e68 in main (argc=0, argv=0x0) at sablevm.c:1351 > > > And here's the method of the gui library that calls the deadlock-method: > > /** > * Creates an instance of the specified class using appropriate > constructor for the given input arguments list. > * The list is set of arguments that are separated by the comma. The > following arguments types can be > * used: > * <ul> > * <li>Integer. If the argument does not equal "true" or "false" and > is not bound by quotes.</li> > * <li>Boolean. If the argument equals "true" or "false" and is not > bound by quotes.</li> > * <li>String. If the argument is not bound by quote.</li> > * </ul> > * @param <code>className</code> the specified class name. > * @param <code>argsStr</code> the specified input arguments list. The > argument can be <code>null</code>. > * In this case the default constructor will be used to create the class > instance. > * @return an instance of the class. > */ > public static Object createObj(String className, String argsStr) > throws Exception > { > if (className.indexOf ('@') == 0) return > getStaticObj(className.substring(1)); > else > { > Class classInstance = > Class.forName(className.indexOf('.')>0?className:PACKAGE_NAME + className); > Object objInstance = null; > if (argsStr == null) > { > objInstance = classInstance.newInstance(); > } > else > { > StringTokenizer args = new StringTokenizer(argsStr, ","); > Class[] argsTypes = new Class [args.countTokens()]; > Object[] argsValues = new Object[argsTypes.length]; > for (int j = 0; args.hasMoreTokens(); j++) > { > String arg = args.nextToken().trim(); > if (arg.indexOf('\"')==0) > { > argsTypes [j] = String.class; > argsValues[j] = arg.substring(1, arg.length() - 1); > } > else > if (arg.equals("true") || arg.equals("false")) > { > argsTypes [j] = Boolean.TYPE; > argsValues[j] = new Boolean(arg); > } > else > if (arg.indexOf('@') == 0) > { > argsValues[j] = getStaticObj(arg.substring(1)); > argsTypes [j] = argsValues[j].getClass(); > } > else > { > argsTypes [j] = Integer.TYPE; > argsValues[j] = new Integer(arg); > } > } > System.out.print("So geladen:"+className); > for(int i=0; i < argsTypes.length; i++) > { > System.out.print(" "+argsTypes[i].getName()); > } > System.out.println(); > objInstance = > classInstance.getConstructor(argsTypes).newInstance(argsValues); > } > return objInstance; > } > } > > > Maby this code isn't written well, however it works even with the > Microsoft-JVM ;-) > > Hope this helped, lg Linuxhippy > > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click > _______________________________________________ > Sablevm-developer mailing list > Sab...@li... > https://lists.sourceforge.net/lists/listinfo/sablevm-developer > > . > -- Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |
From: David <db...@cs...> - 2004-04-15 15:15:46
|
Hi, This is to let you know that SableJIT on Solaris/sparc development is going well. The sparc backend is getting stable. It is now able to run all test cases (over 600) as well as compile itself= , the Java libs (except for one method) and the testing framework. This is about 1700 methods compiled. There is still some work to do but in a few weeks (Christian and I work 1-2 days per week on it), it may get as stable as Linux/x86 and Linux/ppc= . David --- David B=E9langer Graduate Student School of Computer Science McGill University Office: MC226 Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt |
From: Clemens E. <lin...@we...> - 2004-04-15 15:10:59
|
Hello again! After reinstalling my whole gtk/gdk/atk/pango rpms your build-system now even worked on my system. I'm trying to use a lightweight gui library called "lwvcl", which is based on a swingle awt.component. At initialisation it does load some classes via class.forName and does some other class-based stuff. I think I've found a deadlock in Class.getConstructor(Class[]).newInstance(Objects[]). As you can see with this piece if code several different classes where loaded (some of them many times), but suddenly the method hangs when Here's the classname and the argument-type's list: So geladen:java.lang.String java.lang.String So geladen:java.lang.String java.lang.String So geladen:java.lang.String java.lang.String So geladen:LwBorder int So geladen:LwBorder int So geladen:LwBorder int So geladen:LwBorder int So geladen:LwBorder int So geladen:LwBorder int So geladen:LwImgSetRender java.lang.String int int int int int So geladen:LwImgSetRender java.lang.String int int int int int So geladen:LwImgSetRender java.lang.String int int int int int So geladen:LwImgSetRender java.lang.String int int int int int So geladen:LwImgSetRender java.lang.String int int int int int So geladen:LwImgSetRender java.lang.String int int int int int So geladen:LwImgSetRender java.lang.String int int int int int So geladen:LwImgSetRender java.lang.String int int int int int So geladen:LwImgSetRender java.lang.String int int int int int <----- Deadlock here I tried to debug it using gdb, but unlike without gdb I get a segfault. Here's the stacktrace: Program received signal SIGSEGV, Segmentation fault. [Switching to Thread 16384 (LWP 2897)] _svmf_interpreter (_env=0x0) at interpreter.c:266 266 _svmt_method_info *method = frame->method; (gdb) bt #0 _svmf_interpreter (_env=0x0) at interpreter.c:266 #1 0x40083491 in JNI_CreateJavaVM (pvm=0xbffff1e0, penv=0xbffff1e4, _vm_args=0xbffff1f0) at invoke_interface.c:293 #2 0x08049e68 in main (argc=0, argv=0x0) at sablevm.c:1351 And here's the method of the gui library that calls the deadlock-method: /** * Creates an instance of the specified class using appropriate constructor for the given input arguments list. * The list is set of arguments that are separated by the comma. The following arguments types can be * used: * <ul> * <li>Integer. If the argument does not equal "true" or "false" and is not bound by quotes.</li> * <li>Boolean. If the argument equals "true" or "false" and is not bound by quotes.</li> * <li>String. If the argument is not bound by quote.</li> * </ul> * @param <code>className</code> the specified class name. * @param <code>argsStr</code> the specified input arguments list. The argument can be <code>null</code>. * In this case the default constructor will be used to create the class instance. * @return an instance of the class. */ public static Object createObj(String className, String argsStr) throws Exception { if (className.indexOf ('@') == 0) return getStaticObj(className.substring(1)); else { Class classInstance = Class.forName(className.indexOf('.')>0?className:PACKAGE_NAME + className); Object objInstance = null; if (argsStr == null) { objInstance = classInstance.newInstance(); } else { StringTokenizer args = new StringTokenizer(argsStr, ","); Class[] argsTypes = new Class [args.countTokens()]; Object[] argsValues = new Object[argsTypes.length]; for (int j = 0; args.hasMoreTokens(); j++) { String arg = args.nextToken().trim(); if (arg.indexOf('\"')==0) { argsTypes [j] = String.class; argsValues[j] = arg.substring(1, arg.length() - 1); } else if (arg.equals("true") || arg.equals("false")) { argsTypes [j] = Boolean.TYPE; argsValues[j] = new Boolean(arg); } else if (arg.indexOf('@') == 0) { argsValues[j] = getStaticObj(arg.substring(1)); argsTypes [j] = argsValues[j].getClass(); } else { argsTypes [j] = Integer.TYPE; argsValues[j] = new Integer(arg); } } System.out.print("So geladen:"+className); for(int i=0; i < argsTypes.length; i++) { System.out.print(" "+argsTypes[i].getName()); } System.out.println(); objInstance = classInstance.getConstructor(argsTypes).newInstance(argsValues); } return objInstance; } } Maby this code isn't written well, however it works even with the Microsoft-JVM ;-) Hope this helped, lg Linuxhippy |
From: Mark W. <ma...@kl...> - 2004-04-15 11:24:30
|
Hi, On Thu, 2004-04-15 at 12:26, Clemens Eisserer wrote: > > Check if gtk+-2.0.pc exists >=20 > Thats the problem. Such a file doen't simly exist on my Linux-Box. Thanks for checking. > Whats next, where can I download this file, when is it created. > Could be the reason why the file isn't on my box, taht I installed pkg-co= nfig after installing gtk? >=20 > I'm using Suse9. I am a Debian GNU/Linux user myself so I don't know the correct Suse package. But you will need the development packages for gtk+, They might be called something like libgtk2.0-dev (that is how they it is called on my installation). Or you can install from source, see http://www.gtk.org/. Which isn't that difficult at all. Cheers, Mark |
From: Clemens E. <lin...@we...> - 2004-04-15 10:26:48
|
Hi again! > Check if gtk+-2.0.pc exists Thats the problem. Such a file doen't simly exist on my Linux-Box. Whats next, where can I download this file, when is it created. Could be the reason why the file isn't on my box, taht I installed pkg-config after installing gtk? I'm using Suse9. Thanks and sorry for nerving... lg Clemens _______________________________________________________________________ ... and the winner is... WEB.DE FreeMail! - Deutschlands beste E-Mail ist zum 39. Mal Testsieger (PC Praxis 03/04) http://f.web.de/?mc=021191 |
From: Mark W. <ma...@kl...> - 2004-04-15 09:43:14
|
Hi, On Thu, 2004-04-15 at 11:13, Clemens Eisserer wrote: > I've now installed pkg-config and added it to my path-variable, now I get= this error: >=20 > checking for gtk+-2.0 >=3D 2.2 gthread-2.0 >=3D 2.2 libart-2.0... Package= gtk+-2.0 was not found in the pkg-config search path. > Perhaps you should add the directory containing `gtk+-2.0.pc' > to the PKG_CONFIG_PATH environment variable > No package 'gtk+-2.0' found Could you print out PKG_CONFIG_PATH (printenv PKG_CONFIG_PATH). And make sure ${PKG_CONFIG_PATH}/gtk+-2.0.pc exists (ls -l ${PKG_CONFIG_PATH}/gtk+-2.0.pc) Thanks, Mark |
From: Clemens E. <lin...@we...> - 2004-04-15 09:14:06
|
Hi again! Sorry for nerving, however I really want sablevm for development, because I think sableVM is a really great jvm. I've now installed pkg-config and added it to my path-variable, now I get this error: checking for gtk+-2.0 >= 2.2 gthread-2.0 >= 2.2 libart-2.0... Package gtk+-2.0 was not found in the pkg-config search path. Perhaps you should add the directory containing `gtk+-2.0.pc' to the PKG_CONFIG_PATH environment variable No package 'gtk+-2.0' found configure: error: Library requirements (gtk+-2.0 >= 2.2 gthread-2.0 >= 2.2 libart-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. Please help... Thanks a lot, lg Clemens _____________________________________________________________________ Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Netsky.A-P! Kostenfrei fuer alle FreeMail Nutzer. http://f.web.de/?mc=021157 |
From: Clemens E. <lin...@we...> - 2004-04-15 05:38:39
|
Hi again, thats for your help" > Not really. Have you *actually* read the whole message above (not just > the last line?) It says that you need to have pkg-config installed. It's > mentioned in INSTALL-DEVEL file: > INSTALLATION OF SABLEVM-CLASSPATH: > * requirements > - pkg-config (ex. ver. 0.15) I've pkg-config version 0.15 installed on my system now and it still tells me the same. >> PS: Is SableVM the "inofficial" Classpath-JVM? I need SableVM mainly for >> developing Classpath stuff. so I need a JVM that uses classpath mostly >> unchanged. > PS: What more-less are the areas of Classpath you'd want to develop? > We might have some suggestions in case you haven't decided yet I want help improve the AWT-peers, because I need to compile a java-awt applikation into a native windows executable. I think gtk-peers on windows are acceptable! lg Linuxhippy ____________________________________________________________________ Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Sober.A-F! Kostenfrei fuer FreeMail Nutzer. http://f.web.de/?mc=021158 |
From: Clemens E. <lin...@we...> - 2004-04-14 05:52:06
|
Hello! I've gtk-2.2/gdk-2.2 installed on my system (suse linux 9.0), and the build script tells me that gtk is missing, with the following line: [output] *** The pkg-config script could not be found. Make sure it is *** in your path, or set the PKG_CONFIG environment variable *** to the full path to pkg-config. *** Or see http://www.freedesktop.org/software/pkgconfig to get pkg-config. configure: error: Library requirements (gtk+-2.0 >= 2.2 gthread-2.0 >= 2.2 libart-2.0) not met; consider adjusting the PKG_CONFIG_PATH environment variable if your libraries are in a nonstandard prefix so pkg-config can find them. [/output] It would be great if you could fix this issue. Thanks a lot, lg Linuxhippy PS: Is SableVM the "inofficial" Classpath-JVM? I need SableVM mainly for developing Classpath stuff. so I need a JVM that uses classpath mostly unchanged. _____________________________________________________________________ Der WEB.DE Virenschutz schuetzt Ihr Postfach vor dem Wurm Netsky.A-P! Kostenfrei fuer alle FreeMail Nutzer. http://f.web.de/?mc=021157 |
From: Grzegorz B. P. <ga...@de...> - 2004-04-13 03:53:19
|
severity 238768 wishlist thanks The current practice is, that free java runtimes, which have their classlibs based on similar sources, provide java1-runtime. Providing java2-runtime, while seemingly the right thing to do, would introduce unneeded confusion. See #233902 for reference. Probably java1-runtime should be renamed to free-java-runtime and java2-runtime to non-free-java-runtime, but we're about to release Sarge and I also don't feel that this change is technically superior enough to justify all the effort to make the change (it would require changes in pretty much every java package). If you still want to have it changed - please bring it on to the debian-java mailing list and discuss it there. I changed severity of this bug to "wishlist" (instead of closing as "invalid/wontfix") as a blessing for doing so :-) Cheers, Grzegorz B. Prokopski -- Grzegorz B. Prokopski <ga...@de...> Debian GNU/Linux http://www.debian.org SableVM - LGPLed JVM http://www.sablevm.org Why SableVM ?!? http://devel.sablevm.org/wiki/WhySableVM |
From: <ow...@bu...> - 2004-04-13 01:23:20
|
Your message dated Mon, 12 Apr 2004 21:02:04 -0400 with message-id <E1B...@ne...> and subject line Bug#242330: fixed in sablevm 1.1.3-1 has caused the attached Bug report to be marked as done. This means that you claim that the problem has been dealt with. If this is not the case it is now your responsibility to reopen the Bug report if necessary, and/or fix the problem forthwith. (NB: If you are a system administrator and have no idea what I am talking about this indicates a serious mail system misconfiguration somewhere. Please contact me immediately.) Debian bug tracking system administrator (administrator, Debian Bugs database) -------------------------------------- Received: (at submit) by bugs.debian.org; 6 Apr 2004 00:49:08 +0000 >From gag...@uq... Mon Apr 05 17:49:08 2004 Return-path: <gag...@uq...> Received: from anis.telecom.uqam.ca [132.208.250.6] by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BAem4-0001s2-00; Mon, 05 Apr 2004 17:49:08 -0700 Received: from anis4.telecom.uqam.ca (anis4.telecom.uqam.ca [132.208.250.236]) by sortant.uqam.ca (8.12.10/8.12.1) with SMTP id i360jJLF008100 for <su...@bu...>; Mon, 5 Apr 2004 20:46:03 -0400 (EDT) Received: from antivirus.uqam.ca ([132.208.250.6]) by anis4.telecom.uqam.ca (SAVSMTP 3.1.1.32) with SMTP id M2004040520471729550 for <su...@bu...>; Mon, 05 Apr 2004 20:47:17 -0400 Received: from perseval.info.uqam.ca (perseval.info.uqam.ca [132.208.137.96]) by intrant.uqam.ca (8.12.10/8.12.2/uqam-filtres) with ESMTP id i360hCKU003779; Mon, 5 Apr 2004 20:43:12 -0400 (EDT) X-Spam-Filter: Filtre-Uqam re: ab...@uq... Received: from egagnon by perseval.info.uqam.ca with local (Exim 4.30) id 1BAegK-0003XQ-N3; Mon, 05 Apr 2004 20:43:12 -0400 Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: Etienne Gagnon <gag...@uq...> To: Debian Bug Tracking System <su...@bu...> Subject: sablevm: fails to run JNI library X-Mailer: reportbug 2.56 Date: Mon, 05 Apr 2004 20:43:12 -0400 Message-Id: <E1B...@pe...> Sender: Etienne Gagnon <gag...@uq...> Delivered-To: su...@bu... X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-7.0 required=4.0 tests=BAYES_00,HAS_PACKAGE autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: X-CrossAssassin-Scores: 1 Package: sablevm Version: 1.1.1-1 Severity: normal The "upstream" sablevm version works, but not the debian version. See below. ### upstream ### $ ~/work/bin/sablevm -Y JNITest value = 47 $ ~/work/bin/sablevm -V JNITest SableVM version staging+1942 - compile date and time: 2004-04-05 23:45:04 UTC - gcc version: 3.3.3 (Debian 20040401) - signal based exception detection - copying garbage collection - bidirectional object layout - inline-threaded interpreter ### Debian ### $ sablevm -Y JNITest java.lang.NullPointerException at JNITest.testPtr (JNITest.java) at JNITest.main (JNITest.java:11) at java.lang.VirtualMachine.invokeMain (VirtualMachine.java) at java.lang.VirtualMachine.main (VirtualMachine.java:88) $ sablevm -V JNITest SableVM version 1.1.1 - compile date and time: 2004-03-21 05:36:38 UTC - gcc version: 3.3.3 (Debian 20040306) - 'real life brokenness' features enabled - signal based exception detection - copying garbage collection - bidirectional object layout - inline-threaded interpreter Should the test code be attached to a bug report? If yes, please grab the code at: http://www.info.uqam.ca/~egagnon/jnitest/ you compile it with: $ jikes JNITest.java $ gcc -Wall -pedantic -O3 -shared -o libtest.o libtest.c FYI: The broken behavior shows under both x86 and ppc. Thanks, Etienne -- System Information: Debian Release: testing/unstable APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.4.24 Locale: LANG=C, LC_CTYPE=C Versions of packages sablevm depends on: ii java-common 0.22 Base of all Java packages ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an ii libffi2 1:3.3.3-6 Foreign Function Interface library ii libltdl3 1.5.4-1 A system independent dlopen wrappe ii libpopt0 1.7-4 lib for parsing cmdline parameters ii libsablevm1 1.1.1-1 Free implementation of JVM second ii unzip 5.50-3 De-archiver for .zip files -- no debconf information --------------------------------------- Received: (at 242330-close) by bugs.debian.org; 13 Apr 2004 01:09:10 +0000 >From ka...@ft... Mon Apr 12 18:09:10 2004 Return-path: <ka...@ft...> Received: from newraff.debian.org [208.185.25.31] (mail) by spohr.debian.org with esmtp (Exim 3.35 1 (Debian)) id 1BDCQI-0008Al-00; Mon, 12 Apr 2004 18:09:10 -0700 Received: from katie by newraff.debian.org with local (Exim 3.35 1 (Debian)) id 1BDCJQ-0007if-00; Mon, 12 Apr 2004 21:02:04 -0400 From: Grzegorz Prokopski (Debian Developer) <ga...@de...> To: 242...@bu... X-Katie: $Revision: 1.47 $ Subject: Bug#242330: fixed in sablevm 1.1.3-1 Message-Id: <E1B...@ne...> Sender: Archive Administrator <ka...@ft...> Date: Mon, 12 Apr 2004 21:02:04 -0400 Delivered-To: 242...@bu... X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 (1.212-2003-09-23-exp) on spohr.debian.org X-Spam-Status: No, hits=-5.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER autolearn=no version=2.60-bugs.debian.org_2004_03_25 X-Spam-Level: X-CrossAssassin-Score: 1 Source: sablevm Source-Version: 1.1.3-1 We believe that the bug you reported is fixed in the latest version of sablevm, which is due to be installed in the Debian FTP archive: jikes-sablevm_1.1.3-1_all.deb to pool/main/s/sablevm/jikes-sablevm_1.1.3-1_all.deb libsablevm1-dev_1.1.3-1_all.deb to pool/main/s/sablevm/libsablevm1-dev_1.1.3-1_all.deb libsablevm1_1.1.3-1_i386.deb to pool/main/s/sablevm/libsablevm1_1.1.3-1_i386.deb sablevm_1.1.3-1.diff.gz to pool/main/s/sablevm/sablevm_1.1.3-1.diff.gz sablevm_1.1.3-1.dsc to pool/main/s/sablevm/sablevm_1.1.3-1.dsc sablevm_1.1.3-1_i386.deb to pool/main/s/sablevm/sablevm_1.1.3-1_i386.deb sablevm_1.1.3.orig.tar.gz to pool/main/s/sablevm/sablevm_1.1.3.orig.tar.gz A summary of the changes between this version and the previous one is attached. Thank you for reporting the bug, which will now be closed. If you have further comments please address them to 24...@bu..., and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Grzegorz Prokopski (Debian Developer) <ga...@de...> (supplier of updated sablevm package) (This message was generated automatically at their request; if you believe that there is a problem with it please contact the archive administrators by mailing ftp...@de...) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Mon, 12 Apr 2004 18:29:18 -0400 Source: sablevm Binary: libsablevm1 sablevm jikes-sablevm libsablevm1-dev Architecture: source all i386 Version: 1.1.3-1 Distribution: unstable Urgency: medium Maintainer: Grzegorz Prokopski (Debian Developer) <ga...@de...> Changed-By: Grzegorz Prokopski (Debian Developer) <ga...@de...> Description: jikes-sablevm - Wrapper for jikes using classes from SableVM JVM libsablevm1 - Free implementation of JVM second edition - library libsablevm1-dev - Free implementation of JVM secon edition - development files sablevm - Free implementation of Java Virtual Machine (JVM) second edition Closes: 242330 Changes: sablevm (1.1.3-1) unstable; urgency=medium . * New upstream release. Urgency medium as it fixes a few PITA bugs. * Upstream JNI fixes. Closes: #242330. * Corrected /usr/lib/sablevm/bin/java -> ../../../bin/java-sablevm symlink. Files: fc2831f3d15602b847eeb33cc88ee51c 721 interpreters optional sablevm_1.1.3-1.dsc 5a3135b04070cc506404820b50fb674b 654232 interpreters optional sablevm_1.1.3.orig.tar.gz 0d75f62295612dc6fe95677fc9fd8bdf 18118 interpreters optional sablevm_1.1.3-1.diff.gz b5707f691b36f54293b6b2c83fb3036b 33218 interpreters optional sablevm_1.1.3-1_i386.deb ec914cf50c5d25d9b742746f16640f3c 146992 libs optional libsablevm1_1.1.3-1_i386.deb 6943a3218494ea4c1899feb7a1fe8e9e 13004 libdevel optional libsablevm1-dev_1.1.3-1_all.deb 64166d729547e3c53a2ffc07db2cd20d 7514 devel optional jikes-sablevm_1.1.3-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAeywTcxjwiKS4/ekRApUvAJ4wbDKliWg3LPCjl0cmO/HOzj+pdwCfcWT2 EotaUCPnkEA07/YMN/Q5NIs= =DChV -----END PGP SIGNATURE----- |
From: Grzegorz P. (D. D. <ga...@de...> - 2004-04-13 01:23:02
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Mon, 12 Apr 2004 18:39:18 -0400 Source: sablevm-classlib Binary: libsablevm-native1 libsablevm-classlib1-java Architecture: source all i386 Version: 1.1.3-1 Distribution: unstable Urgency: low Maintainer: Grzegorz Prokopski (Debian Developer) <ga...@de...> Changed-By: Grzegorz Prokopski (Debian Developer) <ga...@de...> Description: libsablevm-classlib1-java - GNU Classpath modified to work with SableVM JVM libsablevm-native1 - GNU Classpath modified to work with SableVM JVM (native part) Changes: sablevm-classlib (1.1.3-1) unstable; urgency=low . * New upstream release Files: 3689158993d177a7442a838bbd7227e4 740 libs optional sablevm-classlib_1.1.3-1.dsc 0da5186c19166b537919f80d582a9c39 3677493 libs optional sablevm-classlib_1.1.3.orig.tar.gz ac11391e9fa85fb1b61463387316cca2 4379 libs optional sablevm-classlib_1.1.3-1.diff.gz f2c1a11e6f81ff75d3bdfe1ae037b173 2130154 libs optional libsablevm-classlib1-java_1.1.3-1_all.deb 85e5984f1220efd2016c7a1c3386e5a1 360456 libs optional libsablevm-native1_1.1.3-1_i386.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAex/7cxjwiKS4/ekRAjNdAJoDVTAm4yPUOKb6B0A0Jf6FngvIuQCdHdUF elQj5+pvc4xraYaXzrLEZe4= =BTjS -----END PGP SIGNATURE----- Accepted: libsablevm-classlib1-java_1.1.3-1_all.deb to pool/main/s/sablevm-classlib/libsablevm-classlib1-java_1.1.3-1_all.deb libsablevm-native1_1.1.3-1_i386.deb to pool/main/s/sablevm-classlib/libsablevm-native1_1.1.3-1_i386.deb sablevm-classlib_1.1.3-1.diff.gz to pool/main/s/sablevm-classlib/sablevm-classlib_1.1.3-1.diff.gz sablevm-classlib_1.1.3-1.dsc to pool/main/s/sablevm-classlib/sablevm-classlib_1.1.3-1.dsc sablevm-classlib_1.1.3.orig.tar.gz to pool/main/s/sablevm-classlib/sablevm-classlib_1.1.3.orig.tar.gz |
From: Grzegorz P. (D. D. <ga...@de...> - 2004-04-13 01:09:11
|
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Format: 1.7 Date: Mon, 12 Apr 2004 18:29:18 -0400 Source: sablevm Binary: libsablevm1 sablevm jikes-sablevm libsablevm1-dev Architecture: source all i386 Version: 1.1.3-1 Distribution: unstable Urgency: medium Maintainer: Grzegorz Prokopski (Debian Developer) <ga...@de...> Changed-By: Grzegorz Prokopski (Debian Developer) <ga...@de...> Description: jikes-sablevm - Wrapper for jikes using classes from SableVM JVM libsablevm1 - Free implementation of JVM second edition - library libsablevm1-dev - Free implementation of JVM secon edition - development files sablevm - Free implementation of Java Virtual Machine (JVM) second edition Closes: 242330 Changes: sablevm (1.1.3-1) unstable; urgency=medium . * New upstream release. Urgency medium as it fixes a few PITA bugs. * Upstream JNI fixes. Closes: #242330. * Corrected /usr/lib/sablevm/bin/java -> ../../../bin/java-sablevm symlink. Files: fc2831f3d15602b847eeb33cc88ee51c 721 interpreters optional sablevm_1.1.3-1.dsc 5a3135b04070cc506404820b50fb674b 654232 interpreters optional sablevm_1.1.3.orig.tar.gz 0d75f62295612dc6fe95677fc9fd8bdf 18118 interpreters optional sablevm_1.1.3-1.diff.gz b5707f691b36f54293b6b2c83fb3036b 33218 interpreters optional sablevm_1.1.3-1_i386.deb ec914cf50c5d25d9b742746f16640f3c 146992 libs optional libsablevm1_1.1.3-1_i386.deb 6943a3218494ea4c1899feb7a1fe8e9e 13004 libdevel optional libsablevm1-dev_1.1.3-1_all.deb 64166d729547e3c53a2ffc07db2cd20d 7514 devel optional jikes-sablevm_1.1.3-1_all.deb -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFAeywTcxjwiKS4/ekRApUvAJ4wbDKliWg3LPCjl0cmO/HOzj+pdwCfcWT2 EotaUCPnkEA07/YMN/Q5NIs= =DChV -----END PGP SIGNATURE----- Accepted: jikes-sablevm_1.1.3-1_all.deb to pool/main/s/sablevm/jikes-sablevm_1.1.3-1_all.deb libsablevm1-dev_1.1.3-1_all.deb to pool/main/s/sablevm/libsablevm1-dev_1.1.3-1_all.deb libsablevm1_1.1.3-1_i386.deb to pool/main/s/sablevm/libsablevm1_1.1.3-1_i386.deb sablevm_1.1.3-1.diff.gz to pool/main/s/sablevm/sablevm_1.1.3-1.diff.gz sablevm_1.1.3-1.dsc to pool/main/s/sablevm/sablevm_1.1.3-1.dsc sablevm_1.1.3-1_i386.deb to pool/main/s/sablevm/sablevm_1.1.3-1_i386.deb sablevm_1.1.3.orig.tar.gz to pool/main/s/sablevm/sablevm_1.1.3.orig.tar.gz |
From: Etienne G. <gag...@uq...> - 2004-04-12 21:37:26
|
Download ======== http://sourceforge.net/project/showfiles.php?group_id=5523&package_id=5567&release_id=230647 Changes ======= - Cleaned up build process so that "./configure ; make ; make install" works out of the box for both sablevm-classpath (as it does for sablevm). Notes ===== To build SableVM, you must download both: - sablevm-1.1.3.tar.gz - sablevm-classpath-1.1.3.tar.gz Then, you must run the following commands: su tar -xzf sablevm-1.1.3.tar.gz cd sablevm-1.1.3 ./configure && make && make install cd .. tar -xzf sablevm-classpath-1.1.3.tar.gz cd sablevm-classpath-1.1.3 ./configure && make && make install exit After this, SableVM will be installed in /usr/local. To run it, assuming you have a HelloWorld.class file in the current directory, you can type: /usr/local/bin/java-sablevm HelloWorld Enjoy! Etienne -- Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |
From: Etienne G. <gag...@uq...> - 2004-04-12 21:20:02
|
David B=E9langer wrote: > The patch join fixes this problem by setting to -O0 only if the inlined= > interpreter is not used. >=20 > Any comments/objections? None, but you should then set it to -O1. The idea is to make gdb as gent= le as possible with original control flow. Etienne --=20 Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |
From: David <db...@cs...> - 2004-04-12 20:50:26
|
Hi, If debugging mode is enabled, the CFLAGS is explicitly set to -O0 in the configure.ac. This makes the inlined interpreter crash at least on ppc and probably also on other architecture. The patch join fixes this problem by setting to -O0 only if the inlined interpreter is not used. Any comments/objections? David --- David B=E9langer Graduate Student School of Computer Science McGill University Office: MC226 Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt |
From: Etienne G. <gag...@uq...> - 2004-04-12 00:48:30
|
Hi Greg, Grzegorz B. Prokopski wrote: > I've prepared 1.1.2-pre dist tarballs at http://gadek.debian.net/1.1.2-pre/ Why didn't you take the distribution files off SourceForge? They're even signed... ;-) See: http://www.sablevm.org/download.html http://sourceforge.net/project/showfiles.php?group_id=5523&package_id=5567 Etienne -- Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |
From: Etienne G. <gag...@uq...> - 2004-04-11 06:18:07
|
Hi all, I have promoted staging code to bugfree, to fix little discrepancies that were found since the 1.1.1 release, then I have tagged and released 1.1.2. If you want to lend a hand, please download it and test it, and report any problem so that we can fix it before the public announcement. Thanks! Etienne -- Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |
From: Etienne G. <gag...@uq...> - 2004-04-11 03:07:42
|
David, OK, I was able to reproduce it with 1.1.1. So, I fixed it in staging. Etienne David B=E9langer wrote: > I would need a SableVM Debian version that has debugging symbols to > investigate further however. Greg, could you build one or give some > indication on how to do it? --=20 Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |
From: David <db...@cs...> - 2004-04-10 05:16:23
|
Hi, I was able to reproduce it with the Debian/unstable. A strace indicated that the file itself is found and successfully opened. I would need a SableVM Debian version that has debugging symbols to investigate further however. Greg, could you build one or give some indication on how to do it? It appears that the ltdl handle for that lib is not added to the native lib or is added but later removed somehow later. In any case, the library is correctly opened and it is possible to get that symbol from it: (gdb) print lt_dlsym(0x10172b00,"Java_java_util_TimeZone_getDefaultTimeZoneId") $3 =3D 263894836 (gdb)=20 However, the code that looks in each native libs, will look only in the 3 previously opened one and not into that one. SableVM itself javalang javaio I don't know why. David On Sat, Apr 10, 2004 at 12:57:36AM +0200, Arnaud Vandyck wrote: > David B=E9langer <db...@cs...> writes: >=20 > > Hi, > > > > This is a native method implemented in Classpath. I try a small exam= ple > > that invokes the constructor of GregorianCalendar and this method but= I > > was not able to reproduce it. > > > > It may be a configuration/installation issue. > > > > Make sure that libjavautil.so is installed. It should be in: > > .../lib/sablevm/sablevm-classpath > > with other libs (libjavaio etc.). >=20 > it seems everything is in there... >=20 > $ ls /usr/lib/sablevm/sablevm-classpath >=20 > libgtkpeer.la libgtkpeer.so libgtkpeer.so.0 libgtkpeer.so.0.0.0 > libjavaawt.la libjavaawt.so libjavaawt.so.0 libjavaawt.so.0.0.0 > libjavaio.la libjavaio.so libjavaio.so.0 libjavaio.so.0.0.0 > libjavalang.la libjavalang.so libjavalang.so.0 libjavalang.so.0.0.0 > libjavalangreflect.la libjavalangreflect.so libjavalangreflect.so.0 > libjavalangreflect.so.0.0.0 libjavanet.la libjavanet.so libjavanet.so.0 > libjavanet.so.0.0.0 libjavanio.la libjavanio.so libjavanio.so.0 > libjavanio.so.0.0.0 libjavautil.la libjavautil.so libjavautil.so.0 > libjavautil.so.0.0.0 >=20 > > What is weird is the fact that it got so far (it loaded the Ant class= es) > > means that some of the libraries at least libjavaio are installed and > > work but not libjavautil... >=20 > So it must be the debian developer of sablevm that is sucking! ;-) > (joking gadek ;-)) >=20 > Guys, here is a test case. Attached is a simple build.xml you can run > with ant. >=20 > 1=B0 run by kaffe: >=20 > $ JAVACMD=3D/usr/bin/kaffe ant >=20 > Unable to locate tools.jar. Expected to find it in /usr/lib/kaffe/lib/t= ools.jar > Buildfile: build.xml >=20 > init: > [echo] What time is it? 20040409 - 2253 >=20 > BUILD SUCCESSFUL > Total time: 1 second >=20 > (the first line is because of ant 1.6, I don't know why?! but everythin= g > runs fine) >=20 > 2=B0 The same with java-sablevm >=20 > $ JAVACMD=3D/usr/bin/java-sablevm ant >=20 > Warning: -Xmx512M option not implemented in java-sablevm wrapper. > Unable to locate tools.jar. Expected to find it in ?/lib/tools.jar > Buildfile: build.xml >=20 > init: > *** Couldn't bind native method Java_java_util_TimeZone_getDefaultTimeZ= oneId *** > *** or Java_java_util_TimeZone_getDefaultTimeZoneId__ *** > *** Couldn't bind native method Java_java_util_TimeZone_getDefaultTimeZ= oneId *** > *** or Java_java_util_TimeZone_getDefaultTimeZoneId__ *** > java.lang.UnsatisfiedLinkError > at java.util.TimeZone.getDefaultTimeZoneId (TimeZone.java) > at java.util.TimeZone.defaultZone (TimeZone.java:99) > at java.util.TimeZone.getDefault (TimeZone.java:1147) > at java.util.GregorianCalendar.GregorianCalendar (GregorianCalendar.= java:121) > at java.text.SimpleDateFormat.SimpleDateFormat (SimpleDateFormat.jav= a:205) > at org.apache.tools.ant.util.DateUtils.static{} (DateUtils.java:65) > at java.lang.VMClass.step8 (VMClass.java) > at java.lang.VMClass.initialize (VMClass.java:126) > at java.lang.Class.initialize (Class.java:163) > at org.apache.tools.ant.DefaultLogger.formatTime (DefaultLogger.java= :277) > at org.apache.tools.ant.DefaultLogger.buildFinished (DefaultLogger.j= ava:157) > at org.apache.tools.ant.Project.fireBuildFinished (Project.java:1797= ) > at org.apache.tools.ant.Main.runBuild (Main.java:652) > at org.apache.tools.ant.Main.startAnt (Main.java:183) > at org.apache.tools.ant.launch.Launcher.run (Launcher.java:197) > at org.apache.tools.ant.launch.Launcher.main (Launcher.java:56) > at java.lang.VirtualMachine.invokeMain (VirtualMachine.java) > at java.lang.VirtualMachine.main (VirtualMachine.java:88) >=20 > Cheers, >=20 > --=20 > Arnaud Vandyck >=20 Content-Description: test-case --=20 --- David B=E9langer Graduate Student School of Computer Science McGill University Office: MC226 Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt |
From: Arnaud V. <av...@us...> - 2004-04-09 22:57:48
|
David B=E9langer <db...@cs...> writes: > Hi, > > This is a native method implemented in Classpath. I try a small example > that invokes the constructor of GregorianCalendar and this method but I > was not able to reproduce it. > > It may be a configuration/installation issue. > > Make sure that libjavautil.so is installed. It should be in: > .../lib/sablevm/sablevm-classpath > with other libs (libjavaio etc.). it seems everything is in there... $ ls /usr/lib/sablevm/sablevm-classpath libgtkpeer.la libgtkpeer.so libgtkpeer.so.0 libgtkpeer.so.0.0.0 libjavaawt.la libjavaawt.so libjavaawt.so.0 libjavaawt.so.0.0.0 libjavaio.la libjavaio.so libjavaio.so.0 libjavaio.so.0.0.0 libjavalang.la libjavalang.so libjavalang.so.0 libjavalang.so.0.0.0 libjavalangreflect.la libjavalangreflect.so libjavalangreflect.so.0 libjavalangreflect.so.0.0.0 libjavanet.la libjavanet.so libjavanet.so.0 libjavanet.so.0.0.0 libjavanio.la libjavanio.so libjavanio.so.0 libjavanio.so.0.0.0 libjavautil.la libjavautil.so libjavautil.so.0 libjavautil.so.0.0.0 > What is weird is the fact that it got so far (it loaded the Ant classes) > means that some of the libraries at least libjavaio are installed and > work but not libjavautil... So it must be the debian developer of sablevm that is sucking! ;-) (joking gadek ;-)) Guys, here is a test case. Attached is a simple build.xml you can run with ant. 1=B0 run by kaffe: $ JAVACMD=3D/usr/bin/kaffe ant Unable to locate tools.jar. Expected to find it in /usr/lib/kaffe/lib/tools= .jar Buildfile: build.xml init: [echo] What time is it? 20040409 - 2253 BUILD SUCCESSFUL Total time: 1 second (the first line is because of ant 1.6, I don't know why?! but everything runs fine) 2=B0 The same with java-sablevm $ JAVACMD=3D/usr/bin/java-sablevm ant Warning: -Xmx512M option not implemented in java-sablevm wrapper. Unable to locate tools.jar. Expected to find it in ?/lib/tools.jar Buildfile: build.xml init: *** Couldn't bind native method Java_java_util_TimeZone_getDefaultTimeZoneI= d *** *** or Java_java_util_TimeZone_getDefaultTimeZoneId__ *** *** Couldn't bind native method Java_java_util_TimeZone_getDefaultTimeZoneI= d *** *** or Java_java_util_TimeZone_getDefaultTimeZoneId__ *** java.lang.UnsatisfiedLinkError at java.util.TimeZone.getDefaultTimeZoneId (TimeZone.java) at java.util.TimeZone.defaultZone (TimeZone.java:99) at java.util.TimeZone.getDefault (TimeZone.java:1147) at java.util.GregorianCalendar.GregorianCalendar (GregorianCalendar.java= :121) at java.text.SimpleDateFormat.SimpleDateFormat (SimpleDateFormat.java:20= 5) at org.apache.tools.ant.util.DateUtils.static{} (DateUtils.java:65) at java.lang.VMClass.step8 (VMClass.java) at java.lang.VMClass.initialize (VMClass.java:126) at java.lang.Class.initialize (Class.java:163) at org.apache.tools.ant.DefaultLogger.formatTime (DefaultLogger.java:277) at org.apache.tools.ant.DefaultLogger.buildFinished (DefaultLogger.java:= 157) at org.apache.tools.ant.Project.fireBuildFinished (Project.java:1797) at org.apache.tools.ant.Main.runBuild (Main.java:652) at org.apache.tools.ant.Main.startAnt (Main.java:183) at org.apache.tools.ant.launch.Launcher.run (Launcher.java:197) at org.apache.tools.ant.launch.Launcher.main (Launcher.java:56) at java.lang.VirtualMachine.invokeMain (VirtualMachine.java) at java.lang.VirtualMachine.main (VirtualMachine.java:88) Cheers, --=20 Arnaud Vandyck |
From: David <db...@cs...> - 2004-04-09 17:11:49
|
Hi, This is a native method implemented in Classpath. I try a small example that invokes the constructor of GregorianCalendar and this method but I was not able to reproduce it. It may be a configuration/installation issue. Make sure that libjavautil.so is installed. It should be in: .../lib/sablevm/sablevm-classpath with other libs (libjavaio etc.). What is weird is the fact that it got so far (it loaded the Ant classes) means that some of the libraries at least libjavaio are installed and work but not libjavautil... David On Fri, Apr 09, 2004 at 01:29:58PM +0200, Arnaud Vandyck wrote: > I reported this to #sablevm but not on the list. >=20 > *** Couldn't bind native method Java_java_util_TimeZone_getDefaultTimeZ= oneId *** > *** or Java_java_util_TimeZone_getDefaultTimeZoneId__ *** >=20 > $ cd ~/debian/avdyk/libcommons-pool-java/commons-pool-1.1/; debuild >=20 > dpkg-buildpackage: source package is commons-pool > dpkg-buildpackage: source version is 1.1-4 > dpkg-buildpackage: source maintainer is Arnaud Vandyck <avdyk@debian.or= g> > dpkg-buildpackage: host architecture is powerpc > fakeroot debian/rules clean > test -x debian/rules > test "`id -u`" =3D 0 > if test -n "" && test "" !=3D "."; then rmdir ""; fi > if test "." !=3D "."; then rmdir .; fi > dh_clean > cd . && /usr/bin/java-sablevm -classpath /usr/share/ant1.5/lib/ant.jar:= /usr/share/java/commons-collections.jar:/usr/share/java/junit.jar: -Dant= .home=3D/usr/share/ant1.5 org.apache.tools.ant.Main -Dcompile.debug=3Dtru= e -Dcompile.optimize=3Dtrue -Dbuild.compiler=3Djikes clean || true > Buildfile: build.xml > *** Couldn't bind native method Java_java_util_TimeZone_getDefaultTimeZ= oneId *** > *** or Java_java_util_TimeZone_getDefaultTimeZoneId__ *** > java.lang.UnsatisfiedLinkError > at java.util.TimeZone.getDefaultTimeZoneId (TimeZone.java) > at java.util.TimeZone.defaultZone (TimeZone.java:99) > at java.util.TimeZone.getDefault (TimeZone.java:1147) > at java.util.GregorianCalendar.GregorianCalendar (GregorianCalendar.= java:121) > at java.text.SimpleDateFormat.SimpleDateFormat (SimpleDateFormat.jav= a:205) > at org.apache.tools.ant.util.DateUtils.static{} (DateUtils.java:101) > at java.lang.VMClass.step8 (VMClass.java) > at java.lang.VMClass.initialize (VMClass.java:126) > at java.lang.Class.initialize (Class.java:163) > at org.apache.tools.ant.DefaultLogger.formatTime (DefaultLogger.java= :308) > at org.apache.tools.ant.DefaultLogger.buildFinished (DefaultLogger.j= ava:192) > at org.apache.tools.ant.Project.fireBuildFinished (Project.java:1913= ) > at org.apache.tools.ant.Main.runBuild (Main.java:628) > at org.apache.tools.ant.Main.start (Main.java:196) > at org.apache.tools.ant.Main.main (Main.java:235) > at java.lang.VirtualMachine.invokeMain (VirtualMachine.java) > at java.lang.VirtualMachine.main (VirtualMachine.java:88) > ... >=20 > Cheers, >=20 > --=20 > Arnaud Vandyck >=20 >=20 > ------------------------------------------------------- > This SF.Net email is sponsored by: IBM Linux Tutorials > Free Linux tutorial presented by Daniel Robbins, President and CEO of > GenToo technologies. Learn everything from fundamentals to system > administration.http://ads.osdn.com/?ad_id=3D1470&alloc_id=3D3638&op=3Dc= lick > _______________________________________________ > Sablevm-developer mailing list > Sab...@li... > https://lists.sourceforge.net/lists/listinfo/sablevm-developer --=20 --- David B=E9langer Graduate Student School of Computer Science McGill University Office: MC226 Web page: http://www.cs.mcgill.ca/~dbelan2/ Public key: http://www.cs.mcgill.ca/~dbelan2/public_key.txt |
From: Etienne G. <gag...@uq...> - 2004-04-09 17:07:49
|
Hi all, The "not broken" requirement of staging is currently breached... FYI: I do not have automake 1.7 on my system. On my computer ppc GNU/Linux machine, I get: $ svn info URL: svn+ssh://svn.sablevm.org/public/sablevm-classpath/branches/staging Revision: 1963 $ tar --version tar (GNU tar) 1.13.25 $ automake --version automake (GNU automake) 1.8.3 $ autoconf --version autoconf (GNU Autoconf) 2.59 $ ./autogen ; ./configure --with-jvm=sablevm ... $ make dist { test ! -d sablevm-classpath-staging+1963 || { find sablevm-classpath-staging+1963 -type d ! -perm -200 -exec chmod u+w {} ';' && rm -fr sablevm-classpath-staging+1963; }; } mkdir sablevm-classpath-staging+1963 mkdir -p -- . sablevm-classpath-staging+1963/gnu/classpath sablevm-classpath-staging+1963/include sablevm-classpath-staging+1963/lib list='lib doc external gnu java javax include native resource vm'; for subdir in $list; do \ if test "$subdir" = .; then :; else \ test -d "sablevm-classpath-staging+1963/$subdir" \ || mkdir "sablevm-classpath-staging+1963/$subdir" \ || exit 1; \ (cd $subdir && \ make \ top_distdir="../sablevm-classpath-staging+1963" \ distdir="../sablevm-classpath-staging+1963/$subdir" \ distdir) \ || exit 1; \ fi; \ done make[1]: Entering directory `/home/egagnon/sablevm-classpath/lib' top_builddir=.. /bin/sh ./gen-classlist.sh standard /usr/bin/jikes +F -bootclasspath '' -extdirs '' -sourcepath '' -classpath ..:../external/jaxp/source:../vm/current:.: -d . @classes Issued 1 lexical warning in "../gnu/java/rmi/registry/RegistryImpl_Stub.java": 61. private static java.lang.reflect.Method $method_bind_0; ^------------^ *** Lexical Warning: The use of "$" in an identifier, while legal, is strongly discouraged, since it can conflict with compiler-generated names. If you are trying to access a nested type, use "." instead of "$". touch compile-classes if ! [ -e gnu ]; then mkdir gnu; fi if ! [ -e gnu/java ]; then mkdir gnu/java; fi if ! [ -e gnu/java/locale ]; then mkdir gnu/java/locale; fi touch resources if test "" != ""; then -r -D glibj.zip gnu java javax org > /dev/null; fi cp: cannot stat `./glibj.zip': No such file or directory make[1]: *** [distdir] Error 1 make[1]: Leaving directory `/home/egagnon/sablevm-classpath/lib' make: *** [distdir] Error 1 $ Have fun fixing this! :-) Etienne -- Etienne M. Gagnon, Ph.D. http://www.info.uqam.ca/~egagnon/ SableVM: http://www.sablevm.org/ SableCC: http://www.sablecc.org/ |