Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

QGIS 3 crashes when Processing dragged out of main window and then dragged back in #26284

Closed
qgib opened this issue Mar 8, 2018 · 10 comments
Closed
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms

Comments

@qgib
Copy link
Contributor

qgib commented Mar 8, 2018

Author Name: Garth Fletcher (@fgfletcher)
Original Redmine Issue: 18394
Affected QGIS version: 3.0.0
Redmine category:processing/core


Mac OS X 10.12.6 on Mac mini (Mid 2011) 2.3 GHz Intel Core i5, 8 GB 1600 MHz DDR3 RAM

QGIS3 starts up with its window containing:
left side
Browser
Layers {empty}
center top
Recent Projects {showing 1 project}
right side
Processing Toolbox {normal list}

Drag Processing Toolbox panel rightward out of main window {become independent window}
Drag Processing Toolbox window back into main window
QGIS3 crashes...
CrashDump file attached.

Same problem if a project is opened before moving Processing Toolbox panel.
Also if Processing Toolbox (PT) panel is closed and then reopened before moving it.
Also if PT closed, QGIS3 Quit, QGIS3 restarted - this time PT is not displayed at startup -
but opening PT (opens as panel in main window), moving PT out, then back in crashes QGIS3.

Dragging Layers/Browser panel out of main window and then dragging it back in does not cause any problem, though it will only integrate as a full-width panel above or below the Recent Projects section.

So problem appears specific to Processing Toolbox panel/window and independent of whether a Project is opened.
Used Category:Unknown because the other options did not seem to match.


@qgib
Copy link
Contributor Author

qgib commented Mar 8, 2018

Author Name: Giovanni Manghi (@gioman)


  • category_id was changed from Unknown to Processing/Core
  • priority_id was changed from Normal to High

@qgib
Copy link
Contributor Author

qgib commented Mar 8, 2018

Author Name: Richard Duivenvoorde (@rduivenvoorde)


No Mac here, but cannot confirm on Debian/Linux.

@qgib
Copy link
Contributor Author

qgib commented Mar 8, 2018

Author Name: Garth Fletcher (@fgfletcher)


Please let me know about any other tests or data which would help track down this issue.
I'm not knowledgeable enough to dig into the code, but I'm certainly willing to help run tests.

@qgib
Copy link
Contributor Author

qgib commented Mar 9, 2018

Author Name: Giovanni Manghi (@gioman)


Garth Fletcher wrote:

Please let me know about any other tests or data which would help track down this issue.
I'm not knowledgeable enough to dig into the code, but I'm certainly willing to help run tests.

does it happen only on your system or any other macOS computer?

@qgib
Copy link
Contributor Author

qgib commented Mar 12, 2018

Author Name: Garth Fletcher (@fgfletcher)


Giovanni Manghi wrote:

does it happen only on your system or any other macOS computer?

Apologies for my delay in replying to your excellent question. It turned out that none of the other 10 Macs on site were OS X 10.12 capable.

As an alternative approach I created a new OS X 10.12.6 system on a new drive, followed by a de novo build of QGIS3. My reasoning was that since the Mac mini I had been using was trouble-free with a wide range of programs, including QGIS 2.18.15, that it was OK as hardware, but the problem might lie with system software.

Steps were:

  1. download (Apple) and clean install of OS X 10.12.6 onto FW3T_A (no pre-existing System)
  2. boot to FW3T_A & run Software Update until no more available
  3. download (Apple) & install
    Xcode 9.2.xip
    Command Line Tools (macOS 10.12) for Xcode 9.2.dmg
  4. Software Update (no updates found)
  5. download (macports.org) & install MacPorts-2.4.2-10.12-Sierra.pkg
  6. in Terminal
    $ sudo port selfupdate
    $ port info qgis3 {reports qgis3 @3.0.0_1 (gis) …}
    $ sudo port install qgis3

Log of qgi3 3 install in attached "1_QGIS3_port-log.txt"

Started QGIS3,
"Welcome to QGIS 3.0.0-Girona" window opens
choose clean start {no import from QGIS 2}
small green window, "loading GUI…"
new window appears in front: “Problem Report for Qgis 3”
window is owned by "Problem Reporter" app, Parent Process: launchd, User
a crash log is actually created in
~/Library/Logs/DiagnosticReports/Qgis3_2018-03-10-233353_Garths-Mac-mini.crash
(whose contents match Problem Reporter window contents)
the Problem Report for Qgis 3 window says:
"Qgis3 quit unexpectedly
Click Reopen to open the Application again. This report will be sent to Apple automatically.

Comments
Problem Details and System Configuration

followed by lengthy debugging information which is in attached "2_QGIS3_start_problem_report.txt"

However, QGIS3 has not actually crashed.
Its main window appears normal and is functional.

Furthermore, dragging Processing Toolbox out of main window and then back in now does NOT crash QGIS3 - so the clean system install has changed something.

However, there are still errors and warnings in the Log Messages pane (as previously reported in #26271).

These Log Messages contents are in the attached "3_QGIS3_Log_Messages.txt"

Quitting and restarting QGIS3 has identical result, except without the "Welcome to QGIS 3.0.0-Girona" startup window. First comes the small green window, "loading GUI…" then the Problem Report window, then the main QGIS3 window. Each time a new ~/Library/Logs/DiagnosticReports/ report is created without QGIS3 actually crashing.

Deleting the QGIS3 folder in ~/Library/Application\ Support/QGIS/ and restarting QGIS3 causes it to start with the "Welcome to QGIS 3.0.0-Girona" window and to create a new QGIS3 folder, but otherwise same issues. Rebooting the system does not change anything.

A directory of ~/Library/Application\ Support/QGIS/QGIS3 is in the attached
"4_QGIS3_Files.txt".

The attached "5_QGIS3_ProblemReporter_Open_Files_and_Ports.txt" shows Activity Monitor info about the Problem Reporter app when it is displaying the problem report.

I will try a clean QGIS3 rebuild on my original boot disk to see if that gets rid of the Processing Toolbox issue and report back.

However, it does seem that there are some significant issues reported in Log Messages "Python warning" and "Processing" panes.

Many thanks for any assistance you can provide!


  • 12411 was configured as 3_QGIS3_Log_Messages.txt
  • 12413 was configured as 5_QGIS3_ProblemReporter_Open_Files_and_Ports.txt
  • 12412 was configured as 4_QGIS3_Files.txt
  • 12410 was configured as 2_QGIS3_start_problem_report.txt
  • 12409 was configured as 1_QGIS3_port-log.txt

@qgib
Copy link
Contributor Author

qgib commented May 16, 2018

Author Name: Alexander Bruy (@alexbruy)


Not reprodusible on Windows and Linux, probably a local issue.

@qgib
Copy link
Contributor Author

qgib commented May 16, 2018

Author Name: Garth Fletcher (@fgfletcher)


Processing window problem does NOT occur in QGIS 3.0.2, so apparently got fixed.
Thanks.

@qgib
Copy link
Contributor Author

qgib commented Oct 19, 2018

Author Name: Peter Petrik (@PeterPetrik)


Unable to reproduce on MacOS 10.14 (18A391) with QGIS 3.3 master. Garth mentioned it cannot be reproduced with 3.0.2


  • status_id was changed from Open to Feedback

@qgib
Copy link
Contributor Author

qgib commented Nov 8, 2018

Author Name: Giovanni Manghi (@gioman)


Please try on QGIS 3.4.1, if the issue is still valid change the affected version, thanks.

@qgib
Copy link
Contributor Author

qgib commented Feb 11, 2019

Author Name: Nyall Dawson (@nyalldawson)


  • status_id was changed from Feedback to Closed
  • resolution was changed from to no timely feedback

@qgib qgib closed this as completed Feb 11, 2019
@qgib qgib added Bug Either a bug report, or a bug fix. Let's hope for the latter! High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms Crash/Data Corruption labels May 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Either a bug report, or a bug fix. Let's hope for the latter! Crash/Data Corruption High Priority Processing Relating to QGIS Processing framework or individual Processing algorithms
Projects
None yet
Development

No branches or pull requests

1 participant