Project

General

Profile

Actions

Bug #2472

closed

alignment trap with nanobts type

Added by msuraev over 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
ip.access BTS
Target version:
-
Start date:
08/30/2017
Due date:
% Done:

100%

Spec Reference:

Description

Tested using sysmobts with image sysmocom-core-image-sysmobts-v2-20170830105631.rootfs.ubi

If osmo-bsc is configured with 'nanobts' type than it leads to alignment trap error:

(gdb) bt
#0 0x00040e58 in abis_nm_ipaccess_cgi (buf=buf@entry=0xbeffe600 "r\364\200 T", bts=bts@entry=0x146bb0)
at /usr/src/debug/openbsc/0.15.0+gitrAUTOINC+ba66e79953-r21.18.6/git/openbsc/src/libbsc/abis_nm.c:2791
#1 0x00048e44 in nanobts_attr_bts_get (bts=bts@entry=0x146bb0)
at /usr/src/debug/openbsc/0.15.0+gitrAUTOINC+ba66e79953-r21.18.6/git/openbsc/src/libbsc/bts_ipaccess_nanobts_omlattr.c:104
#2 0x00042f94 in nm_statechg_event (nsd=0xbeffe7a0, evt=8)
at /usr/src/debug/openbsc/0.15.0+gitrAUTOINC+ba66e79953-r21.18.6/git/openbsc/src/libbsc/bts_ipaccess_nanobts.c:141
#3 bts_ipa_nm_sig_cb (subsys=subsys@entry=3, signal=signal@entry=8, handler_data=<optimized out>,
signal_data=signal_data@entry=0xbeffe7a0)
at /usr/src/debug/openbsc/0.15.0+gitrAUTOINC+ba66e79953-r21.18.6/git/openbsc/src/libbsc/bts_ipaccess_nanobts.c:301
#4 0x469e735c in osmo_signal_dispatch (subsys=subsys@entry=3, signal=signal@entry=8, signal_data=signal_data@entry=0xbeffe7a0)
at /usr/src/debug/libosmocore/0.9.0+gitrAUTOINC+a8a8d3977d-r1/git/src/signal.c:109
#5 0x0003d320 in abis_nm_rx_statechg_rep (mb=0xbeffe7a0)
at /usr/src/debug/openbsc/0.15.0+gitrAUTOINC+ba66e79953-r21.18.6/git/openbsc/src/libbsc/abis_nm.c:258
#6 abis_nm_rcvmsg_report (bts=<optimized out>, mb=0xbeffe7a0)
at /usr/src/debug/openbsc/0.15.0+gitrAUTOINC+ba66e79953-r21.18.6/git/openbsc/src/libbsc/abis_nm.c:387
#7 abis_nm_rcvmsg_fom (mb=mb@entry=0x1701d8)
at /usr/src/debug/openbsc/0.15.0+gitrAUTOINC+ba66e79953-r21.18.6/git/openbsc/src/libbsc/abis_nm.c:716
#8 0x0003e9e0 in abis_nm_rcvmsg (msg=0x1701d8)
at /usr/src/debug/openbsc/0.15.0+gitrAUTOINC+ba66e79953-r21.18.6/git/openbsc/src/libbsc/abis_nm.c:868
#9 0x46a49794 in handle_ts1_read (bfd=0x165580)
at /usr/src/debug/libosmo-abis/0.3.2+gitrAUTOINC+35003ec2ea-r2.18.1/git/src/input/ipaccess.c:276
#10 ipaccess_fd_cb (bfd=0x165580, what=3)
at /usr/src/debug/libosmo-abis/0.3.2+gitrAUTOINC+35003ec2ea-r2.18.1/git/src/input/ipaccess.c:391
#11 0x469e7078 in osmo_fd_disp_fds (_eset=0xbefffb40, _wset=0xbefffac0, _rset=0xbefffa40)
at /usr/src/debug/libosmocore/0.9.0+gitrAUTOINC+a8a8d3977d-r1/git/src/select.c:195
#12 osmo_select_main (polling=polling@entry=0) at /usr/src/debug/libosmocore/0.9.0+gitrAUTOINC+a8a8d3977d-r1/git/src/select.c:235
#13 0x00015404 in main (argc=<optimized out>, argv=0xbefffd74)
at /usr/src/debug/openbsc/0.15.0+gitrAUTOINC+ba66e79953-r21.18.6/git/openbsc/src/osmo-bsc/osmo_bsc_main.c:297

The problem function is abis_nm_ipaccess_cgi() in abis_nm.c

Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)