[Bug 1098750]

Apport retracing service 1098750 at bugs.launchpad.net
Fri Jan 11 22:54:22 UTC 2013


StacktraceTop:
 hrealloc (p=0x7ff9d4f0a940 "\232/proc/\212!/fd/0\n}\nvalidate_passwd> ", old=32, new=64) at ../../Src/mem.c:616
 add (c=-722425536, c at entry=100) at ../../Src/lex.c:575
 dquote_parse (endchar=endchar at entry=34 '"', sub=sub at entry=0) at ../../Src/lex.c:1576
 gettokstr (c=c at entry=34, sub=sub at entry=0) at ../../Src/lex.c:1371
 gettok () at ../../Src/lex.c:993

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to zsh in Ubuntu.
https://bugs.launchpad.net/bugs/1098750

Title:
  zsh5 crashed with SIGSEGV in hrealloc()

Status in “zsh” package in Ubuntu:
  New

Bug description:
  I can't seem to reproduce this, but here's roughly what I did (yes, I
  realized, what I'm doing is stupid and doesn't work):

  nyuszika7h at ymlyna ~ % validate_passwd() {
  >     local username
  >     local password
  >
  >     read -r '?username: ' username
  >     read -rs '?password: ' password
  >
  >     su "$username" -c /bin/true &
  >     print "$password" > "/proc/$!/fd/0"
  > }
  zsh: event not found: /fd/0
  127 nyuszika7h at ymlyna ~ % validate_passwd() {
  >     local username
  >     local password
  >
  >     read -r '?username: ' username
  >     read -rs '?password: ' password
  >
  >     su "$username" -c /bin/true &
  >     print "$password" > "/proc/$\!/fd/0"
  > }

  A few moments later, zsh crashed.

  ProblemType: Crash
  DistroRelease: Ubuntu 13.04
  Package: zsh 5.0.0-2ubuntu3
  ProcVersionSignature: Ubuntu 3.5.0-21.32-generic 3.5.7.1
  Uname: Linux 3.5.0-21-generic x86_64
  ApportVersion: 2.8-0ubuntu1
  Architecture: amd64
  Date: Fri Jan 11 23:26:50 2013
  ExecutablePath: /bin/zsh5
  InstallationDate: Installed on 2013-01-10 (1 days ago)
  InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
  MarkForUpload: True
  ProcCmdline: -zsh
  ProcEnviron:
   LANG=en_US.UTF-8
   SHELL=/bin/zsh
   PATH=(custom, no user)
   TERM=xterm
   XDG_RUNTIME_DIR=<set>
  SegvAnalysis:
   Segfault happened at: 0x450877 <hrealloc+135>:	mov    0x10(%rbx),%rax
   PC (0x00450877) ok
   source "0x10(%rbx)" (0x00000010) not located in a known VMA region (needed readable region)!
   destination "%rax" ok
  SegvReason: reading NULL VMA
  Signal: 11
  SourcePackage: zsh
  StacktraceTop:
   hrealloc ()
   add ()
   ?? ()
   ?? ()
   zshlex ()
  Title: zsh5 crashed with SIGSEGV in hrealloc()
  UpgradeStatus: No upgrade log present (probably fresh install)
  UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zsh/+bug/1098750/+subscriptions




More information about the foundations-bugs mailing list