The fixes in master work, in that there are no segmentation faults anymore, however, now I regularly get this:
(gdb) where #0 __GI_raise (sig=sig@entry=6) at ../sysdeps/unix/sysv/linux/raise.c:50 #1 0x00007f010403c537 in __GI_abort () at abort.c:79 #2 0x000056469288b3c0 in debug_va_fatal ( fmt=0x564692a7c4b8 "Recursive Pike_error() calls, original error: %s, new error: %s", args=args@entry=0x7f0101258768) at /home/srb/pike/src/error.c:575 #3 0x0000564692889bf6 in debug_fatal ( fmt=fmt@entry=0x564692a7c4b8 "Recursive Pike_error() calls, original error: %s, new error: %s") at /home/srb/pike/src/error.c:583 #4 0x000056469288a621 in va_error ( fmt=0x564692a8ba50 "Cannot access variables in destructed object.\n", args=args@entry=0x7f0101258868) at /home/srb/pike/src/error.c:289 #5 0x000056469288a859 in Pike_error ( fmt=fmt@entry=0x564692a8ba50 "Cannot access variables in destructed object.\n") at /home/srb/pike/src/error.c:332 #6 0x00005646928f83af in low_object_index_no_free (to=<optimized out>, o=<optimized out>, f=<optimized out>) at /home/srb/pike/src/object.c:1373 #7 0x00007f01010e9924 in ?? () #8 0x0300000000000001 in ?? () #9 0x00007f01010e93b8 in ?? () #10 0x0000000000000019 in ?? () #11 0x0000000000000000 in ?? () (gdb)
Can we somehow get rid the recursion in Pike_error() in this case?