|
From: Jerry J. <log...@gm...> - 2011-06-24 22:59:39
|
On Fri, Jun 24, 2011 at 2:19 PM, Sam Steingold <sd...@gn...> wrote:
> Thanks for the nice patch. However, I committed a different one because
> I want to preserve support for libsvm 2.*.
> Please try hg tip.
Okay, I'll try to do that this weekend.
> please paste the failing form into clisp and see what happens.
> I see this:
This is interesting. I get the same crash from the already-built
clisp binaries on both Fedora 15 and Fedora Rawhide. Somehow those
binaries were built without the crash happening at build time, though.
After buildilng with debug turned on, here's the first part of the
backtrace:
(gdb) bt
#0 0x00007fffef5b5bf8 in to_gb18030 (irreversible=0x7ffffffedd00,
outend=0x7ffffffedfd8 "", outptrp=read_sleb128: Corrupted DWARF expression.
) at ../iconv/loop.c:332
#1 gconv (step=0x900eb0, data=0x900900, inptrp=0x7ffffffedf10,
inend=0x7ffffffedea4 "\003", outbufstart=0x0, irreversible=0x7ffffffede00,
do_flush=0, consume_incomplete=0) at ../iconv/skeleton.c:615
#2 0x00000037852224f4 in __gconv (cd=0x9008f0, inbuf=0x7ffffffedf10,
inbufend=0x7ffffffedea4 "\003", outbuf=0x7ffffffedf18,
outbufend=<optimized out>, irreversible=0x7ffffffede00) at gconv.c:80
#3 0x0000003785221b0a in iconv (cd=<optimized out>, inbuf=0x7ffffffedf10,
inbytesleft=0x7ffffffedf08, outbuf=0x7ffffffedf18,
outbytesleft=0x7ffffffedf20) at iconv.c:53
#4 0x00000000004a9188 in iconv_range (encoding=..., start=0, end=1114111,
maxintervals=4294967295) at ../src/stream.d:4416
#5 0x0000000000476906 in C_charset_range () at ../src/encoding.d:2179
#6 0x0000000000453c77 in funcall_subr (fun=..., args_on_stack=4)
at ../src/eval.d:5227
Hmmmmm, and we got a new glibc on June 3 (Fedora 15) / June 7
(Rawhide). It looks like there might be something wrong with the new
one. If I can come up with some C code that produces the same crash,
I'll file a bug report.
> this means that rl_set_prompt is not available in your libreadline.
> what does
> $ grep rl_set_prompt /usr/include/readline/readline.h
> say?
I think I see what's going on here. I attempted to build against
readline 5 to avoid the license problems with linking clisp against
readline 6. It appears I bungled the job. I'll try again.
Thanks for your reply.
--
Jerry James
http://www.jamezone.org/
|