On Mon, May 18, 2009 at 4:14 AM, Attila Lendvai attila.lendvai@gmail.com wrote:
Try downgrading your SBCL to see if that solves the problem, and if it does, wait for an usocket update.
that's not it and it only happens with a few days old, freshly compiled sbcl.
on the other hand sbcl's network stuff is the last source of major stability issues we have with our codebase, that's why i have it on my TODO to add an option to use iolib for the network communication in cl-postgres. i've seen sub-serve-event too many times in weird backtraces...
It's definitely not a postmodern/cl-postgres issue... Out of curiosity, I tried using CLSQL (4.0.3) with its :postgresql-socket interface under similar circumstances. Ended up with similar SBCL unhappiness: nothing showing up in the postgresql server log but "broken pipe" errors triggering SBCL (1.0.28) sporadically dropping into ldb with
Signal 13 masked fatal error encountered in SBCL pid [somepid](tid [sometid]): some deferrable signals blocked, some unblocked
The ldb backtraces all look pretty similar (example backtrace below).
- Alan
Backtrace: 0: Foreign fp = 0xb70abec8, ra = 0x8059314 1: Foreign fp = 0xb70abee8, ra = 0x8055afe 2: Foreign fp = 0xb70abf98, ra = 0x8056616 3: Foreign fp = 0xb70abfd8, ra = 0x8056f0b 4: Foreign fp = 0xb70abff8, ra = 0x8057089 5: Foreign fp = 0xb70ac028, ra = 0x8058c4a 6: Foreign fp = 0xb70ac444, ra = 0xb7fe5440 7: Foreign fp = 0xb70ac564, ra = 0xb75c6b79 8: Foreign fp = 0xb70ac724, ra = 0xb75c6ced 9: Foreign fp = 0xb70ac854, ra = 0xb75be9be 10: Foreign fp = 0xb70ac874, ra = 0xb75bc36b 11: Foreign fp = 0xb70ac894, ra = 0xb75be00c 12: (SB-PCL::FAST-METHOD CLSQL-SYS::DATABASE-QUERY (COMMON-LISP::T CLSQL-POSTGRESQL::POSTGRESQL-DATABASE COMMON-LISP::T COMMON-LISP::T)) 13: (COMMON-LISP::LAMBDA (SB-PCL::.PV. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. SB-PCL::.ARG1. SB-PCL::.ARG2. SB-PCL::.ARG3.)) 14: (SB-C::TL-XEP (SB-PCL::FAST-METHOD CLSQL-SYS::QUERY (COMMON-LISP::STRING))) 15: (SB-C::TL-XEP SQLG::COLUMNS-FROM-TABLE-WHERE) 16: SQLG::ATOM-FROM-TABLE-WHERE 17: RP-GENEVAL::GET-PROGRAM-FROM-DB 18: (SB-C::TL-XEP RP-GENEVAL::GET-TEMPLATE-MATCH01) 19: RP-GENEVAL::KSST-CORE 20: SB-INT::SIMPLE-EVAL-IN-LEXENV 21: (SB-C::HAIRY-ARG-PROCESSOR RP-GENEVAL::KRW) 22: RP-GENEVAL::KRWU 23: SB-INT::SIMPLE-EVAL-IN-LEXENV 24: (SB-C::HAIRY-ARG-PROCESSOR RP-GENEVAL::KRW) 25: RP-GENEVAL::KRWU 26: SB-INT::SIMPLE-EVAL-IN-LEXENV 27: (SB-C::HAIRY-ARG-PROCESSOR RP-GENEVAL::RPG-EVAL) 28: (SB-C::HAIRY-ARG-PROCESSOR RP-GENEVAL::EVAL-METHOD) 29: (SB-C::HAIRY-ARG-PROCESSOR RP-GENEVAL::CRITERION-FUNCTION) 30: (SB-C::HAIRY-ARG-PROCESSOR RP-GENEVAL::EVALUATE-PROGRAM-INTERNAL) 31: (SB-C::TL-XEP RP-GENEVAL::EVALUATE-*PROGRAM-POPULATION*-FITNESS)