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

Segfault #3

Open
rcastill opened this issue Jan 16, 2017 · 6 comments
Open

Segfault #3

rcastill opened this issue Jan 16, 2017 · 6 comments
Labels

Comments

@rcastill
Copy link

Hi!,

Compiled as recommended cargo build --release under macOS; then executed via ./target/release/ruga and it outputs: Segmentation fault: 11. Is this repo active?

@rcastill
Copy link
Author

rcastill commented Jan 16, 2017

Just saw closed issue of segfault report. I am also on macOS Sierra, but lib.rs has #version 150 as it was updated on master.

If there is something I can help with, feel free to ask!

@gui1117
Copy link
Owner

gui1117 commented Jan 16, 2017

Hi, thanks for the report, this repo is active but in massive rewrite in branch 0.3

crates in 0.3 are more up to date can you check if it fails or not ?
git checkout 0.3
cargo run -- -c config.lua

@gui1117 gui1117 added the bug label Jan 16, 2017
@rcastill
Copy link
Author

I just tried that and it throws a compile error:

error[E0255]: a value named `add_resources` has already been imported in this module
  --> src/resources.rs:4:1
   |
1  | pub use ::physics::resources::*;
   |         ------------------------ previous import of `add_resources` here
...
4  | pub fn add_resources(world: &mut ::specs::World) {
   | ^ `add_resources` was already imported

error[E0255]: a value named `add_resources` has already been imported in this module
  --> src/resources.rs:4:1
   |
2  | pub use ::notifications::resources::*;
   |         ------------------------------ previous import of `add_resources` here
3  | 
4  | pub fn add_resources(world: &mut ::specs::World) {
   | ^ `add_resources` was already imported

error[E0255]: a value named `register_components` has already been imported in this module
 --> src/components.rs:4:1
  |
1 | pub use ::weapons::components::*;
  |         ------------------------- previous import of `register_components` here
...
4 | pub fn register_components(world: &mut ::specs::World) {
  | ^ `register_components` was already imported

error[E0255]: a value named `register_components` has already been imported in this module
 --> src/components.rs:4:1
  |
2 | pub use ::physics::components::*;
  |         ------------------------- previous import of `register_components` here
3 | 
4 | pub fn register_components(world: &mut ::specs::World) {
  | ^ `register_components` was already imported

error: aborting due to 4 previous errors

error: Could not compile `ruga`.

@gui1117
Copy link
Owner

gui1117 commented Jan 17, 2017

ah, oops that's because I use rust beta and not rust stable.

beta-x86_64-unknown-linux-gnu (default) -rustc 1.15.0-beta.3 (a035041ba 2017-01-07)

@rcastill
Copy link
Author

rcastill commented Jan 17, 2017

Ok, I tried with with rust nightly. It compiled and ran. BUT!

  • It is not the game on the gif :'c
  • It takes possession of my trackpad... I cannot move it. Not even inside the game; it gets stuck and there is no way to move it.

screen shot 2017-01-17 at 09 47 30

  • I cannot close the game. For some reason it stops (thankfully) when I fire up spotlight search by hitting Cmd+Space

That's it. I can keep testing your iterations on macOS if you like.

Greetings!

@gui1117
Copy link
Owner

gui1117 commented Jan 17, 2017

OK thanks, 0.3 is not finished at all obviously :-).

I wanted you to test this version because I think the issue come from the rendering part and I use the same on 0.3 but with more up to date crates.

conclusion: maybe the issue come from old version of glium or glutin or something else. I don't think it worth it debugging master version. And other issue on 0.3 are OK. I think It will take some month before a playable version come. But I appreciate the proposition.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants