|
From: Angel P. <ang...@ya...> - 2011-07-18 05:55:51
|
Hi,
It happens clisp (compiled on archlinux from the latest source - no multi-threading) to crash. It does not happened all the time and is not perfectly reproducible.
When run under gdb, backtrace is:
#1 0x0000000000598baa in equal (obj1=..., obj2=...) at ../src/predtype.d:122
#2 0x000000000046a6d4 in sym_function (sym=..., env=...) at ../src/eval.d:1023
#3 0x000000000046b6f1 in macroexp (form=..., venv=..., fenv=...) at ../src/eval.d:1418
#4 0x0000000000473a73 in eval1 (form=...) at ../src/eval.d:3054
#5 0x000000000047362b in eval (form=...) at ../src/eval.d:2966
#6 0x00000000004939b3 in C_cond () at ../src/control.d:1251
#7 0x00000000004746f0 in eval_fsubr (fun=..., args=...) at ../src/eval.d:3263
#8 0x0000000000473cb3 in eval1 (form=...) at ../src/eval.d:3101
#9 0x000000000047362b in eval (form=...) at ../src/eval.d:2966
#10 0x0000000000490df3 in C_let () at ../src/control.d:692
#11 0x00000000004746f0 in eval_fsubr (fun=..., args=...) at ../src/eval.d:3263
#12 0x0000000000473cb3 in eval1 (form=...) at ../src/eval.d:3101
#13 0x000000000047362b in eval (form=...) at ../src/eval.d:2966
#14 0x0000000000472737 in funcall_iclosure (closure=..., args_pointer=0x7ffff6ab26c0, argcount=0) at ../src/eval.d:2744
#15 0x0000000000478e8c in eval_closure (closure=...) at ../src/eval.d:3935
#16 0x0000000000473c38 in eval1 (form=...) at ../src/eval.d:3091
#17 0x000000000047362b in eval (form=...) at ../src/eval.d:2966
#18 0x00000000004939b3 in C_cond () at ../src/control.d:1251
#19 0x00000000004746f0 in eval_fsubr (fun=..., args=...) at ../src/eval.d:3263
(gdb) print obj1
Cannot access memory at address 0x7fffff7fefe0
(gdb) print obj2
Cannot access memory at address 0x7fffff7fefd0
but
(gdb) up
#1 0x0000000000598baa in equal (obj1=..., obj2=...) at ../src/predtype.d:122
(gdb) print obj1
$7 = {one_o = 1125913662696264}
(gdb) print obj2
$8 = {one_o = 1125899916347576}
Would you suggest how to investigate further?
Is there a way to decipher these obj1 and obj2?
Regards, AngelP |
|
From: Sam S. <sd...@gn...> - 2011-07-18 13:07:27
|
> * Angel Popov <nat...@ln...> [2011-07-17 22:55:43 -0700]: > > It happens clisp (compiled on archlinux from the latest source - no > multi-threading) to crash. It does not happened all the time and is not > perfectly reproducible. are you building with ffcall? this might be related to http://sourceforge.net/tracker/?func=detail&aid=1913760&group_id=1355&atid=101355 > Would you suggest how to investigate further? http://www.clisp.org/impnotes/faq.html#faq-debug > Is there a way to decipher these obj1 and obj2? zout will print any object using Lisp PRIN1 (which may trigger GC making further investigation pointless). xout will print some objects using non-consing C functions. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://truepeace.org http://camera.org http://ffii.org http://mideasttruth.com http://jihadwatch.org http://www.memritv.org http://pmw.org.il Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. |
|
From: Angel P. <ang...@ya...> - 2011-07-28 08:03:59
|
Thanks, After upgrade/update of Arch, it works now. Regards, AngelP ________________________________ From: Sam Steingold <sd...@gn...> To: cli...@li...; Angel Popov <ang...@ya...> Sent: Monday, July 18, 2011 4:07 PM Subject: Re: Segfault on eql > * Angel Popov <nat...@ln...> [2011-07-17 22:55:43 -0700]: > > It happens clisp (compiled on archlinux from the latest source - no > multi-threading) to crash. It does not happened all the time and is not > perfectly reproducible. are you building with ffcall? this might be related to http://sourceforge.net/tracker/?func=detail&aid=1913760&group_id=1355&atid=101355 > Would you suggest how to investigate further? http://www.clisp.org/impnotes/faq.html#faq-debug > Is there a way to decipher these obj1 and obj2? zout will print any object using Lisp PRIN1 (which may trigger GC making further investigation pointless). xout will print some objects using non-consing C functions. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://truepeace.org http://camera.org http://ffii.org http://mideasttruth.com http://jihadwatch.org http://www.memritv.org http://pmw.org.il Lottery is a tax on statistics ignorants. MS is a tax on computer-idiots. |