* SIGSEGV in patmatch() -- Fedora bug #1245116
@ 2015-07-21 16:01 Kamil Dudka
2015-07-21 22:06 ` Bart Schaefer
0 siblings, 1 reply; 2+ messages in thread
From: Kamil Dudka @ 2015-07-21 16:01 UTC (permalink / raw)
To: zsh-workers
A user of Fedora reported a crash of zsh-5.0.8 in patmatch():
https://bugzilla.redhat.com/1245116
The automatically recorded backtrace:
https://bugzilla.redhat.com/attachment.cgi?id=1054236
... shows that 'chrop' and 'chrend' pointed off the allocated memory
at this line:
http://repo.or.cz/w/zsh/mirror.git/blob/a0862f63:/Src/pattern.c#l2541
My guess is that the invalid addresses were loaded from 'exactpos' and
'exactend' but static variables are not captured in the backtrace to
actually confirm it.
Unfortunately, I was not successful in reproducing the crash locally,
neither the original reporter was able to trigger it on demand. Hence,
I am sharing it here in case anybody recognized the actual cause just
from the backtrace.
Kamil
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: SIGSEGV in patmatch() -- Fedora bug #1245116
2015-07-21 16:01 SIGSEGV in patmatch() -- Fedora bug #1245116 Kamil Dudka
@ 2015-07-21 22:06 ` Bart Schaefer
0 siblings, 0 replies; 2+ messages in thread
From: Bart Schaefer @ 2015-07-21 22:06 UTC (permalink / raw)
To: Kamil Dudka, zsh-workers
On Jul 21, 6:01pm, Kamil Dudka wrote:
}
} Unfortunately, I was not successful in reproducing the crash locally,
} neither the original reporter was able to trigger it on demand. Hence,
} I am sharing it here in case anybody recognized the actual cause just
} from the backtrace.
It's yet another crash from region highlighting, so you're probably not
going to be able to reproduce it without replicating some of the fancy
coloring that is applied by packages like oh-my-zsh and/or prezto.
Beyond that I don't recognize anything interesting.
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-07-21 22:07 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-07-21 16:01 SIGSEGV in patmatch() -- Fedora bug #1245116 Kamil Dudka
2015-07-21 22:06 ` 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).