Your message dated Tue, 03 Nov 2009 21:37:01 +0000
with message-id <[email protected]>
and subject line Bug#552685: fixed in expect 5.44.1.14-3
has caused the Debian Bug report #552685,
regarding expect-dev: exp_popen segfaults
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
552685: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=552685
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
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 <stdio.h>
#include <tcl8.5/expect.h>
int main()
{
FILE *pipe;
char *some_command = "uname";
char datum;
pipe = exp_popen(some_command);
while ((datum = getc (pipe)) != EOF)
printf("%c",datum);
}
Here are the last few lines of the strace output.
open("/dev/tty", O_RDWR) = 3
ioctl(3, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(3, TIOCGWINSZ, {ws_row=42, ws_col=142, ws_xpixel=852, ws_ypixel=546}) = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
Segmentation fault
The segfault occurs before attempting to read from the stream. This is
100% repeatable and started happening since expect-dev was upgraded on
10/27/09. This program works correctly on a system with the previous
versions (substituting #include <tcl8.4/expect.h> above).
$ gcc usexpect.c -lexpect
$ a.out
Linux
-- System Information:
Debian Release: squeeze/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.30-1-686-bigmem (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash
Versions of packages expect-dev depends on:
ii expect 5.44.1.14-2 A program that can automate intera
ii tcl8.5-dev 8.5.7-1 Tcl (the Tool Command Language) v8
Versions of packages expect-dev recommends:
ii expectk 5.44.1.14-2 A program that can automate intera
ii tk8.5-dev 8.5.7-1 Tk toolkit for Tcl and X11, v8.5 -
expect-dev suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Source: expect
Source-Version: 5.44.1.14-3
We believe that the bug you reported is fixed in the latest version of
expect, which is due to be installed in the Debian FTP archive:
expect-dev_5.44.1.14-3_i386.deb
to main/e/expect/expect-dev_5.44.1.14-3_i386.deb
expect_5.44.1.14-3.diff.gz
to main/e/expect/expect_5.44.1.14-3.diff.gz
expect_5.44.1.14-3.dsc
to main/e/expect/expect_5.44.1.14-3.dsc
expect_5.44.1.14-3_i386.deb
to main/e/expect/expect_5.44.1.14-3_i386.deb
expectk_5.44.1.14-3_i386.deb
to main/e/expect/expectk_5.44.1.14-3_i386.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Sergei Golovan <[email protected]> (supplier of updated expect package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.8
Date: Tue, 03 Nov 2009 21:21:56 +0300
Source: expect
Binary: expect expectk expect-dev
Architecture: source i386
Version: 5.44.1.14-3
Distribution: unstable
Urgency: low
Maintainer: Sergei Golovan <[email protected]>
Changed-By: Sergei Golovan <[email protected]>
Description:
expect - A program that can automate interactive applications
expect-dev - A program that can automate interactive applications (development
expectk - A program that can automate interactive applications (Tk hooks)
Closes: 552685
Changes:
expect (5.44.1.14-3) unstable; urgency=low
.
* Removed build dependencies which are also dependencies of tk8.5-dev
(since 8.5.7-2).
* Use locally defined function Tcl_ErrnoMsg in exp_clib.c because this
part of the library is supposed to be used without loading into a Tcl
interpreter, which isn't possible if expect is build with Tcl stubs
(closes: #552685).
* Removed unneeded patches from debian/patches, cleaned up other ones.
Checksums-Sha1:
fd61bd694c37b264ae27a366526f7906925b1ff9 1146 expect_5.44.1.14-3.dsc
ec1e6a9483c47cc1e906eb0929abd32d8a628371 25446 expect_5.44.1.14-3.diff.gz
0fa81bb08659461dc6f09e55d550850ed26fa48c 232792 expect_5.44.1.14-3_i386.deb
aecec2c9196032815731999660001901d479d732 101588 expectk_5.44.1.14-3_i386.deb
ba2696d3ad5016cd19a938559fb67862ab0e9aff 177364 expect-dev_5.44.1.14-3_i386.deb
Checksums-Sha256:
15e802d735741e6656df2dfd4a6fbcbf6d66efaa7ca972683dea741ed59bcaa4 1146
expect_5.44.1.14-3.dsc
b96a5a8b655702264b217f0288c7a2b51583ec95b252992e760e055e895ac8b7 25446
expect_5.44.1.14-3.diff.gz
c061293e28ddf58af748bb38f50637242b733aca68f62558b76fc731d7629726 232792
expect_5.44.1.14-3_i386.deb
e829f9a92fd4344796bf5f01fd66e3eda2c657f7841884ab0525059c30073188 101588
expectk_5.44.1.14-3_i386.deb
42e6b7829298b996648a6c18bcfc42ed247319cf29905778e8f8377cc2712fb3 177364
expect-dev_5.44.1.14-3_i386.deb
Files:
28e41a856a7e0203bb379e46e03ac62a 1146 interpreters optional
expect_5.44.1.14-3.dsc
9414d4ccb25d41c297ded2baf3a61bd5 25446 interpreters optional
expect_5.44.1.14-3.diff.gz
3b2666b9e006f9408382a9751f398495 232792 interpreters optional
expect_5.44.1.14-3_i386.deb
79bb59d1412f0e494baf159fe672115f 101588 interpreters optional
expectk_5.44.1.14-3_i386.deb
fb0adc585f44708bc7410f4374903725 177364 devel optional
expect-dev_5.44.1.14-3_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
iD8DBQFK8HXUIcdH02pGEFIRAj/zAJ0XZ3jgUjSY41Hk3V7+P3b/6ZROyQCff+P9
Dld3/FeRdtlPf2fBfrDb7vk=
=ZfVZ
-----END PGP SIGNATURE-----
--- End Message ---