Bug#552685: expect-dev: exp_popen segfaults

2009-10-30 Thread Sergei Golovan
On Wed, Oct 28, 2009 at 6:27 PM, Dennis Furey wrote: > > Calling exp_popen from C causes a segfault. Here is a test program. I've found the cause of the segfault. One of the patches doesn't work so well in case if expect is built with Tcl stubs enabled. The fix will be uploaded in a few days (aft

Bug#552685: expect-dev: exp_popen segfaults

2009-10-28 Thread Sergei Golovan
On Wed, Oct 28, 2009 at 6:27 PM, Dennis Furey wrote: > > Calling exp_popen from C causes a segfault. Here is a test program. You're right. It segfaults consistently. I'll look into it and if I will not be able to fix the bug, I'll forward it to upstream. Thanks for the report! -- Sergei Golovan

Bug#552685: expect-dev: exp_popen segfaults

2009-10-28 Thread Dennis Furey
Package: expect-dev Version: 5.44.1.14-2 Severity: normal Calling exp_popen from C causes a segfault. Here is a test program. #include #include int main() { FILE *pipe; char *some_command = "uname"; char datum; pipe = exp_popen(some_command); while ((datum = getc (pipe)) != EOF)