* realloc(): invalid next size
@ 2018-04-07 18:48 Winston Weinert
2018-04-08 18:32 ` Winston Weinert
0 siblings, 1 reply; 3+ messages in thread
From: Winston Weinert @ 2018-04-07 18:48 UTC (permalink / raw)
To: zsh-users
Occasionally when tab completing, zsh crashes with this message
"realloc(): invalid next size". I am using oh-my-zsh, for what it's
worth, though I assume zsh should never dump core during normal use. My
zsh version is: zsh 5.4.2 (x86_64-unknown-linux-gnu).
I did a little digging and found I'm not the only person who has
encountered this issue, but it appears my list is exhaustive of Google's
results:
- https://github.com/rvm/rvm/issues/4214 (one user reports the crash
with only autoload -uZ compinit; compinit) with rvm enabled.
- https://bbs.archlinux.org/viewtopic.php?id=234501 (nothing very useful
here, just a report)
Regards,
Winston Weinert
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: realloc(): invalid next size
2018-04-07 18:48 realloc(): invalid next size Winston Weinert
@ 2018-04-08 18:32 ` Winston Weinert
2018-04-11 22:31 ` Bart Schaefer
0 siblings, 1 reply; 3+ messages in thread
From: Winston Weinert @ 2018-04-08 18:32 UTC (permalink / raw)
To: zsh-users
> Occasionally when tab completing, zsh crashes with this message
> "realloc(): invalid next size". I am using oh-my-zsh, for what it's
> worth, though I assume zsh should never dump core during normal use. My
> zsh version is: zsh 5.4.2 (x86_64-unknown-linux-gnu).
>
> I did a little digging and found I'm not the only person who has
> encountered this issue, but it appears my list is exhaustive of Google's
> results:
>
> - https://github.com/rvm/rvm/issues/4214 (one user reports the crash
> with only autoload -uZ compinit; compinit) with rvm enabled.
> - https://bbs.archlinux.org/viewtopic.php?id=234501 (nothing very useful
> here, just a report)
I found some more issues discussing this:
- https://github.com/robbyrussell/oh-my-zsh/issues/4346 (includes links
to backtraces)
- https://github.com/sorin-ionescu/prezto/issues/6
- https://sourceforge.net/p/zsh/bugs/87/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: realloc(): invalid next size
2018-04-08 18:32 ` Winston Weinert
@ 2018-04-11 22:31 ` Bart Schaefer
0 siblings, 0 replies; 3+ messages in thread
From: Bart Schaefer @ 2018-04-11 22:31 UTC (permalink / raw)
To: Winston Weinert, zsh-users
So, the stack trace indicates this is happening in expandjobtab(),
which tends to imply that something is fork-bombing or otherwise
flooding the job table.
This may mean that MAX_MAXJOBS (default 1000) is too large for the
memory space required by the job table? If you recompile with a
smaller value for MAX_MAXJOBS to you get an error message instead
of a crash?
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2018-04-11 22:31 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-07 18:48 realloc(): invalid next size Winston Weinert
2018-04-08 18:32 ` Winston Weinert
2018-04-11 22:31 ` Bart Schaefer
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).