zsh-workers
 help / color / mirror / code / Atom feed
From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@zsh.org
Subject: Crash if zsh exits with zftp module loaded
Date: Sat, 8 Aug 2015 21:37:55 -0700	[thread overview]
Message-ID: <150808213755.ZM18793@torch.brasslantern.com> (raw)

This only reproduces with a debugging malloc library that detects the
double free:

#3  0x00007ffff6d00b26 in malloc_printerr (action=3, 
    str=0x7ffff6e007c8 "double free or corruption (fasttop)", 
    ptr=<optimized out>) at malloc.c:5051
#4  0x0000000000476a8f in zfree (p=0x7dfe80, sz=8) at mem.c:1820
#5  0x00000000004dfa86 in zftp_cleanup () at zftp.c:3154
#6  0x00000000004dfa9d in zftpexithook (d=0x7903c0, dummy=0x0) at zftp.c:3160
#7  0x00000000004780f4 in runhookdef (h=0x7903c0, d=0x0) at module.c:990
#8  0x0000000000431270 in zexit (val=0, from_where=0) at builtin.c:5229
#9  0x0000000000460077 in zsh_main (argc=2, argv=0x7fffffffe668) at init.c:1693
#10 0x000000000041b834 in main (argc=2, argv=0x7fffffffe668) at ./main.c:93


             reply	other threads:[~2015-08-09  4:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-08-09  4:37 Bart Schaefer [this message]
2015-08-09 17:07 ` PATCH " Bart Schaefer

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=150808213755.ZM18793@torch.brasslantern.com \
    --to=schaefer@brasslantern.com \
    --cc=zsh-workers@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).