I did some debugging:
The segmentation fault occurs, when the function recount of the class TagsView is called. This
Code:
self.scrollTo(ci, QTreeView.PositionAtTop)
is the line that causes the sefault. When I remove it, the program seems to work fine.