run-process bug under Solaris 2.4 - MORE

From: Giorgio Cesana <cesana_at_venus.sgs-thomson.it>
Date: Mon, 27 Feb 1995 17:34:10 +0100

] Hi everybody,
]
] a problem was found using run-process compiled with gcc 2.6.3 for Solaris 2
] under Solaris 2.4.
]
] When running either stk or snow, calling run-process a segmentation fault
] error occurs:
]
] STk> (run-process "ls")
] #<process PID=2559>
] STK> (my dir is listed)
] (after some seconds...)
] Segmentation Fault - core dumped

I have no problems running stk or snow compiled for SunOS4 under SunOS4 (4.1.3), while using Solaris 2.4 (in compatibility mode) exec works correctly but
run-process is not able to manage pipes.

Using STk for SunOS4 under Solaris 2.4, I have found:
STk> (exec "/bin/uname -n")
"venus
" (CORRECT!)
STk> (define proc (run-process "/bin/uname" "-n" :output :pipe :wait #t))
#[undefined]
STk> (process-output proc)
#f (WRONG!)
STk> (exec "/bin/uname -n")
(STk is blocked, no answers are prompted).

] Note: I had encountered memory management problems using stk compiled with
] SC 3.0.1 (Sparc Compilers). Look at my previous mail.

Thanks

Giorgio


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

Giorgio Cesana | SGS-THOMSON Microelectronics
phone +39/39/603.6006 | Central R&D - DAIS
fax +39/39/603.5820 | via C. Olivetti, 2
e-mail cesana_at_venus.sgs-thomson.it | 20041 Agrate B.za (MI) - ITALY



----- End Included Message -----
Received on Mon Feb 27 1995 - 17:38:44 CET

This archive was generated by hypermail 2.3.0 : Mon Jul 21 2014 - 19:38:59 CEST