00:08:14 -!- homie [~homie@xdsl-78-35-152-14.netcologne.de] has quit [Ping timeout: 240 seconds] 00:09:07 -!- wbooze [~wbooze@xdsl-78-35-152-14.netcologne.de] has quit [Ping timeout: 256 seconds] 00:41:33 -!- LiamH [~healy@pool-108-7-208-203.bstnma.fios.verizon.net] has quit [Quit: Leaving.] 00:57:49 LiamH [~healy@pool-108-7-208-203.bstnma.fios.verizon.net] has joined #sbcl 01:37:34 kanru` [~kanru@118-163-10-190.HINET-IP.hinet.net] has joined #sbcl 01:42:25 -!- LiamH [~healy@pool-108-7-208-203.bstnma.fios.verizon.net] has quit [Quit: Leaving.] 02:32:05 Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #sbcl 02:43:39 attila_lendvai [~attila_le@37.99.38.229] has joined #sbcl 02:43:40 -!- attila_lendvai [~attila_le@37.99.38.229] has quit [Changing host] 02:43:40 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 03:22:09 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Ping timeout: 260 seconds] 03:22:48 attila_lendvai [~attila_le@176.222.175.184] has joined #sbcl 03:22:48 -!- attila_lendvai [~attila_le@176.222.175.184] has quit [Changing host] 03:22:48 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 04:10:55 huangjs [~huangjs@69.84.244.131] has joined #sbcl 05:34:21 -!- superjudge [~mjl@c83-250-198-227.bredband.comhem.se] has quit [Ping timeout: 256 seconds] 05:53:36 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 06:04:38 sdemarre [~serge@91.176.0.118] has joined #sbcl 06:05:49 prxq [~mommer@mnhm-5f75f4b2.pool.mediaWays.net] has joined #sbcl 06:43:42 angavrilov [~angavrilo@217.71.227.190] has joined #sbcl 06:50:36 attila_lendvai [~attila_le@37.99.77.95] has joined #sbcl 06:50:36 -!- attila_lendvai [~attila_le@37.99.77.95] has quit [Changing host] 06:50:36 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 07:03:41 jdz [~jdz@85.254.212.248] has joined #sbcl 08:11:28 -!- pchrist [~spirit@gentoo/developer/pchrist] has quit [Quit: leaving] 08:11:52 pchrist [~spirit@gentoo/developer/pchrist] has joined #sbcl 08:46:42 DGASAU [~user@91.218.144.129] has joined #sbcl 08:46:48 -!- Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 08:59:10 -!- cmm [~cmm@bzq-79-183-222-211.red.bezeqint.net] has quit [Read error: Connection reset by peer] 09:00:49 cmm [~cmm@bzq-79-181-199-68.red.bezeqint.net] has joined #sbcl 09:44:16 galdor [galdor@78.193.58.122] has joined #sbcl 09:44:50 SBCL 1.0.58 regularly crash with the following error: 09:44:53 fatal error encountered in SBCL pid 7309(tid 140737305900800): 09:44:53 thread_state: os_sem_wait(0x7ffff6548000): Function not implemented 09:44:53 09:45:08 My application runs a thread, and slime is also running 09:45:17 is that a known issue ? 09:56:36 (platform is Linux 64 bit) 10:01:26 it is not an issue that I am aware of 10:03:26 ancient kernel? 10:03:41 3.5.5 10:03:54 I'm gonna try SBCL 1.1.0, who knows 10:04:33 self-configured kernel that might be missing features? 10:05:04 it's Archlinux's default kernel 10:05:36 I didn't work with SBCL for two weeks and I updated Arch several times since then 10:05:43 and I didn't have this issue before 10:06:23 it may be something weird in the last .config of Arch, I'll have a look 10:32:16 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Read error: Connection reset by peer] 10:33:36 attila_lendvai [~attila_le@37.99.77.95] has joined #sbcl 10:33:37 -!- attila_lendvai [~attila_le@37.99.77.95] has quit [Changing host] 10:33:37 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 11:25:21 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 11:39:00 -!- kanru` [~kanru@118-163-10-190.HINET-IP.hinet.net] has quit [Ping timeout: 256 seconds] 12:04:21 gko [~user@114-34-168-13.HINET-IP.hinet.net] has joined #sbcl 12:09:07 galdor: is that arch's sbcl version? Or did you install it yourself? 12:09:20 it's arch's sbcl 12:09:41 I just updated both my kernel and sbcl (3.5.6 and 1.1.0), I'll see if I can reproduce after lunch 12:15:20 arch has shipped broken sbcl binaries before. 13:36:00 well, updating to 1.1.0 wasn't a good idea, I now crash sbcl with tons of "Memory fault at 0 (pc=0x1000354bb1, sp=0x7ffff65505d0)" as soon as a client connects to my server 13:36:19 I'm gonna try to build sbcl myself 14:06:44 galdor: did it work? 14:09:30 I still get these memory fault 14:13:14 milanj [~milanj_@178-223-146-31.dynamic.isp.telekom.rs] has joined #sbcl 14:16:38 I attached with gdb and got tons of segfaults, with a lovely stack trace full of ?? 14:17:09 -!- asedeno_work [asedeno@nat/google/x-zornhrjqnagcyzel] has quit [Read error: Connection reset by peer] 14:17:11 weird 14:17:56 galdor: do you use ffi? 14:17:59 I think I'm gonna go back to 1.0.58 14:18:01 yep I am 14:18:14 for the moment only libc functions 14:26:25 and I confirm that with 1.0.58, no memory fault at all 14:26:38 but still "thread_state: os_sem_wait(0x7ffff6548000): Function not implemented" 14:27:09 I can't understand how it's possible to create a semaphore, but calling sem_wait() fails with ENOSYS 14:27:26 galdor: you miscompiled your kernel 14:27:41 I didn't compiled it, it's Archlinux's default one 14:27:51 disabling SysV-style shared memory 14:27:52 asedeno_work [asedeno@nat/google/x-fygsyqnrlfielvvi] has joined #sbcl 14:28:01 /dev/shm is mounted (and if it wasn't, creating semaphores would fail) 14:28:11 do you mean they should not be disabled ? 14:28:13 actually, SysV-style semaphores 14:28:18 afaik sem_open() is posix 14:29:00 well, ENOSYS means that the syscall is not present in the kernel 14:29:19 so it's either the kernel or a bad glibc 14:29:39 sem_wait() fails with ENOSYS; so sbcl was able to call sem_open() without ENOSYS, meaning that semaphores are supported 14:30:02 furthermore, sysconf(_SC_SEMAPHORES) returns 200809 14:34:04 I can't find anything related in the last updates of Arch's .config and in the glibc package 14:47:04 Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has joined #sbcl 14:49:25 attila_lendvai [~attila_le@176.222.175.184] has joined #sbcl 14:49:26 -!- attila_lendvai [~attila_le@176.222.175.184] has quit [Changing host] 14:49:27 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 14:55:28 homie [~homie@xdsl-78-35-180-183.netcologne.de] has joined #sbcl 14:58:18 wbooze [~wbooze@xdsl-78-35-180-183.netcologne.de] has joined #sbcl 15:01:59 fauzi [~fauzi@isdn-tsk-238-92.tm.net.my] has joined #sbcl 15:09:44 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 15:10:31 it's funny, the last thing strace gets in the thread calling all ffi functions is a call to futex() 15:14:30 -!- DGASAU [~user@91.218.144.129] has quit [Read error: Connection reset by peer] 15:16:47 and I can trigger the problem sometimes just by calling (GC) 15:17:12 attila_lendvai [~attila_le@176.222.175.184] has joined #sbcl 15:17:12 -!- attila_lendvai [~attila_le@176.222.175.184] has quit [Changing host] 15:17:12 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 15:24:46 DGASAU [~user@91.218.144.129] has joined #sbcl 15:48:10 -!- sdemarre [~serge@91.176.0.118] has quit [Ping timeout: 246 seconds] 15:51:26 well, lack of working futexes in libc or kernel could explain both symptoms 15:52:04 maybe kernel and libc are both fine on their own, but aren't matching versions? Is that sort of thing possible? 15:52:51 I had an update from kernel 3.5.4 to 3.5.5 yesterday, and I started having the problem today, after rebooting 15:52:57 the glibc wasn't modified 15:53:06 and I still have the problem with 3.5.6 15:53:31 I can't see what to do that to try to downgrade to 3.5.4 15:54:18 it doesn't make sense anyway, I just read the implementation of sem_wait() in glibc 2.16, there's no way it can set errno to ENOSYS 15:55:15 in that case it must be the kernel 15:55:28 try downgrading and see what happens 16:04:52 oh well same problem with the old 3.5.4 kernel 16:08:03 and sbcl 1.1.0 is still violently crashing 16:10:39 -!- wbooze [~wbooze@xdsl-78-35-180-183.netcologne.de] has quit [Remote host closed the connection] 16:19:28 -!- specbot [~specbot@tiger.common-lisp.net] has quit [Remote host closed the connection] 16:21:08 specbot [~specbot@tiger.common-lisp.net] has joined #sbcl 16:24:26 wbooze [~wbooze@xdsl-78-35-180-183.netcologne.de] has joined #sbcl 16:35:25 -!- fauzi [~fauzi@isdn-tsk-238-92.tm.net.my] has quit [Quit: Leaving] 16:52:03 -!- Vivitron [~Vivitron@pool-98-110-213-33.bstnma.fios.verizon.net] has quit [Remote host closed the connection] 17:01:03 -!- slyrus_ [~chatzilla@adsl-99-183-243-129.dsl.pltn13.sbcglobal.net] has quit [Ping timeout: 260 seconds] 17:10:29 ok, regarding the crashes in sbcl 1.1.0, I'm an idiot; I forgot to initialize the address_len parameter of accept() before the ffi call, thus the crash 17:10:57 no idea why it didn't crash in previous sbcl versions though 17:11:24 perhaps foreign vars are now initialized at 0 while they where undefined before, and I was lucky 17:11:32 you got lucky with undefined behaviour. 17:26:45 -!- milanj [~milanj_@178-223-146-31.dynamic.isp.telekom.rs] has quit [Read error: Connection timed out] 17:27:23 milanj [~milanj_@178-223-146-31.dynamic.isp.telekom.rs] has joined #sbcl 17:35:24 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 17:42:21 attila_lendvai [~attila_le@176.222.175.184] has joined #sbcl 17:42:21 -!- attila_lendvai [~attila_le@176.222.175.184] has quit [Changing host] 17:42:21 attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has joined #sbcl 17:45:45 -!- gko [~user@114-34-168-13.HINET-IP.hinet.net] has quit [Quit: ERC Version 5.3 (IRC client for Emacs)] 18:31:49 slyrus_ [~chatzilla@173-228-44-92.dsl.static.sonic.net] has joined #sbcl 18:47:34 superjudge [~mjl@c83-250-198-227.bredband.comhem.se] has joined #sbcl 18:50:19 -!- superjudge [~mjl@c83-250-198-227.bredband.comhem.se] has quit [Client Quit] 18:50:36 superjudge [~mjl@c83-250-198-227.bredband.comhem.se] has joined #sbcl 19:17:15 Fare [fare@nat/google/x-agalakpyjypulsra] has joined #sbcl 19:39:42 -!- attila_lendvai [~attila_le@unaffiliated/attila-lendvai/x-3126965] has quit [Quit: Leaving.] 20:02:28 -!- angavrilov [~angavrilo@217.71.227.190] has quit [Ping timeout: 248 seconds] 20:16:38 -!- prxq [~mommer@mnhm-5f75f4b2.pool.mediaWays.net] has quit [Quit: Leaving] 20:16:52 prxq [~mommer@mnhm-5f75f4b2.pool.mediaWays.net] has joined #sbcl 20:18:21 -!- superjudge [~mjl@c83-250-198-227.bredband.comhem.se] has quit [Quit: leaving] 20:29:51 -!- slyrus_ [~chatzilla@173-228-44-92.dsl.static.sonic.net] has quit [Remote host closed the connection] 20:30:08 sdemarre [~serge@91.176.0.118] has joined #sbcl 20:47:08 -!- ASau [~user@95-24-181-228.broadband.corbina.ru] has quit [Read error: Connection reset by peer] 21:15:53 -!- sdemarre [~serge@91.176.0.118] has quit [Ping timeout: 246 seconds] 21:30:55 ASau [~user@95-24-181-228.broadband.corbina.ru] has joined #sbcl 22:11:16 -!- prxq [~mommer@mnhm-5f75f4b2.pool.mediaWays.net] has quit [Quit: Leaving] 23:23:38 -!- Fare [fare@nat/google/x-agalakpyjypulsra] has quit [Ping timeout: 246 seconds] 23:36:43 -!- milanj [~milanj_@178-223-146-31.dynamic.isp.telekom.rs] has quit [Ping timeout: 246 seconds]