Skip to content
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

Network sockets example crashes on request #204

Closed
sardap opened this issue Jan 15, 2025 · 1 comment
Closed

Network sockets example crashes on request #204

sardap opened this issue Jan 15, 2025 · 1 comment

Comments

@sardap
Copy link

sardap commented Jan 15, 2025

Hi

Apologies if this is related to #174

I have built the network-sockets example but whenever I make a request to the 3ds the program crashes.

It launches fine with the message

Point your browser at:
http://xxx.xxx.xxx.xxx/

Whenever I curl or wget that address the program crashes and goes back to the home brew launcher.

I tested on a base 3ds running luma v13.3.

I made this docker image to replicate the build env I'm using if anyone else has the same issue.

FROM devkitpro/devkitarm:20250102

RUN apt-get update -y \
    && apt-get install -y build-essential curl \
    && curl https://sh.rustup.rs -sSf | bash -s -- -y

ENV PATH="/root/.cargo/bin:${PATH}"
ENV PATH="/opt/devkitpro/devkitARM/bin/:${PATH}"

RUN rustup override set nightly \
    && rustup component add rust-src --toolchain nightly-x86_64-unknown-linux-gnu \
    && cargo install cargo-3ds

RUN mkdir /app

WORKDIR /app

ENTRYPOINT [ "/bin/bash" ]

Then I'm just building with cargo 3ds build --example network-sockets.

@FenrirWolf
Copy link
Member

Enabled the panic hook in the example and this is the error I got:

2025-01-16_00-57-36 518_bot

So yep, looks like #174 is the culprit

@sardap sardap closed this as completed Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants