Re: [Ecls-list] Hang opening named pipe?

2012-01-15 Thread Philipp Marek
Hmm, I do not know much about pipes. Inspecting a running ECL, I see that it does not hang in ECL, but in the C library: in open() Attaching to program: `/Users/jjgarcia/bin/ecl', process 49213. Reading symbols for shared libraries ++.. done 0x7fff86e3543e in open () (gdb) info threads

Re: [Ecls-list] Hang opening named pipe?

2012-01-15 Thread Juan Jose Garcia-Ripoll
On Sun, Jan 15, 2012 at 9:28 AM, Philipp Marek phil...@marek.priv.atwrote: I've had strace running on ECL, and got this: cl-user (open /tmp/a :direction :output :if-exists :overwrite) open(/tmp/a, O_RDONLY I see. I did not notice the line where gdb stopped. It seems this is legacy code

Re: [Ecls-list] Hang opening named pipe?

2012-01-14 Thread Juan Jose Garcia-Ripoll
Hmm, I do not know much about pipes. Inspecting a running ECL, I see that it does not hang in ECL, but in the C library: in open() Attaching to program: `/Users/jjgarcia/bin/ecl', process 49213. Reading symbols for shared libraries ++.. done 0x7fff86e3543e in open () (gdb) info threads 2

[Ecls-list] Hang opening named pipe?

2012-01-12 Thread Waldek Hebisch
I am trying to comunicate using named pipes. First create a fifo: mkfifo fromA On one terminal start: cat fromA On the second start ecl and try: (setf ofil (open fromA :direction :output :if-exists :append)) Apparently ecl hangs in open. The same if I use: (setf ofil (open fromA