Contents

hide
<<previous   next>>

Bug 1417 : Cache process crashes when adding signals in a multi-thread context

Status: Solved

geopsy

General information

--FATAL ERROR-

Segmentation fault Signal

2010-11-11 17:22:39.651

main,layerPainter1,layerPainter2,layerPainter3,layerPainter4,parallelLoop,parallelLoop,parallelLoop,parallelLoop

Current thread: parallelLoop

QGpCoreTools::CoreApplicationPrivate::backTrace()
QGpCoreTools::CoreApplicationPrivate::bugInfo(QGpCoreTools::Message::Severity, QString const&)
QGpCoreTools::CoreApplicationPrivate::reportBugNow(QGpCoreTools::Message::Severity, char const*)
QGpCoreTools::CoreApplicationPrivate::osSignal(int)
[0xb773c400]
QGpCoreTools::CacheProcess::operator<<(QGpCoreTools::CacheItem const*)
GeopsyCore::SignalTemplate::copySamplesFrom(GeopsyCore::SignalTemplate const*, int, int, int)
GeopsyCore::DoubleSignal::copySamplesFrom(GeopsyCore::DoubleSignal const*, int, int, int)
GeopsyCore::DoubleSignal::copySamplesFrom(GeopsyCore::DoubleSignal const*, double, double, double)
GeopsyCore::StationProcessSignals::copyOriginalSignal(int, GeopsyCore::TimeRange const&)
ArrayCore::SPACStationSignals::setProcessed(GeopsyCore::TimeRange const&, GeopsyCore::AbstractParameters*)
ArrayCore::ArrayProcess::lockTimeWindow(GeopsyCore::TimeRange const*)
SPACLoopTask::run(int)
QGpCoreTools::LoopTask::run()




---- thread main
---- thread layerPainter1
---- thread layerPainter2
---- thread layerPainter3
---- thread layerPainter4
---- thread parallelLoop
---- thread parallelLoop
---- thread parallelLoop
---- thread parallelLoop
---- thread main
---- thread layerPainter1
---- thread layerPainter2
---- thread layerPainter3
---- thread layerPainter4
---- thread parallelLoop
---- thread parallelLoop
---- thread parallelLoop
---- thread parallelLoop

Developer comments (common to all duplicates if any)

Probably solved by adding a mutex for adding and removing processes to cache items. Re-open this bug if it happens again.

Systems and versions

Linux
  Qt                  4.6.2
  QGpCoreTools        1.18.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  GeopsyCore          3.3.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  GeopsySLink         1.0.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  QGpGuiTools         1.10.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  SciFigs             2.3.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  GeopsyGui           2.8.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  GeopsySLinkGui      1.0.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  geopsy              2.7.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  DinverCore          0.9.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  QGpCoreWave         0.8.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  QGpCompatibility    0.3.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  DinverDCCore        1.5.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  ArrayCore           1.2.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  DinverGui           0.2.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  QGpGuiWave          0.6.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  ArrayGui            0.1.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  geopsyarray         2.2.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  MonoStation         1.5.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  geopsyhv            2.6.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)
  structureratios     0.5.0-snapshot-20101007 from geopsypack-2.1.0-snapshot-20101007	(built on 201010071006)

User comments

14172010-11-11 17:34:08Calcul avec SPAC La frequence 80/100 a plante (arret) mais le reste a continue jusqu au bout. Probleme 2 fois de suite (memes parametres)

User reports

17142010-11-11 17:34:08