Open onlyjob opened 3 years ago
Looks like this problem is due to hard-coded -O3
and -O2
in Makefile.
Segfault is not happening when those options are removed.
Core dump running in a linux container with Debian 10 using -O3, -O2 or -O1. No optimisations (-O0) corrects issue and can index sites
When I change the following to -O0, indexing works.
CC_OPT_ARG ?= -O2
So changing all instances of CC_OPT_ARG ?= -O2 to CC_OPT_ARG ?= -O0 should stop the core dump/segfault in Debian 10?
Still happening to me.
In http://localhost:8000/addurl?c=main adding https://searchengine.party/ and clicking "Go" result in immediate crash: