Project

General

Profile

Actions

Bug #4456

closed

SIGABRT while opening USB device in osmo-remsim-client-st2 on OpenWRT with musl

Added by laforge about 4 years ago. Updated almost 4 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
remsim-client
Target version:
-
Start date:
03/16/2020
Due date:
% Done:

100%

Spec Reference:

Description

I haven't seen this problem on Debian/x86 or Raspbian/arm builds so far. But it's visible on OpenWRT musl builds on ARM.

Thread 1 "osmo-remsim-cli" received signal SIGABRT, Aborted.
__restore_sigs (set=set@entry=0xbefff8b8) at src/signal/block.c:44
44      }
(gdb) bt
#0  __restore_sigs (set=set@entry=0xbefff8b8) at src/signal/block.c:44
#1  0xb6fc92b4 in raise (sig=sig@entry=6) at src/signal/raise.c:11
#2  0xb6faaa70 in abort () at src/exit/abort.c:14
#3  0xb6e7b928 in talloc_abort (reason=0xb6e7de45 "Bad talloc magic value - unknown value")
    at ../talloc.c:500
#4  0xb6e7bb70 in talloc_abort_unknown_value () at ../talloc.c:513
#5  talloc_chunk_from_ptr (ptr=<optimized out>) at ../talloc.c:529
#6  0xb6e7c2d0 in __talloc_with_prefix (context=0x29d50, size=28, prefix_len=0, tc_ret=0xbefff9ac)
    at ../talloc.c:743
#7  0xb6e7c678 in __talloc (tc=0xbefff9a4, size=size@entry=28, context=<optimized out>)
    at ../talloc.c:804
#8  _talloc_named_const (context=<optimized out>, size=size@entry=28, name=0xb6ef18f6 "struct osmo_fd")
    at ../talloc.c:961
#9  0xb6e7c6d4 in _talloc_zero (ctx=<optimized out>, size=size@entry=28, name=<optimized out>)
    at ../talloc.c:2402
#10 0xb6ef0f30 in osmo_usb_added_cb (fd=10, events=<optimized out>, user_data=0x0) at osmo_libusb.c:86
#11 0xb6ec704c in usbi_add_pollfd ()
   from /home/laforge/openwrt/scripts/../staging_dir/target-arm_cortex-a8+vfpv3_musl_eabi/root-omap/usr/lib/libusb-1.0.so.0
#12 0xb6eca794 in op_open ()
   from /home/laforge/openwrt/scripts/../staging_dir/target-arm_cortex-a8+vfpv3_musl_eabi/root-omap/usr/lib/libusb-1.0.so.0
#13 0xb6ec38c0 in libusb_open ()
   from /home/laforge/openwrt/scripts/../staging_dir/target-arm_cortex-a8+vfpv3_musl_eabi/root-omap/usr/lib/libusb-1.0.so.0
#14 0xb6ef160c in osmo_libusb_open_claim_interface (ctx=ctx@entry=0x0, luctx=luctx@entry=0x0, 
    ifm=0xbefffa90, ifm@entry=0xbefffa88) at osmo_libusb.c:390
#15 0x000129fc in client_user_main (bc=bc@entry=0x263c0) at user_simtrace2.c:415
#16 0x00012280 in main (argc=15, argv=0xbefffc44) at remsim_client_main.c:166

Related issues

Related to libosmocore - Bug #4062: vty tests fails on arm (raspberry pi)Resolvedpespin06/16/2019

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)