Y2Z / monolith

⬛️ CLI tool for saving complete web pages as a single HTML file
https://crates.io/crates/monolith
Creative Commons Zero v1.0 Universal
11.26k stars 316 forks source link

tests crashes on NetBSD sparc64 #411

Open 0323pin opened 2 months ago

0323pin commented 2 months ago

Hi,

NetBSD package maintainer here.

Got the following report, https://mail-index.netbsd.org/pkgsrc-bugs/2024/09/22/msg073230.html from an user. Unfortunately, I have no clue on how to fix this.

Any thoughts?

snshn commented 2 months ago

Hi there,

thank you for reporting this issue, and thank you for maintaining the NetBSD package!

I'm investigating this right now, suspecting the latest version of reqwest to be the cause. Might downgrade it back to what it was before the breakage.

0323pin commented 2 months ago

@snshn Thank you!

I'm investigating this right now, suspecting the latest version of reqwest to be the cause. Might downgrade it back to what it was before the breakage.

If this turns out to be the case, it might be good to report it upstream, so it can be fixed in the reqwest crate.

als-git commented 2 months ago

One data point:

At least for C code naively written for Intel and then built on SPARC, these two are a common source of bugs. I'm not familiar with Rust though, so no idea how that effects this language.

snshn commented 2 months ago

@0323pin could you please let me know if it's just sparc64 that crashes? I tested it on NetBSD with --no-default-features (non-static OpenSSL linkage), it seems to be doing fine, but it's x86_64, I suspect @als-git is correct about it being problem specific to sparc64 due to its endianness

0323pin commented 2 months ago

@snshn I've switched the package to use the static linkage on one of the last updates. I only have x86_64 hardware myself and, that you already know.

I haven't seen other problem reports on the subject.

If you still want me to try on x86_64, just let me know.