Alex Mizrahi | 27 May 2012 14:14
Picon

abcl trunk build doesn't work for me

hi

 When I run ABCL built from trunk I get this error when I run it:

 ----
 Armed Bear Common Lisp 1.1.0-dev
 Java 1.6.0_21 Sun Microsystems Inc.
 OpenJDK 64-Bit Server VM
 Low-level initialization completed in 1.072 seconds.
 org.armedbear.lisp.IntegrityError
        at org.armedbear.lisp.Primitives$pf_error.execute(Primitives.java:1577)
        at org.armedbear.lisp.Primitive.execute(Primitive.java:113)
        at org.armedbear.lisp.Symbol.execute(Symbol.java:802)
        at org.armedbear.lisp.Lisp.error(Lisp.java:380)
        at org.armedbear.lisp.Load.loadSystemFile(Load.java:276)
        at org.armedbear.lisp.Load$load_system_file.execute(Load.java:703)
        at org.armedbear.lisp.LispThread.execute(LispThread.java:649)
        at org.armedbear.lisp.Lisp.evalCall(Lisp.java:550)
        at org.armedbear.lisp.Lisp.eval(Lisp.java:515)
        at org.armedbear.lisp.Load.loadStream(Load.java:570)
        at org.armedbear.lisp.Load.loadFileFromStream(Load.java:538)
        at org.armedbear.lisp.Load.loadFileFromStream(Load.java:428)
        at org.armedbear.lisp.Load.loadSystemFile(Load.java:327)
        at org.armedbear.lisp.Interpreter.initializeLisp(Interpreter.java:172)
        at org.armedbear.lisp.Interpreter.createDefaultInstance(Interpreter.java:102)
        at org.armedbear.lisp.Main$1.run(Main.java:46)
        at java.lang.Thread.run(Thread.java:679)
 ERROR placeholder called with arguments:
 Failed to find loadable system file 'autoloads' in boot classpath.
 ----
(Continue reading)

Rudi Schlatte | 27 May 2012 14:58
Picon
Gravatar

Re: abcl trunk build doesn't work for me

Alex Mizrahi <alex.mizrahi@...> writes:

> hi
>
>  When I run ABCL built from trunk I get this error when I run it:
>
>  ----
>  Armed Bear Common Lisp 1.1.0-dev
>  Java 1.6.0_21 Sun Microsystems Inc.
>  OpenJDK 64-Bit Server VM
>  Low-level initialization completed in 1.072 seconds.
>  org.armedbear.lisp.IntegrityError
[...]

I got not much to add, except it works here from a fresh checkout:

Armed Bear Common Lisp 1.1.0-dev
Java 1.6.0_31 Apple Inc.
Java HotSpot(TM) 64-Bit Server VM
Low-level initialization completed in 0.726 seconds.
Startup completed in 2.554 seconds.
Loading /Users/rudi/.abclrc completed in 11.705 seconds.
Type ":help" for a list of available commands.
CL-USER(1): 

Rudi
Alex Mizrahi | 27 May 2012 17:41
Picon

Re: abcl trunk build doesn't work for me

Ok, this turned out to be a problem with build -- it looks like new
ABCL version has more stuff, and jvm tried to open too many files. I
had to rise nofile ulimit to 8192.

I didn't notice this from start because build process didn't check
errors during compiling with abcl stage and proceeded to create jar
file regardless. It said that build was successful so I didn't check
error messages which scrolled away by that time.
Alessio Stalla | 27 May 2012 20:14
Picon

Re: abcl trunk build doesn't work for me

On Sun, May 27, 2012 at 5:41 PM, Alex Mizrahi <alex.mizrahi@...> wrote:
> Ok, this turned out to be a problem with build -- it looks like new
> ABCL version has more stuff, and jvm tried to open too many files. I
> had to rise nofile ulimit to 8192.
>
> I didn't notice this from start because build process didn't check
> errors during compiling with abcl stage and proceeded to create jar
> file regardless. It said that build was successful so I didn't check
> error messages which scrolled away by that time.

Too many open files occurred to me too a while ago. Usually doing an
incremental build after the failed one works. But I don't get why all
those files need to be opened at once; I thought it was a leak.

--

-- 
Some gratuitous spam:

http://ripple-project.org Ripple, social credit system
http://villages.cc Villages.cc, Ripple-powered community economy
http://common-lisp.net/project/armedbear ABCL, Common Lisp on the JVM
http://code.google.com/p/tapulli my current open source projects
http://www.manydesigns.com/ ManyDesigns Portofino, open source
model-driven Java web application framework
Alex Mizrahi | 27 May 2012 21:35
Picon

Re: abcl trunk build doesn't work for me

Yes, it is a leak. compile-file.lisp, function verify-load:

  (when
      (= 0 (file-length (open classfile :direction :input)))

fd is opened and never closed. (Until GC, I guess.)
It is called for every cls file compiler produces.

Bug was introduced in revision 13912.
Erik Huelsmann | 27 May 2012 21:39
Picon
Gravatar

Re: abcl trunk build doesn't work for me

Hi Alex,

On Sun, May 27, 2012 at 9:35 PM, Alex Mizrahi <alex.mizrahi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Yes, it is a leak. compile-file.lisp, function verify-load:

 (when
     (= 0 (file-length (open classfile :direction :input)))


fd is opened and never closed. (Until GC, I guess.)
It is called for every cls file compiler produces.

Bug was introduced in revision 13912.

I think this is an easy one. I can probably get it fixed in a few minutes (but rebuilding will take me a while); expect a fix forth coming in 30 minutes.

Bye,

Erik.
_______________________________________________
armedbear-devel mailing list
armedbear-devel@...
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
Erik Huelsmann | 27 May 2012 21:58
Picon
Gravatar

Re: abcl trunk build doesn't work for me

Fix committed in r13948. Please verify and confirm.


Thanks for your report and research!

Bye,

Erik.

On Sun, May 27, 2012 at 9:39 PM, Erik Huelsmann <ehuels-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Hi Alex,


On Sun, May 27, 2012 at 9:35 PM, Alex Mizrahi <alex.mizrahi-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
Yes, it is a leak. compile-file.lisp, function verify-load:

 (when
     (= 0 (file-length (open classfile :direction :input)))


fd is opened and never closed. (Until GC, I guess.)
It is called for every cls file compiler produces.

Bug was introduced in revision 13912.

I think this is an easy one. I can probably get it fixed in a few minutes (but rebuilding will take me a while); expect a fix forth coming in 30 minutes.

Bye,

Erik.

_______________________________________________
armedbear-devel mailing list
armedbear-devel@...
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
Alex Mizrahi | 27 May 2012 22:29
Picon

Re: abcl trunk build doesn't work for me

> Fix committed in r13948. Please verify and confirm.

It works, thanks!
Alex Mizrahi | 27 May 2012 22:29
Picon

Re: [armedbear-devel] abcl trunk build doesn't work for me

> Fix committed in r13948. Please verify and confirm.

It works, thanks!
Erik Huelsmann | 27 May 2012 21:58
Picon
Gravatar

Re: [armedbear-devel] abcl trunk build doesn't work for me

Fix committed in r13948. Please verify and confirm.


Thanks for your report and research!

Bye,

Erik.

On Sun, May 27, 2012 at 9:39 PM, Erik Huelsmann <ehuels <at> gmail.com> wrote:
Hi Alex,


On Sun, May 27, 2012 at 9:35 PM, Alex Mizrahi <alex.mizrahi <at> gmail.com> wrote:
Yes, it is a leak. compile-file.lisp, function verify-load:

 (when
     (= 0 (file-length (open classfile :direction :input)))


fd is opened and never closed. (Until GC, I guess.)
It is called for every cls file compiler produces.

Bug was introduced in revision 13912.

I think this is an easy one. I can probably get it fixed in a few minutes (but rebuilding will take me a while); expect a fix forth coming in 30 minutes.

Bye,

Erik.

_______________________________________________
armedbear-devel mailing list
armedbear-devel <at> common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
Erik Huelsmann | 27 May 2012 21:39
Picon
Gravatar

Re: [armedbear-devel] abcl trunk build doesn't work for me

Hi Alex,

On Sun, May 27, 2012 at 9:35 PM, Alex Mizrahi <alex.mizrahi <at> gmail.com> wrote:
Yes, it is a leak. compile-file.lisp, function verify-load:

 (when
     (= 0 (file-length (open classfile :direction :input)))


fd is opened and never closed. (Until GC, I guess.)
It is called for every cls file compiler produces.

Bug was introduced in revision 13912.

I think this is an easy one. I can probably get it fixed in a few minutes (but rebuilding will take me a while); expect a fix forth coming in 30 minutes.

Bye,

Erik.
_______________________________________________
armedbear-devel mailing list
armedbear-devel <at> common-lisp.net
http://lists.common-lisp.net/cgi-bin/mailman/listinfo/armedbear-devel
Alex Mizrahi | 27 May 2012 21:35
Picon

Re: [armedbear-devel] abcl trunk build doesn't work for me

Yes, it is a leak. compile-file.lisp, function verify-load:

  (when
      (= 0 (file-length (open classfile :direction :input)))

fd is opened and never closed. (Until GC, I guess.)
It is called for every cls file compiler produces.

Bug was introduced in revision 13912.
Alessio Stalla | 27 May 2012 20:14
Picon

Re: [armedbear-devel] abcl trunk build doesn't work for me

On Sun, May 27, 2012 at 5:41 PM, Alex Mizrahi <alex.mizrahi <at> gmail.com> wrote:
> Ok, this turned out to be a problem with build -- it looks like new
> ABCL version has more stuff, and jvm tried to open too many files. I
> had to rise nofile ulimit to 8192.
>
> I didn't notice this from start because build process didn't check
> errors during compiling with abcl stage and proceeded to create jar
> file regardless. It said that build was successful so I didn't check
> error messages which scrolled away by that time.

Too many open files occurred to me too a while ago. Usually doing an
incremental build after the failed one works. But I don't get why all
those files need to be opened at once; I thought it was a leak.

--

-- 
Some gratuitous spam:

http://ripple-project.org Ripple, social credit system
http://villages.cc Villages.cc, Ripple-powered community economy
http://common-lisp.net/project/armedbear ABCL, Common Lisp on the JVM
http://code.google.com/p/tapulli my current open source projects
http://www.manydesigns.com/ ManyDesigns Portofino, open source
model-driven Java web application framework
Alex Mizrahi | 27 May 2012 17:41
Picon

Re: [armedbear-devel] abcl trunk build doesn't work for me

Ok, this turned out to be a problem with build -- it looks like new
ABCL version has more stuff, and jvm tried to open too many files. I
had to rise nofile ulimit to 8192.

I didn't notice this from start because build process didn't check
errors during compiling with abcl stage and proceeded to create jar
file regardless. It said that build was successful so I didn't check
error messages which scrolled away by that time.
Rudi Schlatte | 27 May 2012 14:58
Picon
Gravatar

Re: [armedbear-devel] abcl trunk build doesn't work for me

Alex Mizrahi <alex.mizrahi <at> gmail.com> writes:

> hi
>
>  When I run ABCL built from trunk I get this error when I run it:
>
>  ----
>  Armed Bear Common Lisp 1.1.0-dev
>  Java 1.6.0_21 Sun Microsystems Inc.
>  OpenJDK 64-Bit Server VM
>  Low-level initialization completed in 1.072 seconds.
>  org.armedbear.lisp.IntegrityError
[...]

I got not much to add, except it works here from a fresh checkout:

Armed Bear Common Lisp 1.1.0-dev
Java 1.6.0_31 Apple Inc.
Java HotSpot(TM) 64-Bit Server VM
Low-level initialization completed in 0.726 seconds.
Startup completed in 2.554 seconds.
Loading /Users/rudi/.abclrc completed in 11.705 seconds.
Type ":help" for a list of available commands.
CL-USER(1): 

Rudi

Gmane