-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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 crashes on add layer #24513
Comments
Author Name: Giovanni Manghi (@gioman) is this when you add the layer from the qgis browser?
|
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Dmitry Baryshnikov (Dmitry Baryshnikov) Giovanni Manghi wrote:
Yes. Drag'n'drop to map canvas from QGIS Browser produces crash too. |
Author Name: Giovanni Manghi (@gioman) been already fixed, wait a new build downgrade or just use the "add postgis layer" dialog meanwhile.
|
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Jürgen Fischer (@jef-n)
Here it is part of the dump.
In sources I see using same named variables: QStringList sublayers The first variable declared here: https://github.com/qgis/QGIS/blob/master/src/app/qgisapp.cpp#L9840 When get 0 element from list, first variable is using, not second, as expected: https://github.com/qgis/QGIS/blob/master/src/app/qgisapp.cpp#L9863 The solutions are: Rename second variableRemove second variable declarationto When opening PostGIS layer QGIS crashes. Here it is part of the dump.
In sources I see using same named variables: QStringList sublayers The first variable declared here: source:src/app/qgisapp.cpp#L9840 When get 0 element from list, first variable is using, not second, as expected: source:src/app/qgisapp.cpp#L9863 The solutions are: Rename second variableRemove second variable declaration |
Author Name: Dmitry Baryshnikov (Dmitry Baryshnikov)
Original Redmine Issue: 16613
Affected QGIS version: master
Redmine category:gui
When opening PostGIS layer QGIS crashes.
Here it is part of the dump.
In sources I see using same named variables: QStringList sublayers
The first variable declared here: source:src/app/qgisapp.cpp#L9840
And second here: source:src/app/qgisapp.cpp#L9860
When get 0 element from list, first variable is using, not second, as expected: source:src/app/qgisapp.cpp#L9863
The solutions are:
Related issue(s): #24495 (duplicates)
Redmine related issue(s): 16593
The text was updated successfully, but these errors were encountered: