Bug #5169
closed
When I try to get a list of users (70+) through the MSC control interface with the "subscriber-list-active-v1" function, the service crashes with message "Not enough tailroom msgb_put ..."
That's of course not nice at all. Thanks for the report!
Can we change the constant to a dynamic value and won't it affect anything in other places?
The problem is that the libosmocore/ctrl doesn't know upfront what size to allocate.
CTRL was defined as an interface to get or set small parameters, and not for obtaining
comprehensive lists or larger data structures. Think of changing some small configuration
value or the like.
So we have multiple issues here:
- CTRL is used in a way it shouldn't be used (exporting the whole subscriber list)
- no matter the above, it shouldn't crash but fail gracefully
- Related to Bug #5175: CTRL command crashes osmo-msc (libosmocore) added
- Related to deleted (Bug #5175: CTRL command crashes osmo-msc (libosmocore))
- Has duplicate Bug #5175: CTRL command crashes osmo-msc (libosmocore) added
I just realised that this is a massive problem for TIC/Rhizomatica as the REST API that supplies subscriber details to the web admin interface uses this CTRL command to get the list of connected MSISDNs
As far as I can see there is no other way to know who's connected, other than maybe some clunky query on the HLR database checking for recent LURs (ugh)
- Assignee set to pespin
- Priority changed from Low to High
- Status changed from New to Feedback
- Assignee changed from pespin to keith
- % Done changed from 0 to 90
Is this still a problem? Can it be closed + parent issue?
As far as I am concerned it's "fixed" by gerrit 24639 so I'd say this issue can be closed.
notwithstadning laforge 's comments "CTRL is used in a way it shouldn't be"
- Status changed from Feedback to Resolved
- % Done changed from 90 to 100
Also available in: Atom
PDF