Closed siiky closed 10 months ago
@siiky, does it only happen with a zero size .php file for you or with any zero size file? I can't reproduce it on the current master with either case, so it would be good if you could check if you see the same problem on the current master branch. Thank you!
Good question. It happens with empty PHP files and valid PHP files. I will try some other extensions too, but from the mirrors I've tried it works generally well.
When I get a little bit more time I'll try v3 too.
@siiky, any update on this? I can look into this, but it's worth spending time on if you have an issue with the current master HEAD, as it may already be fixed there. Thanks!
Hey, sorry, spare time has been almost inexistent lately.
2.2 also SIGSEGVs with an index.py
, but not with an index.txt
(this makes sense).
I just build the latest master (f94c11d
) but trying to access any page with this executable always SIGSEGVs...?
$ redbean-original-f94c11d.com
W2023-12-16T11:09:09.880198:./tool/net/redbean.c:2207:redbean-python:530537] (zip) couldn't locate central directory
I2023-12-16T11:09:09+000060:./tool/net/redbean.c:7087:redbean-python:530537] (srvr) listen http://127.0.0.1:8080
I2023-12-16T11:09:09+000016:./tool/net/redbean.c:7087:redbean-python:530537] (srvr) listen http://192.168.1.91:8080
I2023-12-16T11:09:18.195109:./tool/net/redbean.c:6005:redbean-python:530563] (req) received 127.0.0.1:55720 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:18.196036:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530563 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:18+000291:./tool/net/redbean.c:6005:redbean-python:530564] (req) received 127.0.0.1:55728 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:18+000658:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530564 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:18+000435:./tool/net/redbean.c:6005:redbean-python:530565] (req) received 127.0.0.1:55740 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:18+000804:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530565 terminated with SIGSEGV (1 workers remain)
I2023-12-16T11:09:18+001502:./tool/net/redbean.c:6005:redbean-python:530566] (req) received 127.0.0.1:55748 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:18+001030:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530566 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:18+000407:./tool/net/redbean.c:6005:redbean-python:530567] (req) received 127.0.0.1:55754 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:18+000536:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530567 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:18+000367:./tool/net/redbean.c:6005:redbean-python:530568] (req) received 127.0.0.1:55758 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:18+000453:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530568 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:18+000406:./tool/net/redbean.c:6005:redbean-python:530569] (req) received 127.0.0.1:55766 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:18+000554:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530569 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:18+000296:./tool/net/redbean.c:6005:redbean-python:530570] (req) received 127.0.0.1:55778 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:18+000384:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530570 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:18+000217:./tool/net/redbean.c:6005:redbean-python:530571] (req) received 127.0.0.1:55788 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:18+000353:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530571 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:18+000510:./tool/net/redbean.c:6005:redbean-python:530572] (req) received 127.0.0.1:55792 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:18+000603:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530572 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:25.292631:./tool/net/redbean.c:6005:redbean-python:530592] (req) received 127.0.0.1:34416 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:25.292735:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530592 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:25+000659:./tool/net/redbean.c:6005:redbean-python:530593] (req) received 127.0.0.1:34428 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:25+000851:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530593 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:25+000719:./tool/net/redbean.c:6005:redbean-python:530594] (req) received 127.0.0.1:34438 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:25+001381:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530594 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:25+001398:./tool/net/redbean.c:6005:redbean-python:530595] (req) received 127.0.0.1:34452 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:25+001524:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530595 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:25+001199:./tool/net/redbean.c:6005:redbean-python:530596] (req) received 127.0.0.1:34466 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:25+001332:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530596 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:25+000521:./tool/net/redbean.c:6005:redbean-python:530597] (req) received 127.0.0.1:34478 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:25+000677:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530597 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:25+000495:./tool/net/redbean.c:6005:redbean-python:530598] (req) received 127.0.0.1:34492 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:25+000647:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530598 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:25+000383:./tool/net/redbean.c:6005:redbean-python:530599] (req) received 127.0.0.1:34506 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:25+000478:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530599 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:25+000344:./tool/net/redbean.c:6005:redbean-python:530600] (req) received 127.0.0.1:34512 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:25+000431:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530600 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:25+000247:./tool/net/redbean.c:6005:redbean-python:530601] (req) received 127.0.0.1:34528 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:25+000345:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530601 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:28.220553:./tool/net/redbean.c:6005:redbean-python:530606] (req) received 127.0.0.1:34530 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:28.220688:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530606 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:28+001044:./tool/net/redbean.c:6005:redbean-python:530607] (req) received 127.0.0.1:34540 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:28+001437:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530607 terminated with SIGSEGV (1 workers remain)
I2023-12-16T11:09:28+001479:./tool/net/redbean.c:6005:redbean-python:530608] (req) received 127.0.0.1:34548 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:28+000140:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530608 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:28+000358:./tool/net/redbean.c:6005:redbean-python:530609] (req) received 127.0.0.1:34564 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:28+000517:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530609 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:28+000265:./tool/net/redbean.c:6005:redbean-python:530610] (req) received 127.0.0.1:34578 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:28+000363:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530610 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:28+000934:./tool/net/redbean.c:6005:redbean-python:530611] (req) received 127.0.0.1:34592 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:28+001016:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530611 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:28+000288:./tool/net/redbean.c:6005:redbean-python:530612] (req) received 127.0.0.1:34604 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:28+000479:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530612 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:28+000244:./tool/net/redbean.c:6005:redbean-python:530613] (req) received 127.0.0.1:34608 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:28+000331:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530613 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:28+000247:./tool/net/redbean.c:6005:redbean-python:530614] (req) received 127.0.0.1:34618 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:28+000326:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530614 terminated with SIGSEGV (0 workers remain)
I2023-12-16T11:09:28+000264:./tool/net/redbean.c:6005:redbean-python:530615] (req) received 127.0.0.1:34628 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-16T11:09:28+000348:./tool/net/redbean.c:1354:redbean-python:530537] (stat) 530615 terminated with SIGSEGV (0 workers remain)
To build I just followed the instructions in the redbean site:
git clone https://github.com/jart/cosmopolitan && cd cosmopolitan
make -j8 MODE=tiny o/tiny/tool/net
This was an issue with the ape loader in redbean, which was fixed earlier today (#1022). Can you re-test on the current master?
@pkulchenko thanks, it's now working better!
Weirdly, after zipping the index.{py,php,txt,tsv}
files in as before, they don't show up in the index listing:
(I don't understand why it says "redbean-original/2.2.0" at the top, this is the file I just built from f73576ab)
When trying to access one of them directly (http://localhost:8080/index.txt) it gives HTTP 404, as expected given the above.
However, ZIP says the files are in there...
zip -sf redbean-original-f73576ab.com | grep index
index.php
index.py
index.tsv
index.txt
OK nvm that... Don't what happened, but after a make -B ...
the index.*
files show up. As before, accessing some files results in a SIGSEGV. The following is the result of accessing index.py
, index.php
, index.txt
, and index.tsv
. It's especially noteworthy (to me at least) that accessing the tsv
also results in a SIGSEGV. Could it be something to do with the file type specifically? Maybe some sort table of known/acceptable file extensions?
Anything I can add to the build and/or redbean arguments to get more helpful details?
I2023-12-18T19:15:25.557945:./tool/net/redbean.c:7087:redbean-python:785250] (srvr) listen http://127.0.0.1:8080
I2023-12-18T19:15:25+000024:./tool/net/redbean.c:7087:redbean-python:785250] (srvr) listen http://192.168.1.91:8080
I2023-12-18T19:15:26.788194:./tool/net/redbean.c:6005:redbean-python:785257] (req) received 127.0.0.1:43554 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:26.788320:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785257 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:26+000882:./tool/net/redbean.c:6005:redbean-python:785258] (req) received 127.0.0.1:43560 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:26+000992:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785258 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:26+000977:./tool/net/redbean.c:6005:redbean-python:785259] (req) received 127.0.0.1:43576 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:26+001135:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785259 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:26+001708:./tool/net/redbean.c:6005:redbean-python:785260] (req) received 127.0.0.1:43578 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:26+001842:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785260 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:26+000744:./tool/net/redbean.c:6005:redbean-python:785261] (req) received 127.0.0.1:43588 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:26+000862:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785261 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:26+000652:./tool/net/redbean.c:6005:redbean-python:785262] (req) received 127.0.0.1:43592 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:26+000919:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785262 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:26+000277:./tool/net/redbean.c:6005:redbean-python:785263] (req) received 127.0.0.1:43598 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:26+000412:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785263 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:26+000419:./tool/net/redbean.c:6005:redbean-python:785264] (req) received 127.0.0.1:43614 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:26+000794:./tool/net/redbean.c:1354:redbean-python:785250] I2023-12-18T19:15:26+000877:./tool/net/redbean.c:6005:redbean-python:785265] (req) received 127.0.0.1:43624 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
(stat) 785264 terminated with SIGSEGV (1 workers remain)
W2023-12-18T19:15:26+000269:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785265 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:26+000416:./tool/net/redbean.c:6005:redbean-python:785266] (req) received 127.0.0.1:43632 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:26+000533:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785266 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:31.964325:./tool/net/redbean.c:6005:redbean-python:785274] (req) received 127.0.0.1:40130 HTTP11 GET http://localhost:8080/index.php "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:31.964697:./tool/net/redbean.c:1354:redbean-python:785250] I2023-12-18T19:15:31.964722:./tool/net/redbean.c:6005:redbean-python:785275] (req) received 127.0.0.1:40132 HTTP11 GET http://localhost:8080/index.php "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
(stat) 785274 terminated with SIGSEGV (1 workers remain)
W2023-12-18T19:15:31+000284:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785275 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:31+000116:./tool/net/redbean.c:6005:redbean-python:785276] (req) received 127.0.0.1:40142 HTTP11 GET http://localhost:8080/index.php "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:31+000498:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785276 terminated with SIGSEGV (1 workers remain)I2023-12-18T19:15:31+000537:./tool/net/redbean.c:6005:redbean-python:785277] (req) received 127.0.0.1:40156 HTTP11 GET http://localhost:8080/index.php "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:31+000398:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785277 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:31+000336:./tool/net/redbean.c:6005:redbean-python:785278] (req) received 127.0.0.1:40166 HTTP11 GET http://localhost:8080/index.php "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:31+000436:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785278 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:31+000222:./tool/net/redbean.c:6005:redbean-python:785279] (req) received 127.0.0.1:40172 HTTP11 GET http://localhost:8080/index.php "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:31+000297:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785279 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:31+000199:./tool/net/redbean.c:6005:redbean-python:785280] (req) received 127.0.0.1:40182 HTTP11 GET http://localhost:8080/index.php "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:31+000271:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785280 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:31+000247:./tool/net/redbean.c:6005:redbean-python:785281] (req) received 127.0.0.1:40186 HTTP11 GET http://localhost:8080/index.php "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:31+000326:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785281 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:31+000201:./tool/net/redbean.c:6005:redbean-python:785282] (req) received 127.0.0.1:40192 HTTP11 GET http://localhost:8080/index.php "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:31+000279:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785282 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:31+000167:./tool/net/redbean.c:6005:redbean-python:785283] (req) received 127.0.0.1:40194 HTTP11 GET http://localhost:8080/index.php "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:31+000246:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785283 terminated with SIGSEGV (0 workers remain)
I2023-12-18T19:15:36.936265:./tool/net/redbean.c:6005:redbean-python:785293] (req) received 127.0.0.1:40210 HTTP11 GET http://localhost:8080/index.txt "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
I2023-12-18T19:15:37.064489:./tool/net/redbean.c:6005:redbean-python:785298] (req) received 127.0.0.1:40220 HTTP11 GET http://localhost:8080/.well-known/gpc.json "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
E2023-12-18T19:15:37+000038:./tool/net/redbean.c:2560:redbean-python:785298] (srvr) server error: 404 Not Found "/.well-known/gpc.json"
I2023-12-18T19:15:39.721303:./tool/net/redbean.c:6005:redbean-python:785293] (req) received 127.0.0.1:40210 HTTP11 GET http://localhost:8080/index.tsv "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:39.721459:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785293 terminated with SIGSEGV (1 workers remain)
I2023-12-18T19:15:39+000448:./tool/net/redbean.c:6005:redbean-python:785302] (req) received 127.0.0.1:40226 HTTP11 GET http://localhost:8080/index.tsv "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:39+000536:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785302 terminated with SIGSEGV (1 workers remain)
I2023-12-18T19:15:39+000225:./tool/net/redbean.c:6005:redbean-python:785303] (req) received 127.0.0.1:40234 HTTP11 GET http://localhost:8080/index.tsv "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:39+000296:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785303 terminated with SIGSEGV (1 workers remain)
I2023-12-18T19:15:39+000195:./tool/net/redbean.c:6005:redbean-python:785304] (req) received 127.0.0.1:40246 HTTP11 GET http://localhost:8080/index.tsv "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:39+000567:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785304 terminated with SIGSEGV (2 workers remain)
I2023-12-18T19:15:39+000633:./tool/net/redbean.c:6005:redbean-python:785305] (req) received 127.0.0.1:40250 HTTP11 GET http://localhost:8080/index.tsv "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:39+000527:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785305 terminated with SIGSEGV (1 workers remain)
I2023-12-18T19:15:39+000962:./tool/net/redbean.c:6005:redbean-python:785306] (req) received 127.0.0.1:40252 HTTP11 GET http://localhost:8080/index.tsv "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:39+001109:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785306 terminated with SIGSEGV (1 workers remain)
I2023-12-18T19:15:39+001494:./tool/net/redbean.c:6005:redbean-python:785307] (req) received 127.0.0.1:40264 HTTP11 GET http://localhost:8080/index.tsv "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:39+001618:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785307 terminated with SIGSEGV (1 workers remain)
I2023-12-18T19:15:39+000851:./tool/net/redbean.c:6005:redbean-python:785308] (req) received 127.0.0.1:40270 HTTP11 GET http://localhost:8080/index.tsv "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:39+000979:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785308 terminated with SIGSEGV (1 workers remain)
I2023-12-18T19:15:39+000570:./tool/net/redbean.c:6005:redbean-python:785309] (req) received 127.0.0.1:40280 HTTP11 GET http://localhost:8080/index.tsv "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:39+000706:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785309 terminated with SIGSEGV (1 workers remain)
I2023-12-18T19:15:39+000496:./tool/net/redbean.c:6005:redbean-python:785310] (req) received 127.0.0.1:40282 HTTP11 GET http://localhost:8080/index.tsv "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T19:15:39+000652:./tool/net/redbean.c:1354:redbean-python:785250] (stat) 785310 terminated with SIGSEGV (1 workers remain)
(I don't understand why it says "redbean-original/2.2.0" at the top, this is the file I just built from https://github.com/jart/cosmopolitan/commit/f73576ab8a99a863be35a7c9ea96a44b0796e2a6)
@siiky, that's because the version # hasn't been updated yet, but this is a correct commit.
I don't understand what's going on, but I can't reproduce this at all and it's not clear to me what's so different between our cases.
Just to be clear, you have redbean.com that you build with the default .init.lua that include index.py
file of zero length, right?
Can you run redbean.com -vv
to get some additional logging? This is what I get when I send a request from a browser to http://127.0.0.1:8080/index.py
:
I2023-12-18T20:35:59+001459:tool/net/redbean.c:6005:redbean:9492] (req) received 127.0.0.1:63420 HTTP11 GET http://127.0.0.1:8080/index.py "" "Mozilla/5.0 (Windows NT 6.3; Win64; x64; rv:109.0) Gecko/20100101 Firefox/115.0"
D2023-12-18T20:35:59+004620:tool/net/redbean.c:6049:redbean:9492] (srvr) RoutePath("/127.0.0.1/index.py")
D2023-12-18T20:35:59+000780:tool/net/redbean.c:6049:redbean:9492] (srvr) RoutePath("/index.py")
D2023-12-18T20:35:59+000554:tool/net/redbean.c:6173:redbean:9492] (zip) ServeAssetZipIdentity("application/octet-stream")
V2023-12-18T20:35:59+000757:tool/net/redbean.c:6227:redbean:9492] (rsp) 200 OK
D2023-12-18T20:35:59+000530:tool/net/redbean.c:6389:redbean:9492] (stat) "/index.py" latency r: 8,733µs c: 61,900µs
I do get the download started, as the content is returned as application/octet-stream
. What do you see returned in your case?
make -j8 MODE=tiny o/tiny/tool/net
I just noticed that you're building it as MODE=tiny
; can you try building the default make -j8 o//tool/net/redbean.com
to see if that works? I'll try MODE=tiny
later today.
I just tried with MODE=tiny
and get the same (expected/correct) result, so not sure yet what's different in your case. Any additional details?
-vv
doesn't seem to bring anything new to the table:
I2023-12-18T21:42:54.082388:./tool/net/redbean.c:7087:redbean-python:789401] (srvr) listen http://127.0.0.1:8080
I2023-12-18T21:42:54+000024:./tool/net/redbean.c:7087:redbean-python:789401] (srvr) listen http://192.168.1.91:8080
V2023-12-18T21:43:02.567823:./tool/net/redbean.c:6802:redbean-python:789401] (srvr) accept 127.0.0.1:37112 via 127.0.0.1:8080
I2023-12-18T21:43:02+000260:./tool/net/redbean.c:6005:redbean-python:789422] (req) received 127.0.0.1:37112 HTTP11 GET http://localhost:8080/ "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
V2023-12-18T21:43:02+000436:./tool/net/redbean.c:6227:redbean-python:789422] (rsp) 200 OK
V2023-12-18T21:43:02+103953:./tool/net/redbean.c:6802:redbean-python:789401] (srvr) accept 127.0.0.1:37116 via 127.0.0.1:8080
I2023-12-18T21:43:02+000220:./tool/net/redbean.c:6005:redbean-python:789461] (req) received 127.0.0.1:37116 HTTP11 GET http://localhost:8080/.well-known/gpc.json "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
E2023-12-18T21:43:02+000466:./tool/net/redbean.c:2560:redbean-python:789461] (srvr) server error: 404 Not Found "/.well-known/gpc.json"
V2023-12-18T21:43:02+000047:./tool/net/redbean.c:6227:redbean-python:789461] (rsp) 404 Not Found
I2023-12-18T21:43:05.694356:./tool/net/redbean.c:6005:redbean-python:789422] (req) received 127.0.0.1:37112 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T21:43:05.694557:./tool/net/redbean.c:1354:redbean-python:789401] (stat) 789422 terminated with SIGSEGV (1 workers remain)
V2023-12-18T21:43:05+000249:./tool/net/redbean.c:6802:redbean-python:789401] (srvr) accept 127.0.0.1:37118 via 127.0.0.1:8080
I2023-12-18T21:43:05+000181:./tool/net/redbean.c:6005:redbean-python:789492] (req) received 127.0.0.1:37118 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T21:43:05+000299:./tool/net/redbean.c:1354:redbean-python:789401] (stat) 789492 terminated with SIGSEGV (1 workers remain)
V2023-12-18T21:43:05+000253:./tool/net/redbean.c:6802:redbean-python:789401] (srvr) accept 127.0.0.1:37128 via 127.0.0.1:8080
I2023-12-18T21:43:05+000202:./tool/net/redbean.c:6005:redbean-python:789493] (req) received 127.0.0.1:37128 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T21:43:05+000322:./tool/net/redbean.c:1354:redbean-python:789401] (stat) 789493 terminated with SIGSEGV (1 workers remain)
V2023-12-18T21:43:05+000317:./tool/net/redbean.c:6802:redbean-python:789401] (srvr) accept 127.0.0.1:37142 via 127.0.0.1:8080
I2023-12-18T21:43:05+001379:./tool/net/redbean.c:6005:redbean-python:789494] (req) received 127.0.0.1:37142 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T21:43:05+001827:./tool/net/redbean.c:1354:redbean-python:789401] (stat) 789494 terminated with SIGSEGV (1 workers remain)
V2023-12-18T21:43:05+000900:./tool/net/redbean.c:6802:redbean-python:789401] (srvr) accept 127.0.0.1:37148 via 127.0.0.1:8080
I2023-12-18T21:43:05+000342:./tool/net/redbean.c:6005:redbean-python:789495] (req) received 127.0.0.1:37148 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T21:43:05+000501:./tool/net/redbean.c:1354:redbean-python:789401] (stat) 789495 terminated with SIGSEGV (1 workers remain)
V2023-12-18T21:43:05+000237:./tool/net/redbean.c:6802:redbean-python:789401] (srvr) accept 127.0.0.1:37164 via 127.0.0.1:8080
I2023-12-18T21:43:05+000309:./tool/net/redbean.c:6005:redbean-python:789496] (req) received 127.0.0.1:37164 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T21:43:05+000419:./tool/net/redbean.c:1354:redbean-python:789401] (stat) 789496 terminated with SIGSEGV (1 workers remain)
V2023-12-18T21:43:05+000275:./tool/net/redbean.c:6802:redbean-python:789401] (srvr) accept 127.0.0.1:37168 via 127.0.0.1:8080
I2023-12-18T21:43:05+000313:./tool/net/redbean.c:6005:redbean-python:789497] (req) received 127.0.0.1:37168 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T21:43:05+000483:./tool/net/redbean.c:1354:redbean-python:789401] (stat) 789497 terminated with SIGSEGV (1 workers remain)
V2023-12-18T21:43:05+000245:./tool/net/redbean.c:6802:redbean-python:789401] (srvr) accept 127.0.0.1:37170 via 127.0.0.1:8080
I2023-12-18T21:43:05+000157:./tool/net/redbean.c:6005:redbean-python:789498] (req) received 127.0.0.1:37170 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T21:43:05+000293:./tool/net/redbean.c:1354:redbean-python:789401] (stat) 789498 terminated with SIGSEGV (1 workers remain)
V2023-12-18T21:43:05+000322:./tool/net/redbean.c:6802:redbean-python:789401] (srvr) accept 127.0.0.1:37172 via 127.0.0.1:8080
I2023-12-18T21:43:05+000176:./tool/net/redbean.c:6005:redbean-python:789499] (req) received 127.0.0.1:37172 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T21:43:05+000294:./tool/net/redbean.c:1354:redbean-python:789401] (stat) 789499 terminated with SIGSEGV (1 workers remain)
V2023-12-18T21:43:05+000310:./tool/net/redbean.c:6802:redbean-python:789401] (srvr) accept 127.0.0.1:37182 via 127.0.0.1:8080
I2023-12-18T21:43:05+000134:./tool/net/redbean.c:6005:redbean-python:789500] (req) received 127.0.0.1:37182 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
W2023-12-18T21:43:05+000241:./tool/net/redbean.c:1354:redbean-python:789401] (stat) 789500 terminated with SIGSEGV (1 workers remain)
I'll build in "normal" mode. I just followed the instructions in the redbean site, didn't know "no mode" was an option.
Interesting. I just built in "normal" mode. The regular redbean.com
works correctly:
D2023-12-18T21:56:50.204173:tool/net/redbean.c:5042:redbean-python:839114] (lua) LuaRunAsset("/.init.lua")
I2023-12-18T21:56:50+000051:tool/net/redbean.c:7087:redbean-python:839114] (srvr) listen http://127.0.0.1:8080
I2023-12-18T21:56:50+000013:tool/net/redbean.c:7087:redbean-python:839114] (srvr) listen http://192.168.1.91:8080
V2023-12-18T21:56:50+000195:tool/net/redbean.c:2039:redbean-python:839114] (ssl) could not find non-CA SSL certificate key pair with -addext keyUsage=digitalSignature -addext extendedKeyUsage=serverAuth
V2023-12-18T21:56:50+000005:tool/net/redbean.c:2042:redbean-python:839114] (ssl) could not find CA key signing key pair with -addext keyUsage=keyCertSign
V2023-12-18T21:56:50+000004:tool/net/redbean.c:2044:redbean-python:839114] (ssl) generating self-signed ssl certificates
D2023-12-18T21:56:50+000859:net/https/logcertificate.c:28:redbean-python:839114] generated EC certificate
cert. version : 3
serial number : 2A:06:C4:19:84:6B:B6:AC:9D:AA:AD:7F:D9:3E:64:2A
issuer name : CN=tachikoma
subject name : CN=tachikoma
issued on : 2023-12-17 21:56:50
expires on : 2024-12-18 21:56:50
signed using : ECDSA with SHA256
EC key size : 256 bits
basic constraints : CA=false
subject alt name :
iPAddress : 192.168.1.91
key usage : Digital Signature
ext key usage : TLS Web Server Authentication, TLS Web Client Authentication
V2023-12-18T21:56:50+000014:tool/net/redbean.c:689:redbean-python:839114] (ssl) using EC certificate "CN=tachikoma" for HTTPS server
D2023-12-18T21:56:50+039494:net/https/logcertificate.c:28:redbean-python:839114] generated RSA certificate
cert. version : 3
serial number : B8:F9:36:ED:48:FD:B5:92:64:70:CB:19:3F:83:E6:01
issuer name : CN=tachikoma
subject name : CN=tachikoma
issued on : 2023-12-17 21:56:50
expires on : 2024-12-18 21:56:50
signed using : RSA with SHA-256
RSA key size : 2048 bits
basic constraints : CA=false
subject alt name :
iPAddress : 192.168.1.91
key usage : Digital Signature, Key Encipherment
ext key usage : TLS Web Server Authentication, TLS Web Client Authentication
V2023-12-18T21:56:50+000015:tool/net/redbean.c:689:redbean-python:839114] (ssl) using RSA certificate "CN=tachikoma" for HTTPS server
D2023-12-18T21:56:50+001068:tool/net/redbean.c:7154:redbean-python:839114] ReplEventLoop()
D2023-12-18T21:56:50+000024:tool/net/redbean.c:7125:redbean-python:839114] (repl) event loop
D2023-12-18T21:56:59.844234:tool/net/redbean.c:6793:redbean-python:839114] (token) can't acquire accept() token for client
V2023-12-18T21:56:59+000074:tool/net/redbean.c:6802:redbean-python:839114] (srvr) accept 127.0.0.1:39856 via 127.0.0.1:8080
D2023-12-18T21:56:59+000264:tool/net/redbean.c:6458:redbean-python:839161] (stat) 127.0.0.1:39856 read 743 bytes
I2023-12-18T21:56:59+000037:tool/net/redbean.c:6005:redbean-python:839161] (req) received 127.0.0.1:39856 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
D2023-12-18T21:56:59+000008:tool/net/redbean.c:6049:redbean-python:839161] (srvr) RoutePath("/localhost/index.py")
D2023-12-18T21:56:59+000006:tool/net/redbean.c:6049:redbean-python:839161] (srvr) RoutePath("/www.localhost/index.py")
D2023-12-18T21:56:59+000005:tool/net/redbean.c:6049:redbean-python:839161] (srvr) RoutePath("/index.py")
D2023-12-18T21:56:59+000024:tool/net/redbean.c:6173:redbean-python:839161] (zip) ServeAssetZipIdentity("application/octet-stream")
V2023-12-18T21:56:59+000008:tool/net/redbean.c:6227:redbean-python:839161] (rsp) 200 OK
D2023-12-18T21:56:59+000005:tool/net/redbean.c:6389:redbean-python:839161] (stat) "/index.py" latency r: 135µs c: 361µs
redbean-original.com
on the other hand:
I2023-12-18T21:58:33.393071:./tool/net/redbean.c:7087:redbean-python:839375] (srvr) listen http://127.0.0.1:8080
I2023-12-18T21:58:33+000020:./tool/net/redbean.c:7087:redbean-python:839375] (srvr) listen http://192.168.1.91:8080
D2023-12-18T21:58:33+000011:./tool/net/redbean.c:7125:redbean-python:839375] (repl) event loop
D2023-12-18T21:58:35.963092:./tool/net/redbean.c:6793:redbean-python:839375] (token) can't acquire accept() token for client
V2023-12-18T21:58:35+000017:./tool/net/redbean.c:6802:redbean-python:839375] (srvr) accept 127.0.0.1:49824 via 127.0.0.1:8080
D2023-12-18T21:58:35+001107:./tool/net/redbean.c:6458:redbean-python:839385] (stat) 127.0.0.1:49824 read 743 bytes
I2023-12-18T21:58:35+000070:./tool/net/redbean.c:6005:redbean-python:839385] (req) received 127.0.0.1:49824 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
D2023-12-18T21:58:35+000010:./tool/net/redbean.c:6049:redbean-python:839385] (srvr) RoutePath("/localhost/index.py")
D2023-12-18T21:58:35+000009:./tool/net/redbean.c:6049:redbean-python:839385] (srvr) RoutePath("/www.localhost/index.py")
D2023-12-18T21:58:35+000007:./tool/net/redbean.c:6049:redbean-python:839385] (srvr) RoutePath("/index.py")
error: Uncaught SIGSEGV (SEGV_MAPERR) at 0x20 on tachikoma pid 839385 tid 839385
./redbean-python.com
No error information
Linux Cosmopolitan 3.1.3; #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) tachikoma 6.5.0-4-amd64
RAX 000010008005e296 RBX 00001000800568b0 RDI 0000000000000000
RCX 000010008005e28f RDX 0000000000000006 RSI 000000000000002e
RBP 00007fff0e33fc40 RSP 00007fff0e33fc18 RIP 0000000000421f82
R8 00000000004975a0 R9 79702e7865646e69 R10 0000000000000008
R11 0000000000000296 R12 0000000000000002 R13 000010008005e297
R14 0000000000000000 R15 000010008008004a
TLS 00000000004b3f40
XMM0 00000000000000000000000000000000 XMM8 00000000000000000000000000000000
XMM1 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM9 00000000000000000000000000000000
XMM2 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM10 00000000000000000000000000000000
XMM3 00000000000000000000000000000000 XMM11 00000000000000000000000000000000
XMM4 00000000003266695a5400544d470000 XMM12 00000000000000000000000000000000
XMM5 00000000040000000100000000000000 XMM13 00000000000000000000000000000000
XMM6 0065746164696c617665722d7473756d XMM14 00000000000000000000000000000000
XMM7 00000000000000000000003266695a54 XMM15 00000000000000000000000000000000
cosmoaddr2line /home/siiky/projects/local-mirrors/redbean-python.com 421f82 41e01b 41e7b6 41f3a4 41f5fb 41fa6c 4202a7 420c8f 421090 421566 48bea4 404e57 404604
0000004c3df0 421f82 lua_gettop+2
7fff0e33fc40 41e01b ServeAsset+139
7fff0e33fcc0 41e7b6 RoutePath+294
7fff0e33fcf0 41f3a4 HandleRequest+1332
7fff0e33fd60 41f5fb HandleMessageActual+107
7fff0e33fd90 41fa6c HandleMessages+204
7fff0e33fdc0 4202a7 HandleConnection+839
7fff0e33fe00 420c8f HandlePoll+191
7fff0e33fe30 421090 EventLoop+672
7fff0e33ff10 421566 RedBean+1078
7fff0e33ffc0 40494a main+58
7fff0e33ffe0 404e57 cosmo+77
7fff0e33fff0 404604 _start+133
10008004-10008009 rw-pa- 6x automap 384kB
1000800a-1000800a rw-sa- 1x automap 64kB w/ 512kB hole
10008013-10008015 r--s-- 3x automap 154kB w/ 128kB hole
10008018-10008025 r--p-- 14x automap 858kB w/ 96tB hole
6fd00004-6fd00004 rw-paF 1x zipos 64kB w/ 64gB hole
6fe00004-6fe00004 rw-paF 1x g_fds 64kB
# 1664kB total mapped memory
./redbean-python.com -vv
W2023-12-18T21:58:35+001494:./tool/net/redbean.c:1354:redbean-python:839375] (stat) 839385 terminated with SIGSEGV (0 workers remain)
D2023-12-18T21:58:35+000018:./tool/net/redbean.c:1365:redbean-python:839375] (stat) resource report for pid 839385
ballooned to 912kb in size
needed 416us cpu (0% kernel)
caused 35 page faults (100% memcpy)
5 context switches (40% consensual)
D2023-12-18T21:58:35+000223:./tool/net/redbean.c:6793:redbean-python:839375] (token) can't acquire accept() token for client
V2023-12-18T21:58:35+000021:./tool/net/redbean.c:6802:redbean-python:839375] (srvr) accept 127.0.0.1:49832 via 127.0.0.1:8080
D2023-12-18T21:58:35+000674:./tool/net/redbean.c:6458:redbean-python:839386] (stat) 127.0.0.1:49832 read 743 bytes
I2023-12-18T21:58:35+000074:./tool/net/redbean.c:6005:redbean-python:839386] (req) received 127.0.0.1:49832 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
D2023-12-18T21:58:35+000011:./tool/net/redbean.c:6049:redbean-python:839386] (srvr) RoutePath("/localhost/index.py")
D2023-12-18T21:58:35+000007:./tool/net/redbean.c:6049:redbean-python:839386] (srvr) RoutePath("/www.localhost/index.py")
D2023-12-18T21:58:35+000005:./tool/net/redbean.c:6049:redbean-python:839386] (srvr) RoutePath("/index.py")
error: Uncaught SIGSEGV (SEGV_MAPERR) at 0x20 on tachikoma pid 839386 tid 839386
./redbean-python.com
No error information
Linux Cosmopolitan 3.1.3; #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) tachikoma 6.5.0-4-amd64
RAX 000010008005e296 RBX 00001000800568b0 RDI 0000000000000000
RCX 000010008005e28f RDX 0000000000000006 RSI 000000000000002e
RBP 00007fff0e33fc40 RSP 00007fff0e33fc18 RIP 0000000000421f82
R8 00000000004975a0 R9 79702e7865646e69 R10 0000000000000008
R11 0000000000000296 R12 0000000000000002 R13 000010008005e297
R14 0000000000000000 R15 000010008008004a
TLS 00000000004b3f40
XMM0 00000000000000000000000000000000 XMM8 00000000000000000000000000000000
XMM1 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM9 00000000000000000000000000000000
XMM2 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM10 00000000000000000000000000000000
XMM3 00000000000000000000000000000000 XMM11 00000000000000000000000000000000
XMM4 00000000003266695a5400544d470000 XMM12 00000000000000000000000000000000
XMM5 00000000040000000100000000000000 XMM13 00000000000000000000000000000000
XMM6 0065746164696c617665722d7473756d XMM14 00000000000000000000000000000000
XMM7 00000000000000000000003266695a54 XMM15 00000000000000000000000000000000
cosmoaddr2line /home/siiky/projects/local-mirrors/redbean-python.com 421f82 41e01b 41e7b6 41f3a4 41f5fb 41fa6c 4202a7 420c8f 421090 421566 48bea4 404e57 404604
0000004c3df0 421f82 lua_gettop+2
7fff0e33fc40 41e01b ServeAsset+139
7fff0e33fcc0 41e7b6 RoutePath+294
7fff0e33fcf0 41f3a4 HandleRequest+1332
7fff0e33fd60 41f5fb HandleMessageActual+107
7fff0e33fd90 41fa6c HandleMessages+204
7fff0e33fdc0 4202a7 HandleConnection+839
7fff0e33fe00 420c8f HandlePoll+191
7fff0e33fe30 421090 EventLoop+672
7fff0e33ff10 421566 RedBean+1078
7fff0e33ffc0 40494a main+58
7fff0e33ffe0 404e57 cosmo+77
7fff0e33fff0 404604 _start+133
10008004-10008009 rw-pa- 6x automap 384kB
1000800a-1000800a rw-sa- 1x automap 64kB w/ 512kB hole
10008013-10008015 r--s-- 3x automap 154kB w/ 128kB hole
10008018-10008025 r--p-- 14x automap 858kB w/ 96tB hole
6fd00004-6fd00004 rw-paF 1x zipos 64kB w/ 64gB hole
6fe00004-6fe00004 rw-paF 1x g_fds 64kB
# 1664kB total mapped memory
./redbean-python.com -vv
W2023-12-18T21:58:35+001158:./tool/net/redbean.c:1354:redbean-python:839375] (stat) 839386 terminated with SIGSEGV (0 workers remain)
D2023-12-18T21:58:35+000022:./tool/net/redbean.c:1365:redbean-python:839375] (stat) resource report for pid 839386
ballooned to 912kb in size
needed 443us cpu (100% kernel)
caused 35 page faults (100% memcpy)
6 context switches (33% consensual)
D2023-12-18T21:58:35+000502:./tool/net/redbean.c:6793:redbean-python:839375] (token) can't acquire accept() token for client
V2023-12-18T21:58:35+000031:./tool/net/redbean.c:6802:redbean-python:839375] (srvr) accept 127.0.0.1:49838 via 127.0.0.1:8080
D2023-12-18T21:58:35+000189:./tool/net/redbean.c:6458:redbean-python:839387] (stat) 127.0.0.1:49838 read 743 bytes
I2023-12-18T21:58:35+000032:./tool/net/redbean.c:6005:redbean-python:839387] (req) received 127.0.0.1:49838 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
D2023-12-18T21:58:35+000009:./tool/net/redbean.c:6049:redbean-python:839387] (srvr) RoutePath("/localhost/index.py")
D2023-12-18T21:58:35+000007:./tool/net/redbean.c:6049:redbean-python:839387] (srvr) RoutePath("/www.localhost/index.py")
D2023-12-18T21:58:35+000007:./tool/net/redbean.c:6049:redbean-python:839387] (srvr) RoutePath("/index.py")
error: Uncaught SIGSEGV (SEGV_MAPERR) at 0x20 on tachikoma pid 839387 tid 839387
./redbean-python.com
No error information
Linux Cosmopolitan 3.1.3; #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) tachikoma 6.5.0-4-amd64
RAX 000010008005e296 RBX 00001000800568b0 RDI 0000000000000000
RCX 000010008005e28f RDX 0000000000000006 RSI 000000000000002e
RBP 00007fff0e33fc40 RSP 00007fff0e33fc18 RIP 0000000000421f82
R8 00000000004975a0 R9 79702e7865646e69 R10 0000000000000008
R11 0000000000000296 R12 0000000000000002 R13 000010008005e297
R14 0000000000000000 R15 000010008008004a
TLS 00000000004b3f40
XMM0 00000000000000000000000000000000 XMM8 00000000000000000000000000000000
XMM1 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM9 00000000000000000000000000000000
XMM2 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM10 00000000000000000000000000000000
XMM3 00000000000000000000000000000000 XMM11 00000000000000000000000000000000
XMM4 00000000003266695a5400544d470000 XMM12 00000000000000000000000000000000
XMM5 00000000040000000100000000000000 XMM13 00000000000000000000000000000000
XMM6 0065746164696c617665722d7473756d XMM14 00000000000000000000000000000000
XMM7 00000000000000000000003266695a54 XMM15 00000000000000000000000000000000
cosmoaddr2line /home/siiky/projects/local-mirrors/redbean-python.com 421f82 41e01b 41e7b6 41f3a4 41f5fb 41fa6c 4202a7 420c8f 421090 421566 48bea4 404e57 404604
0000004c3df0 421f82 lua_gettop+2
7fff0e33fc40 41e01b ServeAsset+139
7fff0e33fcc0 41e7b6 RoutePath+294
7fff0e33fcf0 41f3a4 HandleRequest+1332
7fff0e33fd60 41f5fb HandleMessageActual+107
7fff0e33fd90 41fa6c HandleMessages+204
7fff0e33fdc0 4202a7 HandleConnection+839
7fff0e33fe00 420c8f HandlePoll+191
7fff0e33fe30 421090 EventLoop+672
7fff0e33ff10 421566 RedBean+1078
7fff0e33ffc0 40494a main+58
7fff0e33ffe0 404e57 cosmo+77
7fff0e33fff0 404604 _start+133
10008004-10008009 rw-pa- 6x automap 384kB
1000800a-1000800a rw-sa- 1x automap 64kB w/ 512kB hole
10008013-10008015 r--s-- 3x automap 154kB w/ 128kB hole
10008018-10008025 r--p-- 14x automap 858kB w/ 96tB hole
6fd00004-6fd00004 rw-paF 1x zipos 64kB w/ 64gB hole
6fe00004-6fe00004 rw-paF 1x g_fds 64kB
# 1664kB total mapped memory
./redbean-python.com -vv
W2023-12-18T21:58:35+000543:./tool/net/redbean.c:1354:redbean-python:839375] (stat) 839387 terminated with SIGSEGV (0 workers remain)
D2023-12-18T21:58:35+000023:./tool/net/redbean.c:1365:redbean-python:839375] (stat) resource report for pid 839387
ballooned to 912kb in size
needed 322us cpu (0% kernel)
caused 35 page faults (100% memcpy)
D2023-12-18T21:58:35+000199:./tool/net/redbean.c:6793:redbean-python:839375] (token) can't acquire accept() token for client
V2023-12-18T21:58:35+000016:./tool/net/redbean.c:6802:redbean-python:839375] (srvr) accept 127.0.0.1:49844 via 127.0.0.1:8080
D2023-12-18T21:58:35+000158:./tool/net/redbean.c:6458:redbean-python:839388] (stat) 127.0.0.1:49844 read 743 bytes
I2023-12-18T21:58:35+000092:./tool/net/redbean.c:6005:redbean-python:839388] (req) received 127.0.0.1:49844 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
D2023-12-18T21:58:35+000064:./tool/net/redbean.c:6049:redbean-python:839388] (srvr) RoutePath("/localhost/index.py")
D2023-12-18T21:58:35+000052:./tool/net/redbean.c:6049:redbean-python:839388] (srvr) RoutePath("/www.localhost/index.py")
D2023-12-18T21:58:35+000036:./tool/net/redbean.c:6049:redbean-python:839388] (srvr) RoutePath("/index.py")
error: Uncaught SIGSEGV (SEGV_MAPERR) at 0x20 on tachikoma pid 839388 tid 839388
./redbean-python.com
No error information
Linux Cosmopolitan 3.1.3; #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) tachikoma 6.5.0-4-amd64
RAX 000010008005e296 RBX 00001000800568b0 RDI 0000000000000000
RCX 000010008005e28f RDX 0000000000000006 RSI 000000000000002e
RBP 00007fff0e33fc40 RSP 00007fff0e33fc18 RIP 0000000000421f82
R8 00000000004975a0 R9 79702e7865646e69 R10 0000000000000008
R11 0000000000000296 R12 0000000000000002 R13 000010008005e297
R14 0000000000000000 R15 000010008008004a
TLS 00000000004b3f40
XMM0 00000000000000000000000000000000 XMM8 00000000000000000000000000000000
XMM1 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM9 00000000000000000000000000000000
XMM2 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM10 00000000000000000000000000000000
XMM3 00000000000000000000000000000000 XMM11 00000000000000000000000000000000
XMM4 00000000003266695a5400544d470000 XMM12 00000000000000000000000000000000
XMM5 00000000040000000100000000000000 XMM13 00000000000000000000000000000000
XMM6 0065746164696c617665722d7473756d XMM14 00000000000000000000000000000000
XMM7 00000000000000000000003266695a54 XMM15 00000000000000000000000000000000
cosmoaddr2line /home/siiky/projects/local-mirrors/redbean-python.com 421f82 41e01b 41e7b6 41f3a4 41f5fb 41fa6c 4202a7 420c8f 421090 421566 48bea4 404e57 404604
0000004c3df0 421f82 lua_gettop+2
7fff0e33fc40 41e01b ServeAsset+139
7fff0e33fcc0 41e7b6 RoutePath+294
7fff0e33fcf0 41f3a4 HandleRequest+1332
7fff0e33fd60 41f5fb HandleMessageActual+107
7fff0e33fd90 41fa6c HandleMessages+204
7fff0e33fdc0 4202a7 HandleConnection+839
7fff0e33fe00 420c8f HandlePoll+191
7fff0e33fe30 421090 EventLoop+672
7fff0e33ff10 421566 RedBean+1078
7fff0e33ffc0 40494a main+58
7fff0e33ffe0 404e57 cosmo+77
7fff0e33fff0 404604 _start+133
10008004-10008009 rw-pa- 6x automap 384kB
1000800a-1000800a rw-sa- 1x automap 64kB w/ 512kB hole
10008013-10008015 r--s-- 3x automap 154kB w/ 128kB hole
10008018-10008025 r--p-- 14x automap 858kB w/ 96tB hole
6fd00004-6fd00004 rw-paF 1x zipos 64kB w/ 64gB hole
6fe00004-6fe00004 rw-paF 1x g_fds 64kB
# 1664kB total mapped memory
./redbean-python.com -vv
W2023-12-18T21:58:35+000690:./tool/net/redbean.c:1354:redbean-python:839375] (stat) 839388 terminated with SIGSEGV (0 workers remain)
D2023-12-18T21:58:35+000040:./tool/net/redbean.c:1365:redbean-python:839375] (stat) resource report for pid 839388
ballooned to 912kb in size
needed 347us cpu (0% kernel)
caused 35 page faults (100% memcpy)
16 context switches (6% consensual)
D2023-12-18T21:58:35+000336:./tool/net/redbean.c:6793:redbean-python:839375] (token) can't acquire accept() token for client
V2023-12-18T21:58:35+000018:./tool/net/redbean.c:6802:redbean-python:839375] (srvr) accept 127.0.0.1:49856 via 127.0.0.1:8080
D2023-12-18T21:58:35+000130:./tool/net/redbean.c:6458:redbean-python:839389] (stat) 127.0.0.1:49856 read 743 bytes
I2023-12-18T21:58:35+000031:./tool/net/redbean.c:6005:redbean-python:839389] (req) received 127.0.0.1:49856 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
D2023-12-18T21:58:35+000010:./tool/net/redbean.c:6049:redbean-python:839389] (srvr) RoutePath("/localhost/index.py")
D2023-12-18T21:58:35+000005:./tool/net/redbean.c:6049:redbean-python:839389] (srvr) RoutePath("/www.localhost/index.py")
D2023-12-18T21:58:35+000005:./tool/net/redbean.c:6049:redbean-python:839389] (srvr) RoutePath("/index.py")
error: Uncaught SIGSEGV (SEGV_MAPERR) at 0x20 on tachikoma pid 839389 tid 839389
./redbean-python.com
No error information
Linux Cosmopolitan 3.1.3; #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) tachikoma 6.5.0-4-amd64
RAX 000010008005e296 RBX 00001000800568b0 RDI 0000000000000000
RCX 000010008005e28f RDX 0000000000000006 RSI 000000000000002e
RBP 00007fff0e33fc40 RSP 00007fff0e33fc18 RIP 0000000000421f82
R8 00000000004975a0 R9 79702e7865646e69 R10 0000000000000008
R11 0000000000000296 R12 0000000000000002 R13 000010008005e297
R14 0000000000000000 R15 000010008008004a
TLS 00000000004b3f40
XMM0 00000000000000000000000000000000 XMM8 00000000000000000000000000000000
XMM1 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM9 00000000000000000000000000000000
XMM2 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM10 00000000000000000000000000000000
XMM3 00000000000000000000000000000000 XMM11 00000000000000000000000000000000
XMM4 00000000003266695a5400544d470000 XMM12 00000000000000000000000000000000
XMM5 00000000040000000100000000000000 XMM13 00000000000000000000000000000000
XMM6 0065746164696c617665722d7473756d XMM14 00000000000000000000000000000000
XMM7 00000000000000000000003266695a54 XMM15 00000000000000000000000000000000
cosmoaddr2line /home/siiky/projects/local-mirrors/redbean-python.com 421f82 41e01b 41e7b6 41f3a4 41f5fb 41fa6c 4202a7 420c8f 421090 421566 48bea4 404e57 404604
0000004c3df0 421f82 lua_gettop+2
7fff0e33fc40 41e01b ServeAsset+139
7fff0e33fcc0 41e7b6 RoutePath+294
7fff0e33fcf0 41f3a4 HandleRequest+1332
7fff0e33fd60 41f5fb HandleMessageActual+107
7fff0e33fd90 41fa6c HandleMessages+204
7fff0e33fdc0 4202a7 HandleConnection+839
7fff0e33fe00 420c8f HandlePoll+191
7fff0e33fe30 421090 EventLoop+672
7fff0e33ff10 421566 RedBean+1078
7fff0e33ffc0 40494a main+58
7fff0e33ffe0 404e57 cosmo+77
7fff0e33fff0 404604 _start+133
10008004-10008009 rw-pa- 6x automap 384kB
1000800a-1000800a rw-sa- 1x automap 64kB w/ 512kB hole
10008013-10008015 r--s-- 3x automap 154kB w/ 128kB hole
10008018-10008025 r--p-- 14x automap 858kB w/ 96tB hole
6fd00004-6fd00004 rw-paF 1x zipos 64kB w/ 64gB hole
6fe00004-6fe00004 rw-paF 1x g_fds 64kB
# 1664kB total mapped memory
./redbean-python.com -vv
W2023-12-18T21:58:35+000405:./tool/net/redbean.c:1354:redbean-python:839375] (stat) 839389 terminated with SIGSEGV (0 workers remain)
D2023-12-18T21:58:35+000015:./tool/net/redbean.c:1365:redbean-python:839375] (stat) resource report for pid 839389
ballooned to 912kb in size
needed 293us cpu (0% kernel)
caused 35 page faults (100% memcpy)
D2023-12-18T21:58:35+000183:./tool/net/redbean.c:6793:redbean-python:839375] (token) can't acquire accept() token for client
V2023-12-18T21:58:35+000008:./tool/net/redbean.c:6802:redbean-python:839375] (srvr) accept 127.0.0.1:49860 via 127.0.0.1:8080
D2023-12-18T21:58:35+000111:./tool/net/redbean.c:6458:redbean-python:839390] (stat) 127.0.0.1:49860 read 743 bytes
I2023-12-18T21:58:35+000030:./tool/net/redbean.c:6005:redbean-python:839390] (req) received 127.0.0.1:49860 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
D2023-12-18T21:58:35+000011:./tool/net/redbean.c:6049:redbean-python:839390] (srvr) RoutePath("/localhost/index.py")
D2023-12-18T21:58:35+000007:./tool/net/redbean.c:6049:redbean-python:839390] (srvr) RoutePath("/www.localhost/index.py")
D2023-12-18T21:58:35+000005:./tool/net/redbean.c:6049:redbean-python:839390] (srvr) RoutePath("/index.py")
error: Uncaught SIGSEGV (SEGV_MAPERR) at 0x20 on tachikoma pid 839390 tid 839390
./redbean-python.com
No error information
Linux Cosmopolitan 3.1.3; #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) tachikoma 6.5.0-4-amd64
RAX 000010008005e296 RBX 00001000800568b0 RDI 0000000000000000
RCX 000010008005e28f RDX 0000000000000006 RSI 000000000000002e
RBP 00007fff0e33fc40 RSP 00007fff0e33fc18 RIP 0000000000421f82
R8 00000000004975a0 R9 79702e7865646e69 R10 0000000000000008
R11 0000000000000296 R12 0000000000000002 R13 000010008005e297
R14 0000000000000000 R15 000010008008004a
TLS 00000000004b3f40
XMM0 00000000000000000000000000000000 XMM8 00000000000000000000000000000000
XMM1 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM9 00000000000000000000000000000000
XMM2 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM10 00000000000000000000000000000000
XMM3 00000000000000000000000000000000 XMM11 00000000000000000000000000000000
XMM4 00000000003266695a5400544d470000 XMM12 00000000000000000000000000000000
XMM5 00000000040000000100000000000000 XMM13 00000000000000000000000000000000
XMM6 0065746164696c617665722d7473756d XMM14 00000000000000000000000000000000
XMM7 00000000000000000000003266695a54 XMM15 00000000000000000000000000000000
cosmoaddr2line /home/siiky/projects/local-mirrors/redbean-python.com 421f82 41e01b 41e7b6 41f3a4 41f5fb 41fa6c 4202a7 420c8f 421090 421566 48bea4 404e57 404604
0000004c3df0 421f82 lua_gettop+2
7fff0e33fc40 41e01b ServeAsset+139
7fff0e33fcc0 41e7b6 RoutePath+294
7fff0e33fcf0 41f3a4 HandleRequest+1332
7fff0e33fd60 41f5fb HandleMessageActual+107
7fff0e33fd90 41fa6c HandleMessages+204
7fff0e33fdc0 4202a7 HandleConnection+839
7fff0e33fe00 420c8f HandlePoll+191
7fff0e33fe30 421090 EventLoop+672
7fff0e33ff10 421566 RedBean+1078
7fff0e33ffc0 40494a main+58
7fff0e33ffe0 404e57 cosmo+77
7fff0e33fff0 404604 _start+133
10008004-10008009 rw-pa- 6x automap 384kB
1000800a-1000800a rw-sa- 1x automap 64kB w/ 512kB hole
10008013-10008015 r--s-- 3x automap 154kB w/ 128kB hole
10008018-10008025 r--p-- 14x automap 858kB w/ 96tB hole
6fd00004-6fd00004 rw-paF 1x zipos 64kB w/ 64gB hole
6fe00004-6fe00004 rw-paF 1x g_fds 64kB
# 1664kB total mapped memory
./redbean-python.com -vv
W2023-12-18T21:58:35+000380:./tool/net/redbean.c:1354:redbean-python:839375] (stat) 839390 terminated with SIGSEGV (0 workers remain)
D2023-12-18T21:58:35+000028:./tool/net/redbean.c:1365:redbean-python:839375] (stat) resource report for pid 839390
ballooned to 912kb in size
needed 278us cpu (0% kernel)
caused 35 page faults (100% memcpy)
D2023-12-18T21:58:35+000138:./tool/net/redbean.c:6793:redbean-python:839375] (token) can't acquire accept() token for client
V2023-12-18T21:58:35+000013:./tool/net/redbean.c:6802:redbean-python:839375] (srvr) accept 127.0.0.1:49862 via 127.0.0.1:8080
D2023-12-18T21:58:35+000110:./tool/net/redbean.c:6458:redbean-python:839391] (stat) 127.0.0.1:49862 read 743 bytes
I2023-12-18T21:58:35+000031:./tool/net/redbean.c:6005:redbean-python:839391] (req) received 127.0.0.1:49862 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
D2023-12-18T21:58:35+000007:./tool/net/redbean.c:6049:redbean-python:839391] (srvr) RoutePath("/localhost/index.py")
D2023-12-18T21:58:35+000007:./tool/net/redbean.c:6049:redbean-python:839391] (srvr) RoutePath("/www.localhost/index.py")
D2023-12-18T21:58:35+000005:./tool/net/redbean.c:6049:redbean-python:839391] (srvr) RoutePath("/index.py")
error: Uncaught SIGSEGV (SEGV_MAPERR) at 0x20 on tachikoma pid 839391 tid 839391
./redbean-python.com
No error information
Linux Cosmopolitan 3.1.3; #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) tachikoma 6.5.0-4-amd64
RAX 000010008005e296 RBX 00001000800568b0 RDI 0000000000000000
RCX 000010008005e28f RDX 0000000000000006 RSI 000000000000002e
RBP 00007fff0e33fc40 RSP 00007fff0e33fc18 RIP 0000000000421f82
R8 00000000004975a0 R9 79702e7865646e69 R10 0000000000000008
R11 0000000000000296 R12 0000000000000002 R13 000010008005e297
R14 0000000000000000 R15 000010008008004a
TLS 00000000004b3f40
XMM0 00000000000000000000000000000000 XMM8 00000000000000000000000000000000
XMM1 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM9 00000000000000000000000000000000
XMM2 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM10 00000000000000000000000000000000
XMM3 00000000000000000000000000000000 XMM11 00000000000000000000000000000000
XMM4 00000000003266695a5400544d470000 XMM12 00000000000000000000000000000000
XMM5 00000000040000000100000000000000 XMM13 00000000000000000000000000000000
XMM6 0065746164696c617665722d7473756d XMM14 00000000000000000000000000000000
XMM7 00000000000000000000003266695a54 XMM15 00000000000000000000000000000000
cosmoaddr2line /home/siiky/projects/local-mirrors/redbean-python.com 421f82 41e01b 41e7b6 41f3a4 41f5fb 41fa6c 4202a7 420c8f 421090 421566 48bea4 404e57 404604
0000004c3df0 421f82 lua_gettop+2
7fff0e33fc40 41e01b ServeAsset+139
7fff0e33fcc0 41e7b6 RoutePath+294
7fff0e33fcf0 41f3a4 HandleRequest+1332
7fff0e33fd60 41f5fb HandleMessageActual+107
7fff0e33fd90 41fa6c HandleMessages+204
7fff0e33fdc0 4202a7 HandleConnection+839
7fff0e33fe00 420c8f HandlePoll+191
7fff0e33fe30 421090 EventLoop+672
7fff0e33ff10 421566 RedBean+1078
7fff0e33ffc0 40494a main+58
7fff0e33ffe0 404e57 cosmo+77
7fff0e33fff0 404604 _start+133
10008004-10008009 rw-pa- 6x automap 384kB
1000800a-1000800a rw-sa- 1x automap 64kB w/ 512kB hole
10008013-10008015 r--s-- 3x automap 154kB w/ 128kB hole
10008018-10008025 r--p-- 14x automap 858kB w/ 96tB hole
6fd00004-6fd00004 rw-paF 1x zipos 64kB w/ 64gB hole
6fe00004-6fe00004 rw-paF 1x g_fds 64kB
# 1664kB total mapped memory
./redbean-python.com -vv
W2023-12-18T21:58:35+000373:./tool/net/redbean.c:1354:redbean-python:839375] (stat) 839391 terminated with SIGSEGV (0 workers remain)
D2023-12-18T21:58:35+000022:./tool/net/redbean.c:1365:redbean-python:839375] (stat) resource report for pid 839391
ballooned to 912kb in size
needed 276us cpu (0% kernel)
caused 35 page faults (100% memcpy)
D2023-12-18T21:58:35+000107:./tool/net/redbean.c:6793:redbean-python:839375] (token) can't acquire accept() token for client
V2023-12-18T21:58:35+000007:./tool/net/redbean.c:6802:redbean-python:839375] (srvr) accept 127.0.0.1:49864 via 127.0.0.1:8080
D2023-12-18T21:58:35+000086:./tool/net/redbean.c:6458:redbean-python:839392] (stat) 127.0.0.1:49864 read 743 bytes
I2023-12-18T21:58:35+000024:./tool/net/redbean.c:6005:redbean-python:839392] (req) received 127.0.0.1:49864 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
D2023-12-18T21:58:35+000006:./tool/net/redbean.c:6049:redbean-python:839392] (srvr) RoutePath("/localhost/index.py")
D2023-12-18T21:58:35+000005:./tool/net/redbean.c:6049:redbean-python:839392] (srvr) RoutePath("/www.localhost/index.py")
D2023-12-18T21:58:35+000005:./tool/net/redbean.c:6049:redbean-python:839392] (srvr) RoutePath("/index.py")
error: Uncaught SIGSEGV (SEGV_MAPERR) at 0x20 on tachikoma pid 839392 tid 839392
./redbean-python.com
No error information
Linux Cosmopolitan 3.1.3; #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) tachikoma 6.5.0-4-amd64
RAX 000010008005e296 RBX 00001000800568b0 RDI 0000000000000000
RCX 000010008005e28f RDX 0000000000000006 RSI 000000000000002e
RBP 00007fff0e33fc40 RSP 00007fff0e33fc18 RIP 0000000000421f82
R8 00000000004975a0 R9 79702e7865646e69 R10 0000000000000008
R11 0000000000000296 R12 0000000000000002 R13 000010008005e297
R14 0000000000000000 R15 000010008008004a
TLS 00000000004b3f40
XMM0 00000000000000000000000000000000 XMM8 00000000000000000000000000000000
XMM1 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM9 00000000000000000000000000000000
XMM2 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM10 00000000000000000000000000000000
XMM3 00000000000000000000000000000000 XMM11 00000000000000000000000000000000
XMM4 00000000003266695a5400544d470000 XMM12 00000000000000000000000000000000
XMM5 00000000040000000100000000000000 XMM13 00000000000000000000000000000000
XMM6 0065746164696c617665722d7473756d XMM14 00000000000000000000000000000000
XMM7 00000000000000000000003266695a54 XMM15 00000000000000000000000000000000
cosmoaddr2line /home/siiky/projects/local-mirrors/redbean-python.com 421f82 41e01b 41e7b6 41f3a4 41f5fb 41fa6c 4202a7 420c8f 421090 421566 48bea4 404e57 404604
0000004c3df0 421f82 lua_gettop+2
7fff0e33fc40 41e01b ServeAsset+139
7fff0e33fcc0 41e7b6 RoutePath+294
7fff0e33fcf0 41f3a4 HandleRequest+1332
7fff0e33fd60 41f5fb HandleMessageActual+107
7fff0e33fd90 41fa6c HandleMessages+204
7fff0e33fdc0 4202a7 HandleConnection+839
7fff0e33fe00 420c8f HandlePoll+191
7fff0e33fe30 421090 EventLoop+672
7fff0e33ff10 421566 RedBean+1078
7fff0e33ffc0 40494a main+58
7fff0e33ffe0 404e57 cosmo+77
7fff0e33fff0 404604 _start+133
10008004-10008009 rw-pa- 6x automap 384kB
1000800a-1000800a rw-sa- 1x automap 64kB w/ 512kB hole
10008013-10008015 r--s-- 3x automap 154kB w/ 128kB hole
10008018-10008025 r--p-- 14x automap 858kB w/ 96tB hole
6fd00004-6fd00004 rw-paF 1x zipos 64kB w/ 64gB hole
6fe00004-6fe00004 rw-paF 1x g_fds 64kB
# 1664kB total mapped memory
./redbean-python.com -vv
W2023-12-18T21:58:35+000289:./tool/net/redbean.c:1354:redbean-python:839375] (stat) 839392 terminated with SIGSEGV (0 workers remain)
D2023-12-18T21:58:35+000010:./tool/net/redbean.c:1365:redbean-python:839375] (stat) resource report for pid 839392
ballooned to 912kb in size
needed 224us cpu (0% kernel)
caused 35 page faults (100% memcpy)
D2023-12-18T21:58:35+000107:./tool/net/redbean.c:6793:redbean-python:839375] (token) can't acquire accept() token for client
V2023-12-18T21:58:35+000011:./tool/net/redbean.c:6802:redbean-python:839375] (srvr) accept 127.0.0.1:49866 via 127.0.0.1:8080
D2023-12-18T21:58:35+000096:./tool/net/redbean.c:6458:redbean-python:839393] (stat) 127.0.0.1:49866 read 743 bytes
I2023-12-18T21:58:35+000024:./tool/net/redbean.c:6005:redbean-python:839393] (req) received 127.0.0.1:49866 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
D2023-12-18T21:58:35+000006:./tool/net/redbean.c:6049:redbean-python:839393] (srvr) RoutePath("/localhost/index.py")
D2023-12-18T21:58:35+000005:./tool/net/redbean.c:6049:redbean-python:839393] (srvr) RoutePath("/www.localhost/index.py")
D2023-12-18T21:58:35+000005:./tool/net/redbean.c:6049:redbean-python:839393] (srvr) RoutePath("/index.py")
error: Uncaught SIGSEGV (SEGV_MAPERR) at 0x20 on tachikoma pid 839393 tid 839393
./redbean-python.com
No error information
Linux Cosmopolitan 3.1.3; #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) tachikoma 6.5.0-4-amd64
RAX 000010008005e296 RBX 00001000800568b0 RDI 0000000000000000
RCX 000010008005e28f RDX 0000000000000006 RSI 000000000000002e
RBP 00007fff0e33fc40 RSP 00007fff0e33fc18 RIP 0000000000421f82
R8 00000000004975a0 R9 79702e7865646e69 R10 0000000000000008
R11 0000000000000296 R12 0000000000000002 R13 000010008005e297
R14 0000000000000000 R15 000010008008004a
TLS 00000000004b3f40
XMM0 00000000000000000000000000000000 XMM8 00000000000000000000000000000000
XMM1 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM9 00000000000000000000000000000000
XMM2 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM10 00000000000000000000000000000000
XMM3 00000000000000000000000000000000 XMM11 00000000000000000000000000000000
XMM4 00000000003266695a5400544d470000 XMM12 00000000000000000000000000000000
XMM5 00000000040000000100000000000000 XMM13 00000000000000000000000000000000
XMM6 0065746164696c617665722d7473756d XMM14 00000000000000000000000000000000
XMM7 00000000000000000000003266695a54 XMM15 00000000000000000000000000000000
cosmoaddr2line /home/siiky/projects/local-mirrors/redbean-python.com 421f82 41e01b 41e7b6 41f3a4 41f5fb 41fa6c 4202a7 420c8f 421090 421566 48bea4 404e57 404604
0000004c3df0 421f82 lua_gettop+2
7fff0e33fc40 41e01b ServeAsset+139
7fff0e33fcc0 41e7b6 RoutePath+294
7fff0e33fcf0 41f3a4 HandleRequest+1332
7fff0e33fd60 41f5fb HandleMessageActual+107
7fff0e33fd90 41fa6c HandleMessages+204
7fff0e33fdc0 4202a7 HandleConnection+839
7fff0e33fe00 420c8f HandlePoll+191
7fff0e33fe30 421090 EventLoop+672
7fff0e33ff10 421566 RedBean+1078
7fff0e33ffc0 40494a main+58
7fff0e33ffe0 404e57 cosmo+77
7fff0e33fff0 404604 _start+133
10008004-10008009 rw-pa- 6x automap 384kB
1000800a-1000800a rw-sa- 1x automap 64kB w/ 512kB hole
10008013-10008015 r--s-- 3x automap 154kB w/ 128kB hole
10008018-10008025 r--p-- 14x automap 858kB w/ 96tB hole
6fd00004-6fd00004 rw-paF 1x zipos 64kB w/ 64gB hole
6fe00004-6fe00004 rw-paF 1x g_fds 64kB
# 1664kB total mapped memory
./redbean-python.com -vv
W2023-12-18T21:58:35+000297:./tool/net/redbean.c:1354:redbean-python:839375] (stat) 839393 terminated with SIGSEGV (0 workers remain)
D2023-12-18T21:58:35+000011:./tool/net/redbean.c:1365:redbean-python:839375] (stat) resource report for pid 839393
ballooned to 912kb in size
needed 225us cpu (0% kernel)
caused 35 page faults (100% memcpy)
D2023-12-18T21:58:35+000136:./tool/net/redbean.c:6793:redbean-python:839375] (token) can't acquire accept() token for client
V2023-12-18T21:58:35+000008:./tool/net/redbean.c:6802:redbean-python:839375] (srvr) accept 127.0.0.1:49878 via 127.0.0.1:8080
D2023-12-18T21:58:35+000083:./tool/net/redbean.c:6458:redbean-python:839394] (stat) 127.0.0.1:49878 read 743 bytes
I2023-12-18T21:58:35+000024:./tool/net/redbean.c:6005:redbean-python:839394] (req) received 127.0.0.1:49878 HTTP11 GET http://localhost:8080/index.py "" "Mozilla/5.0 (X11; Linux x86_64; rv:121.0) Gecko/20100101 Firefox/121.0"
D2023-12-18T21:58:35+000007:./tool/net/redbean.c:6049:redbean-python:839394] (srvr) RoutePath("/localhost/index.py")
D2023-12-18T21:58:35+000004:./tool/net/redbean.c:6049:redbean-python:839394] (srvr) RoutePath("/www.localhost/index.py")
D2023-12-18T21:58:35+000005:./tool/net/redbean.c:6049:redbean-python:839394] (srvr) RoutePath("/index.py")
error: Uncaught SIGSEGV (SEGV_MAPERR) at 0x20 on tachikoma pid 839394 tid 839394
./redbean-python.com
No error information
Linux Cosmopolitan 3.1.3; #1 SMP PREEMPT_DYNAMIC Debian 6.5.10-1 (2023-11-03) tachikoma 6.5.0-4-amd64
RAX 000010008005e296 RBX 00001000800568b0 RDI 0000000000000000
RCX 000010008005e28f RDX 0000000000000006 RSI 000000000000002e
RBP 00007fff0e33fc40 RSP 00007fff0e33fc18 RIP 0000000000421f82
R8 00000000004975a0 R9 79702e7865646e69 R10 0000000000000008
R11 0000000000000296 R12 0000000000000002 R13 000010008005e297
R14 0000000000000000 R15 000010008008004a
TLS 00000000004b3f40
XMM0 00000000000000000000000000000000 XMM8 00000000000000000000000000000000
XMM1 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM9 00000000000000000000000000000000
XMM2 2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e2e XMM10 00000000000000000000000000000000
XMM3 00000000000000000000000000000000 XMM11 00000000000000000000000000000000
XMM4 00000000003266695a5400544d470000 XMM12 00000000000000000000000000000000
XMM5 00000000040000000100000000000000 XMM13 00000000000000000000000000000000
XMM6 0065746164696c617665722d7473756d XMM14 00000000000000000000000000000000
XMM7 00000000000000000000003266695a54 XMM15 00000000000000000000000000000000
cosmoaddr2line /home/siiky/projects/local-mirrors/redbean-python.com 421f82 41e01b 41e7b6 41f3a4 41f5fb 41fa6c 4202a7 420c8f 421090 421566 48bea4 404e57 404604
0000004c3df0 421f82 lua_gettop+2
7fff0e33fc40 41e01b ServeAsset+139
7fff0e33fcc0 41e7b6 RoutePath+294
7fff0e33fcf0 41f3a4 HandleRequest+1332
7fff0e33fd60 41f5fb HandleMessageActual+107
7fff0e33fd90 41fa6c HandleMessages+204
7fff0e33fdc0 4202a7 HandleConnection+839
7fff0e33fe00 420c8f HandlePoll+191
7fff0e33fe30 421090 EventLoop+672
7fff0e33ff10 421566 RedBean+1078
7fff0e33ffc0 40494a main+58
7fff0e33ffe0 404e57 cosmo+77
7fff0e33fff0 404604 _start+133
10008004-10008009 rw-pa- 6x automap 384kB
1000800a-1000800a rw-sa- 1x automap 64kB w/ 512kB hole
10008013-10008015 r--s-- 3x automap 154kB w/ 128kB hole
10008018-10008025 r--p-- 14x automap 858kB w/ 96tB hole
6fd00004-6fd00004 rw-paF 1x zipos 64kB w/ 64gB hole
6fe00004-6fe00004 rw-paF 1x g_fds 64kB
# 1664kB total mapped memory
./redbean-python.com -vv
W2023-12-18T21:58:35+000281:./tool/net/redbean.c:1354:redbean-python:839375] (stat) 839394 terminated with SIGSEGV (0 workers remain)
D2023-12-18T21:58:35+000010:./tool/net/redbean.c:1365:redbean-python:839375] (stat) resource report for pid 839394
ballooned to 912kb in size
needed 219us cpu (0% kernel)
caused 35 page faults (100% memcpy)
I hope this helps!
Just to be clear, you have redbean.com that you build with the default .init.lua that include index.py file of zero length, right?
Not redbean.com
but redbean-original.com
, as stated in the title and OP. Otherwise yes, that's it.
I got it; thanks. I can reproduce the issue and should have a fix soon.
@siiky, I submitted a PR in #1033; can you confirm that it fixes the issue for you?
As the title says: when I go to
localhost:8080/path/to/file.php
redbean shows a bunch ofUncaught SIGSEGV (SEGV_MAPERR) on <hostname> pid <pid> tid <tid>
errors. I initially encountered this with a mirror of a site I like, but tested just now with an empty php file and the result is the same. So, all the steps:On my computer I get all this: