Bug#515278: posh segfaults in xtrace mode

2009-02-15 Thread Frank Terbeck
Package: posh
Version: 0.6.15
Severity: normal

When putting posh into xtrace mode, the next entered command causes to
crash posh with a segfault.

zsh% posh
$ set -x
$ echo foo
[1]32044 segmentation fault (core dumped)  posh

Reproducible in scripts and in interactive mode.

Regards, Frank


-- System Information:
Debian Release: 5.0
  APT prefers unstable
  APT policy: (990, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 2.6.27.8-loopaes (PREEMPT)
Locale: LANG=C, lc_ctype=de...@euro (charmap=ISO-8859-15)
Shell: /bin/sh linked to /bin/dash

Versions of packages posh depends on:
ii  debconf [debconf-2.0] 1.5.24 Debian configuration management sy
ii  libc6 2.7-18 GNU C Library: Shared libraries

posh recommends no packages.

posh suggests no packages.

-- debconf information excluded



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#515278: posh segfaults in xtrace mode

2009-02-15 Thread Clint Adams
severity 515278 grave
tags 515278 + confirmed
quit

On Sun, Feb 15, 2009 at 02:19:18PM +0100, Frank Terbeck wrote:
 When putting posh into xtrace mode, the next entered command causes to
 crash posh with a segfault.
 
 zsh% posh
 $ set -x
 $ echo foo
 [1]32044 segmentation fault (core dumped)  posh
 
 Reproducible in scripts and in interactive mode.

Argh.



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#515278: posh segfaults in xtrace mode

2009-02-15 Thread Clint Adams
On Sun, Feb 15, 2009 at 02:19:18PM +0100, Frank Terbeck wrote:
 $ set -x
 $ echo foo

#0  0xb7e2d103 in strlen () from /lib/i686/cmov/libc.so.6
#1  0xb7df97e6 in vfprintf () from /lib/i686/cmov/libc.so.6
#2  0xb7e1e054 in vsnprintf () from /lib/i686/cmov/libc.so.6
#3  0x08057937 in shf_vfprintf (shf=0x80642e0, fmt=0x806058b %s%s, 
args=0x9f30180 echo) at /home/clint/packages/posh/posh/shf.c:1266
#4  0x0805798f in shf_fprintf (shf=0x80642e0, fmt=0x806058b %s%s) at 
/home/clint/packages/posh/posh/shf.c:766
#5  0x0804e60e in execute (t=0x9f2f010, flags=0) at 
/home/clint/packages/posh/posh/exec.c:120
#6  0x0805496e in shell (s=0x9f2e878, toplevel=1) at 
/home/clint/packages/posh/posh/main.c:556
#7  0x0805521d in main (argc=0, argv=0xbfe3bb54) at 
/home/clint/packages/posh/posh/main.c:368




-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org