You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
czechlight ~ # coredumpctl debug 242
PID: 242 (veliad-system)
UID: 0 (root)
GID: 103 (sysrepo)
Signal: 6 (ABRT)
Timestamp: Tue 1980-01-01 00:00:10 UTC (44 years 9 months ago)
Command Line: /usr/bin/veliad-system
Executable: /usr/bin/veliad-system
Control Group: /system.slice/velia-system.service
Unit: velia-system.service
Slice: system.slice
Boot ID: 75d28c1352234e58a7d75376b892e0bc
Machine ID: 091c8701de3b408a8c4935710da486ad
Hostname: czechlight
Storage: /var/lib/systemd/coredump/core.veliad-system.0.75d28c1352234e58a7d75376b892e0bc.242.315532810000000.zst (present)
Size on Disk: 666.7K
Message: Process 242 (veliad-system) of user 0 dumped core.
Module libcrypt.so.2 without build-id.
Module libnss_systemd.so.2 without build-id.
Module libpcre2-8.so.0 without build-id.
Module libzstd.so.1 without build-id.
Module libcap.so.2 without build-id.
Module ld-linux-armhf.so.3 without build-id.
Module libc.so.6 without build-id.
Module libgcc_s.so.1 without build-id.
Module libm.so.6 without build-id.
Module libstdc++.so.6 without build-id.
Module libdate-tz.so.3 without build-id.
Module libsdbus-c++.so.1 without build-id.
Module libnl-3.so.200 without build-id.
Module libnl-route-3.so.200 without build-id.
Module libyang-cpp.so.3 without build-id.
Module libyang.so.3 without build-id.
Module libsysrepo-cpp.so.3 without build-id.
Module libsysrepo.so.7 without build-id.
Module libfmt.so.10 without build-id.
Module libsystemd.so.0 without build-id.
Module libspdlog.so.1.13 without build-id.
Module libdocopt.so.0 without build-id.
Module veliad-system without build-id.
Stack trace of thread 242:
#0 0x00000000b67c6294 n/a (libc.so.6 + 0x7e294)
ELF object binary architecture: ARM
GNU gdb (GDB) 13.2
Copyright (C) 2023 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Type "show copying" and "show warranty" for details.
This GDB was configured as "arm-buildroot-linux-gnueabihf".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<https://www.gnu.org/software/gdb/bugs/>.
Find the GDB manual and other documentation resources online at:
<http://www.gnu.org/software/gdb/documentation/>.
For help, type "help".
Type "apropos word" to search for commands related to "word"...
Reading symbols from /usr/bin/veliad-system...
[New LWP 242]
[New LWP 276]
[New LWP 284]
[New LWP 278]
[New LWP 277]
[New LWP 283]
[New LWP 307]
[New LWP 279]
[New LWP 308]
[New LWP 309]
[New LWP 285]
[New LWP 281]
[New LWP 282]
[New LWP 310]
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Core was generated by `/usr/bin/veliad-system'.
Program terminated with signal SIGABRT, Aborted.
#0 0xb67c6294 in ?? () from /lib/libc.so.6
[Current thread is 1 (Thread 0xb6651020 (LWP 242))]
(gdb) t a a bt
Thread 14 (Thread 0xafffc120 (LWP 310)):
#0 0xb6d197e4 in parse_ncname (ncname=<optimized out>, ncname@entry=0x0) at /home/jkt/work/prog/_build/_br-cfb/build/libyang-custom/src/xpath.c:2750
#1 0xb6d225d8 in lyxp_expr_parse (ctx=ctx@entry=0x1bd3a48, expr_str=0x1bc6710 "/czechlight-system:leds/led[name='mmc0::']/brightness", expr_str@entry=0x1c8cc70 "/czechlight-system:leds/led[name='mmc0::']/brightness", expr_len=<optimized out>, expr_len@entry=53, reparse=reparse@entry=0 '\000', expr_p=0xafffb358, expr_p@entry=0xafffb350) at /home/jkt/work/prog/_build/_br-cfb/build/libyang-custom/src/xpath.c:3140
#2 0xb6c5f29c in ly_path_parse (ctx=ctx@entry=0x1bd3a48, ctx_node=ctx_node@entry=0x0, str_path=str_path@entry=0x1c8cc70 "/czechlight-system:leds/led[name='mmc0::']/brightness", path_len=53, lref=lref@entry=0 '\000', begin=begin@entry=2, prefix=prefix@entry=64, pred=pred@entry=512, expr=0xafffb3f8, expr@entry=0xafffb3f0) at /home/jkt/work/prog/_build/_br-cfb/build/libyang-custom/src/path.c:343
#3 0xb6c7d1d8 in lyd_new_path_ (parent=<optimized out>, ctx=0x1bd3a48, ext=ext@entry=0x0, path=0xafffb49c "\270\"\337\2660\314\321\001", value=value@entry=0xafffb6b0, value_len=3066567276, value_len@entry=0, value_type=value_type@entry=LYD_ANYDATA_STRING, options=1, options@entry=2952770904, new_parent=0xafffb49c, new_parent@entry=0xb6c468b0 <libyang::impl::newPath(lyd_node*, ly_ctx*, std::shared_ptr<libyang::internal_refcount>, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > const&, std::optional<std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> > > const&, std::optional<libyang::CreationOptions>)+128>, new_node=new_node@entry=0x0) at /home/jkt/work/prog/_build/_br-cfb/build/libyang-custom/src/tree_data_new.c:1647
#4 0xb6c81a6c in lyd_new_path (parent=<optimized out>, ctx=<optimized out>, path=<optimized out>, value=0xafffb6b0 "0", options=1, node=0xafffb49c) at /home/jkt/work/prog/_build/_br-cfb/build/libyang-custom/src/tree_data_new.c:1850
#5 0xb6c468b0 in libyang::impl::newPath (node=node@entry=0x0, ctx=ctx@entry=warning: could not convert 'ly_ctx' from the host encoding (ANSI_X3.4-1968) to UTF-32.
This normally should not happen, please file a bug report.
0x1bd3a48, refs=..., path=..., value=..., options=...) at /home/jkt/work/prog/_build/_br-cfb/build/libyang-cpp-custom/src/utils/newPath.cpp:20
#6 0xb6c0a924 in libyang::Context::newPath (this=this@entry=0x7, path=..., value=..., options=...) at /home/jkt/work/prog/_build/_br-cfb/per-package/libyang-cpp/host/opt/ext-toolchain/arm-buildroot-linux-gnueabihf/include/c++/13.2.0/bits/shared_ptr_base.h:1765
#7 0x0050e838 in velia::utils::valuesToYang (values=..., removePaths=..., discardPaths=..., session=..., parent=...) at /home/jkt/work/prog/_build/_br-cfb/per-package/velia/host/opt/ext-toolchain/arm-buildroot-linux-gnueabihf/include/c++/13.2.0/optional:213
#8 0x0050f920 in velia::utils::valuesToYang (values=..., removePaths=..., discardPaths=..., session=..., parent=...) at /home/jkt/work/prog/_build/_br-cfb/build/velia-custom/src/utils/sysrepo.cpp:69
#9 0x0050fc48 in velia::utils::valuesPush (values=..., removePaths=..., discardPaths=..., session=...) at /home/jkt/work/prog/_build/_br-cfb/build/velia-custom/src/utils/sysrepo.cpp:130
#10 0x005100ac in velia::utils::valuesPush (values=..., removePaths=..., discardPaths=..., session=..., datastore=datastore@entry=sysrepo::Datastore::Operational) at /home/jkt/work/prog/_build/_br-cfb/build/velia-custom/src/utils/sysrepo.cpp:121
#11 0x004dc044 in velia::system::LED::poll (this=0xafffb964) at /home/jkt/work/prog/_build/_br-cfb/build/velia-custom/src/system/LED.cpp:107
#12 0xb69d8db4 in ?? () from /lib/libstdc++.so.6
#13 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 13 (Thread 0xb39ff120 (LWP 282)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6b6ad00 in nl_cache_mngr_poll () from /lib/libnl-3.so.200
#2 0x004fb6b8 in velia::system::impl::nlCacheMngrWatcher::run (this=0x1d3ce28, manager=...) at /home/jkt/work/prog/_build/_br-cfb/per-package/velia/host/opt/ext-toolchain/arm-buildroot-linux-gnueabihf/include/c++/13.2.0/bits/shared_ptr_base.h:1665
#3 0x004fd2f8 in std::__invoke_impl<void, void (velia::system::impl::nlCacheMngrWatcher::*)(std::shared_ptr<nl_cache_mngr>), velia::system::impl::nlCacheMngrWatcher*, std::shared_ptr<nl_cache_mngr> > (__f=<optimized out>, __t=<optimized out>) at /home/jkt/work/prog/_build/_br-cfb/per-package/velia/host/opt/ext-toolchain/arm-buildroot-linux-gnueabihf/include/c++/13.2.0/bits/invoke.h:74
#4 std::__invoke<void (velia::system::impl::nlCacheMngrWatcher::*)(std::shared_ptr<nl_cache_mngr>), velia::system::impl::nlCacheMngrWatcher*, std::shared_ptr<nl_cache_mngr> > (__fn=<optimized out>) at /home/jkt/work/prog/_build/_br-cfb/per-package/velia/host/opt/ext-toolchain/arm-buildroot-linux-gnueabihf/include/c++/13.2.0/bits/invoke.h:96
#5 std::thread::_Invoker<std::tuple<void (velia::system::impl::nlCacheMngrWatcher::*)(std::shared_ptr<nl_cache_mngr>), velia::system::impl::nlCacheMngrWatcher*, std::shared_ptr<nl_cache_mngr> > >::_M_invoke<0u, 1u, 2u> (this=<optimized out>) at /home/jkt/work/prog/_build/_br-cfb/per-package/velia/host/opt/ext-toolchain/arm-buildroot-linux-gnueabihf/include/c++/13.2.0/bits/std_thread.h:292
#6 std::thread::_Invoker<std::tuple<void (velia::system::impl::nlCacheMngrWatcher::*)(std::shared_ptr<nl_cache_mngr>), velia::system::impl::nlCacheMngrWatcher*, std::shared_ptr<nl_cache_mngr> > >::operator() (this=<optimized out>) at /home/jkt/work/prog/_build/_br-cfb/per-package/velia/host/opt/ext-toolchain/arm-buildroot-linux-gnueabihf/include/c++/13.2.0/bits/std_thread.h:299
#7 std::thread::_State_impl<std::thread::_Invoker<std::tuple<void (velia::system::impl::nlCacheMngrWatcher::*)(std::shared_ptr<nl_cache_mngr>), velia::system::impl::nlCacheMngrWatcher*, std::shared_ptr<nl_cache_mngr> > > >::_M_run (this=<optimized out>) at /home/jkt/work/prog/_build/_br-cfb/per-package/velia/host/opt/ext-toolchain/arm-buildroot-linux-gnueabihf/include/c++/13.2.0/bits/std_thread.h:244
#8 0xb69d8db4 in ?? () from /lib/libstdc++.so.6
#9 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
--Type <RET> for more, q to quit, c to continue without paging--c
Thread 12 (Thread 0xb43fc120 (LWP 281)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6b39f78 in sdbus::internal::Connection::waitForNextRequest() () from /lib/libsdbus-c++.so.1
#2 0xb6b3a13c in sdbus::internal::Connection::enterEventLoop() () from /lib/libsdbus-c++.so.1
#3 0xb69d8db4 in ?? () from /lib/libstdc++.so.6
#4 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 11 (Thread 0xb21fc120 (LWP 285)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6dd7468 in poll (__timeout=<optimized out>, __nfds=1, __fds=0xb21fba64) at /home/jkt/work/prog/_build/_br-cfb/per-package/sysrepo/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/poll2.h:39
#2 sr_shmsub_listen_thread (arg=0x1bc76c0) at /home/jkt/work/prog/_build/_br-cfb/build/sysrepo-custom/src/shm_sub.c:4832
#3 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 10 (Thread 0xb07fd120 (LWP 309)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6dd7468 in poll (__timeout=<optimized out>, __nfds=1, __fds=0xb07fca64) at /home/jkt/work/prog/_build/_br-cfb/per-package/sysrepo/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/poll2.h:39
#2 sr_shmsub_listen_thread (arg=0x1bc9cd8) at /home/jkt/work/prog/_build/_br-cfb/build/sysrepo-custom/src/shm_sub.c:4832
#3 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 9 (Thread 0xb0ffe120 (LWP 308)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6dd7468 in poll (__timeout=<optimized out>, __nfds=1, __fds=0xb0ffda64) at /home/jkt/work/prog/_build/_br-cfb/per-package/sysrepo/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/poll2.h:39
#2 sr_shmsub_listen_thread (arg=0x1d1a1f0) at /home/jkt/work/prog/_build/_br-cfb/build/sysrepo-custom/src/shm_sub.c:4832
#3 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 8 (Thread 0xb4bfd120 (LWP 279)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6dd7468 in poll (__timeout=<optimized out>, __nfds=1, __fds=0xb4bfca64) at /home/jkt/work/prog/_build/_br-cfb/per-package/sysrepo/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/poll2.h:39
#2 sr_shmsub_listen_thread (arg=0x1c88848) at /home/jkt/work/prog/_build/_br-cfb/build/sysrepo-custom/src/shm_sub.c:4832
#3 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 7 (Thread 0xb17ff120 (LWP 307)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6dd7468 in poll (__timeout=<optimized out>, __nfds=1, __fds=0xb17fea64) at /home/jkt/work/prog/_build/_br-cfb/per-package/sysrepo/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/poll2.h:39
#2 sr_shmsub_listen_thread (arg=0x1d2e278) at /home/jkt/work/prog/_build/_br-cfb/build/sysrepo-custom/src/shm_sub.c:4832
#3 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 6 (Thread 0xb31fe120 (LWP 283)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6dd7468 in poll (__timeout=<optimized out>, __nfds=1, __fds=0xb31fda64) at /home/jkt/work/prog/_build/_br-cfb/per-package/sysrepo/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/poll2.h:39
#2 sr_shmsub_listen_thread (arg=0x1d2d0d0) at /home/jkt/work/prog/_build/_br-cfb/build/sysrepo-custom/src/shm_sub.c:4832
#3 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 5 (Thread 0xb5bff120 (LWP 277)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6dd7468 in poll (__timeout=<optimized out>, __nfds=1, __fds=0xb5bfea64) at /home/jkt/work/prog/_build/_br-cfb/per-package/sysrepo/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/poll2.h:39
#2 sr_shmsub_listen_thread (arg=0x1d25330) at /home/jkt/work/prog/_build/_br-cfb/build/sysrepo-custom/src/shm_sub.c:4832
#3 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 4 (Thread 0xb53fe120 (LWP 278)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6dd7468 in poll (__timeout=<optimized out>, __nfds=1, __fds=0xb53fda64) at /home/jkt/work/prog/_build/_br-cfb/per-package/sysrepo/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/poll2.h:39
#2 sr_shmsub_listen_thread (arg=0x1bba5a8) at /home/jkt/work/prog/_build/_br-cfb/build/sysrepo-custom/src/shm_sub.c:4832
#3 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 3 (Thread 0xb29fd120 (LWP 284)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6dd7468 in poll (__timeout=<optimized out>, __nfds=1, __fds=0xb29fca64) at /home/jkt/work/prog/_build/_br-cfb/per-package/sysrepo/host/arm-buildroot-linux-gnueabihf/sysroot/usr/include/bits/poll2.h:39
#2 sr_shmsub_listen_thread (arg=0x1bc64a8) at /home/jkt/work/prog/_build/_br-cfb/build/sysrepo-custom/src/shm_sub.c:4832
#3 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 2 (Thread 0xb6548120 (LWP 276)):
#0 0xb682bfc8 in poll () from /lib/libc.so.6
#1 0xb6b39f78 in sdbus::internal::Connection::waitForNextRequest() () from /lib/libsdbus-c++.so.1
#2 0xb6b3a13c in sdbus::internal::Connection::enterEventLoop() () from /lib/libsdbus-c++.so.1
#3 0xb69d8db4 in ?? () from /lib/libstdc++.so.6
#4 0xb67c434c in ?? () from /lib/libc.so.6
Backtrace stopped: previous frame identical to this frame (corrupt stack?)
Thread 1 (Thread 0xb6651020 (LWP 242)):
#0 0xb67c6294 in ?? () from /lib/libc.so.6
#1 0xb6780524 in raise () from /lib/libc.so.6
#2 0xb676b180 in abort () from /lib/libc.so.6
#3 0xb69ad4b0 in __gnu_cxx::__verbose_terminate_handler() () from /lib/libstdc++.so.6
#4 0xb69ab03c in ?? () from /lib/libstdc++.so.6
#5 0xb69ab0c8 in std::terminate() () from /lib/libstdc++.so.6
#6 0x004da0b8 in std::__terminate () at /home/jkt/work/prog/_build/_br-cfb/per-package/velia/host/opt/ext-toolchain/arm-buildroot-linux-gnueabihf/include/c++/13.2.0/arm-buildroot-linux-gnueabihf/bits/c++config.h:322
#7 std::thread::operator= (__t=..., this=<optimized out>) at /home/jkt/work/prog/_build/_br-cfb/per-package/velia/host/opt/ext-toolchain/arm-buildroot-linux-gnueabihf/include/c++/13.2.0/bits/std_thread.h:186
#8 velia::system::LED::LED (this=this@entry=0x0, srConn=..., sysfsLeds=...) at /home/jkt/work/prog/_build/_br-cfb/build/velia-custom/src/system/LED.cpp:48
#9 0x00484fbc in main (argc=<optimized out>, argv=<optimized out>) at /home/jkt/work/prog/_build/_br-cfb/build/velia-custom/src/main-system.cpp:121
Here's the sysfs content:
czechlight ~ # ls -al /sys/class/leds/
total 0
drwxr-xr-x 2 root root 0 Jan 1 1980 .
drwxr-xr-x 43 root root 0 Jan 1 1980 ..
lrwxrwxrwx 1 root root 0 Jan 1 1980 mmc0:: -> ../../devices/platform/soc/soc:internal-regs/f10d8000.sdhci/leds/mmc0::
I'm puzzled because this LED is present "everywhere":
I'm getting this on a "new", "blank" device:
Here's the sysfs content:
I'm puzzled because this LED is present "everywhere":
The text was updated successfully, but these errors were encountered: