From: SourceForge.net <no...@so...> - 2012-04-24 19:59:27
|
Bugs item #3521153, was opened at 2012-04-24 12:59 Message generated for change (Tracker Item Submitted) made by sds You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3521153&group_id=1355 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: multithreading Group: lisp error Status: Open Resolution: None Priority: 5 Private: No Submitted By: Sam Steingold (sds) Assigned to: Vladimir Tzankov (vtz) Summary: mt: module/linux error Initial Comment: $ make full-mod-check MODULES=bindings/glibc ... (DEFPARAMETER *SIGACT* (SHOW (LINUX:signal-action-retrieve LINUX:SIGINT))) #S(LINUX:sigaction :SA_HANDLER NIL :SA_MASK #S(LINUX:sigset_t :VAL #()) :SA_FLAGS 0 :SA_RESTORER #<FOREIGN-ADDRESS #x00002AB7D29E4420>) EQL-OK: *SIGACT* (DEFPARAMETER *SAVEHANDLER* (LINUX:sa-handler *SIGACT*)) EQL-OK: *SAVEHANDLER* (DEFPARAMETER *SIGNALS* NIL) EQL-OK: *SIGNALS* (DEFUN TEST-HANDLER (S) (DECLARE (COMPILE)) (PUSH S *SIGNALS*)) EQL-OK: TEST-HANDLER (PROGN (SETF (LINUX:sa-handler *SIGACT*) #'TEST-HANDLER) (LINUX:signal-action-install LINUX:SIGINT *SIGACT*)) EQL-OK: NIL *SIGNALS* EQL-OK: NIL (KILL (PROCESS-ID) :SIGINT) EQL-OK: *** - Condition of type SYSTEM::INTERRUPT-CONDITION. Bye. I guess the signal is received by a different thread than the thread which has the signal handler installed. I wonder if this test could be adapted to the MT clisp build. Maybe the correct solution is to remove the signal ffi code altogether and implement that separately? Vladimir, this is your call. GNU CLISP 2.49+ (2010-07-17) (built 3544263222) (memory 3544285389) Software: GNU C 4.6.1 gcc -W -Wswitch -Wcomment -Wpointer-arith -Wreturn-type -Wmissing-declarations -Wimplicit -Wno-sign-compare -Wno-format-nonliteral -falign-functions=4 -pthread -g -O0 -DDEBUG_OS_ERROR -DDEBUG_SPVW -DDEBUG_BYTECODE -DSAFETY=3 -DENABLE_UNICODE -DMULTITHREAD -DPOSIX_THREADS -DDYNAMIC_FFI -DDYNAMIC_MODULES libgnu.a -lreadline -lncurses -ldl /usr/lib/libavcall.a /usr/lib/libcallback.a -lsigsegv SAFETY=3 TYPECODES WIDE_HARD SPVW_BLOCKS SPVW_MIXED TRIVIALMAP_MEMORY libsigsegv 2.9 libreadline 6.2 libffcall 1.11 Features: (READLINE REGEXP WILDCARD SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER LOGICAL-PATHNAMES MT SOCKETS GENERIC-STREAMS SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER WORD-SIZE=64 PC386 UNIX) C Modules: (clisp i18n syscalls regexp readline) Installation directory: /home/sds/src/clisp/current/build-mt-g/ User language: ENGLISH Machine: X86_64 (X86_64) t520sds [127.0.1.1] ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=3521153&group_id=1355 |