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

Container crash #2688

Open
rubenhak opened this issue Jan 28, 2025 · 0 comments
Open

Container crash #2688

rubenhak opened this issue Jan 28, 2025 · 0 comments

Comments

@rubenhak
Copy link

Container crash observed when running OTBR.

13:03:23.187 [C] Platform------: ------------------ BEGINNING OF CRASH -------------
13:03:23.187 [C] Platform------: *** FATAL ERROR: Caught signal: 6 (Aborted)
otbr-agent: /usr/src/ot-br-posix/src/mdns/mdns.cpp:232: void otbr::Mdns::Publisher::OnServiceResolved(std::string, DiscoveredInstanceInfo): Assertion `aInstanceInfo.mNetifIndex > 0' failed.
13:03:23.193 [C] Platform------: # 0: /usr/sbin/otbr-agent(+0x35c3c9) [0x59e00e9f03c9]
13:03:23.193 [C] Platform------: # 1: /usr/sbin/otbr-agent(+0x35c4f4) [0x59e00e9f04f4]
13:03:23.193 [C] Platform------: # 2: /lib/x86_64-linux-gnu/libc.so.6(+0x3c050) [0x783fabcf4050]
13:03:23.193 [C] Platform------: # 3: /lib/x86_64-linux-gnu/libc.so.6(+0x8aebc) [0x783fabd42ebc]
13:03:23.193 [C] Platform------: # 4: /lib/x86_64-linux-gnu/libc.so.6 gsignal+0x12 [0xabcf3fb2]
13:03:23.193 [C] Platform------: # 5: /lib/x86_64-linux-gnu/libc.so.6 abort+0xd3 [0xabcde472]
13:03:23.193 [C] Platform------: # 6: /lib/x86_64-linux-gnu/libc.so.6(+0x26395) [0x783fabcde395]
13:03:23.193 [C] Platform------: # 7: /lib/x86_64-linux-gnu/libc.so.6(+0x34eb2) [0x783fabceceb2]
13:03:23.194 [C] Platform------: # 8: /usr/sbin/otbr-agent otbr::Mdns::Publisher::OnServiceResolved(std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, otbr::Mdns::Publisher::DiscoveredInstanceInfo)+0x284 [0xe8c899c]
13:03:23.194 [C] Platform------: # 9: /usr/sbin/otbr-agent otbr::Mdns::Publisher::OnServiceRemoved(unsigned int, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >, std::__cxx11::basic_string<char, std::char_traits<char>, std::allocator<char> >)+0x105 [0xe8c8cb9]
13:03:23.194 [C] Platform------: openthread/openthread#10: /usr/sbin/otbr-agent otbr::Mdns::PublisherMDnsSd::ServiceSubscription::HandleBrowseResult(_DNSServiceRef_t*, unsigned int, unsigned int, int, char const*, char const*, char const*)+0x243 [0xe8e0e0b]
13:03:23.194 [C] Platform------: openthread/openthread#11: /usr/sbin/otbr-agent otbr::Mdns::PublisherMDnsSd::ServiceSubscription::HandleBrowseResult(_DNSServiceRef_t*, unsigned int, unsigned int, int, char const*, char const*, char const*, void*)+0x46 [0xe8e0bc0]
13:03:23.194 [C] Platform------: openthread/openthread#12: /lib/libdns_sd.so(+0x5d02) [0x783fac1a6d02]
13:03:23.194 [C] Platform------: openthread/openthread#13: /lib/libdns_sd.so DNSServiceProcessResult+0x36a [0xac1a595d]
13:03:23.194 [C] Platform------: openthread/openthread#14: /usr/sbin/otbr-agent otbr::Mdns::PublisherMDnsSd::Process(otbr::MainloopContext const&)+0x2ee [0xe8de04a]
13:03:23.194 [C] Platform------: openthread/openthread#15: /usr/sbin/otbr-agent otbr::MainloopManager::Process(otbr::MainloopContext const&)+0x6e [0xea22f26]
13:03:23.194 [C] Platform------: openthread/openthread#16: /usr/sbin/otbr-agent otbr::Application::Run()+0x1cb [0xe8b2817]
13:03:23.194 [C] Platform------: openthread/openthread#17: /usr/sbin/otbr-agent(+0x222ca4) [0x59e00e8b6ca4]
13:03:23.194 [C] Platform------: openthread/openthread#18: /usr/sbin/otbr-agent main+0x92 [0xe8b6f62]
13:03:23.194 [C] Platform------: openthread/openthread#19: /lib/x86_64-linux-gnu/libc.so.6(+0x2724a) [0x783fabcdf24a]
13:03:23.194 [C] Platform------: openthread/openthread#20: /lib/x86_64-linux-gnu/libc.so.6 __libc_start_main+0x85 [0xabcdf305]
13:03:23.194 [C] Platform------: openthread/openthread#21: /usr/sbin/otbr-agent _start+0x21 [0xe8b2171]
13:03:23.194 [C] Platform------: ------------------ END OF CRASH ------------------

Docker compose:

services:
  otbr:
    hostname: otbr
    container_name: otbr
    image: "ghcr.io/ownbee/hass-otbr-docker:latest"
    privileged: true
    network_mode: host
    cap_add:
      - SYS_ADMIN
      - NET_ADMIN    
    environment:
      DEVICE: "/dev/ttyUsbTread"
      BACKBONE_IF: wlp0s20f3 #enp3s0
      FLOW_CONTROL: 1
      FIREWALL: 1
      NAT64: 1
      BAUDRATE: 460800
      OTBR_REST_PORT: 8081
      OTBR_WEB_PORT: 7586
      AUTOFLASH_FIRMWARE: 0      
    devices:
      - /dev/serial/by-id/usb-SMLIGHT_SMLIGHT_SLZB-07Mg24_6add7a39f772ed118f6073773dbf42d5-if00-port0:/dev/ttyUsbTread
      - /dev/net/tun:/dev/net/tun
    volumes:
      - ./openthread/data:/var/lib/thread

@abtink abtink transferred this issue from openthread/openthread Jan 30, 2025
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

1 participant