Open
Description
Running index_operations
fuzz target sometimes triggers a stack overflow. That may mean deep or infinite recursion or a huge allocation array. Could you share your opinion on whether this case is a valid one? Or maybe we need to restrict the fuzz target.
==2438381==ERROR: AddressSanitizer: stack-overflow on address 0x7fff5baa7ff8 (pc 0x5afaef22b6c0 bp 0x7fff5baa8000 sp 0x7fff5baa7ff0 T0)
#0 0x5afaef22b6c0 (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x31546c0) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
#1 0x5afaef22f9a8 (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x31589a8) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
#2 0x5afaef22e18a (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x315718a) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
#3 0x5afaef1f06ae (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x31196ae) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
#4 0x5afaef1ef927 (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x3118927) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
#5 0x5afaef1f0260 (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x3119260) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
#6 0x5afaef1f06da (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x31196da) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
#7 0x5afaef1ef927 (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x3118927) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
#8 0x5afaef1f0260 (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x3119260) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
....
#244 0x5afaef1ef927 (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x3118927) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
#245 0x5afaef1f0260 (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x3119260) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
SUMMARY: AddressSanitizer: stack-overflow (./fuzz/monorepo/target/x86_64-unknown-linux-gnu/debug/index_operations+0x31546c0) (BuildId: f6c8d2dfff1c05d3e623099b24f37292774bd5c0)
==2438381==ABORTING
MS: 1 CopyPart-; base unit: bf4012cafb0e6894bed7bc08a05ca2d63275c016
Reproducing that behaviour requires some time, even if we have a crash file.
FuzzInput {
operations: [
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 6795556535343513344,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 18422724340307984384,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [
255,
255,
0,
],
count: 0,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [
1,
],
value: 5668530119241564160,
},
CursorInsert {
key: [
169,
],
value: 6795556535343513599,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 6795556535343513344,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 6795556535343513344,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 18422724340307984384,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [
255,
255,
0,
],
count: 0,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [
1,
],
value: 5668530119241564160,
},
CursorInsert {
key: [
169,
],
value: 6795556535343513599,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 18422724340307984384,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [
255,
255,
0,
],
count: 0,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [
1,
],
value: 5668530119241564160,
},
CursorInsert {
key: [
169,
],
value: 6795556535343513599,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 6795556535343513344,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 6795556535343513344,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 18422724340307984384,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 6795556535343513344,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 18422724340307984384,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [
255,
255,
0,
],
count: 0,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [
1,
],
value: 5668530119241564160,
},
CursorInsert {
key: [
169,
],
value: 6795556535343513599,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 18422724340307984384,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [
255,
255,
0,
],
count: 0,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [
1,
],
value: 5668530119241564160,
},
CursorInsert {
key: [
169,
],
value: 6795556535343513599,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 6795556535343513344,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [
255,
255,
255,
],
count: 94,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [
255,
255,
0,
],
count: 0,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [
1,
],
value: 5668530119241564160,
},
CursorInsert {
key: [
169,
],
value: 6795556535343513599,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [
255,
169,
],
value: 6795649409242628095,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 6795556535343513344,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 94,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 6795556535343513344,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 98,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
Insert {
key: [],
value: 18422724340307984384,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
InsertMany {
key: [],
count: 255,
},
CursorInsert {
key: [],
value: 7109682077077513566,
},
InsertMany {
key: [
0,
],
count: 122,
},
],
}
Metadata
Metadata
Assignees
Labels
No labels
Type
Projects
Status
Backlog