user interrupt eventually causes hang pasted by klm` on Thu Feb 19 09:02:42 2015
;;; In one terminal do this: ;;; $ nc -v -l -p 1234 ;;; then do the following. there needs to be no data going on the tcp connection. ;; -n to disable parley etc $ csi -n CHICKEN (c) 2008-2014, The Chicken Team (c) 2000-2007, Felix L. Winkelmann Version 4.9.1 (rev 30bb2f2) linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ] compiled 2014-07-09 on kth (Linux) #;1> (use tcp) ; loading /usr/local/lib/chicken/7/tcp.import.so ... ; loading library tcp ... #;2> (define-values (i o) (tcp-connect "127.0.0.1" 1234)) #;3> (read-char i) ^C *** user interrupt *** #;3> (read-char i) ^C *** user interrupt *** #;3> (read-char i) ^C *** user interrupt *** #;3> (read-char i) ^C *** user interrupt *** #;3> (read-char i) *** Error in `csi': realloc(): invalid next size: 0x00000000018da030 *** ^C^C^C ^C^C^C^C^C^C^C ^\Quit (core dumped)
even without C-c pasted by C-Keen on Thu Feb 19 09:07:08 2015
8:~$ csi -n CHICKEN (c) 2008-2014, The CHICKEN Team (c) 2000-2007, Felix L. Winkelmann Version 4.9.1 (rev 6a860ab) linux-unix-gnu-x86-64 [ 64bit manyargs dload ptables ] compiled 2014-09-30 on devpool08 (Linux) #;1> (use tcp) ; loading /home/ckellerm/chickens/master/lib/chicken/7/tcp.import.so ... ; loading library tcp ... #;2> (define-values (i o) (tcp-connect "127.0.0.1" 1234)) #;3> (read-char i) ^C *** user interrupt *** #;3> ^[[A Error: unbound variable: 3> (read-char i) ^C *** user interrupt *** #;3> (read-char i) ^C *** user interrupt *** #;3> ^C *** user interrupt *** #;3> (read-char i) ^C *** user interrupt *** #;3> (read-char i) ^C *** user interrupt *** #;3> (read-char i) *** Error in `csi': realloc(): invalid next size: 0x0000000001f5beb0 *** Aborted
gdb backtrace added by mario-goulart on Thu Feb 19 10:21:30 2015
#0 0x00007ffff68b2165 in raise () from /lib/x86_64-linux-gnu/libc.so.6 #1 0x00007ffff68b53e0 in abort () from /lib/x86_64-linux-gnu/libc.so.6 #2 0x00007ffff68ed1cb in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #3 0x00007ffff68f6a16 in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #4 0x00007ffff68fc6ec in ?? () from /lib/x86_64-linux-gnu/libc.so.6 #5 0x00007ffff68fca00 in realloc () from /lib/x86_64-linux-gnu/libc.so.6 #6 0x00007ffff75d96d7 in C_prepare_fdset (length=1) at scheduler.c:90 #7 0x00007ffff75d98e6 in stub370 (C_buf=30, C_a0=3) at scheduler.c:181 #8 0x00007ffff75e4b2a in f_1779 (c=2, t0=140737487321544, t1=3) at scheduler.c:1841 #9 0x00007ffff71d8909 in f_7225 (c=3, t0=140737353520240, t1=140737487321544, t2=140737353716712) at library.c:33067 #10 0x00007ffff75e296d in f_970 (c=2, t0=140737487323824, t1=30) at scheduler.c:1586 #11 0x00007ffff75e9d18 in f_1088 (t0=140737487322400, t1=6) at scheduler.c:2292 #12 0x00007ffff75df80d in f_1039 (t0=140737487323896, t1=140737487323824, t2=140737487329464) at scheduler.c:1302 #13 0x00007ffff75dc0d3 in f_966 (t0=140737487324160, t1=140737487326080) at scheduler.c:905 #14 0x00007ffff75dc553 in f_961 (c=2, t0=140737487325184, t1=30) at scheduler.c:947 #15 0x00007ffff75ed089 in f_931 (c=2, t0=140737353706144, t1=140737487326080) at scheduler.c:2580 #16 0x00007ffff715929c in f_21044 (c=3, t0=140737487325968, t1=140737487326080, t2=140737487325616) at library.c:15906 #17 0x00007ffff77b12e5 in C_call_cc (c=3, closure=0, k=140737487326080, cont=140737487325968) at runtime.c:6107 #18 0x00007ffff715b92b in f_21038 (c=2, t0=140737353532888, t1=140737487326080) at library.c:16281 #19 0x00007ffff7336b59 in f_1689 (c=2, t0=140737487328208, t1=30) at tcp.c:1847 #20 0x00007ffff75f2bcd in f_1941 (c=2, t0=140737487327984, t1=30) at scheduler.c:3168 #21 0x00007ffff75ec2e9 in f_1956 (t0=140737487328048, t1=140737487327984, t2=140737353716712) at scheduler.c:2526 #22 0x00007ffff75f1a27 in f_1937 (c=5, t0=140737353706392, t1=140737487328208, t2=140737353532720, t3=15, t4=140737353704784) at scheduler.c:3045 #23 0x00007ffff7336cb2 in f_1686 (c=2, t0=140737487332624, t1=30) at tcp.c:1859 #24 0x00007ffff75f07a3 in f_1334 (c=2, t0=140737487332032, t1=30) at scheduler.c:2927 #25 0x00007ffff75ee74c in f_1355 (t0=140737487330096, t1=22) at scheduler.c:2744 #26 0x00007ffff75efa79 in f_1345 (t0=140737487332088, t1=140737487332032, t2=14, t3=140737353718936) at scheduler.c:2864 #27 0x00007ffff75eeca0 in f_1355 (t0=140737487331616, t1=6) at scheduler.c:2755 #28 0x00007ffff75efee9 in f_1345 (t0=140737487332088, t1=140737487332032, t2=140737353718936, t3=6) at scheduler.c:2868 #29 0x00007ffff75f1491 in f_1325 (t0=140737487332288, t1=30) at scheduler.c:2995 #30 0x00007ffff75f1660 in f_1321 (c=4, t0=140737353706272, t1=140737487332624, t2=140737353532720, t3=140737487333136) at scheduler.c:3022