01:57:03 kanru` [~kanru@118-163-10-190.HINET-IP.hinet.net] has joined #sbcl 03:30:39 -!- wbooze [~wbooze@xdsl-78-35-179-148.netcologne.de] has quit [Quit: Client Quit] 03:42:05 attila_lendvai [~attila_le@176.222.175.254] has joined #sbcl 03:42:05 -!- attila_lendvai [~attila_le@176.222.175.254] has quit [Changing host] 03:42:05 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 03:59:47 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 04:10:14 attila_lendvai [~attila_le@176.222.175.254] has joined #sbcl 04:10:15 -!- attila_lendvai [~attila_le@176.222.175.254] has quit [Changing host] 04:10:15 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 04:28:23 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 05:06:10 stassats [~stassats@wikipedia/stassats] has joined #sbcl 05:25:01 1.0.58 on debian amd64: (require :sb-sprof) gives "Don't know how to REQUIRE SB-SPROF." 05:25:43 -!- huangjs [~huangjs@69.84.244.131] has quit [Ping timeout: 260 seconds] 05:26:16 /usr/lib/sbcl/sb-sprof/ exists just fine. 05:27:22 Now I attached strace, and the REQUIRE worked. Is that some new requirement? ;) 05:28:51 but then again the sbcl didn't survive ... hrmpf. 05:29:30 hmm, and on restarting I'm back at square 1. 05:52:28 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 05:59:27 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 276 seconds] 06:01:41 attila_lendvai [~attila_le@87.247.57.38] has joined #sbcl 06:01:42 -!- attila_lendvai [~attila_le@87.247.57.38] has quit [Changing host] 06:01:42 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 06:03:44 sdemarre [~serge@91.176.70.45] has joined #sbcl 06:30:43 -!- Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 06:43:01 -!- SHUPFS [~hercules@S0106001111de1fc8.cg.shawcable.net] has quit [Ping timeout: 248 seconds] 06:52:03 Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #sbcl 07:06:45 angavrilov [~angavrilo@217.71.227.190] has joined #sbcl 07:29:19 SHUPFS [~hercules@S0106001111de1fc8.cg.shawcable.net] has joined #sbcl 07:47:35 -!- cmm- [~cmm@bzq-79-177-227-177.red.bezeqint.net] has quit [Read error: Operation timed out] 07:49:56 cmm [~cmm@bzq-79-180-216-42.red.bezeqint.net] has joined #sbcl 07:56:20 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 08:01:49 attila_lendvai [~attila_le@87.247.57.38] has joined #sbcl 08:01:49 -!- attila_lendvai [~attila_le@87.247.57.38] has quit [Changing host] 08:01:49 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 08:03:37 prxq [~mommer@mnhm-590c14e5.pool.mediaWays.net] has joined #sbcl 08:05:36 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Client Quit] 08:45:57 -!- sdemarre [~serge@91.176.70.45] has quit [Ping timeout: 246 seconds] 08:46:02 -!- milosn [~milosn@5ac78e8a.bb.sky.com] has quit [Read error: Operation timed out] 09:16:38 -!- ASau [~user@37-144-27-123.broadband.corbina.ru] has quit [Ping timeout: 246 seconds] 09:24:34 attila_lendvai [~attila_le@87.247.57.38] has joined #sbcl 09:24:35 -!- attila_lendvai [~attila_le@87.247.57.38] has quit [Changing host] 09:24:35 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 09:24:50 huangjs [~huangjs@69.84.244.131] has joined #sbcl 09:40:09 sdemarre [~serge@91.176.70.45] has joined #sbcl 10:09:25 -!- easye [~user@213.33.70.157] has quit [Remote host closed the connection] 10:12:16 easye [~user@213.33.70.157] has joined #sbcl 10:31:22 -!- scymtym [~user@2001:638:504:2093:226:b9ff:fe7d:3e1f] has quit [Remote host closed the connection] 10:40:41 -!- jdz [~jdz@85.254.212.34] has quit [Quit: Byebye.] 10:44:02 hlavaty [~user@91-65-217-229-dynip.superkabel.de] has joined #sbcl 10:50:03 scymtym [~user@2001:638:504:2093:226:b9ff:fe7d:3e1f] has joined #sbcl 10:54:42 -!- huangjs [~huangjs@69.84.244.131] has quit [Ping timeout: 264 seconds] 12:09:43 -!- kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has quit [Quit: ZNC - http://znc.sourceforge.net] 12:12:14 kanru [~kanru@kanru-1-pt.tunnel.tserv15.lax1.ipv6.he.net] has joined #sbcl 12:48:12 huangjs [~huangjs@69.84.244.131] has joined #sbcl 13:15:10 mgsk [~Mark@li357-97.members.linode.com] has joined #sbcl 13:15:57 -!- mgsk [~Mark@li357-97.members.linode.com] has quit [Client Quit] 13:16:19 milosn [~milosn@5ac78e8a.bb.sky.com] has joined #sbcl 13:16:46 gko [~user@114-34-168-13.HINET-IP.hinet.net] has joined #sbcl 13:17:08 mgsk [~Mark@li357-97.members.linode.com] has joined #sbcl 13:17:15 -!- mgsk [~Mark@li357-97.members.linode.com] has quit [Client Quit] 13:19:34 mgsk [~Mark@li357-97.members.linode.com] has joined #sbcl 13:19:50 -!- mgsk [~Mark@li357-97.members.linode.com] has quit [Client Quit] 13:20:21 mgsk [~Mark@li357-97.members.linode.com] has joined #sbcl 13:20:49 -!- mgsk [~Mark@li357-97.members.linode.com] has quit [Client Quit] 13:22:42 any ideas for (require :sb-sprof)? Gives me "Don't know how to REQUIRE SB-SPROF." 13:22:56 edgar-rft [~GOD@HSI-KBW-078-043-123-191.hsi4.kabel-badenwuerttemberg.de] has joined #sbcl 13:22:59 -!- sdemarre [~serge@91.176.70.45] has quit [Ping timeout: 260 seconds] 13:24:26 what's the value of (sb-int:sbcl-homedir-pathname)? 13:32:05 "/home/.../.cache/common-lisp/" 13:32:22 there's your problem 13:32:41 is that used to find sb-sprof? 13:32:47 yes 13:32:54 see SBCL_HOME 13:32:59 I don't set it, I only prepend things to asdf:*central-registry* 13:35:04 mgsk [~Mark@li357-97.members.linode.com] has joined #sbcl 13:35:29 -!- mgsk [~Mark@li357-97.members.linode.com] has left #sbcl 13:36:03 so, what's the value of SBCL_HOME? 13:36:36 sdemarre [~serge@91.176.70.45] has joined #sbcl 13:36:46 mgsk [~Mark@li357-97.members.linode.com] has joined #sbcl 13:37:23 -!- sdemarre [~serge@91.176.70.45] has quit [Client Quit] 13:37:46 -!- mgsk [~Mark@li357-97.members.linode.com] has quit [Client Quit] 13:42:28 -!- huangjs [~huangjs@69.84.244.131] has quit [Ping timeout: 255 seconds] 13:46:19 not set 13:46:56 ok, that means that you need to set it 13:47:37 to /usr/lib/sbcl ? 13:48:02 if that's where you keep 'em 13:48:34 well, that's the installation path (debian package) 13:53:04 and where do you load the core from? 13:59:13 LiamH [~none@pdp8.nrl.navy.mil] has joined #sbcl 14:05:59 jdz [~jdz@85.254.212.233] has joined #sbcl 14:07:01 ah, that's the reason? yes, I've got a special core. So I just set SBCL_HOME and be done. Fine, thanks a lot! 14:07:20 you can set it from within sbcl 14:08:38 like (sb-posix:putenv "SBCL_HOME=x") 14:12:49 Well, I exported it in my shell script that starts sbcl with my custom core file. Thank you very much! 14:13:39 hooray, a simple (REQUIRE :sb-sprof) works!! 14:14:46 i just have a custom core with all the contribs 14:37:52 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 14:40:38 wbooze [~wbooze@xdsl-78-35-161-134.netcologne.de] has joined #sbcl 14:54:35 antgreen [~user@out-on-223.wireless.telus.com] has joined #sbcl 14:55:56 -!- jdz [~jdz@85.254.212.233] has quit [Ping timeout: 260 seconds] 14:58:03 -!- antgreen [~user@out-on-223.wireless.telus.com] has quit [Remote host closed the connection] 15:03:57 ASau [~user@128-69-65-11.broadband.corbina.ru] has joined #sbcl 15:10:16 jdz [~jdz@85.254.212.34] has joined #sbcl 15:40:48 -!- jdz [~jdz@85.254.212.34] has quit [Quit: Byebye.] 16:00:40 attila_lendvai [~attila_le@176.222.175.254] has joined #sbcl 16:00:40 -!- attila_lendvai [~attila_le@176.222.175.254] has quit [Changing host] 16:00:40 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 16:39:09 -!- milosn [~milosn@5ac78e8a.bb.sky.com] has quit [Ping timeout: 246 seconds] 17:00:40 ASau` [~user@128-69-65-11.broadband.corbina.ru] has joined #sbcl 17:00:51 -!- gko [~user@114-34-168-13.HINET-IP.hinet.net] has quit [Ping timeout: 246 seconds] 17:01:45 -!- ASau [~user@128-69-65-11.broadband.corbina.ru] has quit [Ping timeout: 260 seconds] 17:34:32 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 260 seconds] 17:34:41 milosn [~milosn@5ac78e8a.bb.sky.com] has joined #sbcl 17:48:57 Any ideas? I've got (setf (accessor object) (sort (accessor object) #'< :key #'caar))), the (accessor object) is a single-element list, and I get "Y is not a REAL" in "(SB-KERNEL:TWO-ARG-< 49 NIL)" 17:49:07 Why does #'< get called for a single-element list? 17:49:19 A simple (LET ((a (list ...))) doesn't reproduce the problem 17:50:16 1.0.58, debian amd64 17:59:09 http://paste.lisp.org/display/133244 in case anyone's interested 18:11:10 I'd be grateful if make.sh keeps an approximate line-count, and shows some percent-progress report ... 18:11:46 Ask on #lisp, please. And make sure to give them more information than just a stacktrace, lest they lynch you for not asking a meaningfully answerable question. 18:12:29 instructions on how to actually reproduce would be useful 18:13:29 (that backtrace looks odd, though: where's the 49 coming from?) 18:17:23 <|3b|> also odd that it calls RECUR 3 times on a single element list, implying LENGTH failed somehow 18:17:54 *|3b|* wonders if this code is running under overly low SAFETY with bad type declarations or something 18:33:35 -!- foom [jknight@nat/google/x-dilbvyciqoswynjr] has quit [Quit: Leaving] 18:38:11 foom [jknight@nat/google/x-lrmgvsmbnluxqyoy] has joined #sbcl 18:44:10 -!- ASau` is now known as ASau 19:06:03 -!- milosn [~milosn@5ac78e8a.bb.sky.com] has quit [Ping timeout: 255 seconds] 19:18:16 milosn [~milosn@5ac48544.bb.sky.com] has joined #sbcl 19:22:57 pnpuff [~aeiou@unaffiliated/pnpuff] has joined #sbcl 19:31:39 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 256 seconds] 19:37:49 -!- angavrilov [~angavrilo@217.71.227.190] has quit [Ping timeout: 252 seconds] 19:43:39 well, it's a standard debian 1.0.58.0 SBCL ... and even then, the length _has_ to be checked somewhere _before_ doing the recursion, right? 19:44:23 <|3b|> length is checked to decide whether to recur at all 19:45:20 yes, so even with highest speed and lowest safety it shouldn't do anything with a list of length 1 ... at least IMU. 19:45:54 <|3b|> with lowest safety it might try to take LENGTH of something that isn't a sequence and not notice 19:46:17 *|3b|* doesn't know if that is actually possible/likely for the specific case or not 19:46:49 <|3b|> or it might 'know' it is a sequence of some specific length and skip actually calling LENGTH 19:47:02 -!- pnpuff [~aeiou@unaffiliated/pnpuff] has left #sbcl 19:47:15 well, but SLDB shows that it's a single-element list ... 19:47:24 <|3b|> right 19:47:41 would it make sense to paste some disassembly? if yes, of which part? 19:47:55 <|3b|> a full test case would be better if possible 19:48:05 flip214: it would make sense to paste a test case to #lisp. 19:48:56 hmm, that's not that easy ... is there something like the test-case-stripper for clang, that takes away parts of the source until the minimum case is found? 19:49:10 I tried to build a minimal test case, but haven't succeeded yet 19:50:42 trying git HEAD now 19:51:32 hrmpf ... I hope it's not some kind of corruption caused by a completely unrelated code that's not seen because of low safety 19:52:04 but OTOH, my sbclrc has (declaim (optimize (debug 3) (safety 3))) 19:54:58 hrmpf, with git HEAD it's a bit different ... the list has 2 elements, and then (< 49 NIL). 19:55:48 <|3b|> maybe try with restrict-compiler-policy instead of declaim? 19:56:02 yes, just trying with safety 3, debug 3 19:56:04 maybe try to understand your code first. 19:56:21 removed my ~/.cache/common-lisp, too, recompiling all libraries 19:56:37 pkhuong: well, AFAIK I'm trying to sort a PROPER LIST with 1 or 2 elements... 19:58:07 previously I had the sort in another function; now I'm using it from two functions, so I moved it to its own function. 19:59:10 hrmpf, list with 2 elements, #'< :key #'caar and I get (< 49 NIL). But why 49? 19:59:19 Thats #\1 ... hmmm 20:00:45 restrict-compiler-policy seems to make no real difference. where would I put that to be used for a new SBCL compilation, ie. so that SBCL itself has these set? 20:01:14 *|3b|* would not expect that to work well 20:01:43 why are you spending more energy trying to debug SBCL than your own program? 20:01:48 <|3b|> can you at least paste the definition of the function and object involved, even if you can't reduce it? 20:02:46 <|3b|> alternately, try a different lisp implementation and see if you get a more useful error 20:04:13 pkhuong: because I don't know where else to start. SLDB indicates no problem on my side, so I don't know where to begin here... 20:04:55 really? do you use threads? 20:05:04 are you taking into account the fact that SORT is destructive? 20:05:33 what happens if you just copy-list before sorting? 20:06:16 -!- scymtym [~user@2001:638:504:2093:226:b9ff:fe7d:3e1f] has quit [Ping timeout: 260 seconds] 20:06:18 the list is freshly accumulated, via LOOP COLLECT ... and I do (setf (accessor object) (sort (accessor object) #'< :key #'caar)) 20:06:35 SLDB only shows you the right CONS, but its CDR has already been recycled arbitrarily. Is SLDB the only reason you know you're sorting singletons or two-item lists? 20:07:20 Have you simply tried to print the list (or its CAARs) before sorting it? 20:07:26 no, will do now. 20:11:36 ah, thanks. yes, the SLDB was misleading, sorry. 20:12:53 stassats [~stassats@wikipedia/stassats] has joined #sbcl 20:17:28 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 260 seconds] 20:26:36 thank's a lot! good night (http://www.youtube.com/watch?v=QjHCXcwpcvE&t=1m35s). 21:25:20 -!- prxq [~mommer@mnhm-590c14e5.pool.mediaWays.net] has quit [Quit: Leaving] 21:41:32 -!- LiamH [~none@pdp8.nrl.navy.mil] has quit [Quit: Leaving.] 22:33:17 slyrus [~chatzilla@adsl-108-81-169-220.dsl.pltn13.sbcglobal.net] has joined #sbcl 22:51:41 -!- milosn [~milosn@5ac48544.bb.sky.com] has quit [Ping timeout: 256 seconds] 23:03:58 milosn [~milosn@5ac48544.bb.sky.com] has joined #sbcl 23:45:14 huangjs [~huangjs@69.84.244.131] has joined #sbcl