All of lore.kernel.org
 help / color / mirror / Atom feed
* Segfault in the attr stack
@ 2016-06-01 22:00 Stefan Beller
  2016-06-01 22:11 ` Junio C Hamano
  2016-06-01 22:11 ` Stefan Beller
  0 siblings, 2 replies; 12+ messages in thread
From: Stefan Beller @ 2016-06-01 22:00 UTC (permalink / raw)
  To: Junio C Hamano, git

(running git-next)

In the Gerrit repo I did
    $ echo "/plugins/commit-message-length-validator sub-default"
>>.gitattributes
    $ git status ":(attr:sub-default)"
Segmentation fault (core dumped)

Running this multiple times through gdb, this produces different back
traces as it seems that threads are involved? (So I don't attach a
back trace here)

Also notable are:
*** Error in `/usr/local/google/home/sbeller/bin/git': double free or
corruption (fasttop): 0x00007fffd80008f0 ***
*** Error in `/usr/local/google/home/sbeller/bin/git': double free or
corruption (fasttop): 0x00007ffff0001000 ***

When running another command `git status ":(attr:asdf)"`, I get
git: attr.c:634: prepare_attr_stack: Assertion `attr_stack->origin' failed.
git: attr.c:634: prepare_attr_stack: Assertion `attr_stack->origin' failed.
git: attr.c:634: prepare_attr_stack: Assertion `attr_stack->origin' failed.
git: attr.c:634: prepare_attr_stack: Assertion `attr_stack->origin' failed.
Aborted (core dumped)

The failing assertions are an indication that sb/pathspec-label is
using the attrs incorrectly or
jc/attr added tighter assertions than I was aware of.

Stefan

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

end of thread, other threads:[~2016-06-02 16:56 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-01 22:00 Segfault in the attr stack Stefan Beller
2016-06-01 22:11 ` Junio C Hamano
2016-06-01 22:29   ` Stefan Beller
2016-06-01 22:35     ` Junio C Hamano
2016-06-01 22:11 ` Stefan Beller
2016-06-01 22:17   ` Junio C Hamano
2016-06-01 22:46     ` Junio C Hamano
2016-06-02  0:22       ` Junio C Hamano
2016-06-02 15:59         ` Junio C Hamano
2016-06-02 16:56           ` Stefan Beller
2016-06-02  1:02     ` Duy Nguyen
2016-06-02  1:04       ` Duy Nguyen

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.