[ clisp-Bugs-1913760 ] GC crash on amd64 without FFCALL

View: New views
1 Messages — Rating Filter:   Alert me  

[ clisp-Bugs-1913760 ] GC crash on amd64 without FFCALL

by SourceForge.net :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Bugs item #1913760, was opened at 2008-03-13 14:51
Message generated for change (Comment added) made by sds
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1913760&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: Sam Steingold (sds)
Assigned to: Bruno Haible (haible)
Summary: GC crash on amd64 without FFCALL

Initial Comment:
Linux nyc-qws-005 2.6.18.8pavel_64bit #5 SMP PREEMPT Tue May 8 12:28:30 EDT 2007 x86_64 x86_64 x86_64 GNU/Linux

(gdb) boot
(gdb) run_test streams
connected...HTTP/1.1 200 OK...69,621 bytes
;; SYSTEM::GET-STRING-MAP(#<IO INPUT-BUFFERED SOCKET-STREAM CHARACTER clisp.cons.org:80>)...
Program received signal SIGSEGV, Segmentation fault.
0x00000000004a040e in rd_ch_buffered (stream_=0x2af21835b708)
    at ../src/stream.d:6501
6501        Encoding_mbstowcs(encoding)
(gdb) where
#0  0x00000000004a040e in rd_ch_buffered (stream_=0x2af21835b708)
    at ../src/stream.d:6501
#1  0x00000000004bada3 in read_line (stream_=0x2af21835b708,
    buffer_=0x2af21835b6f8) at ../src/stream.d:15806
#2  0x0000000000491bd2 in read_line_twoway (stream={one_o = 3096238497191864},
    buffer_=0x2af21835b6f8) at ../src/stream.d:2174
#3  0x00000000004bad77 in read_line (stream_=0x2af21835b6d8,
    buffer_=0x2af21835b6f8) at ../src/stream.d:15800
#4  0x00000000004d5dd1 in C_read_line () at ../src/io.d:4501
#5  0x000000000044dc31 in interpret_bytecode_ (closure=
      {one_o = 2533288543443624}, codeptr=0x333bed7a8,
    byteptr=0x333bed831 "\002j\002j\002\222\001k\0023\002\025\026\003\025\031\002-\004\a") at ../src/eval.d:7648
#6  0x0000000000442336 in funcall_closure (closure={one_o = 2533288543456568},
    args_on_stack=1) at ../src/eval.d:5627
#7  0x000000000043fad6 in funcall (fun={one_o = 1125913659902464},
    args_on_stack=1) at ../src/eval.d:4864
#8  0x000000000044664a in interpret_bytecode_ (closure=
      {one_o = 2533288543459208}, codeptr=0x333bf0ee8,
    byteptr=0x333bf0f38 "") at ../src/eval.d:6777
#9  0x0000000000442336 in funcall_closure (closure={one_o = 2533288543459208},
    args_on_stack=0) at ../src/eval.d:5627
#10 0x000000000043fad6 in funcall (fun={one_o = 1125913659903664},
    args_on_stack=0) at ../src/eval.d:4864
#11 0x0000000000446552 in interpret_bytecode_ (closure=
      {one_o = 2533288543460624}, codeptr=0x333bf1c58,
    byteptr=0x333bf1c82 "3\003") at ../src/eval.d:6774
#12 0x0000000000442336 in funcall_closure (closure={one_o = 2533288543460624},
    args_on_stack=3) at ../src/eval.d:5627
#13 0x000000000043fa61 in funcall (fun={one_o = 2533288543460624},
    args_on_stack=3) at ../src/eval.d:4857
#14 0x0000000000447abc in interpret_bytecode_ (closure=
      {one_o = 2533288544623488}, codeptr=0x333d0db60,
    byteptr=0x333d0db7c <Address 0x333d0db7c out of bounds>)
    at ../src/eval.d:6838
#15 0x0000000000442336 in funcall_closure (closure={one_o = 2533288544623488},
    args_on_stack=2) at ../src/eval.d:5627
#16 0x000000000043fa61 in funcall (fun={one_o = 2533288544623488},
    args_on_stack=2) at ../src/eval.d:4857
#17 0x0000000000444829 in interpret_bytecode_ (closure=
      {one_o = 2533288543041528}, codeptr=0x333c199c8,
    byteptr=0x333c19a30 "\2313\003") at ../src/eval.d:6533
#18 0x0000000000442336 in funcall_closure (closure={one_o = 2533288543041528},
    args_on_stack=2) at ../src/eval.d:5627
#19 0x000000000043fad6 in funcall (fun={one_o = 1125913658247920},
    args_on_stack=2) at ../src/eval.d:4864
#20 0x0000000000446955 in interpret_bytecode_ (closure=
      {one_o = 2533288543409880}, codeptr=0x333be5648,
    byteptr=0x333be5668 "\016") at ../src/eval.d:6786
#21 0x0000000000442336 in funcall_closure (closure={one_o = 2533288543409880},
    args_on_stack=4) at ../src/eval.d:5627
#22 0x000000000043fad6 in funcall (fun={one_o = 1125913659856400},
    args_on_stack=4) at ../src/eval.d:4864
#23 0x00000000004462ed in interpret_bytecode_ (closure=
      {one_o = 2533288543419120}, codeptr=0x333be7420,
    byteptr=0x333be763a "3\003") at ../src/eval.d:6768
#24 0x0000000000442336 in funcall_closure (closure={one_o = 2533288543419120},
    args_on_stack=2) at ../src/eval.d:5627
#25 0x000000000043fa61 in funcall (fun={one_o = 2533288543419120},
    args_on_stack=2) at ../src/eval.d:4857
#26 0x0000000000447abc in interpret_bytecode_ (closure=
      {one_o = 2533288544551408}, codeptr=0x333cfc1d0,
    byteptr=0x333cfc1eb <Address 0x333cfc1eb out of bounds>)
    at ../src/eval.d:6838
#27 0x0000000000442336 in funcall_closure (closure={one_o = 2533288544551408},
    args_on_stack=2) at ../src/eval.d:5627
---Type <return> to continue, or q <return> to quit---
#28 0x000000000043fa61 in funcall (fun={one_o = 2533288544551408},
    args_on_stack=2) at ../src/eval.d:4857
#29 0x0000000000447abc in interpret_bytecode_ (closure=
      {one_o = 2533288543429808}, codeptr=0x333be7310,
    byteptr=0x333be733e "\004") at ../src/eval.d:6838
#30 0x0000000000442336 in funcall_closure (closure={one_o = 2533288543429808},
    args_on_stack=3) at ../src/eval.d:5627
#31 0x000000000043fa61 in funcall (fun={one_o = 2533288543429808},
    args_on_stack=3) at ../src/eval.d:4857
#32 0x0000000000447abc in interpret_bytecode_ (closure=
      {one_o = 2533288544550064}, codeptr=0x333cfbc90,
    byteptr=0x333cfbcac <Address 0x333cfbcac out of bounds>)
    at ../src/eval.d:6838
#33 0x0000000000442336 in funcall_closure (closure={one_o = 2533288544550064},
    args_on_stack=2) at ../src/eval.d:5627
#34 0x000000000043fa61 in funcall (fun={one_o = 2533288544550064},
    args_on_stack=2) at ../src/eval.d:4857
#35 0x0000000000444829 in interpret_bytecode_ (closure=
      {one_o = 2533288543431672}, codeptr=0x333cee698,
    byteptr=0x333cee6cf <Address 0x333cee6cf out of bounds>)
    at ../src/eval.d:6533
#36 0x0000000000442336 in funcall_closure (closure={one_o = 2533288543431672},
    args_on_stack=2) at ../src/eval.d:5627
#37 0x000000000043fad6 in funcall (fun={one_o = 1125913658249288},
    args_on_stack=2) at ../src/eval.d:4864
#38 0x000000000044685d in interpret_bytecode_ (closure=
      {one_o = 2533288543433256}, codeptr=0x333beb048,
    byteptr=0x333beb09a "\020\031\0041\020\032\0043\020\033\0045\020\034\0047\020\035\0049\020\036\004;\020\037\004=\020 \004?\020!\004A\020\"\004C\020#\004E\020$\004G\020%\004I\020&\004K\020'\004M\020(\004O\020)\004Q\020*fu1\020\020\223w\tfw\216\032\f\001\002\033\036ft8\0031\177\033*fwc\217\036fv8\003q\177\204")
    at ../src/eval.d:6783
#39 0x0000000000442336 in funcall_closure (closure={one_o = 2533288543433256},
    args_on_stack=2) at ../src/eval.d:5627
#40 0x000000000043fad6 in funcall (fun={one_o = 1125913659879440},
    args_on_stack=2) at ../src/eval.d:4864
#41 0x000000000044685d in interpret_bytecode_ (closure=
      {one_o = 2533288543436576}, codeptr=0x333bebeb8,
    byteptr=0x333bebef4 "\f") at ../src/eval.d:6783
#42 0x000000000043afd4 in eval_closure (closure={one_o = 2533288543436576})
    at ../src/eval.d:3908
#43 0x0000000000435d50 in eval1 (form={one_o = 18014453485801520})
    at ../src/eval.d:3083
#44 0x0000000000435633 in eval (form={one_o = 18014453485801520})
    at ../src/eval.d:2950
#45 0x0000000000452eae in C_progn () at ../src/control.d:316
#46 0x00000000004367f4 in eval_fsubr (fun={one_o = 3377713471884608}, args=
      {one_o = 18014453485801216}) at ../src/eval.d:3255
#47 0x0000000000435dbe in eval1 (form={one_o = 18014453485801200})
    at ../src/eval.d:3093
#48 0x0000000000435633 in eval (form={one_o = 18014453485801200})
    at ../src/eval.d:2950
#49 0x000000000045b2df in C_unwind_protect () at ../src/control.d:1915
#50 0x00000000004367f4 in eval_fsubr (fun={one_o = 3377713471885728}, args=
      {one_o = 18014453485801152}) at ../src/eval.d:3255
#51 0x0000000000435dbe in eval1 (form={one_o = 18014453485801120})
    at ../src/eval.d:3093
#52 0x0000000000435633 in eval (form={one_o = 18014453485801120})
    at ../src/eval.d:2950
#53 0x00000000004547f8 in C_let () at ../src/control.d:683
#54 0x00000000004367f4 in eval_fsubr (fun={one_o = 3377713471884728}, args=
      {one_o = 18014453485801088}) at ../src/eval.d:3255
#55 0x0000000000435dbe in eval1 (form={one_o = 18014453485801056})
    at ../src/eval.d:3093
#56 0x0000000000435633 in eval (form={one_o = 18014453485801056})
    at ../src/eval.d:2950
---Type <return> to continue, or q <return> to quit---
#57 0x0000000000435bd8 in eval1 (form={one_o = 18014453485801056})
    at ../src/eval.d:3051
#58 0x0000000000435633 in eval (form={one_o = 18014453485801568})
    at ../src/eval.d:2950
#59 0x0000000000436f58 in eval_subr (fun={one_o = 281474984747520})
    at ../src/eval.d:3376
#60 0x0000000000435cde in eval1 (form={one_o = 18014453485801584})
    at ../src/eval.d:3076
#61 0x0000000000435633 in eval (form={one_o = 18014453485801584})
    at ../src/eval.d:2950
#62 0x000000000042bd77 in eval_5env (form={one_o = 18014453485801584}, var_env=
      {one_o = 1125899914903296}, fun_env={one_o = 1125899914903296},
    block_env={one_o = 1125899914903296}, go_env={one_o = 1125899914903296},
    decl_env={one_o = 18014453486886064}) at ../src/eval.d:1078
#63 0x000000000042be09 in eval_noenv (form={one_o = 18014453485801584})
    at ../src/eval.d:1090
#64 0x000000000045ce48 in C_eval () at ../src/control.d:2152
#65 0x0000000000446aa4 in interpret_bytecode_ (closure=
      {one_o = 2533288543632192}, codeptr=0x333c1b8f0, byteptr=0x333c1b923 "")
    at ../src/eval.d:6789
#66 0x0000000000442336 in funcall_closure (closure={one_o = 2533288543632192},
    args_on_stack=1) at ../src/eval.d:5627
#67 0x000000000043fad6 in funcall (fun={one_o = 1125913660078264},
    args_on_stack=1) at ../src/eval.d:4864
#68 0x000000000044664a in interpret_bytecode_ (closure=
      {one_o = 2533288544534032}, codeptr=0x333c1d558, byteptr=0x333c1d573 "")
    at ../src/eval.d:6777
#69 0x0000000000442336 in funcall_closure (closure={one_o = 2533288544534032},
    args_on_stack=0) at ../src/eval.d:5627
#70 0x000000000043fa61 in funcall (fun={one_o = 2533288544534032},
    args_on_stack=0) at ../src/eval.d:4857
#71 0x0000000000447abc in interpret_bytecode_ (closure=
      {one_o = 2533288543640696}, codeptr=0x333c1d290,
    byteptr=0x333c1d33c "\003") at ../src/eval.d:6838
#72 0x0000000000442336 in funcall_closure (closure={one_o = 2533288543752288},
    args_on_stack=2) at ../src/eval.d:5627
#73 0x000000000043fa61 in funcall (fun={one_o = 2533288543752288},
    args_on_stack=2) at ../src/eval.d:4857
#74 0x0000000000447abc in interpret_bytecode_ (closure=
      {one_o = 2533288543768192}, codeptr=0x333c3c6f8,
    byteptr=0x333c3c790 "\2203\003") at ../src/eval.d:6838
#75 0x000000000043aa83 in eval_closure (closure={one_o = 2533288543768192})
    at ../src/eval.d:3854
#76 0x0000000000435d50 in eval1 (form={one_o = 18014453485972240})
    at ../src/eval.d:3083
#77 0x0000000000435633 in eval (form={one_o = 18014453485972240})
    at ../src/eval.d:2950
#78 0x0000000000556c90 in C_read_eval_print () at ../src/debug.d:407
#79 0x0000000000440c7b in funcall_subr (fun={one_o = 281474984726688},
    args_on_stack=2) at ../src/eval.d:5224
#80 0x000000000043fab4 in funcall (fun={one_o = 1125899914915000},
    args_on_stack=2) at ../src/eval.d:4862
#81 0x000000000044685d in interpret_bytecode_ (closure=
      {one_o = 2533288543392008}, codeptr=0x333be0f20, byteptr=0x333be0f67 "")
    at ../src/eval.d:6783
#82 0x0000000000442336 in funcall_closure (closure={one_o = 2533288543392008},
    args_on_stack=0) at ../src/eval.d:5627
#83 0x000000000043fa61 in funcall (fun={one_o = 2533288543392008},
    args_on_stack=0) at ../src/eval.d:4857
#84 0x000000000045b911 in C_driver () at ../src/control.d:1971
#85 0x0000000000446aa4 in interpret_bytecode_ (closure=
      {one_o = 2533288543392176}, codeptr=0x333be0eb0,
    byteptr=0x333be0ecc "\003") at ../src/eval.d:6789
#86 0x0000000000442336 in funcall_closure (closure={one_o = 2533288543392176},
    args_on_stack=0) at ../src/eval.d:5627
#87 0x000000000043fa61 in funcall (fun={one_o = 2533288543392176},
---Type <return> to continue, or q <return> to quit---
    args_on_stack=0) at ../src/eval.d:4857
#88 0x000000000042488c in main_actions (p=0x7ca5e0) at ../src/spvw.d:3295
#89 0x0000000000420b4a in main (argc=15, argv=0x7fff9286c698)
    at ../src/spvw.d:3431
(gdb)

*stream_ is invalid

----------------------------------------------------------------------

>Comment By: Sam Steingold (sds)
Date: 2008-07-17 18:34

Message:
Logged In: YES
user_id=5735
Originator: YES

Linux nyc-qws-005 2.6.25q1_nbt-hg3c8be8fd1d1a #3 SMP Thu May 1 14:23:10
EDT 2008 x86_64 x86_64 x86_64 GNU/Linux  

now with the current cvs head I get this:

(PROGV '(A B C) '(1 2) (LIST A B C))
[SIMPLE-UNBOUND-VARIABLE]:
Program received signal SIGABRT, Aborted.
0x00000033c8230055 in raise () from /lib64/libc.so.6
(gdb) where
#0  0x00000033c8230055 in raise () from /lib64/libc.so.6
#1  0x00000033c8231af0 in abort () from /lib64/libc.so.6
#2  0x000000000040def2 in gc_morris2 (page=0x8cd228)
    at ../src/spvw_garcol.d:418
#3  0x000000000041138a in gar_col_normal () at ../src/spvw_garcol.d:1752
#4  0x00000000004118a1 in do_gar_col_simple () at
../src/spvw_garcol.d:2358
#5  0x0000000000577fe9 in with_gc_statistics (fun=0x411898
<do_gar_col_simple>)
    at ../src/predtype.d:3141
#6  0x00000000004118c3 in gar_col_simple () at ../src/spvw_garcol.d:2387
#7  0x0000000000411c1c in make_space_gc_true (need=133520,
heapptr=0x8cd208)
    at ../src/spvw_allocate.d:214
#8  0x00000000004121ac in allocate_vector (len=16688)
    at ../src/spvw_typealloc.d:100
#9  0x0000000000413817 in get_circularities (obj={one_o =
3659188457192016},
    pr_array=true, pr_closure=false) at ../src/spvw_circ.d:724
#10 0x00000000004dfcfb in pr_enter_2 (stream_=0x7f0ebabc1638, obj=
      {one_o = 3659188457192016}, pr_xxx=0x4e2488 <prin_object>)
    at ../src/io.d:6549
#11 0x00000000004e0bee in pr_enter (stream_=0x7f0ebabc1638, obj=
      {one_o = 3659188457192016}, pr_xxx=0x4e2488 <prin_object>)
    at ../src/io.d:6604
#12 0x00000000004ef106 in prin1 (stream_=0x7f0ebabc1638, obj=
      {one_o = 3659188457192016}) at ../src/io.d:9904
#13 0x00000000004f1919 in princ_up () at ../src/io.d:10310
#14 0x00000000004f1a91 in C_princ () at ../src/io.d:10318
#15 0x0000000000446485 in interpret_bytecode_ (closure=
      {one_o = 2533288544439720}, codeptr=0x333ce0d58,
    byteptr=0x333ce0d83 "1\227\236\031\005") at ../src/eval.d:6774
#16 0x0000000000441e6d in funcall_closure (closure={one_o =
2533288544439720},
    args_on_stack=0) at ../src/eval.d:5618
#17 0x000000000043f595 in funcall (fun={one_o = 2533288544439720},
    args_on_stack=3) at ../src/eval.d:4850
#18 0x00000000004526e2 in C_funcall (argcount=3,
    rest_args_pointer=0x7f0ebabc1608) at ../src/control.d:291
#19 0x0000000000446af6 in interpret_bytecode_ (closure=
      {one_o = 2533288544439840}, codeptr=0x333ce0cd8,
    byteptr=0x333ce0cf8 "\031\002") at ../src/eval.d:6786
#20 0x0000000000441e6d in funcall_closure (closure={one_o =
2533288544439840},
    args_on_stack=1) at ../src/eval.d:5618
#21 0x000000000043f60a in funcall (fun={one_o = 1125913660886176},
    args_on_stack=1) at ../src/eval.d:4857
#22 0x000000000044602b in interpret_bytecode_ (closure=
      {one_o = 2533288550350528}, codeptr=0x333ce3928,
    byteptr=0x333ce3941 "q\223@\002I") at ../src/eval.d:6762
#23 0x0000000000441e6d in funcall_closure (closure={one_o =
2533288550350528},
    args_on_stack=1) at ../src/eval.d:5618
#24 0x000000000043f595 in funcall (fun={one_o = 2533288550350528},
    args_on_stack=1) at ../src/eval.d:4850
#25 0x000000000044749d in interpret_bytecode_ (closure=
      {one_o = 2533288544452952}, codeptr=0x333ce3770,
    byteptr=0x333ce3806
"\030\003\001\031\002G\005m\006\001m\a\001W\b6")
    at ../src/eval.d:6823
#26 0x000000000042a760 in invoke_handlers (cond={one_o =
3659188457192016})
    at ../src/eval.d:766
#27 0x000000000056255b in C_clcs_signal (argcount=0,
    rest_args_pointer=0x7f0ebabc15a0) at ../src/error.d:781
#28 0x00000000004406fe in funcall_subr (fun={one_o = 281474985788984},
    args_on_stack=0) at ../src/eval.d:5210
#29 0x000000000043f56d in funcall (fun={one_o = 281474985788984},
    args_on_stack=1) at ../src/eval.d:4848
#30 0x000000000055eb09 in signal_and_debug (condition=
      {one_o = 3659188457192016}) at ../src/error.d:204
#31 0x0000000000560f8c in C_error (argcount=0,
    rest_args_pointer=0x7f0ebabc1568) at ../src/error.d:495
#32 0x0000000000446af6 in interpret_bytecode_ (closure=
      {one_o = 2533288544125608}, codeptr=0x333c93b18, byteptr=0x333c93bc1
"")
---Type <return> to continue, or q <return> to quit---
    at ../src/eval.d:6786
#33 0x0000000000441e6d in funcall_closure (closure={one_o =
2533288544125608},
    args_on_stack=2) at ../src/eval.d:5618
#34 0x000000000043f60a in funcall (fun={one_o = 1125899916033760},
    args_on_stack=2) at ../src/eval.d:4857
#35 0x000000000055fa8f in check_value (errortype=unbound_variable,
    errorstring=0x62e43e "~S: variable ~S has no value") at
../src/error.d:375
#36 0x000000000056653e in check_variable_value_replacement (
    symbol_=0x7f0ebabc14d0, restart_p=true) at ../src/error.d:1524
#37 0x00000000004355b6 in eval1 (form={one_o = 1125913662476504})
    at ../src/eval.d:3025
#38 0x00000000004351e4 in eval (form={one_o = 1125913662476504})
    at ../src/eval.d:2953
#39 0x0000000000437af3 in eval_subr (fun={one_o = 281474985797776})
    at ../src/eval.d:3442
#40 0x00000000004357e6 in eval1 (form={one_o = 18014453482163632})
    at ../src/eval.d:3071
#41 0x00000000004351e4 in eval (form={one_o = 18014453482163632})
    at ../src/eval.d:2953
#42 0x0000000000454f66 in C_progv () at ../src/control.d:819
#43 0x00000000004362fd in eval_fsubr (fun={one_o = 3377713472732752},
args=
      {one_o = 18014453482163568}) at ../src/eval.d:3250
#44 0x00000000004358c6 in eval1 (form={one_o = 18014453482163824})
    at ../src/eval.d:3088
#45 0x00000000004351e4 in eval (form={one_o = 18014453482163824})
    at ../src/eval.d:2953
#46 0x000000000042b90c in eval_5env (form={one_o = 18014453482163824},
var_env=
      {one_o = 1125899915963424}, fun_env={one_o = 1125899915963424},
    block_env={one_o = 1125899915963424}, go_env={one_o =
1125899915963424},
    decl_env={one_o = 18014453487099408}) at ../src/eval.d:1081
#47 0x000000000042b99f in eval_noenv (form={one_o = 18014453482163824})
    at ../src/eval.d:1093
#48 0x000000000045c7a9 in C_eval () at ../src/control.d:2132
#49 0x0000000000446485 in interpret_bytecode_ (closure=
      {one_o = 2533288544444848}, codeptr=0x333ce1f60,
    byteptr=0x333ce1f93 "\031\003cc{\003p\0056") at
../src/eval.d:6774
#50 0x0000000000441e6d in funcall_closure (closure={one_o =
2533288544444848},
    args_on_stack=1) at ../src/eval.d:5618
#51 0x000000000043f60a in funcall (fun={one_o = 1125913660890920},
    args_on_stack=1) at ../src/eval.d:4857
#52 0x000000000044602b in interpret_bytecode_ (closure=
      {one_o = 2533288550348176}, codeptr=0x333ce3a38,
    byteptr=0x333ce3a53 "\031\001") at ../src/eval.d:6762
#53 0x0000000000441e6d in funcall_closure (closure={one_o =
2533288550348176},
    args_on_stack=0) at ../src/eval.d:5618
#54 0x000000000043f595 in funcall (fun={one_o = 2533288550348176},
    args_on_stack=0) at ../src/eval.d:4850
#55 0x000000000044749d in interpret_bytecode_ (closure=
      {one_o = 2533288544452952}, codeptr=0x333ce3770,
    byteptr=0x333ce381c
"\026\006H\033\033B\033\205\ak\r3\003\025h\a")
at ../src/eval.d:6823
#56 0x0000000000441e6d in funcall_closure (closure={one_o =
2533288544452952},
    args_on_stack=2) at ../src/eval.d:5618
#57 0x000000000043f595 in funcall (fun={one_o = 2533288544452952},
    args_on_stack=2) at ../src/eval.d:4850
#58 0x000000000044749d in interpret_bytecode_ (closure=
      {one_o = 2533288544463976}, codeptr=0x333ce64e0,
    byteptr=0x333ce6578 "B\002j j\036\022\a\223\002\003\024/\027>T\005")
    at ../src/eval.d:6823
#59 0x0000000000441c33 in funcall_closure (closure={one_o =
2533288544463976},
    args_on_stack=1) at ../src/eval.d:5599
#60 0x000000000043f60a in funcall (fun={one_o = 1125913660908712},
    args_on_stack=1) at ../src/eval.d:4857
#61 0x0000000000446123 in interpret_bytecode_ (closure=
      {one_o = 2533288544468144}, codeptr=0x333ce75b8,
    byteptr=0x333ce75f9
"\204\b\203\001\215\237r\026\002n\005\a\204\006---Type
<return> to continue, or q <return> to quit---
n\005\a\204\006{\003\204\a\033*o\a\235\\x\\xs\0027\225\0041\026\002\235\\\\x\\\\xs\0027\\y1\026\003\205")
at ../src/eval.d:6765
#62 0x000000000043a59c in eval_closure (closure={one_o =
2533288544584712})
    at ../src/eval.d:3849
#63 0x0000000000435858 in eval1 (form={one_o = 18014453486175104})
    at ../src/eval.d:3078
#64 0x00000000004351e4 in eval (form={one_o = 18014453486175104})
    at ../src/eval.d:2953
#65 0x00000000005584e0 in C_read_eval_print () at ../src/debug.d:409
#66 0x00000000004407af in funcall_subr (fun={one_o = 281474985786688},
    args_on_stack=2) at ../src/eval.d:5215
#67 0x000000000043f5e8 in funcall (fun={one_o = 1125899915975128},
    args_on_stack=2) at ../src/eval.d:4855
#68 0x000000000044623e in interpret_bytecode_ (closure=
      {one_o = 2533288544250952}, codeptr=0x333cb2a60, byteptr=0x333cb2aa7
"")
    at ../src/eval.d:6768
#69 0x0000000000441e6d in funcall_closure (closure={one_o =
2533288544250952},
    args_on_stack=0) at ../src/eval.d:5618
#70 0x000000000043f595 in funcall (fun={one_o = 2533288544250952},
    args_on_stack=0) at ../src/eval.d:4850
#71 0x000000000045b266 in C_driver () at ../src/control.d:1951
#72 0x0000000000446485 in interpret_bytecode_ (closure=
      {one_o = 2533288544251120}, codeptr=0x333cb29f0, byteptr=0x333cb2a0c
"")
    at ../src/eval.d:6774
#73 0x0000000000441e6d in funcall_closure (closure={one_o =
2533288544251120},
    args_on_stack=0) at ../src/eval.d:5618
#74 0x000000000043f595 in funcall (fun={one_o = 2533288544251120},
    args_on_stack=0) at ../src/eval.d:4850
#75 0x00000000004243e5 in main_actions (p=0x8cd380) at ../src/spvw.d:3170
#76 0x00000000004206de in main (argc=15, argv=0x7fffc2c9d9c8)
    at ../src/spvw.d:3306
(gdb) zbacktrace

Program received signal SIGSEGV, Segmentation fault.
0x000000000054912e in unpack_string_ro (string={one_o = 62},
    len=0x7fffc2c842ec, offset=0x7fffc2c842e8) at ../src/charstrg.d:492
492         *len = Sstring_length(string);
The program being debugged was signaled while in a function called from
GDB.
GDB remains in the frame where the signal was received.
To change this behavior use "set unwindonsignal on"
Evaluation of the expression containing the function (back_trace_out) will
be abandoned.
(gdb)



----------------------------------------------------------------------

Comment By: Sam Steingold (sds)
Date: 2008-05-19 11:19

Message:
Logged In: YES
user_id=5735
Originator: YES

with the current cvs head, I get a yet another GC crash:

(LET ((F "foo.bar") POS) (UNWIND-PROTECT (PROGN (WITH-OPEN-FILE (S F
:DIRECTION :OUTPUT :IF-EXISTS :SUPERSEDE :EXTERNAL-FORMAT :UNIX)
(WRITE-LINE "foo" S) (PUSH (FILE-POSITION S) POS)) (WITH-OPEN-FILE (S F
:DIRECTION :OUTPUT :IF-EXISTS :APPEND :EXTERNAL-FORMAT :UNIX) (PUSH
(FILE-POSITION S) POS) (WRITE-LINE "bar" S) (PUSH (FILE-POSITION S) POS))
(LIST (NREVERSE POS) (WITH-OPEN-FILE (S F :DIRECTION :INPUT) (LIST
(READ-LINE S) (READ-LINE S))))) (DELETE-FILE F)))

Program received signal SIGABRT, Aborted.
0x000000320a82ee25 in raise () from /lib64/libc.so.6
(gdb) where
#0  0x000000320a82ee25 in raise () from /lib64/libc.so.6
#1  0x000000320a830770 in abort () from /lib64/libc.so.6
#2  0x000000000040e4e2 in gc_morris2 (page=0x7cca68)
    at ../src/spvw_garcol.d:418
#3  0x0000000000411974 in gar_col_normal () at ../src/spvw_garcol.d:1752
#4  0x0000000000411e97 in do_gar_col_simple () at
../src/spvw_garcol.d:2358
#5  0x0000000000576e8d in with_gc_statistics (fun=0x411e80
<do_gar_col_simple>)
    at ../src/predtype.d:3141
#6  0x0000000000411ebb in gar_col_simple () at ../src/spvw_garcol.d:2387
#7  0x0000000000412224 in make_space_gc_true (need=240, heapptr=0x7cca48)
    at ../src/spvw_allocate.d:214
#8  0x0000000000412d46 in allocate_s32string (len=57)
    at ../src/spvw_typealloc.d:205
#9  0x0000000000466020 in n_char_to_string (
    srcptr=0x7fff78308bc0
"/homedata/ssteingold/src/clisp/current/build-testg/tests/$4\003",
blen=57, encoding={one_o = 3377713471827512})
    at ../src/encoding.d:2179
#10 0x000000000047d85d in assure_dir_exists (fs=0x7fff78309dc0,
    links_resolved=false, tolerantp=false) at ../src/pathname.d:5647
#11 0x000000000047e76e in true_namestring (fs=0x7fff78309dc0,
noname_p=true,
    tolerantp=false) at ../src/pathname.d:5874
#12 0x00000000004814b4 in open_file (filename={one_o = 3377713480250176},
    direction=DIRECTION_OUTPUT, if_exists=IF_EXISTS_SUPERSEDE,
    if_not_exists=IF_DOES_NOT_EXIST_UNBOUND) at ../src/pathname.d:6565
#13 0x0000000000482ee8 in C_open () at ../src/pathname.d:6720


----------------------------------------------------------------------

Comment By: Sam Steingold (sds)
Date: 2008-04-04 15:01

Message:
Logged In: YES
user_id=5735
Originator: YES

with the current cvs head, I get a crash in GC (at a different moment in
make check).

----------------------------------------------------------------------

Comment By: Sam Steingold (sds)
Date: 2008-03-13 14:59

Message:
Logged In: YES
user_id=5735
Originator: YES

interestingly, this is observed only in builds without ffcall.

----------------------------------------------------------------------

You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=101355&aid=1913760&group_id=1355

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
clisp-devel mailing list
clisp-devel@...
https://lists.sourceforge.net/lists/listinfo/clisp-devel
LightInTheBox - Buy quality products at wholesale price