[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#394805: marked as done (segmentation fault on command -v)



Your message dated Sun, 12 Apr 2009 14:12:37 +0200
with message-id <20090412121237.GC14690@wavehammer.waldi.eu.org>
and subject line fixed
has caused the Debian Bug report #394805,
regarding segmentation fault on command -v
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 owner@bugs.debian.org
immediately.)


-- 
394805: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=394805
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: dash
Version: 0.5.3-3
Severity: important

Hi dash maintainer,

I just found this bug which is easily reproductible:

% dash -c 'command -v'
zsh: segmentation fault  dash -c 'command -v'

Here's the full backtrace:

#0  0xa7efad18 in strcmp () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#1  0xa7eba19d in bsearch () from /lib/tls/i686/cmov/libc.so.6
No symbol table info available.
#2  0x08051c81 in findstring (s=0x0, array=0x8059bc0, nmemb=16) at
mystring.c:208
No locals.
#3  0x08052a03 in findkwd (s=0x0) at parser.c:1591
No locals.
#4  0x0804c29c in describe_command (out=0x805c618, command=0x0,
verbose=0) at exec.c:763
	entry = {cmdtype = 1, u = {index = -1342641372, cmd =
0xaff8eb24, func = 0xaff8eb24}}
	cmdp = <value optimized out>
	ap = <value optimized out>
	path = 0xaff8eb24
"/home/jdanjou/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
#5  0x0804b030 in evalbltin (cmd=0x805a8a0, argc=2, argv=0x805eb24) at
eval.c:922
	savecmdname = 0x0
	savehandler = (struct jmploc * volatile) 0xaff8d210
	jmploc = {loc = {{__jmpbuf = {134605604, -1342641372, 2,
-1342648008, -1342648208, 134524898}, __mask_was_saved = 0, 
      __saved_mask = {__val = {0, 0, 0, 134608728, 0, 0, 1, 134588576,
134533085, 134605588, 134582336, 0, 0, 0, 0, 0, 
          134596536, 134605596, 134582339, 2952319288, 134538800,
134605588, 0, 2952319256, 134561297, 0, 134605532, 2952319288, 
          134561797, 134605508, 134605588, 2952319288}}}}}
	i = 0
#6  0x0804b6d9 in evalcommand (cmd=0x805eaf4, flags=0) at eval.c:863
	i = <value optimized out>
	smark = {stackp = 0x805eac0, stacknxt = 0x805eb04 "command",
stacknleft = 440, marknext = 0xaff8d1e0}
	argp = (union node *) 0xaff8eb24
	arglist = {list = 0x805eb0c, lastp = 0x805eb1c}
	varlist = {list = 0x0, lastp = 0xaff8d18c}
	argv = <value optimized out>
	argc = 2
	sp = <value optimized out>
	cmdentry = {cmdtype = 2, u = {index = 134588576, cmd =
0x805a8a0, func = 0x805a8a0}}
	jp = <value optimized out>
	lastarg = 0x0
	path = 0xaff8eb24
"/home/jdanjou/bin:/usr/local/bin:/usr/bin:/bin:/usr/bin/X11:/usr/games"
	spclbltin = 0
	execcmd = 0
	status = 0
	nargv = <value optimized out>
#7  0x0804a879 in evaltree (n=0x805eaf4, flags=0) at eval.c:291
	checkexit = 0
	evalfn = (void (*)(union node *, int)) 0
	isor = <value optimized out>
	status = 0
#8  0x0804b7e1 in evalstring (s=0xaff8e5bf "command -v", mask=0) at
eval.c:176
	n = (union node *) 0x0
	smark = {stackp = 0x805eac0, stacknxt = 0x805eac4 "command",
stacknleft = 504, marknext = 0xaff8d2ac}
	skip = 0
#9  0x08050d39 in main (argc=3, argv=0xaff8d354) at main.c:174
	shinit = <value optimized out>
	state = 4
	jmploc = {loc = {{__jmpbuf = {-1476669452, 0, -1476477760,
-1342647608, -1342647808, 134548661}, __mask_was_saved = 0, 
      __saved_mask = {__val = {2818393456, 1, 0, 1, 0, 0, 0, 0, 0, 0, 0,
0, 0, 2952319744, 2818491640, 134515830, 24641422, 
          16777216, 0, 0, 0, 0, 0, 2952324502, 2817469806, 2818123913,
2818297844, 2952319656, 134518608, 2818297844, 134595688, 
          2952319672}}}}}
	smark = {stackp = 0x805eac0, stacknxt = 0x805eac4 "command",
stacknleft = 504, marknext = 0x0}


-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-686
Locale: LANG=C, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)

Versions of packages dash depends on:
ii  libc6                        2.3.6.ds1-4 GNU C Library: Shared libraries

dash recommends no packages.

-- debconf information:
  dash/sh: false

-- 
Julien Danjou
// Λ̊ <julien@danjou.info>   http://julien.danjou.info
// 9A0D 5FD9 EB42 22F6 8974  C95C A462 B51E C2FE E5CD
// Life is life. Lalalalala.

Attachment: signature.asc
Description: Digital signature


--- End Message ---
--- Begin Message ---
This was fixed some time ago.

Bastian

-- 
You're dead, Jim.
		-- McCoy, "Amok Time", stardate 3372.7


--- End Message ---

Reply to: