chicken-janitors
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Chicken-janitors] #1181: memory corruption when user-interrupts and tcp


From: Chicken Trac
Subject: [Chicken-janitors] #1181: memory corruption when user-interrupts and tcp
Date: Thu, 26 Feb 2015 13:59:06 -0000

#1181: memory corruption when user-interrupts and tcp
------------------------+---------------------------------------------------
 Reporter:  kristianlm  |       Owner:         
     Type:  defect      |      Status:  new    
 Priority:  major       |   Milestone:  someday
Component:  unknown     |     Version:  4.9.x  
 Keywords:              |  
------------------------+---------------------------------------------------
 It seems user interrupts from csi, when reading from tcp ports causes
 memory corruption. As shown in this paste: http://paste.call-
 cc.org/paste?id=ae7e3a52e4a71cf9c1c6697234d168a343022309

 {{{
 ~$ 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
 }}}

 I am reproducing this on Linux 3.18.6.

-- 
Ticket URL: <http://bugs.call-cc.org/ticket/1181>
CHICKEN Scheme <http://www.call-with-current-continuation.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]