Bug 916 : Error on opening SU files for bad byte order
Status: Solved
geopsy
General information
--FATAL ERROR-
ASSERT: "r.start() 2010-03-14 16:32:47.847
main,layerPainter1
Current thread:
If the byte order is not correct, computation of t0 might generate inf, which leads to this crash.
Implementation of a method for determining byte order for SU format (brute force testing of consistency of sample number with file size).
Condition testing to avoid crash event if byte order is not correct.
QGpCoreTools::CoreApplicationPrivate::backTrace()
QGpCoreTools::CoreApplicationPrivate::bugInfo(QGpCoreTools::Message::Severity, QString const&)
QGpCoreTools::CoreApplicationPrivate::reportBugNow(QGpCoreTools::Message::Severity, char const*)
QGpCoreTools::CoreApplicationPrivate::messageOutput(QtMsgType, char const*)
qt_message_output(QtMsgType, char const*)
qFatal(char const*, ...)
qt_assert(char const*, char const*, int)
GeopsyCore::SparseTimeRange::add(GeopsyCore::TimeRange const&, bool)
GeopsyCore::Signal::setDeltaT(double)
GeopsyCore::SignalFile::loadSu(QDataStream::ByteOrder)
GeopsyCore::SignalFile::load(GeopsyCore::SignalFileFormat*)
GeopsyCore::SignalFilePool::load(QString, GeopsyCore::SignalFileFormat)
GeopsyCore::GeopsyCoreBase::load(QStringList, GeopsyCore::SignalFileFormat, bool)
GeopsyMainWindow::load()
GeopsyMainWindow::qt_metacall(QMetaObject::Call, int, void**)
QMetaObject::activate(QObject*, int, int, void**)
QMetaObject::activate(QObject*, QMetaObject const*, int, int, void**)
QAction::triggered(bool)
QAction::activate(QAction::ActionEvent)
QToolButton::nextCheckState()
/usr/lib/libQtGui.so.4
QAbstractButton::mouseReleaseEvent(QMouseEvent*)
QToolButton::mouseReleaseEvent(QMouseEvent*)
QWidget::event(QEvent*)
QAbstractButton::event(QEvent*)
QToolButton::event(QEvent*)
QApplicationPrivate::notify_helper(QObject*, QEvent*)
QApplication::notify(QObject*, QEvent*)
QCoreApplication::notifyInternal(QObject*, QEvent*)
QApplicationPrivate::sendMouseEvent(QWidget*, QMouseEvent*, QWidget*, QWidget*, QWidget**, QPointer
---- thread main
---- thread layerPainter1
Developer comments (common to all duplicates if any)
Systems and versions
Linux
Qt 4.5.2
QGpCoreTools 1.18.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
GeopsyCore 3.3.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
GeopsySLink 1.0.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
QGpGuiTools 1.10.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
SciFigs 2.3.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
GeopsyGui 2.8.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
GeopsySLinkGui 1.0.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
geopsy 2.7.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
dinvercore 0.9.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
DinverCore 0.9.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
QGpCoreWave 0.8.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
QGpCompatibility 0.3.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
DinverDCCore 1.5.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
ArrayCore 1.2.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
DinverGui 0.2.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
QGpGuiWave 0.6.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
ArrayGui 0.1.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
geopsyarray 2.2.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
MonoStation 1.5.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
geopsyhv 2.6.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
structureratios 0.5.0-snapshot-20100226 from geopsypack-2.1.0-snapshot-20100226 (built on 201002261844)
User reports and comments
916 1249 2010-03-14 11:03:15