vishal.chauhan
1st February 2008, 09:43
Hi All,
I am working on Qt 4.2.2 on my MAC.
I have set the text of the QTreeWidgetItem by using setText(QString).
I am getting the following crash report.
PID: 163
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000026
Thread 0 Crashed:
0 MyApp 0x00153b18 QTreeModel::index(QTreeWidgetItem const*, int) const + 76
1 MyApp 0x00154524 QTreeModel::parent(QModelIndex const&) const + 112
2 MyApp 0x0046d310 QModelIndex::parent() const + 60
3 MyApp 0x00161604 QTreeViewPrivate::viewIndex(QModelIndex const&) const + 84
4 MyApp 0x001641b0 QTreeView::dataChanged(QModelIndex const&, QModelIndex const&) + 124
5 MyApp 0x00166cc4 QTreeView::qt_metacall(QMetaObject::Call, int, void**) + 292
6 MyApp 0x0015a59c QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) + 40
7 StellarPhoenix 0x0006a3d8 QMetaObject::activate(QObject*, int, int, void**) + 1240
8 MyApp 0x0029eeac QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) + 64
9 MyApp 0x00154808 QTreeModel::emitDataChanged(QTreeWidgetItem*, int) + 396
10 MyApp 0x00157b4c QTreeWidgetItem::setData(int, int, QVariant const&) + 1096
11 MyApp 0x00443d80 QTreeWidgetItem::setText(int, QString const&) + 72
If any body knows why it is crashing then plz help me.
Thanks.
I am working on Qt 4.2.2 on my MAC.
I have set the text of the QTreeWidgetItem by using setText(QString).
I am getting the following crash report.
PID: 163
Thread: 0
Exception: EXC_BAD_ACCESS (0x0001)
Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000026
Thread 0 Crashed:
0 MyApp 0x00153b18 QTreeModel::index(QTreeWidgetItem const*, int) const + 76
1 MyApp 0x00154524 QTreeModel::parent(QModelIndex const&) const + 112
2 MyApp 0x0046d310 QModelIndex::parent() const + 60
3 MyApp 0x00161604 QTreeViewPrivate::viewIndex(QModelIndex const&) const + 84
4 MyApp 0x001641b0 QTreeView::dataChanged(QModelIndex const&, QModelIndex const&) + 124
5 MyApp 0x00166cc4 QTreeView::qt_metacall(QMetaObject::Call, int, void**) + 292
6 MyApp 0x0015a59c QTreeWidget::qt_metacall(QMetaObject::Call, int, void**) + 40
7 StellarPhoenix 0x0006a3d8 QMetaObject::activate(QObject*, int, int, void**) + 1240
8 MyApp 0x0029eeac QAbstractItemModel::dataChanged(QModelIndex const&, QModelIndex const&) + 64
9 MyApp 0x00154808 QTreeModel::emitDataChanged(QTreeWidgetItem*, int) + 396
10 MyApp 0x00157b4c QTreeWidgetItem::setData(int, int, QVariant const&) + 1096
11 MyApp 0x00443d80 QTreeWidgetItem::setText(int, QString const&) + 72
If any body knows why it is crashing then plz help me.
Thanks.