lvgl / lv_binding_rust

LVGL bindings for Rust. A powerful and easy-to-use embedded GUI with many widgets, advanced visual effects (opacity, antialiasing, animations) and low memory requirements (16K RAM, 64K Flash).
MIT License
688 stars 71 forks source link

Raise an SIGSEGV #180

Open vit1251 opened 2 months ago

vit1251 commented 2 months ago
#12 0x0000561104b5096c in lvgl_sys::string_impl::strncmp (s1=0x561105098ff0 "unix", s2=0x7fa6a3e1516f "tcp", n=18446744073709551615) at src/string_impl.rs:118
#13 0x0000561104b5066b in lvgl_sys::string_impl::strcmp (s1=0x561105098ff0 "unix", s2=0x7fa6a3e1516f "tcp") at src/string_impl.rs:40
#14 0x00007fa6a3e00cfe in _dbus_transport_open_socket () from /usr/lib64/libdbus-1.so.3
#15 0x00007fa6a3dfe4dd in _dbus_transport_open () from /usr/lib64/libdbus-1.so.3
#16 0x00007fa6a3de38da in _dbus_connection_open_internal () from /usr/lib64/libdbus-1.so.3
#17 0x00007fa6a3dde1b9 in internal_bus_get () from /usr/lib64/libdbus-1.so.3
#18 0x00007fa6a42fa54b in SDL_DBus_Init_Spinlocked () from /usr/lib64/libSDL2-2.0.so.0
#19 0x00007fa6a42fab75 in SDL_DBus_Init () from /usr/lib64/libSDL2-2.0.so.0
#20 0x00007fa6a41fd007 in SDL_InitSubSystem_REAL.part.0 () from /usr/lib64/libSDL2-2.0.so.0
#21 0x0000561104b9e40d in sdl_init () at /home/vsedyshev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lvgl-sys-0.6.2/vendor/lv_drivers/sdl/sdl.c:122
#22 0x0000561104b4b451 in lvgl_example::main () at src/main.rs:21
(gdb) f 22
#22 0x0000561104b4b451 in lvgl_example::main () at src/main.rs:21
21          let display = lv_drv_disp_sdl!(buffer, HOR_RES, VER_RES)?;
(gdb) f 21
#21 0x0000561104b9e40d in sdl_init () at /home/vsedyshev/.cargo/registry/src/index.crates.io-6f17d22bba15001f/lvgl-sys-0.6.2/vendor/lv_drivers/sdl/sdl.c:122
122         SDL_Init(SDL_INIT_VIDEO);
(gdb) q

Could you please suggest whats wrong with?