-
-
Notifications
You must be signed in to change notification settings - Fork 645
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Segfault on Debian Linux, after adding a file to redbean #56
Comments
Exactly the same error message. Environment: |
Also seeing this on gentoo. Not sure if relevant, but the source is built from info zip 3.0 with these patches https://github.com/gentoo/gentoo/tree/master/app-arch/zip/files. |
Same erro here after "zip redbean.zip index.htm":
|
FWIW, HN thread about this issue https://news.ycombinator.com/item?id=26272791 Looks like it doesn't work in Debian, Ubuntu, gentoo, Windows |
also ArchLinux has the same issue (after adding the index.html)
the zip version looks the same others are using too:
|
Same thing on alpine Dockerfile
Logs:
|
I wonder what zip version would do the trick here ... but at this point, after reading so much awesome wizardry, I also wonder if the executable could ship within itself a zip executable with an that would make it even more universally awesome, as it wouldn't need OS specific version of a zip format, still keeping zip compatibility 🥳 |
Thanks for the report and to everyone who's participated so far. I believe I've fixed this issue in 218ef49 and you can download the latest release binary here: https://justine.lol/redbean/index.html Please take a look and let me know if there's still any issues. See also #68 |
I can confirm, at least in ArchLinux, everything works as expected. Thank you very much again for this wonder 👍 |
Confirm, works now on my Debian Linux. Keep up the good work! |
Awesome to hear! |
Confirmed working on MacOS 11 (Big Sur). |
Confirming Ubuntu. Now, posted some features wishlist #95 |
Original redbean works fine on my Debian Linux. But when I add the index.html file with
zip -redbean.com index.html
it stops working. ncluded all possible info I could think of. Hope some of this is helpful. Feel free to ask for specific info, or testing of a new version.In case it is of any help, here is what happens when I try to run it in gdb:
Valgrind gives some warnings, and then the same SIGSEGV:
The text was updated successfully, but these errors were encountered: