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/.
Alex allexander.alex at gmail.comHi Vadim, A ram issue seems strange to me... The board has 2 gb of ram and I also successfully run the same config on a 1 gb virtual machine. Maybe a kernel limitation? Thank you and best regards Alex On Sun, 13 Jan 2019, 23:35 Vadim Yanitskiy <axilirator at gmail.com wrote: > Hello, > > > osmo-trx-lms: Threads.cpp:133: > > void Thread::start(void* (*)(void*), void*): Assertion `!res' failed. > > [...] > > Can someone provide me a little light on this? > > As far as I can see, pthread_attr_setstacksize() fails to set > required stack size for a thread. Probably, the amount of RAM > is not enough. But in general, this part of code looks dirty: > > > /** A C++ wrapper for pthread threads. */ > > class Thread { > > /* ... */ > > // FIXME -- Can this be reduced now? > > size_t mStackSize; > > > > /* ... */ > > /** Create a thread in a non-running state. */ > > Thread(size_t wStackSize = (65536*4)):mThread((pthread_t)0) { > > pthread_attr_init(&mAttrib); // (pat) moved this here. > > mStackSize=wStackSize; > > } > > /* ... */ > > I am now wondering, where does this magic 65536*4 comes from, > and how can we estimate and adjust this properly? > > With best regards, > Vadim Yanitskiy. > -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.osmocom.org/pipermail/openbsc/attachments/20190113/cb407f45/attachment.htm>