From: SourceForge.net <no...@so...> - 2009-05-06 02:27:08
|
Bugs item #2787617, was opened at 2009-05-06 14:27 Message generated for change (Tracker Item Submitted) made by tyc20 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=2787617&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: clisp Group: segfault Status: Open Resolution: None Priority: 5 Private: No Submitted By: TY C (tyc20) Assigned to: Bruno Haible (haible) Summary: Segfault on encode-universal-time on Windows binary Initial Comment: I'm using the pre-built Windows binary as shown below. C:\Program Files\clisp-2.47>clisp.exe --version GNU CLISP 2.47 (2008-10-23) (built on stnt067 [192.168.0.1]) Software: GNU C 3.4.5 (mingw-vista special r3) gcc -mno-cygwin -O2 -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-ty pe -Wmissing-declarations -Wno-sign-compare -O2 -fexpensive-optimizations -falig n-functions=4 -D_WIN32 -DUNICODE -DDYNAMIC_FFI -I. -x none -lintl -lreadline -lt ermcap -lavcall -lcallback -luser32 -lws2_32 -lole32 -loleaut32 -luuid -liconv - lsigsegv SAFETY=0 HEAPCODES STANDARD_HEAPCODES GENERATIONAL_GC SPVW_BLOCKS SPVW_MIXED TRI VIALMAP_MEMORY libsigsegv 2.6 libiconv 1.11 libreadline 5.2 Features: (READLINE REGEXP SYSCALLS I18N LOOP COMPILER CLOS MOP CLISP ANSI-CL COMMON-LISP LISP=CL INTERPRETER SOCKETS GENERIC-STREAMS LOGICAL-PATHNAMES SCREEN FFI GETTEXT UNICODE BASE-CHAR=CHARACTER PC386 WIN32) C Modules: (clisp i18n syscalls regexp readline) Installation directory: C:\Program Files\clisp-2.47\ User language: ENGLISH Machine: PC/386 (PC/?86) mb6596_chewyong.lvl.local [10.6.91.29] C:\Program Files\clisp-2.47> When trying the following, dates near or before 1 Jan 1970 cause segfaults. [1]> (encode-universal-time 0 0 0 1 1 2009) 3439710000 [2]> (encode-universal-time 0 0 0 2 1 1970) 2209028400 [3]> (encode-universal-time 0 0 1 1 1 1970) *** - handle_fault error2 ! address = 0x0 not in [0x19d90000,0x19f2d920) ! SIGSEGV cannot be cured. Fault address = 0x0. GC count: 3 Space collected by GC: 0 1422192 Run time: 0 2500000 Real time: 0 353756792 GC time: 0 156250 Permanently allocated: 93984 bytes. Currently in use: 2783908 bytes. Free space: 469794 bytes. The closest I got was about here: [6]> (encode-universal-time 0 0 13 1 1 1970) 2208988800 [7]> (encode-universal-time 0 30 12 1 1 1970) *** - handle_fault error2 ! address = 0x0 not in [0x19d90000,0x19f12efc) ! SIGSEGV cannot be cured. Fault address = 0x0. GC count: 0 Space collected by GC: 0 0 Run time: 0 781250 Real time: 0 353913045 GC time: 0 0 Permanently allocated: 92384 bytes. Currently in use: 2249892 bytes. Free space: 452233 bytes. It seems anything previous to that also segfaults. Not sure if time zone/daylight savings is important, but I'm at NZST +12hrs. An older cygwin version (own build) of clisp-2.41 runs all the above just fine. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=101355&aid=2787617&group_id=1355 |