[Ecls-list] BUG: SEGMENTATION-VIOLATION in code with DEFTYPE unicode char
Eric Marsden
eric.marsden at free.fr
Sun Nov 13 18:06:18 UTC 2011
>>>>> "jgr" == Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> writes:
jgr> A few things would be helpful
jgr>
jgr> - Configuration flags for ECL
jgr> - Value of *features*
jgr> - Output of DISASSEMBLE
ECL is configured with "--enable-threads --enable-unicode", giving
features
(:ASDF2 :ASDF :ASDF-UNIX :LINUX :FORMATTER :ECL-READ-WRITE-LOCK :LONG-LONG
:UINT64-T :UINT32-T :UINT16-T :RELATIVE-PACKAGE-NAMES :LONG-FLOAT :UNICODE
:DFFI :CLOS-STREAMS :CMU-FORMAT :UNIX :ECL-PDE :DLOPEN :CLOS :THREADS
:BOEHM-GC :ANSI-CL :COMMON-LISP :IEEE-FLOATING-POINT :PREFIXED-API :FFI
:X86_64 :COMMON :ECL)
The bytecode disassembly of my function is below. However, the function
works fine when byte-compiled, only segfaulting when using the C
compiler. I haven't managed to obtain disassembly when compiled via C.
,----
| Name: FOO
| Documentation: NIL
| Declarations: ((C-GLOBAL) (OPTIMIZE (SAFETY 0)) (TYPE (MEMBER þ) P2))
| 0 POP REQ
| 1 BIND P1
| 3 POP REQ
| 4 BIND P2
| 6 NOMORE
| 7 PUSHV 1
| 9 VAR 0
| 11 CALLG2 EQUALP
| 13 EXIT
`----
Thanks,
--
Eric Marsden
More information about the ecl-devel
mailing list