From: Stefan Sperling Subject: gotwebd crash To: gameoftrees@openbsd.org Date: Sat, 25 Nov 2023 14:22:49 +0100 gotwebd on got.g.o crashed and left me with a core file. I don't have time to look into this right now. I'm preserving the backtrace on this list. Does anyone else have ideas? Program terminated with signal SIGSEGV, Segmentation fault. #0 0x000002d5b858e16c in match_packed_object (unique_id=0x766592357050, repo=0x2d7c419e450, id_str_prefix=0x2d7ffe83fc0 "a3a0e34e98c4f91a4b8fe53e24f82833a72e40a1", obj_type=1) at /home/stsp/src/got/gotwebd/../lib/repository.c:1780 1780 const char *path_packidx = pe->path; (gdb) p pe $1 = (struct got_pathlist_entry *) 0xdfdfdfdfdfdfdfdf (gdb) bt #0 0x000002d5b858e16c in match_packed_object (unique_id=0x766592357050, repo=0x2d7c419e450, id_str_prefix=0x2d7ffe83fc0 "a3a0e34e98c4f91a4b8fe53e24f82833a72e40a1", obj_type=1) at /home/stsp/src/got/gotwebd/../lib/repository.c:1780 #1 0x000002d5b858de2f in got_repo_match_object_id_prefix (id=0x766592357050, id_str_prefix=0x2d7ffe83fc0 "a3a0e34e98c4f91a4b8fe53e24f82833a72e40a1", obj_type=1, repo=0x2d7c419e450) at /home/stsp/src/got/gotwebd/../lib/repository.c:1945 #2 0x000002d5b8558e78 in got_get_repo_commits (c=0x2d807b54000, limit=1) at /home/stsp/src/got/gotwebd/got_operations.c:354 #3 0x000002d5b8554e2a in gotweb_process_request (c=0x2d807b54000) at /home/stsp/src/got/gotwebd/gotweb.c:220 #4 0x000002d5b8553ea3 in fcgi_parse_params (buf=0x2d807b54164 "\001\005", n=0, c=0x2d807b54000, id=1) at /home/stsp/src/got/gotwebd/fcgi.c:191 #5 0x000002d5b8553af6 in fcgi_parse_record (buf=0x2d807b5415c "\001\004", n=16, c=0x2d807b54000) at /home/stsp/src/got/gotwebd/fcgi.c:137 #6 0x000002d5b85537fb in fcgi_request (fd=87, events=2, arg=0x2d807b54000) at /home/stsp/src/got/gotwebd/fcgi.c:93 #7 0x000002d7efd1b32f in event_process_active (base=0x2d8aa359800) at /usr/src/lib/libevent/event.c:333 #8 event_base_loop (base=0x2d8aa359800, flags=) at /usr/src/lib/libevent/event.c:483 #9 0x000002d5b854bf3b in sockets (env=0x2d8aa3807a0, fd=3) at /home/stsp/src/got/gotwebd/sockets.c:126 #10 0x000002d5b854f1e3 in main (argc=0, argv=0x766592357878) at /home/stsp/src/got/gotwebd/gotwebd.c:355 (gdb)