osmo-bts-trx error / osmo-trx illegal instruction (core dumped)

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/OpenBSC@lists.osmocom.org/.

Ron ron.menez at entropysolution.com
Tue May 2 06:13:01 UTC 2017


Hi Holger,

Any suggestions for the error encountered?

TIA.

Best Regards,

Ron Rylan B. Menez
Operations Manager
+63 998 989 7973
+63 2 893 1781

[cid:D7861C66-51ED-4DB6-B9ED-BADEB28148EC]

Singapore * Philippines
Products:
Gridloc*Intelle*Hype*Lighthouse*Telco Services*Software Development
This email (including any attachment to it) is confidential and intended only for the use of the individual named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone and destroy the original message (including any attachment to it). Thank you.

On Apr 29, 2017, at 10:41 AM, Ron <ron.menez at entropysolution.com<mailto:ron.menez at entropysolution.com>> wrote:

Hi Holger,

Kindly see output from the “gdb" for osmo-trx and its "backtrace full”.

# gdb osmo-trx
GNU gdb (Ubuntu 7.11.1-0ubuntu1~16.04) 7.11.1
Copyright (C) 2016 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 "x86_64-linux-gnu".
Type "show configuration" for configuration details.
For bug reporting instructions, please see:
<http://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 osmo-trx...(no debugging symbols found)...done.
(gdb) run
Starting program: /usr/bin/osmo-trx
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
linux; GNU C++ version 5.3.1 20151219; Boost_105800; UHD_003.009.002-0-unknown

opening configuration table from path :memory:
Config Settings
   Log Level............... NOTICE
   Device args.............
   TRX Base Port........... 5700
   TRX Address............. 127.0.0.1
   Channels................ 1
   Tx Samples-per-Symbol... 4
   Rx Samples-per-Symbol... 1
   EDGE support............ Disabled
   Reference............... Internal
   C0 Filler Table......... Disabled
   Multi-Carrier........... Disabled
   Diversity............... Disabled
   Tuning offset........... 0
   RSSI to dBm offset...... 0
   Swap channels........... 0

[New Thread 0x7ffff1884700 (LWP 3777)]
[New Thread 0x7ffff1083700 (LWP 3778)]
[Thread 0x7ffff1083700 (LWP 3778) exited]
[Thread 0x7ffff1884700 (LWP 3777) exited]
[New Thread 0x7ffff1884700 (LWP 3781)]
[New Thread 0x7ffff1083700 (LWP 3782)]
[Thread 0x7ffff1083700 (LWP 3782) exited]
[Thread 0x7ffff1884700 (LWP 3781) exited]
[New Thread 0x7ffff1884700 (LWP 3783)]
[New Thread 0x7ffff1083700 (LWP 3784)]
[Thread 0x7ffff1083700 (LWP 3784) exited]
[Thread 0x7ffff1884700 (LWP 3783) exited]
[New Thread 0x7ffff1884700 (LWP 3785)]
[New Thread 0x7ffff1083700 (LWP 3786)]
[Thread 0x7ffff1083700 (LWP 3786) exited]
[Thread 0x7ffff1884700 (LWP 3785) exited]
[New Thread 0x7ffff1884700 (LWP 3787)]
[New Thread 0x7ffff1083700 (LWP 3788)]
[Thread 0x7ffff1083700 (LWP 3788) exited]
[Thread 0x7ffff1884700 (LWP 3787) exited]
[New Thread 0x7ffff1884700 (LWP 3789)]
[New Thread 0x7ffff1083700 (LWP 3790)]
[Thread 0x7ffff1083700 (LWP 3790) exited]
[Thread 0x7ffff1884700 (LWP 3789) exited]
[New Thread 0x7ffff1884700 (LWP 3791)]
[New Thread 0x7ffff1083700 (LWP 3792)]
[Thread 0x7ffff1083700 (LWP 3792) exited]
[Thread 0x7ffff1884700 (LWP 3791) exited]
[New Thread 0x7ffff1884700 (LWP 3793)]
[New Thread 0x7ffff1083700 (LWP 3794)]
[Thread 0x7ffff1083700 (LWP 3794) exited]
[Thread 0x7ffff1884700 (LWP 3793) exited]
[New Thread 0x7ffff1884700 (LWP 3795)]
[New Thread 0x7ffff1083700 (LWP 3796)]
-- Detected Device: B210
-- Operating over USB 3.
[New Thread 0x7fffebfff700 (LWP 3797)]
-- Detecting internal GPSDO.... Found an internal GPSDO
-- Initialize CODEC control...
-- Initialize Radio control...
-- Performing register loopback test... pass
-- Performing register loopback test... pass
-- Performing CODEC loopback test... pass
-- Performing CODEC loopback test... pass
-- Asking for clock rate 16.000000 MHz...
-- Actually got clock rate 16.000000 MHz.
-- Performing timer loopback test... pass
-- Performing timer loopback test... pass
-- Setting master clock rate selection to 'automatic'.
-- Asking for clock rate 26.000000 MHz...
-- Actually got clock rate 26.000000 MHz.
-- Performing timer loopback test... pass
-- Performing timer loopback test... pass
-- Setting B210 4/1 Tx/Rx SPS
[New Thread 0x7ffff7ff5700 (LWP 3803)]
-- Transceiver active with 1 channel(s)
NOTICE 140737354094336 10:36:22.1 Transceiver.cpp:794:driveControl: Changing TSC from 0 to 7
NOTICE 140737354094336 10:36:22.1 Transceiver.cpp:243:start: Starting the transceiver
[New Thread 0x7ffff7efc700 (LWP 3812)]
[New Thread 0x7ffff7fed700 (LWP 3813)]
[New Thread 0x7ffff7fe5700 (LWP 3814)]
[New Thread 0x7ffff7ebb700 (LWP 3815)]
[New Thread 0x7ffff7eb3700 (LWP 3816)]
ERR 140737353074432 10:36:22.3 UHDDevice.cpp:1426:recv_async_msg: Packet loss within a burst at 6.85643 sec.
ERR 140737353074432 10:36:22.3 UHDDevice.cpp:1426:recv_async_msg: Packet loss within a burst at 6.85643 sec.

Thread 26 "osmo-trx" received signal SIGILL, Illegal instruction.
[Switching to Thread 0x7ffff7eb3700 (LWP 3816)]
0x00005555555956d9 in ?? ()
(gdb) backtrace full
#0  0x00005555555956d9 in ?? ()
No symbol table info available.
#1  0x0000555555595bc4 in ?? ()
No symbol table info available.
#2  0x000055555558cd42 in ?? ()
No symbol table info available.
#3  0x000055555558e48e in ?? ()
No symbol table info available.
#4  0x000055555556bef9 in ?? ()
No symbol table info available.
#5  0x000055555556c52d in ?? ()
No symbol table info available.
#6  0x000055555556cb2b in ?? ()
No symbol table info available.
#7  0x00007ffff7bc16ba in start_thread (arg=0x7ffff7eb3700) at pthread_create.c:333
        __res = <optimized out>
        pd = 0x7ffff7eb3700
        now = <optimized out>
        unwind_buf = {cancel_jmp_buf = {{jmp_buf = {140737352775424, 7678090699800639934, 0, 140737354089583,
                140737352776128, 140736884378784, -7678108388146218562, -7678107711344281154}, mask_was_saved = 0}},
          priv = {pad = {0x0, 0x0, 0x0, 0x0}, data = {prev = 0x0, cleanup = 0x0, canceltype = 0}}}
        not_first_call = <optimized out>
        pagesize_m1 = <optimized out>
        sp = <optimized out>
        freesize = <optimized out>
        __PRETTY_FUNCTION__ = "start_thread"
#8  0x00007ffff602e82d in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:109
No locals.
Kindly advice what are the specific commands need to be run for your needed logs.

Thank you.

Best Regards,

Ron Rylan B. Menez
Operations Manager
+63 998 989 7973
+63 2 893 1781

<D7861C66-51ED-4DB6-B9ED-BADEB28148EC.png>

Singapore * Philippines
Products:
Gridloc*Intelle*Hype*Lighthouse*Telco Services*Software Development
This email (including any attachment to it) is confidential and intended only for the use of the individual named above and may contain information that is privileged. If you are not the intended recipient, you are notified that any dissemination, distribution or copying of this email is strictly prohibited. If you have received this email in error, please notify us immediately by return email or telephone and destroy the original message (including any attachment to it). Thank you.

On Apr 29, 2017, at 5:22 AM, Holger Freyther <holger at freyther.de<mailto:holger at freyther.de>> wrote:


On 28. Apr 2017, at 03:44, Ron <ron.menez at entropysolution.com<mailto:ron.menez at entropysolution.com>> wrote:

flags  : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx pdpe1gb rdtscp lm constant_tsc art arch_perfmon pebs bts rep_good nopl xtopology nonstop_tsc aperfmperf eagerfpu pni pclmulqdq dtes64 monitor ds_cpl vmx est tm2 ssse3 sdbg fma cx16 xtpr pdcm pcid sse4_1 sse4_2 x2apic movbe popcnt tsc_deadline_timer aes xsave avx f16c rdrand lahf_lm abm 3dnowprefetch epb intel_pt tpr_shadow vnmi flexpriority ept vpid fsgsbase tsc_adjust bmi1 hle avx2 smep bmi2 erms invpcid rtm mpx rdseed adx smap clflushopt xsaveopt xsavec xgetbv1 dtherm ida arat pln pts hwp hwp_notify hwp_act_window hwp_epp

now I am curious. So your system seems to support sse4_2, avx2. Could you run osmo-trx under gdb and get us a backtrace? And keep the session open if you can. We might need to ask you to type a command to disassemble the memory area to see what has been executed.

@dexter/@tom: Do you see any cpu feature that should be there but isn't?




-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20170502/8beddc0f/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D7861C66-51ED-4DB6-B9ED-BADEB28148EC.png
Type: image/png
Size: 7117 bytes
Desc: D7861C66-51ED-4DB6-B9ED-BADEB28148EC.png
URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20170502/8beddc0f/attachment.png>


More information about the OpenBSC mailing list