Apologies if this is a known problem, I did not see an existing issue for it.
In gf2 the call stack ends at 49:
In gdb using bt:
...
#1058 0x0000555555555127 in b () at test.c:10
#1059 0x000055555555513a in a () at test.c:6
#1060 0x0000555555555127 in b () at test.c:10
#1061 0x000055555555513a in a () at test.c:6
--Type <RET> for more, q to quit, c to continue without paging--
... and it continues until main()
It is within reasonable expectations that a recursive program could have more than 49 calls on the stack so it is unclear in this case in gf2 that an overflow occurred.
I realize displaying the whole hundreds of thousands of calls would be very non-practical, but it would be nice to see where they started from at least. perhaps something like
... last 2 function calls repeat 100,000 times...
test.c b
test.c a
test.c main
Apologies if this is a known problem, I did not see an existing issue for it.
In gf2 the call stack ends at 49:
In gdb using
bt
:... and it continues until
main()
It is within reasonable expectations that a recursive program could have more than 49 calls on the stack so it is unclear in this case in gf2 that an overflow occurred.
example code:
I realize displaying the whole hundreds of thousands of calls would be very non-practical, but it would be nice to see where they started from at least. perhaps something like
Or maybe list the stack trace upside down?