Your message dated Mon, 03 Mar 2008 13:47:03 +0000
with message-id <[EMAIL PROTECTED]>
and subject line Bug#467065: fixed in dash 0.5.4-8
has caused the Debian Bug report #467065,
regarding dash segfault with nested if/for in pipe
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.)


-- 
467065: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=467065
Debian Bug Tracking System
Contact [EMAIL PROTECTED] with problems
--- Begin Message ---
Package: dash
Version: 0.5.4-7
Severity: important


Steps to reproduce segfault, within dash:

mkdir -p dash-test
touch dash-test/a.xpm
if test -d "dash-test"; then echo "dash-test"; for pixmap in "dash-test/"*.xpm; 
do echo "${pixmap}"; done; fi | less

The first two lines can be given in any shell, they're only for setup.
The crash only seems to affect interactive operation, other things I
tried like dash -c "blah blah" and dash <<EOT
blah blah
EOT
didn't produce the crash.  My bug title is a somewhat wild guess as to
what actually triggers the crash.
I found this bug investigating 459181, it may or may not be related.

Backtraces from the above line, and a minor variant that segfaults in
a different place.

=== CRASH VARIANT 1
if test -d "dash-test"; then echo "dash-test"; for pixmap in "dash-test/"*.xpm; 
do echo "${pixmap}"; done; fi | less

Program received signal SIGSEGV, Segmentation fault.
cmdtxt (n=0x6966)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/jobs.c:1196
1196            switch (n->type) {
(gdb) bt
#0  cmdtxt (n=0x6966)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/jobs.c:1196
#1  0x00000000004089f5 in cmdtxt (n=0x6966)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/jobs.c:1264
#2  0x0000000000408d28 in forkshell (jp=0x61b760, n=0x619d10, 
    mode=<value optimized out>)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/jobs.c:1178
#3  0x0000000000403cb6 in evalpipe (n=0x61b5c0, flags=0)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/eval.c:540
#4  0x0000000000403978 in evaltree (n=0x61b5c0, flags=0)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/eval.c:289
#5  0x0000000000409da5 in cmdloop (top=1)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/main.c:237
#6  0x0000000000409ff9 in main (argc=1, argv=0x7fff272a89c8)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/main.c:178


=== CRASH VARIANT 2
if test -d "dash-test"; then for pixmap in "dash-test/"*.xpm; do echo 
"${pixmap}"; done; fi | less

Program received signal SIGSEGV, Segmentation fault.
cmdtxt (n=0x619de0)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/jobs.c:1204
1204                            cmdtxt(lp->n);
(gdb) bt
#0  cmdtxt (n=0x619de0)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/jobs.c:1204
#1  0x00000000004089f5 in cmdtxt (n=0x619de0)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/jobs.c:1264
#2  0x0000000000408d28 in forkshell (jp=0x61b760, n=0x619d10, 
    mode=<value optimized out>)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/jobs.c:1178
#3  0x0000000000403cb6 in evalpipe (n=0x619ed8, flags=0)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/eval.c:540
#4  0x0000000000403978 in evaltree (n=0x619ed8, flags=0)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/eval.c:289
#5  0x0000000000409da5 in cmdloop (top=1)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/main.c:237
#6  0x0000000000409ff9 in main (argc=1, argv=0x7ffffaa861a8)
    at /home/ldoolitt/deb-src/dash-0.5.4/build-tmp/../src/main.c:178


-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.24-1-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages dash depends on:
ii  libc6                         2.7-8      GNU C Library: Shared libraries

dash recommends no packages.

-- debconf information excluded



--- End Message ---
--- Begin Message ---
Source: dash
Source-Version: 0.5.4-8

We believe that the bug you reported is fixed in the latest version of
dash, which is due to be installed in the Debian FTP archive:

ash_0.5.4-8_all.deb
  to pool/main/d/dash/ash_0.5.4-8_all.deb
dash_0.5.4-8.diff.gz
  to pool/main/d/dash/dash_0.5.4-8.diff.gz
dash_0.5.4-8.dsc
  to pool/main/d/dash/dash_0.5.4-8.dsc



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.
Gerrit Pape <[EMAIL PROTECTED]> (supplier of updated dash 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.7
Date: Sun, 02 Mar 2008 21:36:20 +0000
Source: dash
Binary: dash ash
Architecture: all source
Version: 0.5.4-8
Distribution: unstable
Urgency: low
Maintainer: Gerrit Pape <[EMAIL PROTECTED]>
Changed-By: Gerrit Pape <[EMAIL PROTECTED]>
Description: 
 ash        - compatibility package for dash
 dash       - POSIX-compliant shell
Closes: 455550 462414 462977 463649 467065 467358 468376 468449 468837 469102
Changes: 
 dash (0.5.4-8) unstable; urgency=low
 .
   * debian/diff/0045-Fix-null-pointer-dereference.diff: new from Larry
     Doolittle, blessed by upstream: Fix null pointer dereference (thx!,
     closes: #467065; most probably closes: #462414, #462977, #463649,
     #467358, #468376, #468449, #468837, #469102).
   * debian/dash.templates.in: don't mention 'distribution policy' or
     'Debian policy' at all, but talk only about POSIX-compliance; run
     debconf-updatepo (closes: #455550).
   * debian/control: Standards-Version: 3.7.3.0.
Files: 
 a92a255bfc8c8cd769bc13c342444be8 587 shells optional dash_0.5.4-8.dsc
 8e195056bf9cdb408a80d54e6799f172 125196 shells optional dash_0.5.4-8.diff.gz
 dfd3f2aed75b6864862b9f054cc2a53c 20590 shells optional ash_0.5.4-8_all.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iD8DBQFHyyaDGJoyQbxwpv8RArJkAJ0XbPufiv/jPUiOuzqnEkMo+8mqMQCeJcGP
3FwIf+ZxXj312rZ6VG2d/zQ=
=4Rdd
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to