emulsion icon indicating copy to clipboard operation
emulsion copied to clipboard

Emulsion panics immediately at start

Open raphCode opened this issue 3 years ago • 0 comments

I get the following backtrace when trying to open the application on Arch Linux with X11. The Emulsion window shows up for a split second, but without any content (no X drawcalls, the background window content is displayed). The window title reads "Loading".

This is an Intel Atom D2550 CPU with integrated graphics that are not supported on Linux.

It happens also when trying to open an image. I used the code from the 9.0 release.

Click to expand - long backtrace
    Finished dev [unoptimized + debuginfo] target(s) in 0.78s
     Running `target/debug/emulsion`
libEGL warning: DRI2: failed to authenticate

Panic happened

--
called `Option::unwrap()` on a `None` value
--

Location subcrates/gelatin/src/application.rs:125:45

   0: emulsion::handle_panic::handle_panic
             at src/handle_panic.rs:14:14
   1: core::ops::function::Fn::call
             at /build/rust/src/rustc-1.55.0-src/library/core/src/ops/function.rs:70:5
   2: std::panicking::rust_panic_with_hook
             at /build/rust/src/rustc-1.55.0-src/library/std/src/panicking.rs:626:17
   3: std::panicking::begin_panic_handler::{{closure}}
             at /build/rust/src/rustc-1.55.0-src/library/std/src/panicking.rs:517:13
   4: std::sys_common::backtrace::__rust_end_short_backtrace
             at /build/rust/src/rustc-1.55.0-src/library/std/src/sys_common/backtrace.rs:141:18
   5: rust_begin_unwind
             at /build/rust/src/rustc-1.55.0-src/library/std/src/panicking.rs:515:5
   6: core::panicking::panic_fmt
             at /build/rust/src/rustc-1.55.0-src/library/core/src/panicking.rs:92:14
   7: core::panicking::panic
             at /build/rust/src/rustc-1.55.0-src/library/core/src/panicking.rs:50:5
   8: core::option::Option<T>::unwrap
             at /build/rust/src/rustc-1.55.0-src/library/core/src/option.rs:722:21
   9: gelatin::application::Application::start_event_loop::{{closure}}
             at subcrates/gelatin/src/application.rs:125:6
  10: winit::platform_impl::platform::x11::EventLoop<T>::drain_events::{{closure}}::{{closure}}
             at /home/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/x11/mod.rs:425:29
  11: winit::platform_impl::platform::sticky_exit_callback
             at /home/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/mod.rs:736:5
  12: winit::platform_impl::platform::x11::EventLoop<T>::drain_events::{{closure}}
             at /home/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/x11/mod.rs:414:17
  13: winit::platform_impl::platform::x11::event_processor::EventProcessor<T>::process_event
             at /home/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/x11/event_processor.rs:521:17
  14: winit::platform_impl::platform::x11::EventLoop<T>::drain_events
             at /home/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/x11/mod.rs:413:13
  15: winit::platform_impl::platform::x11::EventLoop<T>::run_return
             at /home/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/x11/mod.rs:288:13
  16: winit::platform_impl::platform::x11::EventLoop<T>::run
             at /home/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/x11/mod.rs:398:9
  17: winit::platform_impl::platform::EventLoop<T>::run
             at /home/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/platform_impl/linux/mod.rs:652:56
  18: winit::event_loop::EventLoop<T>::run
             at /home/raph/.cargo/registry/src/github.com-1ecc6299db9ec823/winit-0.24.0/src/event_loop.rs:154:9
  19: gelatin::application::Application::start_event_loop
             at subcrates/gelatin/src/application.rs:105:3
  20: emulsion::main
             at src/main.rs:317:2
  21: core::ops::function::FnOnce::call_once
             at /build/rust/src/rustc-1.55.0-src/library/core/src/ops/function.rs:227:5
  22: std::sys_common::backtrace::__rust_begin_short_backtrace
             at /build/rust/src/rustc-1.55.0-src/library/std/src/sys_common/backtrace.rs:125:18
  23: std::rt::lang_start::{{closure}}
             at /build/rust/src/rustc-1.55.0-src/library/std/src/rt.rs:63:18
  24: core::ops::function::impls::<impl core::ops::function::FnOnce<A> for &F>::call_once
             at /build/rust/src/rustc-1.55.0-src/library/core/src/ops/function.rs:259:13
      std::panicking::try::do_call
             at /build/rust/src/rustc-1.55.0-src/library/std/src/panicking.rs:401:40
      std::panicking::try
             at /build/rust/src/rustc-1.55.0-src/library/std/src/panicking.rs:365:19
      std::panic::catch_unwind
             at /build/rust/src/rustc-1.55.0-src/library/std/src/panic.rs:434:14
      std::rt::lang_start_internal::{{closure}}
             at /build/rust/src/rustc-1.55.0-src/library/std/src/rt.rs:45:48
      std::panicking::try::do_call
             at /build/rust/src/rustc-1.55.0-src/library/std/src/panicking.rs:401:40
      std::panicking::try
             at /build/rust/src/rustc-1.55.0-src/library/std/src/panicking.rs:365:19
      std::panic::catch_unwind
             at /build/rust/src/rustc-1.55.0-src/library/std/src/panic.rs:434:14
      std::rt::lang_start_internal
             at /build/rust/src/rustc-1.55.0-src/library/std/src/rt.rs:45:20
  25: std::rt::lang_start
             at /build/rust/src/rustc-1.55.0-src/library/std/src/rt.rs:62:5
  26: main
  27: __libc_start_main
  28: _start

===================================================================================================

raphCode avatar Oct 04 '21 09:10 raphCode