zsh-workers
 help / color / mirror / code / Atom feed
* Crash on small (2x2) window sizes
@ 2019-06-25  5:52 Tom McLaughlin
  2019-06-26 17:16 ` Bart Schaefer
  0 siblings, 1 reply; 3+ messages in thread
From: Tom McLaughlin @ 2019-06-25  5:52 UTC (permalink / raw)
  To: zsh-workers

[-- Attachment #1: Type: text/plain, Size: 279 bytes --]

Hello,

I found a crash that happens why you try to run a very small (2x2) window
with ZSH.

I made a repro with a full description which you can find here:
https://github.com/thomasjm/zsh-bug-demo

Please let me know if there's any other information I can provide.

Thanks,
Tom

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Crash on small (2x2) window sizes
  2019-06-25  5:52 Crash on small (2x2) window sizes Tom McLaughlin
@ 2019-06-26 17:16 ` Bart Schaefer
  2019-06-27  6:52   ` Tom McLaughlin
  0 siblings, 1 reply; 3+ messages in thread
From: Bart Schaefer @ 2019-06-26 17:16 UTC (permalink / raw)
  To: Tom McLaughlin; +Cc: Zsh hackers list

[-- Attachment #1: Type: text/plain, Size: 255 bytes --]

I can't find the reference but I'm fairly sure this was fixed a while
back.  I see you are testing with Zsh 5.5.1.

I can't easily confirm just now - MacOS won't allow me to create a window
that small - but please try again with Zsh 5.7.1 or thereabouts?

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Crash on small (2x2) window sizes
  2019-06-26 17:16 ` Bart Schaefer
@ 2019-06-27  6:52   ` Tom McLaughlin
  0 siblings, 0 replies; 3+ messages in thread
From: Tom McLaughlin @ 2019-06-27  6:52 UTC (permalink / raw)
  To: Bart Schaefer; +Cc: Zsh hackers list

[-- Attachment #1: Type: text/plain, Size: 782 bytes --]

Hi Bart -- I first noticed the problem on 5.7.1 actually. If you switch to
Ubuntu 19.10 in my repro Dockerfile then you can try that version. The
problem still exists. Interestingly, it seems like you have to type 4
characters before it crashes on 5.7.1 as opposed to 2 characters in 5.5.1.

Here's the output from my repro script:

```
ZSH version:  zsh 5.7.1 (x86_64-ubuntu-linux-gnu)

asdf
free(): invalid next size (fast)
```



On Wed, Jun 26, 2019 at 10:17 AM Bart Schaefer <schaefer@brasslantern.com>
wrote:

> I can't find the reference but I'm fairly sure this was fixed a while
> back.  I see you are testing with Zsh 5.5.1.
>
> I can't easily confirm just now - MacOS won't allow me to create a window
> that small - but please try again with Zsh 5.7.1 or thereabouts?
>

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2019-06-27  6:53 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-06-25  5:52 Crash on small (2x2) window sizes Tom McLaughlin
2019-06-26 17:16 ` Bart Schaefer
2019-06-27  6:52   ` Tom McLaughlin

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