Open any document. Open the Outline. Go anywhere and hit return. Crash!

This is with Qt 4.6.2 and is presumably related to 6522.

The offending line seems to be this one:

    QModelIndexList indices = tocTV->model()->match(
        tocTV->model()->index(0, 0),
        Qt::DisplayRole, "*", -1,
        Qt::MatchFlags(Qt::MatchWildcard|Qt::MatchRecursive));

rh

===

0 lyx::frontend::TocWidget::filterContents TocWidget.cpp 446 0x0000000000b69aa6 1 lyx::frontend::TocWidget::updateView TocWidget.cpp 435 0x0000000000b6ba7f 2 lyx::frontend::TocWidget::on_typeCO_currentIndexChanged TocWidget.cpp 317 0x0000000000b6bb36 3 lyx::frontend::TocWidget::qt_metacall moc_TocWidget.cpp 109 0x0000000000b6bc7d 4 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /usr/lib64/libQtCore.so.4 0 0x0000003a4c56a2af 5 QComboBox::currentIndexChanged(int) /usr/lib64/libQtGui.so.4 0 0x0000003a4cf43201
6    ??    /usr/lib64/libQtGui.so.4    0    0x0000003a4cf4488c
7    ??    /usr/lib64/libQtGui.so.4    0    0x0000003a4cf477ed
8 QComboBox::qt_metacall(QMetaObject::Call, int, void**) /usr/lib64/libQtGui.so.4 0 0x0000003a4cf4c00f 9 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /usr/lib64/libQtCore.so.4 0 0x0000003a4c56a2af 10 QAbstractItemModel::endResetModel() /usr/lib64/libQtCore.so.4 0 0x0000003a4c550146
11    ??    /usr/lib64/libQtGui.so.4    0    0x0000003a4d10727d
12 QSortFilterProxyModel::qt_metacall(QMetaObject::Call, int, void**) /usr/lib64/libQtGui.so.4 0 0x0000003a4d109189 13 QMetaObject::activate(QObject*, QMetaObject const*, int, void**) /usr/lib64/libQtCore.so.4 0 0x0000003a4c56a2af 14 QAbstractItemModel::reset() /usr/lib64/libQtCore.so.4 0 0x0000003a4c55033e 15 lyx::frontend::TocTypeModel::reset TocModel.cpp 50 0x00000000009c08a3 16 lyx::frontend::TocModels::reset TocModel.cpp 363 0x00000000009c396a 17 lyx::frontend::GuiView::structureChanged GuiView.cpp 1259 0x0000000000962a45 18 lyx::Buffer::structureChanged Buffer.cpp 2994 0x000000000046fce4
19    lyx::Buffer::updateBuffer    Buffer.cpp    3622    0x000000000048e6d8
20    updateBuffer    Buffer.h    548    0x0000000000629a41
... <More>

Reply via email to