This causes a crash, because doc_it seems not to be properly initialized or something.What's weird is that when it was called like this: it->fillWithBibKeys(d->bibinfo_, it)it was fine. So the doc_it constructed here is not equivalent to the one we get from thecode in Buffer::checkBibinfoCache().
The it that get passed leaves outside and point to the paragraph position where the bibitem inset is. Note that Inset::updateBuffer does have the iterator, so in the end
it is going to work. JMarc