nannou-org / nannou

A Creative Coding Framework for Rust.
https://nannou.cc/
6.04k stars 305 forks source link

Segmentation fault #934

Closed ghost closed 11 months ago

ghost commented 1 year ago

I cloned the repo freshly and tried to run examples and get a segmentation fault for every example i tried to run. image

davehorner commented 1 year ago

I just tried running a few samples this evening.

  Compiling examples v0.1.0 (C:\working\rust\nannou\nannou\examples)
    Finished dev [unoptimized + debuginfo] target(s) in 19.36s
warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
     Running `target\debug\examples\simple_ui.exe`
error: process didn't exit successfully: `target\debug\examples\simple_ui.exe` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)
    Finished dev [unoptimized + debuginfo] target(s) in 1.37s
warning: the following packages contain code that will be rejected by a future version of Rust: rustc-serialize v0.3.24
note: to see what the problems were, use the option `--future-incompat-report`, or run `cargo report future-incompatibilities --id 1`
     Running `target\debug\examples\simple_audio.exe`
error: process didn't exit successfully: `target\debug\examples\simple_audio.exe` (exit code: 0xc0000005, STATUS_ACCESS_VIOLATION)

not sure what to do from there.

davehorner commented 1 year ago

Both samples worked perfectly fine on another win64 machine. Still not sure what's up with the configuration on my other machine, but I can play now. thanks.

ghost commented 11 months ago

I updated my distribution to a newer version (Ubuntu 23.10) and it's working now. I guess some environmental variables (Path and stuff) were set differently over the course of time and that's what caused the issue(s).

I'll close this issue now.