Skip to content

6. Fuzz and triage

$ stitch fuzz --jobs 2 --secs 60
campaign 'main' started in the background (2 workers, container stitch-kv-main).
stitch status main progress + what blocks the fuzzer
stitch crashes main triage crashes
stitch stop main
$ stitch status
campaign 'main': running
24s, 457k execs (19.0k/s), 64 edges, corpus 33, calls bailing 12% (programs with a bail 52%), 50 crash/timeout programs saved
$ stitch fuzz --jobs 2 --secs 60
campaign 'main' started in the background (2 workers, container stitch-kv-main).
stitch status main progress + what blocks the fuzzer
stitch crashes main triage crashes
stitch stop main
$ stitch status
campaign 'main': running
23s, 104k execs (4.6k/s), 180/801 edges, corpus 312, calls bailing 13% (programs with a bail 50%), 30 crash/timeout programs saved
$ stitch fuzz --jobs 2 --secs 60
campaign 'main' started in the background (2 workers, container stitch-kv-main).
stitch status main progress + what blocks the fuzzer
stitch crashes main triage crashes
stitch stop main
$ stitch status
campaign 'main': running
22s, 196k execs (8.8k/s), 32 edges, corpus 98, calls bailing 15% (programs with a bail 45%), 50 crash/timeout programs saved
$ stitch fuzz --jobs 2 --secs 60
campaign 'main' started in the background (2 workers, container stitch-kv-main).
stitch status main progress + what blocks the fuzzer
stitch crashes main triage crashes
stitch stop main
$ stitch status
campaign 'main': running
22s, 592k execs (26.8k/s), 57 edges, corpus 80, calls bailing 14% (programs with a bail 46%), 55 crash/timeout programs saved
$ stitch fuzz --jobs 2 --secs 60
campaign 'main' started in the background (2 workers, container stitch-kv-main).
stitch status main progress + what blocks the fuzzer
stitch crashes main triage crashes
stitch stop main
$ stitch status
campaign 'main': running
24s, 770k execs (32.0k/s), 43/83 edges, corpus 128, calls bailing 15% (programs with a bail 64%), 36 crash/timeout programs saved
$ stitch fuzz --jobs 2 --secs 60
campaign 'main' started in the background (2 workers, container stitch-kv-main).
stitch status main progress + what blocks the fuzzer
stitch crashes main triage crashes
stitch stop main
$ stitch status
campaign 'main': running
22s, 135k execs (6.1k/s), 458/1948 edges, corpus 499, calls bailing 13% (programs with a bail 46%), 30 crash/timeout programs saved
$ stitch fuzz --jobs 2 --secs 60
campaign 'main' started in the background (2 workers, container stitch-kv-main).
stitch status main progress + what blocks the fuzzer
stitch crashes main triage crashes
stitch stop main
$ stitch status
campaign 'main': running
22s, 182k execs (8.2k/s), 31 edges, corpus 79, calls bailing 15% (programs with a bail 47%), 47 crash/timeout programs saved
$ stitch fuzz --jobs 2 --secs 60
campaign 'main' started in the background (2 workers, container stitch-kv-main).
stitch status main progress + what blocks the fuzzer
stitch crashes main triage crashes
stitch stop main
$ stitch status
campaign 'main': running
23s, 44.4k execs (1.9k/s), 385/6457 edges, corpus 319, calls bailing 8% (programs with a bail 35%), 30 crash/timeout programs saved
$ stitch fuzz --jobs 2 --secs 60
campaign 'main' started in the background (2 workers, container stitch-kv-main).
stitch status main progress + what blocks the fuzzer
stitch crashes main triage crashes
stitch stop main
$ stitch status
campaign 'main': running
22s, 96.8k execs (4.3k/s), 43/76 edges, corpus 121, calls bailing 16% (programs with a bail 57%), 40 crash/timeout programs saved

The campaign runs in the background. --jobs sets the number of workers, and --secs stops it after a while; without --secs it runs until stitch stop. Running stitch fuzz again resumes from the programs it kept. stitch status --wait waits for the end.

$ stitch crashes
[stitch] rerunning 49 new crash programs of 'main' to group them (timeouts take their full timeout; slower while a campaign runs)
5 unique crashes in 'main':
c1 x10 IndexError in load
load __init__.py:41
load stubs.py:25
example (1 calls): .stitch/campaigns/main/w1/crashes/3367673ffe2a89fe.stp
c2 x10 IndexError in roundtrip
load __init__.py:41
roundtrip stubs.py:40
example (4 calls): .stitch/campaigns/main/w0/crashes/5c5575c48efea250.stp
c3 x10 ValueError in roundtrip
Store.put __init__.py:11
load __init__.py:42
roundtrip stubs.py:40
example (3 calls): .stitch/campaigns/main/w0/crashes/5e117e4685da3245.stp
c4 x10 check failed: dump/load roundtrip in roundtrip
example (3 calls): .stitch/campaigns/main/w1/crashes/def0a47db684502b.stp
c5 x9 KeyError in roundtrip
Store.items __init__.py:26
Store.dump __init__.py:29
roundtrip stubs.py:40
example (5 calls): .stitch/campaigns/main/w0/crashes/4141d2e5c3d584be.stp
next: stitch exec <id> --trace | stitch minimize <id> | stitch repro <id> | stitch bisect <id>
$ stitch crashes
[stitch] rerunning 31 new crash programs of 'main' to group them (timeouts take their full timeout; slower while a campaign runs)
4 unique crashes in 'main':
c1 x10 SEGV in load
strcspn (BuildId:
kv_load kv.c:96:15
load stubs.cpp:20:20
example (4 calls): .stitch/campaigns/main/w1/crashes/c8eb10ab74699171.stp
c2 x10 heap-use-after-free READ in roundtrip
kv_dump kv.c:72:37
roundtrip stubs.cpp:35:18
example (6 calls): .stitch/campaigns/main/w0/crashes/3ab9ff5378154395.stp
c3 x9 SEGV in roundtrip
strcspn (BuildId:
kv_load kv.c:96:15
roundtrip stubs.cpp:36:23
example (3 calls): .stitch/campaigns/main/w0/crashes/5fb33407f481b1f4.stp
c4 x2 check failed: dump/load roundtrip in roundtrip
example (4 calls): .stitch/campaigns/main/w0/crashes/b2a0aa424e9a3e5a.stp
next: stitch exec <id> --trace | stitch minimize <id> | stitch repro <id> | stitch bisect <id>
$ stitch crashes
[stitch] rerunning 50 new crash programs of 'main' to group them (timeouts take their full timeout; slower while a campaign runs)
5 unique crashes in 'main':
c1 x10 RangeError in roundtrip
Store.put index.js:10
Object.load index.js:34
Endpoint.fn stubs.js:26
example (5 calls): .stitch/campaigns/main/w1/crashes/56a474c97accff0a.stp
c2 x10 TypeError in roundtrip
Object.load index.js:33
Endpoint.fn stubs.js:26
example (3 calls): .stitch/campaigns/main/w1/crashes/c5dc50976c4ea067.stp
c3 x10 TypeError in load
Object.load index.js:33
stitch.endpoint.bailsOn [as fn] stubs.js:16
example (2 calls): .stitch/campaigns/main/w0/crashes/09eba99a87ce854a.stp
c4 x10 TypeError in roundtrip
anonymous@index.js index.js:21
Store.dump index.js:21
Endpoint.fn stubs.js:26
example (4 calls): .stitch/campaigns/main/w0/crashes/b9f14b85cad8c307.stp
c5 x10 check failed: dump/load roundtrip in roundtrip
example (3 calls): .stitch/campaigns/main/w1/crashes/5aabe7890302f91f.stp
next: stitch exec <id> --trace | stitch minimize <id> | stitch repro <id> | stitch bisect <id>
$ stitch crashes
[stitch] rerunning 58 new crash programs of 'main' to group them (timeouts take their full timeout; slower while a campaign runs)
4 unique crashes in 'main':
c1 x20 StringIndexOutOfBoundsException in load
String.checkBoundsBeginEnd String.java:4855
String.substring String.java:2823
Store.load Store.java:40
example (4 calls): .stitch/campaigns/main/w0/crashes/55e9caf49141a982.stp
c2 x18 NullPointerException in roundtrip
Store.dump Store.java:25
Stubs.roundtrip Stubs.java:34
example (6 calls): .stitch/campaigns/main/w1/crashes/34e651e6094e7fd3.stp
c3 x10 IllegalArgumentException in roundtrip
Store.put Store.java:14
Store.load Store.java:41
Stubs.roundtrip Stubs.java:34
example (5 calls): .stitch/campaigns/main/w0/crashes/150388345e73a33e.stp
c4 x10 check failed: dump/load roundtrip in roundtrip
example (4 calls): .stitch/campaigns/main/w0/crashes/0b06a0b7280f8443.stp
next: stitch exec <id> --trace | stitch minimize <id> | stitch repro <id> | stitch bisect <id>
$ stitch crashes
[stitch] rerunning 37 new crash programs of 'main' to group them (timeouts take their full timeout; slower while a campaign runs)
4 unique crashes in 'main':
c1 x10 index out of range in load
kvgo.Load kv.go:66
example (6 calls): .stitch/campaigns/main/w0/crashes/32adc2d5ed2d4dd3.stp
c2 x10 index out of range in roundtrip
kvgo.Load kv.go:66
stitchharness.roundtrip stubs.go:35
example (5 calls): .stitch/campaigns/main/w0/crashes/e5a2b089c5515051.stp
c3 x10 nil pointer dereference in roundtrip
kvgo.Store.Dump kv.go:48
stitchharness.roundtrip stubs.go:35
example (7 calls): .stitch/campaigns/main/w0/crashes/b0b8b173289d4cc0.stp
c4 x7 check failed: dump/load roundtrip in roundtrip
example (7 calls): .stitch/campaigns/main/w0/crashes/79ccccf21afb5c00.stp
next: stitch exec <id> --trace | stitch minimize <id> | stitch repro <id> | stitch bisect <id>
$ stitch crashes
[stitch] rerunning 34 new crash programs of 'main' to group them (timeouts take their full timeout; slower while a campaign runs)
3 unique crashes in 'main':
c1 x19 index out of bounds in roundtrip
kvrs::load lib.rs:55
example (1 calls): .stitch/campaigns/main/w1/crashes/96a5f72e3694dda1.stp
c2 x10 called `Option::unwrap()` on a `None` value in roundtrip
kvrs::Store::dump::{{closure}} lib.rs:33
kvrs::Store::dump lib.rs:33
example (5 calls): .stitch/campaigns/main/w0/crashes/7fb95ce3ff1dccea.stp
c3 x5 check failed: dump/load roundtrip in roundtrip
example (5 calls): .stitch/campaigns/main/w0/crashes/5e5898c4c75c8fa3.stp
next: stitch exec <id> --trace | stitch minimize <id> | stitch repro <id> | stitch bisect <id>
$ stitch crashes
[stitch] rerunning 48 new crash programs of 'main' to group them (timeouts take their full timeout; slower while a campaign runs)
4 unique crashes in 'main':
c1 x19 NoMethodError in roundtrip
block in Kvrb.load kvrb.rb:39
Array#each kvrb.rb:34
Kvrb.load kvrb.rb:34
example (1 calls): .stitch/campaigns/main/w1/crashes/408db8d52f543f03.stp
c2 x10 ArgumentError in roundtrip
Kvrb::Store#put kvrb.rb:12
block in Kvrb.load kvrb.rb:40
Array#each kvrb.rb:34
example (3 calls): .stitch/campaigns/main/w1/crashes/4fba5b247d509f0f.stp
c3 x10 check failed: dump/load roundtrip in roundtrip
example (3 calls): .stitch/campaigns/main/w1/crashes/afd3b7724dcb64af.stp
c4 x9 KeyError in roundtrip
Hash#fetch kvrb.rb:27
block in Kvrb::Store#items kvrb.rb:27
Array#map kvrb.rb:27
example (3 calls): .stitch/campaigns/main/w1/crashes/b1548eecfaf69d0d.stp
next: stitch exec <id> --trace | stitch minimize <id> | stitch repro <id> | stitch bisect <id>
$ stitch crashes
[stitch] rerunning 28 new crash programs of 'main' to group them (timeouts take their full timeout; slower while a campaign runs)
4 unique crashes in 'main':
c1 x10 check failed: dump/load roundtrip in roundtrip
example (4 calls): .stitch/campaigns/main/w0/crashes/7f2befa296976e27.stp
c2 x9 Index out of range in load
load KV.swift:47:60
closure #1 in variable initialization expression of load stubs.swift:22:13
example (4 calls): .stitch/campaigns/main/w0/crashes/ab6b366ba91cb783.stp
c3 x6 Index out of range in roundtrip
load KV.swift:47:60
closure #1 in variable initialization expression of roundtrip stubs.swift:34:21
example (4 calls): .stitch/campaigns/main/w0/crashes/267cb6bb880f3fde.stp
c4 x3 Unexpectedly found nil while unwrapping an Optional value in roundtrip
closure #1 in Store.items KV.swift:29:71
Store.items KV.swift:29:55
Store.dump KV.swift:31:36
example (7 calls): .stitch/campaigns/main/w1/crashes/57865b83790633d8.stp
next: stitch exec <id> --trace | stitch minimize <id> | stitch repro <id> | stitch bisect <id>
$ stitch crashes
[stitch] rerunning 38 new crash programs of 'main' to group them (timeouts take their full timeout; slower while a campaign runs)
4 unique crashes in 'main':
c1 x10 NSRangeException in load
+[KVStore storeWithText:error:] KVStore.m:35:17
stub_load stubs.m:20:19
example (2 calls): .stitch/campaigns/main/w0/crashes/c4fa9c1e4dbb6ad4.stp
c2 x10 NSRangeException in roundtrip
+[KVStore storeWithText:error:] KVStore.m:35:17
stub_roundtrip stubs.m:34:22
example (3 calls): .stitch/campaigns/main/w0/crashes/d60a7947d973082b.stp
c3 x10 check failed: dump/load roundtrip in roundtrip
stub_roundtrip stubs.m:35:5
example (4 calls): .stitch/campaigns/main/w0/crashes/39dd9707ed5669f4.stp
c4 x8 NSInvalidArgumentException in roundtrip
-[KVStore items] KVStore.m:65:24
-[KVStore dump] KVStore.m:74:25
stub_roundtrip stubs.m:34:45
example (7 calls): .stitch/campaigns/main/w0/crashes/733243a843626d65.stp
next: stitch exec <id> --trace | stitch minimize <id> | stitch repro <id> | stitch bisect <id>

Crashes are grouped by their kind and the innermost frames in the library. The number after the id (x10) is how many saved programs are in the group.

Take the group whose frames go through dump, or items, which dump calls. minimize removes calls and shortens inputs while the program still crashes the same way. exec --trace runs it and prints every call:

$ stitch minimize c5 --secs 30
[stitch] main:c5 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/4141d2e5c3d584be.stp (up to 30s; --secs to change)
5 -> 3 calls, still crashes: True (KeyError | Store.items __init__.py:26 | Store.dump __init__.py | roundtrip stubs.py)
.stitch/campaigns/main/w0/crashes/4141d2e5c3d584be.min.stp
$ stitch exec c5 --trace
[stitch] main:c5 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/4141d2e5c3d584be.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/4141d2e5c3d584be.min.stp
[stitch] #0 load(text=Str[42,decoded]"\xe6\xac\x80\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd\x19\xef\xbf\xbd=\x00 /Uc*ib%(\nCJ=8N;=fG\ntmp=")
[stitch] -> ok produced o0.0
[stitch] #1 remove(st=o0.0, key=Str[3]"tmp")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] EXCEPTION in roundtrip: KeyError: 'tmp'
#0 0x0 in Store.items /opt/venv/lib/python3.12/site-packages/kvlib/__init__.py:26
#1 0x0 in Store.dump /opt/venv/lib/python3.12/site-packages/kvlib/__init__.py:29
#2 0x0 in roundtrip /project/.stitch/build/app/harness/stubs.py:40
result: CRASH KeyError | Store.items __init__.py:26 | Store.dump __init__.py | roundtrip (stub) (72 ms)
$ stitch minimize c2 --secs 30
[stitch] main:c2 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/3ab9ff5378154395.stp (up to 30s; --secs to change)
6 -> 4 calls, still crashes: True (heap-use-after-free READ | kv_dump kv.c:72 | roundtrip stubs.cpp)
.stitch/campaigns/main/w0/crashes/3ab9ff5378154395.min.stp
$ stitch exec c2 --trace
[stitch] main:c2 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/3ab9ff5378154395.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/3ab9ff5378154395.min.stp
[stitch] #0 new_store()
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[3]"tmp", value=Str[0]"")
[stitch] -> ok
[stitch] #2 remove_key(st=o0.0, key=Str[3]"tmp")
[stitch] -> ok
[stitch] #3 roundtrip(st=o0.0)
=================================================================
==8==ERROR: AddressSanitizer: heap-use-after-free on address 0x502000000810 at pc 0x558d841cf093 bp 0x7ffebfb1b160 sp 0x7ffebfb1b158
READ of size 8 at 0x502000000810 thread T0
#0 0x558d841cf092 in kv_dump /src/kv.c:72:37
#1 0x558d8416e077 in roundtrip(stitch::Borrow<Store>) /project/harness/stubs.cpp:35:18
#2 0x558d8419df38 in stitch::run_program(std::vector<stitch::PNode, std::allocator<stitch::PNode>> const&, bool) /stitch/runtime/src/runtime.cpp:1368:13
#3 0x558d841995d4 in stitch_exec /stitch/runtime/src/runtime.cpp:1545:12
#4 0x558d841a80ce in stitch_run_file /stitch/runtime/src/runtime.cpp:1565:12
#5 0x558d84167619 in main /stitch/runtime/src/main_repro.cpp:99:13
#6 0x7f713e3a01c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#7 0x7f713e3a028a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#8 0x558d8408b2e4 in _start (/project/.stitch/build/repro+0x332e4) (BuildId: 68ab65200ffc3531324a57f4f5fa0732bc7b8ede)
0x502000000810 is located 0 bytes inside of 16-byte region [0x502000000810,0x502000000820)
freed by thread T0 here:
#0 0x558d84125e9a in free (/project/.stitch/build/repro+0xcde9a) (BuildId: 68ab65200ffc3531324a57f4f5fa0732bc7b8ede)
#1 0x558d84176b74 in remove_key /project/harness/stubs.cpp:31:50
#2 0x558d84176b74 in void stitch::detail::Endpoint<&remove_key(stitch::Borrow<Store>, stitch::Str<16ul, void>)>::call<0ul, 1ul>(stitch::detail::Ctx&, std::integer_sequence<unsigned long, 0ul, 1ul>) /stitch/runtime/include/stitch.h:902:13
#3 0x558d8419df38 in stitch::run_program(std::vector<stitch::PNode, std::allocator<stitch::PNode>> const&, bool) /stitch/runtime/src/runtime.cpp:1368:13
#4 0x558d841995d4 in stitch_exec /stitch/runtime/src/runtime.cpp:1545:12
#5 0x558d841a80ce in stitch_run_file /stitch/runtime/src/runtime.cpp:1565:12
#6 0x558d84167619 in main /stitch/runtime/src/main_repro.cpp:99:13
#7 0x7f713e3a01c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#8 0x7f713e3a028a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#9 0x558d8408b2e4 in _start (/project/.stitch/build/repro+0x332e4) (BuildId: 68ab65200ffc3531324a57f4f5fa0732bc7b8ede)
previously allocated by thread T0 here:
#0 0x558d84126133 in malloc (/project/.stitch/build/repro+0xce133) (BuildId: 68ab65200ffc3531324a57f4f5fa0732bc7b8ede)
#1 0x558d841ce5bc in kv_put /src/kv.c:35:9
#2 0x558d84175850 in put /project/harness/stubs.cpp:27:21
#3 0x558d84175850 in void stitch::detail::Endpoint<&put(stitch::Borrow<Store>, stitch::Str<16ul, void>, stitch::Str<32ul, void>)>::call<0ul, 1ul, 2ul>(stitch::detail::Ctx&, std::integer_sequence<unsigned long, 0ul, 1ul, 2ul>) /stitch/runtime/include/stitch.h:902:13
#4 0x558d8419df38 in stitch::run_program(std::vector<stitch::PNode, std::allocator<stitch::PNode>> const&, bool) /stitch/runtime/src/runtime.cpp:1368:13
#5 0x558d841995d4 in stitch_exec /stitch/runtime/src/runtime.cpp:1545:12
#6 0x558d841a80ce in stitch_run_file /stitch/runtime/src/runtime.cpp:1565:12
#7 0x558d84167619 in main /stitch/runtime/src/main_repro.cpp:99:13
#8 0x7f713e3a01c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#9 0x7f713e3a028a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#10 0x558d8408b2e4 in _start (/project/.stitch/build/repro+0x332e4) (BuildId: 68ab65200ffc3531324a57f4f5fa0732bc7b8ede)
SUMMARY: AddressSanitizer: heap-use-after-free /src/kv.c:72:37 in kv_dump
[... shadow memory map omitted ...]
result: CRASH heap-use-after-free READ | kv_dump kv.c:72 | roundtrip stubs.cpp (56 ms)
$ stitch minimize c4 --secs 30
[stitch] main:c4 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/b9f14b85cad8c307.stp (up to 30s; --secs to change)
4 -> 3 calls, still crashes: True (TypeError | anonymous@index.js index.js:21 | Store.dump index.js | Endpoint.fn stubs.js)
.stitch/campaigns/main/w0/crashes/b9f14b85cad8c307.min.stp
(stopped by the time budget (--secs 30): running again may reduce it further)
$ stitch exec c4 --trace
[stitch] main:c4 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/b9f14b85cad8c307.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/b9f14b85cad8c307.min.stp
[stitch] #0 load(text=Str[45,decoded]"%Knn *%(Z=\xef\xbf\xbdu\xef\xbf\xbd\nf\x0c\xef\xbf\xbd=\xef\xbf\xbd\xe1\xb6\x94\x01\x15{\xef\xbf\xbd~\xef\xbf\xbd\ntmp=")
[stitch] -> ok produced o0.0
[stitch] #1 remove(st=o0.0, key=Str[3]"tmp")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] EXCEPTION in roundtrip: TypeError: Cannot read properties of undefined (reading 'trim')
#0 0x0 in anonymous@index.js /src/index.js:21
#1 0x0 in Store.dump /src/index.js:21
#2 0x0 in Endpoint.fn /project/.stitch/build/app/harness/stubs.js:26
result: CRASH TypeError | anonymous@index.js index.js:21 | Store.dump index.js | Endpoint.fn (stub) (270 ms)
$ stitch minimize c2 --secs 30
[stitch] main:c2 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w1/crashes/34e651e6094e7fd3.stp (up to 30s; --secs to change)
6 -> 3 calls, still crashes: True (NullPointerException | Store.dump Store.java:25 | Stubs.roundtrip Stubs.java)
.stitch/campaigns/main/w1/crashes/34e651e6094e7fd3.min.stp
$ stitch exec c2 --trace
[stitch] main:c2 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w1/crashes/34e651e6094e7fd3.min.stp
[stitch] running .stitch/campaigns/main/w1/crashes/34e651e6094e7fd3.min.stp
[stitch] #0 load(text=Str[5,decoded]"tmp=\n")
[stitch] -> ok produced o0.0
[stitch] #1 remove(st=o0.0, key=Str[3]"tmp")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] EXCEPTION in roundtrip: NullPointerException: Cannot invoke "String.trim()" because the return value of "java.util.Map.get(Object)" is null
#0 0x0 in Store.dump /demo/kv/Store.java:25
#1 0x0 in Stubs.roundtrip /project/harness/Stubs.java:34
result: CRASH NullPointerException | Store.dump Store.java:25 | Stubs.roundtrip (stub) (174 ms)
$ stitch minimize c3 --secs 30
[stitch] main:c3 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/b0b8b173289d4cc0.stp (up to 30s; --secs to change)
7 -> 3 calls, still crashes: True (nil pointer dereference | kvgo.Store.Dump kv.go:48 | stitchharness.roundtrip stubs.go)
.stitch/campaigns/main/w0/crashes/b0b8b173289d4cc0.min.stp
$ stitch exec c3 --trace
[stitch] main:c3 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/b0b8b173289d4cc0.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/b0b8b173289d4cc0.min.stp
[stitch] #0 load(text=Str[5,decoded]"tmp=\n")
[stitch] -> ok produced o0.0
[stitch] #1 remove(st=o0.0, key=Str[3]"tmp")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] EXCEPTION in roundtrip: nil pointer dereference: runtime error: invalid memory address or nil pointer dereference
#0 0x0 in kvgo.Store.Dump /src/kv.go:48
#1 0x0 in stitchharness.roundtrip /project/.stitch/build/app/mod/stubs.go:35
result: CRASH nil pointer dereference | kvgo.Store.Dump kv.go:48 | stitchharness.roundtrip stubs.go (8 ms)
$ stitch minimize c2 --secs 30
[stitch] main:c2 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/7fb95ce3ff1dccea.stp (up to 30s; --secs to change)
5 -> 3 calls, still crashes: True (called `Option::unwrap()` on a `None` value | kvrs::Store::dump::{{closure}} lib.rs:33 | kvrs::Store::dump lib.rs)
.stitch/campaigns/main/w0/crashes/7fb95ce3ff1dccea.min.stp
$ stitch exec c2 --trace
[stitch] main:c2 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/7fb95ce3ff1dccea.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/7fb95ce3ff1dccea.min.stp
[stitch] #0 load(text=Str[5,decoded]"tmp=\n")
[stitch] -> ok produced o0.0
[stitch] #1 remove(st=o0.0, key=Str[3]"tmp")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] EXCEPTION in roundtrip: called `Option::unwrap()` on a `None` value: called `Option::unwrap()` on a `None` value
#0 0x0 in kvrs::Store::dump::{{closure}} /src/src/lib.rs:33
#1 0x0 in kvrs::Store::dump /src/src/lib.rs:33
#2 0x0 in stitch_harness::stubs::roundtrip /project/harness/stubs.rs:41
result: CRASH called `Option::unwrap()` on a `None` value | kvrs::Store::dump::{{closure}} lib.rs:33 | kvrs::Store::dump lib.rs | stitch_harness::stubs::roundtrip (stub) (37 ms)
$ stitch minimize c4 --secs 30
[stitch] main:c4 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w1/crashes/b1548eecfaf69d0d.stp (up to 30s; --secs to change)
3 -> 3 calls, still crashes: True (KeyError | Hash#fetch kvrb.rb:27 | block in Kvrb::Store#items kvrb.rb | Array#map kvrb.rb)
.stitch/campaigns/main/w1/crashes/b1548eecfaf69d0d.min.stp
(stopped by the time budget (--secs 30): running again may reduce it further)
$ stitch exec c4 --trace
[stitch] main:c4 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w1/crashes/b1548eecfaf69d0d.min.stp
[stitch] running .stitch/campaigns/main/w1/crashes/b1548eecfaf69d0d.min.stp
[stitch] #0 load(text=Str[36,decoded]"e]H\xef\xbf\xbd=\xef\xbf\xbd\xef\xbf\xbd^\xef\xbf\xbd\xef\xbf\xbd1\n#!=Zf[Ro%\ntmp=")
[stitch] -> ok produced o0.0
[stitch] #1 remove(st=o0.0, key=Str[3]"tmp")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] EXCEPTION in roundtrip: KeyError: key not found: "tmp"
#0 0x0 in Hash#fetch /usr/local/bundle/gems/kvrb-0.1.0/lib/kvrb.rb:27
#1 0x0 in block in Kvrb::Store#items /usr/local/bundle/gems/kvrb-0.1.0/lib/kvrb.rb:27
#2 0x0 in Array#map /usr/local/bundle/gems/kvrb-0.1.0/lib/kvrb.rb:27
#3 0x0 in Kvrb::Store#items /usr/local/bundle/gems/kvrb-0.1.0/lib/kvrb.rb:27
#4 0x0 in Kvrb::Store#dump /usr/local/bundle/gems/kvrb-0.1.0/lib/kvrb.rb:29
#5 0x0 in block in <top (required)> /project/.stitch/build/app/harness/stubs.rb:34
#6 0x0 in <main> /stitch/ruby/bin/stitch-rb:8
result: CRASH KeyError | Hash#fetch kvrb.rb:27 | block in Kvrb::Store#items kvrb.rb | Array#map kvrb.rb (106 ms)
$ stitch minimize c4 --secs 30
[stitch] main:c4 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w1/crashes/57865b83790633d8.stp (up to 30s; --secs to change)
7 -> 4 calls, still crashes: True (Unexpectedly found nil while unwrapping an Optional value | closure #1 in Store.items KV.swift:29 | Store.items KV.swift | Store.dump KV.swift)
.stitch/campaigns/main/w1/crashes/57865b83790633d8.min.stp
$ stitch exec c4 --trace
[stitch] main:c4 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w1/crashes/57865b83790633d8.min.stp
[stitch] running .stitch/campaigns/main/w1/crashes/57865b83790633d8.min.stp
[stitch] #0 load(text=Str[0]"")
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[3]"tmp", value=Str[0]"")
[stitch] -> ok
[stitch] #2 remove(st=o0.0, key=Str[3]"tmp")
[stitch] -> ok
[stitch] #3 roundtrip(st=o0.0)
AddressSanitizer:DEADLYSIGNAL
=================================================================
==12==ERROR: AddressSanitizer: ILL on unknown address 0x561704d30ed9 (pc 0x561704d30ed9 bp 0x7ffd248fe0f0 sp 0x7ffd248fdf80 T0)
#0 0x561704d30ed9 in Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value /<compiler-generated>
#1 0x561704d30ed9 in closure #1 in Store.items() /src/Sources/KVSwift/KV.swift:29:71
#2 0x561704d30ed9 in specialized Collection.map<A, B>(_:) /<compiler-generated>
#3 0x561704d30ed9 in Store.items() /src/Sources/KVSwift/KV.swift:29:55
#4 0x561704d310a8 in Store.dump() /src/Sources/KVSwift/KV.swift:31:36
#5 0x561704d90843 in closure #1 in variable initialization expression of roundtrip /project/.stitch/build/app/pkg/Sources/worker/stubs.swift:34:43
#6 0x561704d3be4e in closure #1 in endpoint<A>(_:file:_:) /stitch/swift/Stitch/Sources/Stitch/Endpoints.swift:98:77
#7 0x561704d3bfb7 in partial apply for closure #1 in endpoint<A>(_:file:_:) /<compiler-generated>
#8 0x561704d7e0cb in thunk for @escaping @callee_guaranteed (@unowned Call) -> (@error @owned Error) /<compiler-generated>
#9 0x561704d85d94 in partial apply for thunk for @escaping @callee_guaranteed (@unowned Call) -> (@error @owned Error) /<compiler-generated>
#10 0x561704d7d5bf in closure #1 in static Runtime.setup() /stitch/swift/Stitch/Sources/Stitch/Stitch.swift:527:42
#11 0x561704d9b98b in void (anonymous namespace)::invoke<4>(stitch::detail::Ctx&) /stitch/swift/bridge/bridge.cpp:47:25
#12 0x561704de1a0e in stitch::run_program(std::vector<stitch::PNode, std::allocator<stitch::PNode>> const&, bool) /stitch/cpp-runtime/src/runtime.cpp:1368:13
#13 0x561704dde26f in stitch_exec /stitch/cpp-runtime/src/runtime.cpp:1545:12
#14 0x561704dec28f in stitch_run_file /stitch/cpp-runtime/src/runtime.cpp:1565:12
#15 0x561704e19fe8 in stitch_repro_main(int, char**) /stitch/cpp-runtime/src/main_repro.cpp:99:13
#16 0x561704d7e8d4 in stitchMain(argNames:_:) /stitch/swift/Stitch/Sources/Stitch/Stitch.swift:595:12
#17 0x561704d8e497 in worker_main /project/.stitch/build/app/pkg/Sources/worker/main.swift:7:6
#18 0x7f3304d221c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#19 0x7f3304d2228a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#20 0x561704c70d04 in _start (/project/.stitch/build/app/worker+0xbcd04) (BuildId: 48f36afc3038b80cb372f1457c189abee706f593)
==12==Register values:
rax = 0x0000000000000001 rbx = 0x0000000000000000 rcx = 0x0000000000000000 rdx = 0x00007f3304898000
rdi = 0x0000000000000000 rsi = 0x0000000000000001 rbp = 0x00007ffd248fe0f0 rsp = 0x00007ffd248fdf80
r8 = 0x0000000000000000 r9 = 0x00007fffffffff01 r10 = 0x00007fffffffff01 r11 = 0x0000000000000201
r12 = 0x0000503000000aa0 r13 = 0x000050d000000380 r14 = 0xe300000000000000 r15 = 0x0000506000001100
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: ILL /<compiler-generated> in Swift runtime failure: Unexpectedly found nil while unwrapping an Optional value
==12==ABORTING
result: CRASH Unexpectedly found nil while unwrapping an Optional value | closure #1 in Store.items KV.swift:29 | Store.items KV.swift | Store.dump KV.swift (175 ms)
$ stitch minimize c4 --secs 30
[stitch] main:c4 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/733243a843626d65.stp (up to 30s; --secs to change)
7 -> 3 calls, still crashes: True (NSInvalidArgumentException | -[KVStore items] KVStore.m:65 | -[KVStore dump] KVStore.m | stub_roundtrip stubs.m)
.stitch/campaigns/main/w0/crashes/733243a843626d65.min.stp
$ stitch exec c4 --trace
[stitch] main:c4 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/733243a843626d65.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/733243a843626d65.min.stp
[stitch] #0 load(text=Str[4,decoded]"tmp=")
[stitch] -> ok produced o0.0
[stitch] #1 remove(st=o0.0, key=Str[3]"tmp")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] EXCEPTION in roundtrip: NSInvalidArgumentException: Tried to init array with nil object
#0 0x55d624e3931c in objc_exception_throw /stitch/objc/src/stitch_objc_throw.c:30:21
#1 0x7ff3229060e2 in -[NSException raise] /usr/src/gnustep/libs-base/Source/NSException.m:1611:3
#2 0x7ff322905b7b in +[NSException raise:format:arguments:] /usr/src/gnustep/libs-base/Source/NSException.m:1490:3
#3 0x7ff322905b1e in +[NSException raise:format:] /usr/src/gnustep/libs-base/Source/NSException.m:1475:3
#4 0x7ff322865c26 in -[GSInlineArray initWithObjects:count:] /usr/src/gnustep/libs-base/Source/GSArray.m:419:8
#5 0x7ff3228acaa8 in +[NSArray arrayWithObjects:count:] /usr/src/gnustep/libs-base/Source/NSArray.m:277:10
#6 0x55d624e3a77f in -[KVStore items] /src/KVStore.m:65:24
#7 0x55d624e3aa41 in -[KVStore dump] /src/KVStore.m:74:25
#8 0x55d624dc309b in stub_roundtrip /project/harness/stubs.m:34:45
AddressSanitizer:DEADLYSIGNAL
=================================================================
==9==ERROR: AddressSanitizer: ABRT on unknown address 0x000000000009 (pc 0x7ff322129bec bp 0x7ffd7636a500 sp 0x7ffd7636a4c0 T0)
#0 0x7ff322129bec in pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9ebec) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#1 0x7ff3220d027d in raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527d) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#2 0x7ff3220b38fe in abort (/lib/x86_64-linux-gnu/libc.so.6+0x288fe) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#3 0x55d624dce831 in stitch::detail::report_finding(unsigned int, char const*) /stitch/runtime/src/runtime.cpp:389:5
#4 0x55d624e35d08 in (anonymous namespace)::run_endpoint(int, stitch::detail::Ctx&) /stitch/objc/src/stitch_objc.mm:272:9
#5 0x55d624deadb8 in stitch::run_program(std::vector<stitch::PNode, std::allocator<stitch::PNode>> const&, bool) /stitch/runtime/src/runtime.cpp:1368:13
#6 0x55d624de6454 in stitch_exec /stitch/runtime/src/runtime.cpp:1545:12
#7 0x55d624df4f4e in stitch_run_file /stitch/runtime/src/runtime.cpp:1565:12
#8 0x55d624dc0059 in main /stitch/runtime/src/main_repro.cpp:99:13
#9 0x7ff3220b51c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#10 0x7ff3220b528a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#11 0x55d624ce3d24 in _start (/project/.stitch/build/repro+0x47d24) (BuildId: 48c8e4d0d17a8ac6189fbae3a5e84fa525864216)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: ABRT (/lib/x86_64-linux-gnu/libc.so.6+0x9ebec) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09) in pthread_kill
[... shadow memory map omitted ...]
result: CRASH NSInvalidArgumentException | -[KVStore items] KVStore.m:65 | -[KVStore dump] KVStore.m | stub_roundtrip stubs.m (121 ms)

A key that starts with tmp goes into the store (through load or put), remove removes it, and then dump fails. In the library, remove skips the order list for keys that start with tmp, so dump looks up a key that is gone.

Decide this for every crash:

  • Harness bug: the stubs used the API wrong, for example a double free or a missing precondition. Fix the stub, run stitch build, and check that stitch exec with the crash id no longer crashes.
  • Library bug: every call was valid use of the API. Make a reproducer (next page).

Here every call is valid: putting, removing and dumping are always allowed, so this is a library bug.

The other groups come from two more bugs. A value that starts with #! makes load crash; it should reject the text instead:

$ stitch minimize c1 --secs 30
[stitch] main:c1 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w1/crashes/3367673ffe2a89fe.stp (up to 30s; --secs to change)
1 -> 1 calls, still crashes: True (IndexError | load __init__.py:41 | load stubs.py)
.stitch/campaigns/main/w1/crashes/3367673ffe2a89fe.min.stp
$ stitch exec c1 --trace
[stitch] main:c1 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w1/crashes/3367673ffe2a89fe.min.stp
[stitch] running .stitch/campaigns/main/w1/crashes/3367673ffe2a89fe.min.stp
[stitch] #0 load(text=Str[3]"=#!")
[stitch] EXCEPTION in load: IndexError: list index out of range
#0 0x0 in load /opt/venv/lib/python3.12/site-packages/kvlib/__init__.py:41
#1 0x0 in load /project/.stitch/build/app/harness/stubs.py:25
result: CRASH IndexError | load __init__.py:41 | load (stub) (79 ms)
$ stitch minimize c1 --secs 30
[stitch] main:c1 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w1/crashes/c8eb10ab74699171.stp (up to 30s; --secs to change)
4 -> 1 calls, still crashes: True (SEGV | strcspn (BuildId: | kv_load kv.c | load stubs.cpp)
.stitch/campaigns/main/w1/crashes/c8eb10ab74699171.min.stp
$ stitch exec c1 --trace
[stitch] main:c1 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w1/crashes/c8eb10ab74699171.min.stp
[stitch] running .stitch/campaigns/main/w1/crashes/c8eb10ab74699171.min.stp
[stitch] #0 load(text=Str[34,decoded]"\xa1\xbd\xa8\xb1\x17\xcbR\xc5=8\\;5hu*B[d>B\nI5zM-8a5=#!\n")
AddressSanitizer:DEADLYSIGNAL
=================================================================
==9==ERROR: AddressSanitizer: SEGV on unknown address 0x000000000000 (pc 0x7f180e491342 bp 0x7fff6c6a21f0 sp 0x7fff6c6a19a8 T0)
==9==The signal is caused by a READ memory access.
==9==Hint: address points to the zero page.
#0 0x7f180e491342 (/lib/x86_64-linux-gnu/libc.so.6+0x1a8342) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#1 0x55720c6d0d41 in strcspn (/project/.stitch/build/repro+0x4ed41) (BuildId: 68ab65200ffc3531324a57f4f5fa0732bc7b8ede)
#2 0x55720c7f9292 in kv_load /src/kv.c:96:15
#3 0x55720c79ddbe in load /project/harness/stubs.cpp:20:20
#4 0x55720c79ddbe in void stitch::detail::Endpoint<&load(stitch::Str<256ul, KvText>)>::call<0ul>(stitch::detail::Ctx&, std::integer_sequence<unsigned long, 0ul>) /stitch/runtime/include/stitch.h:904:19
#5 0x55720c7c7f38 in stitch::run_program(std::vector<stitch::PNode, std::allocator<stitch::PNode>> const&, bool) /stitch/runtime/src/runtime.cpp:1368:13
#6 0x55720c7c35d4 in stitch_exec /stitch/runtime/src/runtime.cpp:1545:12
#7 0x55720c7d20ce in stitch_run_file /stitch/runtime/src/runtime.cpp:1565:12
#8 0x55720c791619 in main /stitch/runtime/src/main_repro.cpp:99:13
#9 0x7f180e3131c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#10 0x7f180e31328a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#11 0x55720c6b52e4 in _start (/project/.stitch/build/repro+0x332e4) (BuildId: 68ab65200ffc3531324a57f4f5fa0732bc7b8ede)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: SEGV (/lib/x86_64-linux-gnu/libc.so.6+0x1a8342) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
[... shadow memory map omitted ...]
result: CRASH SEGV | strcspn | kv_load kv.c | load stubs.cpp (70 ms)
$ stitch minimize c3 --secs 30
[stitch] main:c3 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/09eba99a87ce854a.stp (up to 30s; --secs to change)
2 -> 1 calls, still crashes: True (TypeError | Object.load index.js:33 | stitch.endpoint.bailsOn [as fn] stubs.js)
.stitch/campaigns/main/w0/crashes/09eba99a87ce854a.min.stp
$ stitch exec c3 --trace
[stitch] main:c3 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/09eba99a87ce854a.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/09eba99a87ce854a.min.stp
[stitch] #0 load(text=Str[21,decoded]"QZl>,6r`=\xef\xbf\xbd\n\x03\xef\xbf\xbd`=#!")
[stitch] EXCEPTION in load: TypeError: Cannot read properties of undefined (reading 'trim')
#0 0x0 in Object.load /src/index.js:33
#1 0x0 in stitch.endpoint.bailsOn [as fn] /project/.stitch/build/app/harness/stubs.js:16
result: CRASH TypeError | Object.load index.js:33 | stitch.endpoint.bailsOn [as fn] (stub) (268 ms)
$ stitch minimize c1 --secs 30
[stitch] main:c1 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/55e9caf49141a982.stp (up to 30s; --secs to change)
4 -> 3 calls, still crashes: True (StringIndexOutOfBoundsException | String.checkBoundsBeginEnd String.java:4855 | String.substring String.java | Store.load Store.java)
.stitch/campaigns/main/w0/crashes/55e9caf49141a982.min.stp
$ stitch exec c1 --trace
[stitch] main:c1 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/55e9caf49141a982.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/55e9caf49141a982.min.stp
[stitch] #0 load(text=Str[0,decoded]"")
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[1]"\x13", value=Str[2]"#!")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] EXCEPTION in roundtrip: StringIndexOutOfBoundsException: Range [2, -1) out of bounds for length 2
#0 0x0 in String.checkBoundsBeginEnd /java/lang/String.java:4855
#1 0x0 in String.substring /java/lang/String.java:2823
#2 0x0 in Store.load /demo/kv/Store.java:40
#3 0x0 in Stubs.roundtrip /project/harness/Stubs.java:34
result: CRASH StringIndexOutOfBoundsException | String.checkBoundsBeginEnd String.java:4855 | String.substring String.java | Store.load Store.java (136 ms)
$ stitch minimize c1 --secs 30
[stitch] main:c1 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/32adc2d5ed2d4dd3.stp (up to 30s; --secs to change)
6 -> 1 calls, still crashes: True (index out of range | kvgo.Load kv.go:66)
.stitch/campaigns/main/w0/crashes/32adc2d5ed2d4dd3.min.stp
$ stitch exec c1 --trace
[stitch] main:c1 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/32adc2d5ed2d4dd3.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/32adc2d5ed2d4dd3.min.stp
[stitch] #0 load(text=Str[5,decoded]"2=#!\n")
[stitch] EXCEPTION in load: index out of range: runtime error: index out of range [1] with length 0
#0 0x0 in kvgo.Load /src/kv.go:66
result: CRASH index out of range | kvgo.Load kv.go:66 (8 ms)
$ stitch minimize c1 --secs 30
[stitch] main:c1 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w1/crashes/96a5f72e3694dda1.stp (up to 30s; --secs to change)
1 -> 1 calls, still crashes: True (index out of bounds | kvrs::load lib.rs:55)
.stitch/campaigns/main/w1/crashes/96a5f72e3694dda1.min.stp
$ stitch exec c1 --trace
[stitch] main:c1 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w1/crashes/96a5f72e3694dda1.min.stp
[stitch] running .stitch/campaigns/main/w1/crashes/96a5f72e3694dda1.min.stp
[stitch] #0 load(text=Str[34,decoded]"\x00 M\xef\xbf\xbd2\xef\xbf\xbdv\xef\xbf\xbd=\nO(iB%cD!a0TE@F=#!\n")
[stitch] EXCEPTION in load: index out of bounds: index out of bounds: the len is 0 but the index is 1
#0 0x0 in kvrs::load /src/src/lib.rs:55
#1 0x0 in stitch_harness::stubs::load /project/harness/stubs.rs:23
result: CRASH index out of bounds | kvrs::load lib.rs:55 | stitch_harness::stubs::load (stub) (34 ms)
$ stitch minimize c1 --secs 30
[stitch] main:c1 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w1/crashes/408db8d52f543f03.stp (up to 30s; --secs to change)
1 -> 1 calls, still crashes: True (NoMethodError | block in Kvrb.load kvrb.rb:39 | Array#each kvrb.rb | Kvrb.load kvrb.rb)
.stitch/campaigns/main/w1/crashes/408db8d52f543f03.min.stp
$ stitch exec c1 --trace
[stitch] main:c1 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w1/crashes/408db8d52f543f03.min.stp
[stitch] running .stitch/campaigns/main/w1/crashes/408db8d52f543f03.min.stp
[stitch] #0 load(text=Str[3]"=#!")
[stitch] EXCEPTION in load: NoMethodError: undefined method 'upcase' for nil
#0 0x0 in block in Kvrb.load /usr/local/bundle/gems/kvrb-0.1.0/lib/kvrb.rb:39
#1 0x0 in Array#each /usr/local/bundle/gems/kvrb-0.1.0/lib/kvrb.rb:34
#2 0x0 in Kvrb.load /usr/local/bundle/gems/kvrb-0.1.0/lib/kvrb.rb:34
#3 0x0 in block in <top (required)> /project/.stitch/build/app/harness/stubs.rb:22
#4 0x0 in <main> /stitch/ruby/bin/stitch-rb:8
result: CRASH NoMethodError | block in Kvrb.load kvrb.rb:39 | Array#each kvrb.rb | Kvrb.load kvrb.rb (114 ms)
$ stitch minimize c2 --secs 30
[stitch] main:c2 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/ab6b366ba91cb783.stp (up to 30s; --secs to change)
4 -> 1 calls, still crashes: True (Index out of range | load KV.swift:47 | closure #1 in variable initialization expression of load stubs.swift)
.stitch/campaigns/main/w0/crashes/ab6b366ba91cb783.min.stp
$ stitch exec c2 --trace
[stitch] main:c2 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/ab6b366ba91cb783.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/ab6b366ba91cb783.min.stp
[stitch] #0 load(text=Str[3,decoded]"=#!")
AddressSanitizer:DEADLYSIGNAL
=================================================================
==13==ERROR: AddressSanitizer: ILL on unknown address 0x5607a5e05afa (pc 0x5607a5e05afa bp 0x7ffe87912250 sp 0x7ffe87912080 T0)
#0 0x5607a5e05afa in Swift runtime failure: Index out of range /<compiler-generated>
#1 0x5607a5e05afa in specialized Array._checkSubscript(_:wasNativeTypeChecked:) /<compiler-generated>
#2 0x5607a5e05afa in specialized Array.subscript.getter /<compiler-generated>
#3 0x5607a5e05afa in load(_:) /src/Sources/KVSwift/KV.swift:47:60
#4 0x5607a5e62e7f in closure #1 in variable initialization expression of load /project/.stitch/build/app/pkg/Sources/worker/stubs.swift:22:13
#5 0x5607a5e0e4bc in closure #1 in endpoint<A, B>(_:file:_:) /stitch/swift/Stitch/Sources/Stitch/Endpoints.swift:90:81
#6 0x5607a5e0c412 in partial apply for closure #1 in endpoint<A, B>(_:file:_:) Endpoints.swift.o
#7 0x5607a5e0e6c6 in partial apply for closure #1 in endpoint<A, B>(_:file:_:) Endpoints.swift.o
#8 0x5607a5e510cb in thunk for @escaping @callee_guaranteed (@unowned Call) -> (@error @owned Error) /<compiler-generated>
#9 0x5607a5e58d94 in partial apply for thunk for @escaping @callee_guaranteed (@unowned Call) -> (@error @owned Error) /<compiler-generated>
#10 0x5607a5e505bf in closure #1 in static Runtime.setup() /stitch/swift/Stitch/Sources/Stitch/Stitch.swift:527:42
#11 0x5607a5e6e77b in void (anonymous namespace)::invoke<1>(stitch::detail::Ctx&) /stitch/swift/bridge/bridge.cpp:47:25
#12 0x5607a5eb4a0e in stitch::run_program(std::vector<stitch::PNode, std::allocator<stitch::PNode>> const&, bool) /stitch/cpp-runtime/src/runtime.cpp:1368:13
#13 0x5607a5eb126f in stitch_exec /stitch/cpp-runtime/src/runtime.cpp:1545:12
#14 0x5607a5ebf28f in stitch_run_file /stitch/cpp-runtime/src/runtime.cpp:1565:12
#15 0x5607a5eecfe8 in stitch_repro_main(int, char**) /stitch/cpp-runtime/src/main_repro.cpp:99:13
#16 0x5607a5e518d4 in stitchMain(argNames:_:) /stitch/swift/Stitch/Sources/Stitch/Stitch.swift:595:12
#17 0x5607a5e61497 in worker_main /project/.stitch/build/app/pkg/Sources/worker/main.swift:7:6
#18 0x7fdc9ffd81c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#19 0x7fdc9ffd828a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#20 0x5607a5d43d04 in _start (/project/.stitch/build/app/worker+0xbcd04) (BuildId: 48f36afc3038b80cb372f1457c189abee706f593)
==13==Register values:
rax = 0x0000000000000001 rbx = 0x00007ffe879120e0 rcx = 0x0000000000000000 rdx = 0x00007fdc9fb4e000
rdi = 0x0000000000000000 rsi = 0x0000000000000001 rbp = 0x00007ffe87912250 rsp = 0x00007ffe87912080
r8 = 0x0000000000000000 r9 = 0x00007fffffffff01 r10 = 0x00007fffffffff01 r11 = 0x0000000000000201
r12 = 0x0000000000000000 r13 = 0x00007fdca0dc6bf0 r14 = 0x0000000000000000 r15 = 0x0000000000000000
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: ILL /<compiler-generated> in Swift runtime failure: Index out of range
==13==ABORTING
result: CRASH Index out of range | load KV.swift:47 | closure #1 in variable initialization expression of load stubs.swift | partial apply for closure #1 in endpoint<A, B> (140 ms)
$ stitch minimize c1 --secs 30
[stitch] main:c1 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/c4fa9c1e4dbb6ad4.stp (up to 30s; --secs to change)
2 -> 1 calls, still crashes: True (NSRangeException | +[KVStore storeWithText:error:] KVStore.m:35 | stub_load stubs.m)
.stitch/campaigns/main/w0/crashes/c4fa9c1e4dbb6ad4.min.stp
$ stitch exec c1 --trace
[stitch] main:c1 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/c4fa9c1e4dbb6ad4.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/c4fa9c1e4dbb6ad4.min.stp
[stitch] #0 load(text=Str[74,decoded]"\xef\xbf\xbd\xef\xbf\xbd'q=FDTJ\x0cNvzz27g$~U9AW\xef\xbf\xbd\x08\xef\xbf\xbd\xef\xbf\xbd\xef\xbf\xbd.\xef\xbf\xbd}\xef\xbf\xbd\xef\xbf\xbd=$\"Fg0Vvd \n|BV/n58si=#!")
[stitch] EXCEPTION in load: NSRangeException: Index 1 is out of range 1 (in 'objectAtIndex:')
#0 0x5560a104231c in objc_exception_throw /stitch/objc/src/stitch_objc_throw.c:30:21
#1 0x7f1c50e3d0e2 in -[NSException raise] /usr/src/gnustep/libs-base/Source/NSException.m:1611:3
#2 0x7f1c50d9c7be in -[GSArray objectAtIndex:] /usr/src/gnustep/libs-base/Source/GSArray.m:324:9
#3 0x5560a1042c81 in +[KVStore storeWithText:error:] /src/KVStore.m:35:17
#4 0x5560a0fcbed4 in stub_load /project/harness/stubs.m:20:19
AddressSanitizer:DEADLYSIGNAL
=================================================================
==9==ERROR: AddressSanitizer: ABRT on unknown address 0x000000000009 (pc 0x7f1c50660bec bp 0x7ffcd8869060 sp 0x7ffcd8869020 T0)
#0 0x7f1c50660bec in pthread_kill (/lib/x86_64-linux-gnu/libc.so.6+0x9ebec) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#1 0x7f1c5060727d in raise (/lib/x86_64-linux-gnu/libc.so.6+0x4527d) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#2 0x7f1c505ea8fe in abort (/lib/x86_64-linux-gnu/libc.so.6+0x288fe) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#3 0x5560a0fd7831 in stitch::detail::report_finding(unsigned int, char const*) /stitch/runtime/src/runtime.cpp:389:5
#4 0x5560a103ed08 in (anonymous namespace)::run_endpoint(int, stitch::detail::Ctx&) /stitch/objc/src/stitch_objc.mm:272:9
#5 0x5560a0ff3db8 in stitch::run_program(std::vector<stitch::PNode, std::allocator<stitch::PNode>> const&, bool) /stitch/runtime/src/runtime.cpp:1368:13
#6 0x5560a0fef454 in stitch_exec /stitch/runtime/src/runtime.cpp:1545:12
#7 0x5560a0ffdf4e in stitch_run_file /stitch/runtime/src/runtime.cpp:1565:12
#8 0x5560a0fc9059 in main /stitch/runtime/src/main_repro.cpp:99:13
#9 0x7f1c505ec1c9 (/lib/x86_64-linux-gnu/libc.so.6+0x2a1c9) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#10 0x7f1c505ec28a in __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x2a28a) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09)
#11 0x5560a0eecd24 in _start (/project/.stitch/build/repro+0x47d24) (BuildId: 48c8e4d0d17a8ac6189fbae3a5e84fa525864216)
AddressSanitizer can not provide additional info.
SUMMARY: AddressSanitizer: ABRT (/lib/x86_64-linux-gnu/libc.so.6+0x9ebec) (BuildId: 8cebda42d140fc2b09639f8b13a5d5f2e617ef09) in pthread_kill
[... shadow memory map omitted ...]
result: CRASH NSRangeException | +[KVStore storeWithText:error:] KVStore.m:35 | stub_load stubs.m (100 ms)

A key that contains = does not survive dump and load: load splits the line at the first =, so the key comes back different, or empty and rejected. roundtrip catches it:

$ stitch minimize c4 --secs 30
[stitch] main:c4 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w1/crashes/def0a47db684502b.stp (up to 30s; --secs to change)
3 -> 3 calls, still crashes: True (check failed: dump/load roundtrip | in roundtrip)
.stitch/campaigns/main/w1/crashes/def0a47db684502b.min.stp
$ stitch exec c4 --trace
[stitch] main:c4 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w1/crashes/def0a47db684502b.min.stp
[stitch] running .stitch/campaigns/main/w1/crashes/def0a47db684502b.min.stp
[stitch] #0 load(text=Str[0,decoded]"")
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[2]"l=", value=Str[0]"")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] CHECK FAILED: dump/load roundtrip (node 2)
#0 0x0 in roundtrip /project/.stitch/build/app/harness/stubs.py:41
result: CRASH check failed: dump/load roundtrip | in roundtrip (102 ms)
$ stitch minimize c4 --secs 30
[stitch] main:c4 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/b2a0aa424e9a3e5a.stp (up to 30s; --secs to change)
4 -> 3 calls, still crashes: True (check failed: dump/load roundtrip | in roundtrip)
.stitch/campaigns/main/w0/crashes/b2a0aa424e9a3e5a.min.stp
$ stitch exec c4 --trace
[stitch] main:c4 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/b2a0aa424e9a3e5a.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/b2a0aa424e9a3e5a.min.stp
[stitch] #0 load(text=Str[3,decoded]"X=\n")
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[2]"X=", value=Str[0]"")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] CHECK FAILED: dump/load roundtrip (node 2)
(AddressSanitizer's report of the abort that follows is left out)
result: CRASH check failed: dump/load roundtrip | in roundtrip (51 ms)
$ stitch minimize c5 --secs 30
[stitch] main:c5 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w1/crashes/5aabe7890302f91f.stp (up to 30s; --secs to change)
3 -> 3 calls, still crashes: True (check failed: dump/load roundtrip | in roundtrip)
.stitch/campaigns/main/w1/crashes/5aabe7890302f91f.min.stp
$ stitch exec c5 --trace
[stitch] main:c5 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w1/crashes/5aabe7890302f91f.min.stp
[stitch] running .stitch/campaigns/main/w1/crashes/5aabe7890302f91f.min.stp
[stitch] #0 load(text=Str[0,decoded]"")
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[2]"[=", value=Str[0]"")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] CHECK FAILED: dump/load roundtrip (node 2)
#0 0x0 in Endpoint.fn /project/.stitch/build/app/harness/stubs.js:28
result: CRASH check failed: dump/load roundtrip | in roundtrip (235 ms)
$ stitch minimize c4 --secs 30
[stitch] main:c4 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/0b06a0b7280f8443.stp (up to 30s; --secs to change)
4 -> 3 calls, still crashes: True (check failed: dump/load roundtrip | in roundtrip)
.stitch/campaigns/main/w0/crashes/0b06a0b7280f8443.min.stp
$ stitch exec c4 --trace
[stitch] main:c4 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/0b06a0b7280f8443.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/0b06a0b7280f8443.min.stp
[stitch] #0 load(text=Str[4,decoded]"!Y=\n")
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[3]"!Y=", value=Str[0]"")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] CHECK FAILED: dump/load roundtrip (node 2)
#0 0x0 in Stubs.roundtrip /project/harness/Stubs.java:35
result: CRASH check failed: dump/load roundtrip | in roundtrip (155 ms)
$ stitch minimize c4 --secs 30
[stitch] main:c4 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/79ccccf21afb5c00.stp (up to 30s; --secs to change)
7 -> 4 calls, still crashes: True (check failed: dump/load roundtrip | in roundtrip)
.stitch/campaigns/main/w0/crashes/79ccccf21afb5c00.min.stp
$ stitch exec c4 --trace
[stitch] main:c4 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/79ccccf21afb5c00.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/79ccccf21afb5c00.min.stp
[stitch] #0 new_store()
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[3]"#!=", value=Str[0]"")
[stitch] -> ok
[stitch] #2 put(st=o0.0, key=Str[2]"#!", value=Str[0]"")
[stitch] -> ok
[stitch] #3 roundtrip(st=o0.0)
[stitch] CHECK FAILED: dump/load roundtrip (node 3)
#0 0x0 in stitchharness.roundtrip /project/.stitch/build/app/mod/stubs.go:37
result: CRASH check failed: dump/load roundtrip | in roundtrip (8 ms)
$ stitch minimize c3 --secs 30
[stitch] main:c3 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/5e5898c4c75c8fa3.stp (up to 30s; --secs to change)
5 -> 3 calls, still crashes: True (check failed: dump/load roundtrip | in roundtrip)
.stitch/campaigns/main/w0/crashes/5e5898c4c75c8fa3.min.stp
$ stitch exec c3 --trace
[stitch] main:c3 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/5e5898c4c75c8fa3.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/5e5898c4c75c8fa3.min.stp
[stitch] #0 load(text=Str[70,decoded]"#52=s\nu[}G!G}Q7./q4.N-D>((8\x032DZ\x13y\x08KZs@)8=\xef\xbf\xbdI\n\n->+{@D@:=`VUeps3w;\ntm=\n")
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[3]"tm=", value=Str[0]"")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] CHECK FAILED: dump/load roundtrip (node 2)
#0 0x0 in stitch_harness::stubs::roundtrip /project/harness/stubs.rs:43
result: CRASH check failed: dump/load roundtrip | in roundtrip (43 ms)
$ stitch minimize c3 --secs 30
[stitch] main:c3 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w1/crashes/afd3b7724dcb64af.stp (up to 30s; --secs to change)
3 -> 3 calls, still crashes: True (check failed: dump/load roundtrip | in roundtrip)
.stitch/campaigns/main/w1/crashes/afd3b7724dcb64af.min.stp
$ stitch exec c3 --trace
[stitch] main:c3 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w1/crashes/afd3b7724dcb64af.min.stp
[stitch] running .stitch/campaigns/main/w1/crashes/afd3b7724dcb64af.min.stp
[stitch] #0 load(text=Str[0]"")
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[2]"H=", value=Str[0]"")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] CHECK FAILED: dump/load roundtrip (node 2)
#0 0x0 in block in <top (required)> /project/.stitch/build/app/harness/stubs.rb:35
#1 0x0 in <main> /stitch/ruby/bin/stitch-rb:8
result: CRASH check failed: dump/load roundtrip | in roundtrip (78 ms)
$ stitch minimize c1 --secs 30
[stitch] main:c1 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/7f2befa296976e27.stp (up to 30s; --secs to change)
4 -> 3 calls, still crashes: True (check failed: dump/load roundtrip | in roundtrip)
.stitch/campaigns/main/w0/crashes/7f2befa296976e27.min.stp
$ stitch exec c1 --trace
[stitch] main:c1 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/7f2befa296976e27.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/7f2befa296976e27.min.stp
[stitch] #0 new_store()
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[2]"q=", value=Str[0]"")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] CHECK FAILED: dump/load roundtrip (node 2)
(AddressSanitizer's report of the abort that follows is left out)
result: CRASH check failed: dump/load roundtrip | in roundtrip (111 ms)
$ stitch minimize c3 --secs 30
[stitch] main:c3 (latest campaign; also: probe)
[stitch] minimizing .stitch/campaigns/main/w0/crashes/39dd9707ed5669f4.stp (up to 30s; --secs to change)
4 -> 3 calls, still crashes: True (check failed: dump/load roundtrip | in roundtrip | stub_roundtrip stubs.m:35)
.stitch/campaigns/main/w0/crashes/39dd9707ed5669f4.min.stp
$ stitch exec c3 --trace
[stitch] main:c3 (latest campaign; also: probe): running the minimized program .stitch/campaigns/main/w0/crashes/39dd9707ed5669f4.min.stp
[stitch] running .stitch/campaigns/main/w0/crashes/39dd9707ed5669f4.min.stp
[stitch] #0 load(text=Str[0,decoded]"")
[stitch] -> ok produced o0.0
[stitch] #1 put(st=o0.0, key=Str[1]"=", value=Str[0]"")
[stitch] -> ok
[stitch] #2 roundtrip(st=o0.0)
[stitch] CHECK FAILED: dump/load roundtrip (node 2)
(AddressSanitizer's report of the abort that follows is left out)
result: CRASH check failed: dump/load roundtrip | in roundtrip | stub_roundtrip stubs.m:35 (101 ms)

The groups of this run, by bug:

Bug Groups
tmp keys c5
#! values c1, c2
keys with = c3, c4
Bug Groups
tmp keys c2
#! values c1, c3
keys with = c4
Bug Groups
tmp keys c4
#! values c2, c3
keys with = c1, c5
Bug Groups
tmp keys c2
#! values c1
keys with = c3, c4
Bug Groups
tmp keys c3
#! values c1, c2
keys with = c4
Bug Groups
tmp keys c2
#! values c1
keys with = c3
Bug Groups
tmp keys c4
#! values c1
keys with = c2, c3
Bug Groups
tmp keys c4
#! values c2, c3
keys with = c1
Bug Groups
tmp keys c4
#! values c1, c2
keys with = c3

One bug can show up as several groups, so fix or explain one group before judging the next.