osmo-nitb (HLR/sqlite part) - segmentation fault

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/.

Holger Freyther holger at freyther.de
Sun Oct 18 10:23:50 UTC 2015


> On 18 Oct 2015, at 05:26, Marcin Starzyk <marcin.starzyk at gmail.com> wrote:
> 


Hi!


> Is it acceptable for you?- if so  - how should I start? (I've read section for developers on openbsc wiki but still things are not clear to me as to how to start)


0.) The first libdbi corruption has been fixed by a patch[1]. You might just
suffer from this one.

1.) In OpenBSC and when linking against libdbi 0.9 we get crashes on i386.
I have a first analysis here[2] you could see which part fails. E.g. you could
start compiling libdbi/libdi-drivers on your system with the address sanitizer
(ASAN) and see if crashes are already triggered by the builtin testsuite, if
not move on to OpenBSC

2.) Start looking into replacing libdbi calls with direct sqlite3 calls. To store
"BLOB" libdi was wrapping it and we either copy that code or we migrate
the data. E.g. have a look at how we migrate SMS on a schema change. 


1st and 2nd are two alternatives, both of them have ups and downs and are
acceptable ways to move forward.

holger


[1] https://github.com/sysmocom/meta-telephony/blob/master/recipes-misc/libdbi/files/memory-corruption-fixes.patch
[2] http://sourceforge.net/p/libdbi/mailman/message/32607036/






More information about the OpenBSC mailing list