[Bug 1098750] Re: zsh5 crashed with SIGSEGV in hrealloc()

Axel Beckert abe at debian.org
Sat Jan 18 10:12:52 UTC 2014


*** This bug is a duplicate of bug 1070820 ***
    https://bugs.launchpad.net/bugs/1070820

No need to be sorry. I'm glad about it. :-)

-- 
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