zsh-workers
 help / color / mirror / code / Atom feed
* workers/40626 (commit 6c476c22) causes multiple test failures
@ 2017-02-26  0:04 Bart Schaefer
  2017-02-26  6:16 ` Daniel Shahaf
  0 siblings, 1 reply; 15+ messages in thread
From: Bart Schaefer @ 2017-02-26  0:04 UTC (permalink / raw)
  To: zsh-workers

This is just the first one that dies:

../../zsh-5.0/Test/A03quoting.ztst: starting.
--- /tmp/zsh.ztst.20553/ztst.out        2017-02-25 15:58:53.000000000 -0800
+++ /tmp/zsh.ztst.20553/ztst.tout       2017-02-25 15:58:53.000000000 -0800
@@ -1 +1 @@
-'
+
Test ../../zsh-5.0/Test/A03quoting.ztst failed: output differs from expected as shown above for:
  print -r ''''
  unsetopt rcquotes


**************************************
33 successful test scripts, 14 failures, 1 skipped
**************************************

Reverting 6c476c22 makes all tests pass again.


^ permalink raw reply	[flat|nested] 15+ messages in thread
* Re: workers/40626 (commit 6c476c22) causes multiple test failures
@ 2017-02-27  9:41 Sebastian Gniazdowski
  2017-02-27 16:42 ` Bart Schaefer
  0 siblings, 1 reply; 15+ messages in thread
From: Sebastian Gniazdowski @ 2017-02-27  9:41 UTC (permalink / raw)
  To: zsh-workers

On 26 February 2017 at 20:42, Bart Schaefer <schaefer@brasslantern.com>
wrote:
> I suspect this is what comes of some attempt to optimize assignments.

It's impossible, hashes weren't optimized. BTW options+=( ), etc.
still segfaults. Added:

    fprintf( stderr, "Pointer of old: %p, pointer of new: %p\n",
pm->u.hash, ht );
    fflush( stderr );

to setpmoptions(). Don't know how to obtain the same pointer of which
you mention, but you can revert to 5.1.1, apply your patch to which I
reply, and see it will be still the same. Any problem is impossible
because hashes weren't optimized, and optimizations are guarded by:
v->pm->gsu.a->setfn == arrsetfn.

-- 
  Sebastian Gniazdowski
  psprint3@fastmail.com


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

end of thread, other threads:[~2017-03-01 15:55 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-26  0:04 workers/40626 (commit 6c476c22) causes multiple test failures Bart Schaefer
2017-02-26  6:16 ` Daniel Shahaf
2017-02-26 19:42   ` Bart Schaefer
2017-02-27  9:31     ` Sebastian Gniazdowski
2017-02-28  7:45     ` Daniel Shahaf
2017-02-28 16:38       ` Bart Schaefer
2017-02-28 17:03         ` Daniel Shahaf
2017-02-28 19:04           ` Bart Schaefer
2017-02-28 21:51             ` Daniel Shahaf
2017-03-01 15:55               ` Bart Schaefer
2017-02-27  9:41 Sebastian Gniazdowski
2017-02-27 16:42 ` Bart Schaefer
2017-02-27 18:48   ` Sebastian Gniazdowski
2017-02-27 20:08     ` Daniel Shahaf
2017-02-27 20:38       ` Frank Terbeck

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