00:15:31 ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has joined #sbcl 01:14:24 yacks [~py@103.6.159.103] has joined #sbcl 01:59:36 fisxoj [~fisxoj@192-0-131-151.cpe.teksavvy.com] has joined #sbcl 02:09:02 bege [~bege@S0106001d7e5132b0.ed.shawcable.net] has joined #sbcl 02:09:35 -!- Vivitron [~Vivitron@c-50-172-44-193.hsd1.il.comcast.net] has quit [Ping timeout: 245 seconds] 02:38:45 -!- christoph_debian [~christoph@ppp-188-174-20-178.dynamic.mnet-online.de] has quit [Ping timeout: 245 seconds] 02:53:18 christoph_debian [~christoph@ppp-188-174-73-157.dynamic.mnet-online.de] has joined #sbcl 04:05:34 edgar-rft [~GOD@HSI-KBW-078-043-120-047.hsi4.kabel-badenwuerttemberg.de] has joined #sbcl 04:58:17 -!- drmeiste_ [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 04:59:03 drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has joined #sbcl 05:19:05 -!- drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 06:36:27 teggi [~teggi@113.173.4.29] has joined #sbcl 06:40:36 -!- ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has quit [Read error: No route to host] 06:40:42 ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has joined #sbcl 06:41:52 sdemarre [~serge@7.124-64-87.adsl-dyn.isp.belgacom.be] has joined #sbcl 06:54:14 -!- fisxoj [~fisxoj@192-0-131-151.cpe.teksavvy.com] has quit [Ping timeout: 264 seconds] 07:06:12 -!- sdemarre [~serge@7.124-64-87.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 268 seconds] 08:02:42 prxq [~mommer@mnhm-590c3e29.pool.mediaWays.net] has joined #sbcl 08:38:47 benkard [~benkard@2a01:198:6d5:0:194e:321a:6701:dcc9] has joined #sbcl 08:42:19 angavrilov [~angavrilo@217.71.227.190] has joined #sbcl 08:57:08 -!- benkard [~benkard@2a01:198:6d5:0:194e:321a:6701:dcc9] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz] 09:00:43 lufu [~user@5.254.134.59] has joined #sbcl 09:01:52 benkard [~benkard@2a01:198:6d5:0:3cab:ce92:2cc7:6d9a] has joined #sbcl 09:07:50 -!- benkard [~benkard@2a01:198:6d5:0:3cab:ce92:2cc7:6d9a] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz] 09:09:54 benkard [~benkard@2a01:198:6d5:0:e5a4:1a9c:d218:174] has joined #sbcl 09:16:22 -!- lufu [~user@5.254.134.59] has quit [Remote host closed the connection] 09:18:58 klltkr [~klltkr@unaffiliated/klltkr] has joined #sbcl 09:26:44 Hydan [~hydan@ip-89-103-110-5.net.upcbroadband.cz] has joined #sbcl 09:50:54 -!- benkard [~benkard@2a01:198:6d5:0:e5a4:1a9c:d218:174] has quit [Ping timeout: 264 seconds] 09:51:31 benkard [~benkard@2a01:198:6d5:0:e5a4:1a9c:d218:174] has joined #sbcl 10:38:49 stassats [~stassats@wikipedia/stassats] has joined #sbcl 11:08:33 -!- loke_erc [~user@2001:470:36:b4a:d168:e884:295e:37ec] has quit [Remote host closed the connection] 11:27:19 -!- ASau [~user@p5797EA3E.dip0.t-ipconnect.de] has quit [Remote host closed the connection] 11:28:39 ASau [~user@p5797EA3E.dip0.t-ipconnect.de] has joined #sbcl 11:30:34 -!- yacks [~py@103.6.159.103] has quit [Ping timeout: 240 seconds] 11:39:31 -!- benkard [~benkard@2a01:198:6d5:0:e5a4:1a9c:d218:174] has quit [Ping timeout: 260 seconds] 11:39:46 yacks [~py@103.6.159.103] has joined #sbcl 11:40:33 benkard [~benkard@2a01:198:6d5:0:e5a4:1a9c:d218:174] has joined #sbcl 11:44:05 -!- ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has quit [Ping timeout: 256 seconds] 11:44:53 ASau` [~user@p4FF96DC2.dip0.t-ipconnect.de] has joined #sbcl 11:48:00 -!- ASau [~user@p5797EA3E.dip0.t-ipconnect.de] has quit [Read error: Operation timed out] 11:51:52 -!- benkard [~benkard@2a01:198:6d5:0:e5a4:1a9c:d218:174] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz] 11:55:26 -!- teggi [~teggi@113.173.4.29] has quit [Remote host closed the connection] 11:57:30 -!- ASau` is now known as ASau 12:11:55 sdemarre [~serge@7.124-64-87.adsl-dyn.isp.belgacom.be] has joined #sbcl 12:19:14 benkard [~benkard@2a01:198:6d5:0:b9b9:fd53:339:d233] has joined #sbcl 12:21:56 -!- sdemarre [~serge@7.124-64-87.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 268 seconds] 12:49:49 -!- benkard [~benkard@2a01:198:6d5:0:b9b9:fd53:339:d233] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz] 12:50:32 dead_ [~dead@62.122.188.214] has joined #sbcl 13:02:02 -!- dead_ is now known as DeadTrickster 13:05:06 -!- DeadTrickster [~dead@62.122.188.214] has quit [Quit: Leaving] 13:05:26 DeadTrickster [~dead@62.122.188.214] has joined #sbcl 13:06:09 -!- DeadTrickster [~dead@62.122.188.214] has quit [Client Quit] 13:06:26 DeadTrickster [~dead@62.122.188.214] has joined #sbcl 13:14:12 Sagane [~Sagane@177.100-226-89.dsl.completel.net] has joined #sbcl 13:16:32 stassats` [~stassats@wikipedia/stassats] has joined #sbcl 13:17:03 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 260 seconds] 13:20:56 drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has joined #sbcl 13:24:51 -!- gko [gko@2400:8900::f03c:91ff:fe70:e605] has left #sbcl 13:50:45 -!- christoph_debian [~christoph@ppp-188-174-73-157.dynamic.mnet-online.de] has quit [Quit: WeeChat 0.3.8] 13:55:25 scymtym_ [~user@ip-5-147-120-181.unitymediagroup.de] has joined #sbcl 13:57:02 -!- drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 14:20:20 christoph_debian [~christoph@ppp-88-217-90-168.dynamic.mnet-online.de] has joined #sbcl 14:23:27 drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has joined #sbcl 14:31:57 benkard [~benkard@2a01:198:6d5:0:e139:4868:18d5:9336] has joined #sbcl 14:41:18 -!- Hydan [~hydan@ip-89-103-110-5.net.upcbroadband.cz] has quit [Ping timeout: 268 seconds] 15:02:56 fisxoj [~fisxoj@192-0-131-151.cpe.teksavvy.com] has joined #sbcl 15:26:02 -!- drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 15:34:13 sdemarre [~serge@7.124-64-87.adsl-dyn.isp.belgacom.be] has joined #sbcl 15:37:46 LiamH [~none@96.231.217.193] has joined #sbcl 15:55:32 drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has joined #sbcl 16:06:22 did netbsd cause sbcl to use c wrappers everywhere? 16:06:41 -!- klltkr [~klltkr@unaffiliated/klltkr] has quit [Quit: WeeChat 0.4.1] 16:07:00 unnecessary c wrappers 16:07:40 without any explanations on, why on earth things "int sb_nanosleep(struct timespec *rqtp, struct timespec *rmtp) {return nanosleep(rqtp, rmtp);}" like exist 16:12:44 yes 16:13:03 it doesn't cause any noticeable slow down, but still 16:16:40 -!- drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 16:17:50 i tried installing netbsd on virtualbox, and while i was able to download a 6.1.1 install cd, there was no servers with 6.1.1 binary packages 16:20:29 stassats`: git blame. 16:20:37 well, i was able to git blame 16:22:55 drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has joined #sbcl 16:25:23 (it didn't help, i had to search the mailing list) 16:39:02 drmeiste_ [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has joined #sbcl 16:39:31 -!- drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has quit [Ping timeout: 264 seconds] 16:44:46 -!- Sagane [~Sagane@177.100-226-89.dsl.completel.net] has quit [Read error: Connection reset by peer] 16:51:13 -!- ASau [~user@p4FF96DC2.dip0.t-ipconnect.de] has quit [Ping timeout: 256 seconds] 16:56:00 ASau [~user@p4FF96DC2.dip0.t-ipconnect.de] has joined #sbcl 16:56:48 -!- yacks [~py@103.6.159.103] has quit [Quit: Leaving] 17:00:52 -!- LiamH [~none@96.231.217.193] has quit [Quit: Leaving.] 17:26:20 -!- milosn [~milosn@cable-178-149-0-183.dynamic.sbb.rs] has quit [Read error: Operation timed out] 17:28:12 davazp [~user@80.31.10.120] has joined #sbcl 17:55:29 yacks [~py@103.6.159.103] has joined #sbcl 18:00:39 -!- fisxoj [~fisxoj@192-0-131-151.cpe.teksavvy.com] has quit [Remote host closed the connection] 18:03:27 Hydan [~hydan@ip-89-103-110-5.net.upcbroadband.cz] has joined #sbcl 18:06:49 fisxoj [~fisxoj@192-0-131-151.cpe.teksavvy.com] has joined #sbcl 18:07:08 ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has joined #sbcl 18:27:02 milosn [~milosn@cable-178-149-0-183.dynamic.sbb.rs] has joined #sbcl 18:39:24 LiamH [~none@96.231.217.193] has joined #sbcl 18:45:25 -!- benkard [~benkard@2a01:198:6d5:0:e139:4868:18d5:9336] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz] 18:48:15 -!- sdemarre [~serge@7.124-64-87.adsl-dyn.isp.belgacom.be] has quit [Ping timeout: 260 seconds] 18:50:50 -!- ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has quit [Ping timeout: 240 seconds] 18:54:41 -!- davazp [~user@80.31.10.120] has quit [Remote host closed the connection] 18:54:47 *stassats`* is having yet another go at https://bugs.launchpad.net/sbcl/+bug/1133018 18:55:49 ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has joined #sbcl 18:57:15 get the following trace: http://paste.lisp.org/display/138856 18:57:48 seems like sigprof is running during gc 19:00:52 it checks whether to defer the handler by looking at PA, but PA is only set upon allocation, not an explicit call to GC 19:10:24 benkard [~benkard@2a01:198:6d5:0:8439:3c3a:e9ec:e877] has joined #sbcl 19:13:17 really? GC allocates, and I'm pretty sure it just sets PA C-side. 19:14:25 /maybe_defer_handler(412df0,27): not deferred, even though the gc is not done yet 19:15:09 that wouldn't work on PA-less builds anyway. 19:15:21 maybe_defer_handler defers in case of without-interrupts, and arch_pseudo_atomic_atomic(context) 19:15:28 this is a PA build 19:16:23 (but with safepoints) 19:17:53 so it should differ only in the way it stops the threads 19:18:03 (with a normal build, which doesn't fail on this test) 19:24:21 Sagane [~Sagane@177.100-226-89.dsl.completel.net] has joined #sbcl 19:25:50 and sub-gc body is inside without-interrupts 19:26:25 -!- edgar-rft [~GOD@HSI-KBW-078-043-120-047.hsi4.kabel-badenwuerttemberg.de] has quit [Quit: mental process ended because all hope lost] 19:28:47 but the signal arrives in a different thread from which the gc was started 19:29:22 i also have something named :SB-THRUPTION enabled 19:36:21 with sb-safepoint enabled i get Unhandled memory fault at #x0. first before ldb 19:37:07 /arranged return to Lisp function (0x0) looks suspicious in the paste above 19:40:52 that zero-fault doesn't happen always 19:41:00 -!- drmeiste_ [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 19:47:39 drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has joined #sbcl 19:48:16 _ln [~ln@84.233.246.170] has joined #sbcl 19:49:43 -!- _ln [~ln@84.233.246.170] has left #sbcl 19:55:34 francogrex [~user@239.163-200-80.adsl-dyn.isp.belgacom.be] has joined #sbcl 19:56:40 hi, http://paste.lisp.org/display/138858 is asm fibonacci of 12. in CMP EAX, 12 and MOV DWORD PTR [EBP-8], 4 there is something weird 19:56:40 19:56:40 19:58:13 it does look weird 19:58:23 MOV DWORD PTR [EBP-8], 4 it is MOV DWORD PTR [EBP-8], 1 but it is converted into 4 19:59:09 4 is a fixnum 1 19:59:48 stassats`: how does this work: (fixnumize 1) gives 4 and the reverse of fixnumize something like (unfixnumize 4) - > 1 ? 20:00:31 you usually do not need unfixnumize 20:00:39 for fixnums the low two bits are zero tag, is all, yeah? 20:00:56 on 32-bits, yes 20:02:18 right. sometthing like (inst cmp eax-tn my-arg) is my-arg is passed as 3 it is converted to 12 but how to pass it as 12 directly 20:02:49 i will show the paste 20:03:31 -!- fisxoj [~fisxoj@192-0-131-151.cpe.teksavvy.com] has quit [Ping timeout: 260 seconds] 20:03:37 http://paste.lisp.org/display/138858#1 like here 20:04:09 why on earth are using stack? 20:04:13 you 20:04:30 first instruction can be removed 20:04:47 (inst push ebp-tn) 20:04:47 is useless 20:05:02 no, (inst mov (make-ea :dword :base ebp-tn :disp -4) (fixnumize 0)) is both wrong and inefficient 20:05:41 copied from gcc 20:05:49 not for efficiency only for trying copy/paste 20:06:29 if you will continue copying without understanding what you're copying, don't come to SBCL for help 20:06:37 and next time, at least use -O2 20:06:57 s/to SBCL/to #sbcl/ 20:07:08 -O2 will .align I don't know how to transform that 20:07:32 tough luck 20:08:58 you don't seem to know assembly very well, why don't you learn it first, before trying to understand how to use SBCL VOPs 20:09:10 which are undocumented and baroque at places 20:09:42 but gcc one of the best, many people told they learn from its output 20:10:05 you're trying to cargo cult, not learn 20:19:02 and if you're learning from gcc output, at least use gas, not sbcl vops 20:20:59 fisxoj [~fisxoj@192-0-131-151.cpe.teksavvy.com] has joined #sbcl 20:29:42 looks like sb-safepoint doesn't block deferrable signals upon stop-the-world 20:30:34 davazp [~user@80.31.10.120] has joined #sbcl 20:32:08 -!- prxq [~mommer@mnhm-590c3e29.pool.mediaWays.net] has quit [Quit: Leaving] 20:39:43 and sb-safepoint is really poorly documented and it's not clear what is intended and what is not 20:40:16 -!- fisxoj [~fisxoj@192-0-131-151.cpe.teksavvy.com] has quit [Ping timeout: 240 seconds] 20:42:20 -!- angavrilov [~angavrilo@217.71.227.190] has quit [Remote host closed the connection] 20:50:37 sorry for returning to such a small issue, but would somebody like to commit http://paste.lisp.org/display/138734 so it is not forgotten? 20:51:36 Vivitron [~Vivitron@c-50-172-44-193.hsd1.il.comcast.net] has joined #sbcl 20:53:21 -!- Vivitron [~Vivitron@c-50-172-44-193.hsd1.il.comcast.net] has quit [Remote host closed the connection] 20:57:02 Vivitron [~Vivitron@c-50-172-44-193.hsd1.il.comcast.net] has joined #sbcl 21:11:05 -!- drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 21:13:06 -!- benkard [~benkard@2a01:198:6d5:0:8439:3c3a:e9ec:e877] has quit [Ping timeout: 264 seconds] 21:18:26 -!- Krystof [~user@81.174.155.115] has quit [Ping timeout: 268 seconds] 21:18:48 -!- ehaliewicz [~user@50-0-51-11.dsl.static.sonic.net] has quit [Read error: Connection reset by peer] 21:19:20 benkard [~benkard@2a01:198:6d5:0:b0f0:afa:a2f4:b590] has joined #sbcl 21:23:41 i actually don't see non-sb-safepoint blocking signals, but they just do not arrive during stop the wolrd 21:25:49 no, it actually does, inside wait_for_thread_state_change 21:29:40 huh, i see now it doesn't actually get the chance to stop the thread until the signal arrives, when the signal handler is executed, it traps on the safepoint 21:29:56 drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has joined #sbcl 21:38:00 so, when one thread is in a C function, it can't be stopped by a safepoint, only sigprof causes a lisp function to run into a safepoint 21:38:19 looks like maybe_defer_handler should really defer it in this situation 21:40:15 -!- LiamH [~none@96.231.217.193] has quit [Quit: Leaving.] 22:00:37 -!- francogrex [~user@239.163-200-80.adsl-dyn.isp.belgacom.be] has quit [Quit: ERC Version 5.2 (IRC client for Emacs)] 22:06:29 -!- benkard [~benkard@2a01:198:6d5:0:b0f0:afa:a2f4:b590] has quit [Quit: My MacBook Pro has gone to sleep. ZZZzzz] 22:07:08 -!- loke [~loke@203.127.16.194] has quit [*.net *.split] 22:07:19 -!- yacks [~py@103.6.159.103] has quit [*.net *.split] 22:07:21 -!- scymtym_ [~user@ip-5-147-120-181.unitymediagroup.de] has quit [*.net *.split] 22:07:24 -!- ivan`` [~ivan@unaffiliated/ivan/x-000001] has quit [*.net *.split] 22:07:28 -!- daimrod [daimrod@sbrk.org] has quit [*.net *.split] 22:07:28 -!- jsnell_ [~jsnell@ash.snellman.net] has quit [*.net *.split] 22:07:29 -!- Sagane [~Sagane@177.100-226-89.dsl.completel.net] has quit [*.net *.split] 22:07:31 -!- bege [~bege@S0106001d7e5132b0.ed.shawcable.net] has quit [*.net *.split] 22:07:50 -!- jdz [~jdz@85.254.212.34] has quit [*.net *.split] 22:07:51 -!- fikusz [~fikusz@catv-89-132-137-62.catv.broadband.hu] has quit [*.net *.split] 22:07:56 -!- flip216 [~marek@217.196.73.213] has quit [*.net *.split] 22:18:30 jdz [~jdz@85.254.212.34] has joined #sbcl 22:18:30 fikusz [~fikusz@catv-89-132-137-62.catv.broadband.hu] has joined #sbcl 22:18:30 flip216 [~marek@217.196.73.213] has joined #sbcl 22:19:09 loke [~loke@203.127.16.194] has joined #sbcl 22:19:09 ivan`` [~ivan@li125-242.members.linode.com] has joined #sbcl 22:19:09 yacks [~py@103.6.159.103] has joined #sbcl 22:19:09 scymtym_ [~user@ip-5-147-120-181.unitymediagroup.de] has joined #sbcl 22:19:09 daimrod [daimrod@sbrk.org] has joined #sbcl 22:19:09 jsnell_ [~jsnell@ash.snellman.net] has joined #sbcl 22:22:19 Sagane [~Sagane@177.100-226-89.dsl.completel.net] has joined #sbcl 22:22:20 bege [~bege@S0106001d7e5132b0.ed.shawcable.net] has joined #sbcl 22:41:38 it creates a page which is to be protected and which is touched upon exit from a foreign function 22:58:13 -!- stassats` [~stassats@wikipedia/stassats] has quit [Remote host closed the connection] 22:58:54 stassats [~stassats@wikipedia/stassats] has joined #sbcl 23:02:26 oh my, looks like i've found the culprit 23:03:00 https://github.com/sbcl/sbcl/blob/master/src/runtime/interrupt.c#L1092 23:03:45 it allocates a sap without check for the safepoint first, moving those allocations after WITH_GC_AT_SAFEPOINTS_ONLY() fixes the issue 23:03:57 once again, it turns out to be trivial 23:17:38 -!- Hydan [~hydan@ip-89-103-110-5.net.upcbroadband.cz] has quit [Ping timeout: 264 seconds] 23:19:43 *stassats* is quite happy about this 23:20:17 safepoints can now be recommended at least on linux/x86oids 23:20:22 -!- Sagane [~Sagane@177.100-226-89.dsl.completel.net] has quit [Read error: Connection reset by peer] 23:26:03 -!- drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has quit [Remote host closed the connection] 23:26:29 drmeister [~drmeister@pool-173-59-25-58.phlapa.fios.verizon.net] has joined #sbcl 23:38:52 -!- stassats [~stassats@wikipedia/stassats] has quit [Ping timeout: 264 seconds]