<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Verdana
}
--></style>
</head>
<body class='hmmessage'>
<pre>Hi Alex,<br> <br>you' re right!<br>I spent the entire day with debugging the problem on several systems.<br>I think the problem is caused by the compilation of elephant. Concerning the <br>compilation problem I wrote to the list some time ago( [elephant-devel] installing elephant 1.0 from repository). The last email of <br>this thread is attached.<br>Well I solved this problem - at least, currently it looks like I did - by removing <br>all .fasl files and recompiling elephant directly in sbcl and not in slime. <br>So the gcc-call does not fail when I call (asdf:operate 'asdf:load-op <br>:elephant).<br> <br> <br>Best regards<br> <br>Lukas<br> <br> <br> <br>--------------------------------------------------<br>From: "Alex Mizrahi" <killerstorm@newmail.ru><br>Sent: Saturday, March 06, 2010 6:52 PM<br>To: "elephant-devel" <elephant-devel@common-lisp.net>; <br><lukas.giessmann@hotmail.de><br>Subject: Re: [elephant-devel]get-instances-by-valueandget-instances-by-class> hi<br>><br>> > it seems that there is a problem with sbcl and linux 64-bit.<br>> > I noticed that this problems does not appear on my 32-bit systems only <br>> > on<br>> the 64-bit systems.<br>><br>> I've tested it on Debian 5.0 64-bit: SBCL 1.0.18, BDB 4.6, both stock from <br>> Debian packages.<br>> There is no leak neither for get-instances-by-value, nor ofr <br>> get-instances-by-class:<br>><br>> CL-USER> (require 'ele-bdb)<br>> ...<br>> CL-USER> (use-package :elephant)<br>> T<br>> CL-USER> (open-store '(:bdb #p"mydb/"))<br>> #<BDB-STORE-CONTROLLER mydb/><br>> CL-USER> (defpclass bigj () ((slo1 :accessor slot1 :initarg :slot1 :index <br>> t)))<br>> #<PERSISTENT-METACLASS BIGJ><br>> CL-USER> (make-instance 'bigj :slot1 "goethe")<br>> #<BIGJ oid:2><br>> CL-USER> (make-instance 'bigj :slot1 "goethe2")<br>> #<BIGJ oid:4><br>> CL-USER> (make-instance 'bigj :slot1 "goeth")<br>> #<BIGJ oid:5><br>> CL-USER> (dotimes (i 1000000)<br>>           (get-instances-by-value 'bigj 'slo1 "goethe"))<br>> NIL<br>> CL-USER> (dotimes (i 1000000)<br>>           (get-instances-by-class 'bigj))<br>> NIL<br>> CL-USER> (dotimes (i 1000000)<br>>           (get-instance-by-value 'bigj 'slo1 "goethe"))<br>> NIL<br>><br>> Both before and after tests SBCL had resident set size of 100 MB, as <br>> measured by `top`.<br>><br>> So I guess it is an error with a specific version of SBCL or BDB, so try <br>> different versions.<br>> <br></pre><br><br>--Weitergeleitete E-Mail-Anlagen--<br>From: lukas.giessmann@hotmail.de<br>To: elephant-devel@common-lisp.net<br>Date: Tue, 15 Dec 2009 15:08:26 +0100<br>Subject: Re: [elephant-devel] installing elephant 1.0 from repository<br><br>



<style>
.ExternalClass .ecxhmmessage P
{padding:0px;}
.ExternalClass body.ecxhmmessage
{font-size:10pt;font-family:Verdana;}
</style>


Hi Ian,<br><br>thanks for you answer.<br>The gcc build via asdf works fine in the latest revision - but the darcs warning is still there. At the moment it looks like it causes no problems.<br><br><br>Best regards<br><br>Lukas<br><br><br><br><hr id="ecxstopSpelling">From: eslick@media.mit.edu<br>Date: Mon, 14 Dec 2009 07:53:23 -0800<br>To: elephant-devel@common-lisp.net<br>Subject: Re: [elephant-devel] installing elephant 1.0 from repository<br><br>

Hi Lukas,<div><br></div><div>I haven't seen that particular darcs problem before, although I have seen the gcc build via asdf fail but work when done manually.  This may be fixed in the latest head, actually.  You might try pulling elephant-1.0 without the --tag option and see if that fixes it.</div><div><br></div><div>Best,</div><div>Ian</div><div><br><div><div>On Dec 14, 2009, at 6:49 AM, Lukas Gießmann wrote:</div><br class="ecxecxApple-interchange-newline"><blockquote><span class="ecxecxApple-style-span" style="border-collapse: separate; font-family: Helvetica; font-size: medium; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; text-indent: 0px; text-transform: none; white-space: normal; word-spacing: 0px;"><div class="ecxecxhmmessage" style="font-size: 10pt; font-family: Verdana;">Hi,<br><br>I am wondering about my installation of elephant 1.0.<br><br>I just tried to install elephant 1.0 directly from the darcs repository by the command "darcs get<a href="http://www.common-lisp.net/project/elephant/darcs/elephant-1.0">http://www.common-lisp.net/project/elephant/darcs/elephant-1.0</a>" and/or "darcs get --tag=ELEPHANT-1-0-A2<a href="http://www.common-lisp.net/project/elephant/darcs/elephant-1.0">http://www.common-lisp.net/project/elephant/darcs/elephant-1.0</a>". When the repository was downloaded on the system, darcs displayed the message "Warning: CRC errors found. These are probably harmless but should be repaired.<br>See 'darcs gzcrcs --help' for more information."<br>The commands "darcs gzcrcs --check" and "darcs gzcrcs --repair" had no effects.<br><br>When I was loading elephant on sbcl with slime, it stopped to work at the command "gcc -L/usr/local/BerkeleyDB.4.5/lib/ -I/usr/local/BerkeleyDB.4.5/include/ -shared -march=x86-64 -fPIC -Wall -g -O2 -g /home/lukas/.sbcl/site/elephant-1.0/src/db-bdb/libberkeley-db.c -o /var/cache/common-lisp-controller/1000/sbcl/local/home/lukas/.sbcl/site/elephant-1.0/src/db-bdb/libberkeley-db.so -lm".<br><br>My work-around was to execute the last command in the shell and to recompile elephant in slime/sbcl.<br>I am not sure if this is a bug or if I did something wrong?<br>Maybe there is someone with the same problem?<br><br><br>Best regards<br><br>Lukas<br><br><hr>Alle E-Mail-Adressen online auf einen Blick<span class="ecxecxApple-converted-space"> </span><a href="http://redirect.gimas.net/?n=M0912IWHM">Ich will Hotmail!</a>_______________________________________________<br>elephant-devel site list<br><a href="mailto:elephant-devel@common-lisp.net">elephant-devel@common-lisp.net</a><br><a href="http://common-lisp.net/mailman/listinfo/elephant-devel">http://common-lisp.net/mailman/listinfo/elephant-devel</a></div></span></blockquote></div><br></div>                                         <br><hr>Alle E-Mail-Adressen online auf einen Blick <a href="http://redirect.gimas.net/?n=M0912IWHM">Ich will Hotmail!</a>
                                          <br /><hr />Treffe Freunde  <a href='http://redirect.gimas.net/?n=M1003IMVideochat' target='_new'>im Messenger Videochat!</a></body>
</html>