Re: [Chicken-users] pressed Ctrl-\ and got segmentation fault

2013-06-21 Thread Moritz Wilhelmy
Hello, On Tue, Jun 18, 2013 at 09:36:43 +0200, Peter Bex wrote: On Tue, Jun 18, 2013 at 12:02:56AM -0500, Daniel Ajoy wrote: This is my .csirc (use readline irregex) (current-input-port (make-gnu-readline-port)) (gnu-readline-parse-and-bind set editing-mode vi)

Re: [Chicken-users] pressed Ctrl-\ and got segmentation fault

2013-06-21 Thread Christian Kellermann
* Moritz Wilhelmy mw+chic...@wzff.de [130621 11:30]: Hello, Probably because readline is flaky. Try with parley, which is more native and supports threading better anyway.. I can confirm that it happens without any readline-ish extensions (and in fact no ~/.csirc at all). This chicken

Re: [Chicken-users] pressed Ctrl-\ and got segmentation fault

2013-06-21 Thread Christian Kellermann
Hi Daniel and Moritz, * Daniel Ajoy da.a...@gmail.com [130618 07:03]: I press Ctrl-\ and I get #;1 ^\Segmentation fault (core dumped) why? This looks like a bug, I have opened ticket 1018 for it. You can see progress of that issue in the bugtracker at

Re: [Chicken-users] pressed Ctrl-\ and got segmentation fault

2013-06-21 Thread Moritz Wilhelmy
Hello Daniel, On Fri, Jun 21, 2013 at 10:54:53 +0200, Moritz Wilhelmy wrote: I can confirm that it happens without any readline-ish extensions (and in fact no ~/.csirc at all). This chicken 4.7.0 is on FreeBSD/amd64 9.1-RELEASE. It should be noted that ^\ sends SIGQUIT, similar to the way ^C

Re: [Chicken-users] pressed Ctrl-\ and got segmentation fault

2013-06-21 Thread John Cowan
Moritz Wilhelmy scripsit: I misread the problem as dumps core rather than segfaults. Sorry for the confusion, it exits because of SIGQUIT for me, and dumps core. It does however not exit because of SIGSEGV. I can confirm that on 32-bit Linux. On Cygwin, however, typing ^\ does trigger a

Re: [Chicken-users] how to declare foreign variably size structs?

2013-06-21 Thread db05
One possible solution read a whole object into predefined record (define-record inotify wd mask cookie len name) ; this function make record and pass it into hepler function (define (read-event fd) (c-read-event (make-inotify) fd)) ; map inotify fields to record fields using lowlevel