Qt branch updates

Henrik Brautaset Aronsen subsurface at henrik.synth.no
Sun May 12 01:18:39 PDT 2013


Dirk Hohndel wrote:
> long time Subsurface users... please try this in the Qt branch and make
> sure I got all the corner cases right (I'd be very surprised if I did,
> to be honest - but I tried reasonably hard).

Crash:

1) ./subsurface dives/*xml
2) Select the first dive
3) Arrow down
4) BOOM:

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0   QtGui                             0x0000000102318a58 
QGraphicsItem::pos() const + 8
1   subsurface                        0x0000000101c721da 
QGraphicsItem::y() const + 24 (qgraphicsitem.h:282)
2   subsurface                        0x0000000101c66f91 
ProfileGraphicsView::plot(dive*) + 3217 (profilegraphics.cpp:319)
3   subsurface                        0x0000000101c3be8f 
MainWindow::redrawProfile() + 57 (mainwindow.cpp:51)
4   subsurface                        0x0000000101c3c44b 
MainWindow::dive_selection_changed(QItemSelection const&, QItemSelection 
const&) + 1373 (mainwindow.cpp:105)
5   subsurface                        0x0000000101c73f0a 
MainWindow::qt_static_metacall(QObject*, QMetaObject::Call, int, void**) 
+ 638 (mainwindow.moc.cpp:138)
6   QtCore                            0x0000000102a877b3 
QMetaObject::activate(QObject*, QMetaObject const*, int, void**) + 2259
7   QtGui                             0x00000001022bd91c 
QItemSelectionModel::emitSelectionChanged(QItemSelection const&, 
QItemSelection const&) + 1564
8   QtGui                             0x00000001022bd163 
QItemSelectionModel::select(QItemSelection const&, 
QFlags<QItemSelectionModel::SelectionFlag>) + 563
9   QtGui                             0x00000001022bce9e 
QItemSelectionModel::select(QModelIndex const&, 
QFlags<QItemSelectionModel::SelectionFlag>) + 62
10  QtGui                             0x00000001022bdd84 
QItemSelectionModel::setCurrentIndex(QModelIndex const&, 
QFlags<QItemSelectionModel::SelectionFlag>) + 196
11  QtGui                             0x0000000102269d95 
QAbstractItemView::keyPressEvent(QKeyEvent*) + 2965
12  QtGui                             0x00000001022a8735 
QTreeView::keyPressEvent(QKeyEvent*) + 725
13  QtGui                             0x0000000101e3b2a2 
QWidget::event(QEvent*) + 514
14  QtGui                             0x00000001021634b7 
QFrame::event(QEvent*) + 183
15  QtGui                             0x00000001021e5d08 
QAbstractScrollArea::event(QEvent*) + 872
16  QtGui                             0x0000000102265ec8 
QAbstractItemView::event(QEvent*) + 504
17  QtGui                             0x0000000101dee2ef 
QApplicationPrivate::notify_helper(QObject*, QEvent*) + 255
18  QtGui                             0x0000000101defa98 
QApplication::notify(QObject*, QEvent*) + 1240
19  QtCore                            0x0000000102a70701 
QCoreApplication::notifyInternal(QObject*, QEvent*) + 113
20  QtGui                             0x0000000101df19dc 
qt_sendSpontaneousEvent(QObject*, QEvent*) + 44
21  QtGui                             0x0000000101e5f783 
QKeyMapper::sendKeyEvent(QWidget*, bool, QEvent::Type, int, 
QFlags<Qt::KeyboardModifier>, QString const&, bool, int, unsigned int, 
unsigned int, unsigned int, bool*) + 403
22  QtGui                             0x0000000101e5f203 
QKeyMapperPrivate::translateKeyEvent(QWidget*, 
OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*, bool) + 1235
23  QtGui                             0x0000000101d9e5ca 
qt_dispatchKeyEvent(void*, QWidget*) + 298
24  QtGui                             0x0000000101d9416c -[QCocoaView 
keyDown:] + 268
25  com.apple.AppKit                  0x00007fff94e71050 -[NSWindow 
sendEvent:] + 9687
26  QtGui                             0x0000000101d971ae -[QCocoaWindow 
sendEvent:] + 110
27  com.apple.AppKit                  0x00007fff94e6c674 -[NSApplication 
sendEvent:] + 5761
28  QtGui                             0x0000000101d9bd7e 
-[QNSApplication sendEvent:] + 78
29  com.apple.AppKit                  0x00007fff94d8224a -[NSApplication 
run] + 636
30  QtGui                             0x0000000101da4903 
QEventDispatcherMac::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) + 
1219
31  QtCore                            0x0000000102a6dd45 
QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) + 501
32  QtCore                            0x0000000102a70c3e 
QCoreApplication::exec() + 206
33  subsurface                        0x0000000101c0f819 run_ui + 9 
(qt-gui.cpp:106)
34  subsurface                        0x0000000101bf65ef main + 543 
(main.c:268)
35  libdyld.dylib                     0x00007fff983977e1 start + 1

Henrik



More information about the subsurface mailing list