Project

General

Profile

Actions

Bug #6292

closed

"static _thread" buffer crash of osmo-bts-sysmo on symoBTS 1002

Added by jolly 5 months ago. Updated 5 months ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
-
Target version:
-
Start date:
12/06/2023
Due date:
% Done:

100%

Spec Reference:

Description

osmo-bts running on Sysmo-BTS hardware causes a crash when executing osmo_str_tolower() from libosmocore.

osmo_str_tolower() stores the return value in a static string declared as this:

static __thread char capsbuf[128];

When removing "__thread" keyword and installing this changed libosmocore to Sysmo-BTS, the function above does not fail.

To reproduce this error, add "gsmtap-sapi enable-all" below "bts 0" in config file and execute "show run" at VTY.


Files

segfault.txt segfault.txt 8.61 KB jolly, 12/07/2023 09:00 AM

Related issues

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

Actions
Related to libosmocore - Bug #5079: osmo_str_tolower() segfaults on sysmoBTS (arm-poky-linux-gnueabi)Resolvedfixeria03/17/2021

Actions
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)