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

Clicking/Dragging mouse on a built street crashes the game #47

Closed
jlga opened this issue Dec 25, 2016 · 3 comments
Closed

Clicking/Dragging mouse on a built street crashes the game #47

jlga opened this issue Dec 25, 2016 · 3 comments

Comments

@jlga
Copy link

jlga commented Dec 25, 2016

When building a road, after it has finished, if you click/drag on a road the game crashes.

Error message:
thread 'main' panicked at 'called Option::unwrap() on a `None` value', ../src/libcore\option.rs:323
note: Run with RUST_BACKTRACE=1 for a backtrace.
Simulation Panic!
"called Option::unwrap() on a None value"
thread 'main' panicked at 'called Option::unwrap() on a None value', ../src/libcore\option.rs:323

@jacwah
Copy link

jacwah commented Dec 27, 2016

Here is the backtrace I am getting:

$ RUST_BACKTRACE=1 Downloads/Citybound.app/Citybound 
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', ../src/libcore/option.rs:323
stack backtrace:
   1:        0x106a6f6a8 - std::sys::backtrace::tracing::imp::write::h22f199c1dbb72ba2
   2:        0x106a7311f - std::panicking::default_hook::{{closure}}::h9a389c462b6a22dd
   3:        0x106a7213f - std::panicking::default_hook::h852b4223c1c00c59
   4:        0x106a72766 - std::panicking::rust_panic_with_hook::hcd9d05f53fa0dafc
   5:        0x106a72604 - std::panicking::begin_panic::hf6c488cee66e7f17
   6:        0x106a72522 - std::panicking::begin_panic_fmt::hb0a7126ee57cdd27
   7:        0x106a72487 - rust_begin_unwind
   8:        0x106a9c600 - core::panicking::panic_fmt::h9af671b78898cdba
   9:        0x106a9c504 - core::panicking::panic::h1a2d1a6b50eaa468
  10:        0x1069c0637 - <citybound::game::lanes_and_cars::planning::CurrentPlan as kay::messaging::Recipient<citybound::game::lanes_and_cars::planning::PlanControl>>::receive::h79409512bae5538e
  11:        0x1069c9f7b - kay::actor_system::ActorSystem::add_inbox_helper::{{closure}}::h17b27b9347bcb373
  12:        0x106a01ad9 - kay::actor_system::ActorSystem::process_all_messages::hbb9ee17d1ec45290
  13:        0x10693f855 - std::panicking::try::do_call::hc38e36e35669cb34
  14:        0x106a736da - __rust_maybe_catch_panic
  15:        0x10696fae1 - citybound::main::hb708e35856bec16c
  16:        0x106a736da - __rust_maybe_catch_panic
  17:        0x106a71c26 - std::rt::lang_start::h14cbded5fe3cd915
Simulation Panic!
"called `Option::unwrap()` on a `None` value"
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', ../src/libcore/option.rs:323
stack backtrace:
   1:        0x106a6f6a8 - std::sys::backtrace::tracing::imp::write::h22f199c1dbb72ba2
   2:        0x106a7311f - std::panicking::default_hook::{{closure}}::h9a389c462b6a22dd
   3:        0x106a7213f - std::panicking::default_hook::h852b4223c1c00c59
   4:        0x106a72766 - std::panicking::rust_panic_with_hook::hcd9d05f53fa0dafc
   5:        0x106a72604 - std::panicking::begin_panic::hf6c488cee66e7f17
   6:        0x106a72522 - std::panicking::begin_panic_fmt::hb0a7126ee57cdd27
   7:        0x106a72487 - rust_begin_unwind
   8:        0x106a9c600 - core::panicking::panic_fmt::h9af671b78898cdba
   9:        0x106a9c504 - core::panicking::panic::h1a2d1a6b50eaa468
  10:        0x1069c0637 - <citybound::game::lanes_and_cars::planning::CurrentPlan as kay::messaging::Recipient<citybound::game::lanes_and_cars::planning::PlanControl>>::receive::h79409512bae5538e
  11:        0x1069c9f7b - kay::actor_system::ActorSystem::add_inbox_helper::{{closure}}::h17b27b9347bcb373
  12:        0x106a01ad9 - kay::actor_system::ActorSystem::process_all_messages::hbb9ee17d1ec45290
  13:        0x10696f994 - citybound::main::hb708e35856bec16c
  14:        0x106a736da - __rust_maybe_catch_panic
  15:        0x106a71c26 - std::rt::lang_start::h14cbded5fe3cd915

@chances
Copy link
Contributor

chances commented Dec 29, 2016

Possible duplicate of #37?

@aeplay
Copy link
Member

aeplay commented Jan 11, 2017

Closing as duplicate of #86

@aeplay aeplay closed this as completed Jan 11, 2017
@aeplay aeplay modified the milestone: Cleanup & Architecture Improvements Jan 19, 2017
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

4 participants