Bug report #20581
QGis 3.4 reproducible crash while in idle state
|Affected QGIS version:||3.5(master)||Regression?:||No|
|Operating System:||Windows 7 64 bits||Easy fix?:||No|
|Pull Request or Patch supplied:||Yes||Resolution:|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||28401|
I've attached a sample plugin to reproduce this delayed crash (tested with QGis 3.4.1 64 bits for Windows):
- Open QGis 3.4. No need to open any project nor file.
- Install attached plugin into QGis 3.4
- Open Processing ToolBox. There you will find a new 'Alg Crash Group', expand it, then double-click on 'Alg Crash' within this group. The Dialog for launching 'Alg Crash' will open.
- On the dialog for 'Alg Crash' algorithm:
- you will find a 'Kind of crash' pulldown. Select the second option '60 seconds after file write combined with sinkParameter populated from shapefile'
- you may leave 'Output layer' untouched.
- Press 'Run'
- The Log tab will gain focus, and there you will see a message in red stating "Wait for exactly 60 seconds, then you will see Qgis crashing"
- Wait 60 seconds, and QGis will crash
Correct crash when read from ogr file in thread (QgsProcessing for instance)
#3 Updated by Juan Manuel Perez over 3 years ago
- File alg_crash(ready for install from zip).zip added
- Status changed from Feedback to Open
Just tried on QGIS Desktop 3.5.0 with GRASS 7.4.2 (Nightly).
The crash persists there.
Just uploaded new zip version, ready for use with 'Install from zip' (previous version required you to copy the zip contents manually into plugins directory)
#5 Updated by Juan Manuel Perez over 3 years ago
Ok! I didn't quite see the point of this test, knowing that "3.5.0 with GRASS 7.4.2 (Nightly)" crashed too, but I've just downloaded 3.4.2, installed, and tested the crash, and effectively it crashes.
So far, the versions tested showing this reproducible crash are:
- 3.5.0 (nightly)