it has nothing to do with 32bit bits.. we are just lucky on memory allocations with 64bit that the out of bounds memory access does not cause a crash. The compiler or glibc might change alignment and then there will be crashes on AMD64 as well.
a.) Somebody fixes libdbi/libdbd-sqlite3 b.) Somebody changes OpenBSC to not use libdbi (preferred) c.) One downgrades to libdbi 0.8.x d.) One doesn't build 32bit package
I tried to rebuild libdbi-drivers (it was last built for Debian in 2014), and then the test suite for OpenBSC pass both on i386 and amd64.. That may be a temporary workaround, although probably not very safe..
Regards, Ruben