[QGIS-Developer] R: QGIS-Developer Digest, Vol 169, Issue 39

Eugenio Trumpy frippe12573 at hotmail.com
Wed Nov 13 04:19:35 PST 2019


Hi Jorge,

firstly let me thank you because you are the first you trying to help me so far,
after to have write and ask in different QGIS mailing list.

Yes, I'm amble to compile QGIS with no errors. As described I got the same crash either with the compiled version or the downloaded packages from qgis.org/ubuntu repo.
Well, I usually run QGIS from command line, but I'm not able to see what's happen in the terminal because the terminal window crashes as well.

Then I follow your suggestion to run in the python console:
QgsApplication.showSettings()

and here below the output:

'Stato applicazione:\nQGIS_PREFIX_PATH
var amb:\t\t\n
Prefisso:\t\t/usr\n
Percorso del plugin:\t\t/usr/lib/qgis/plugins\n
Percorso pacchetto dati:\t/usr/share/qgis\n
Nome tema attivo:\tdefault\n
Percorso tema attivo:\t/usr/share/qgis/resources/themes/default/icons/\n
Percorso tema di default:\t:/images/themes/default/\n
Percorso di ricerca SVG:\t/usr/share/qgis/svg/\n\t\t/home/eugenio/.local/share/QGIS/QGIS3/profiles/default/svg/\n
Percorso DB utente:\t/usr/share/qgis/resources/qgis.db\n
Percorso DB Auth: /home/eugenio/.local/share/QGIS/QGIS3/profiles/default/qgis-auth.db\n'

which seems to be correct, isn't it?

I could even rebuild QGIS with the option you suggested but if the result is to have
debug in the command line after having launched QGIS I guess it shouldn't work
as the terminal crashes, am I right?

An option could be use valgrind, but I never use it...

Eugenio
----------------------------------------------------------------------

Message: 1
Date: Wed, 13 Nov 2019 00:02:16 +0000
From: Jorge Gustavo Rocha <jgr at di.uminho.pt>
To: <qgis-developer at lists.osgeo.org>
Subject: Re: [QGIS-Developer] QGIS crash on adding data
Message-ID: <0b89b6a3-dfd8-369f-52e1-239cec5cd6e4 at di.uminho.pt>
Content-Type: text/plain; charset="windows-1252"

Hi Eugenio,

If you were able to compile QGIS, that is fantastic. Not everybody is
able to do so.

Can you run it from the command line and see why it crashes?

You can rebuild it again with -D CMAKE_BUILD_TYPE=Debug to make sure all
the debug information is printed on the command line. If it is nor
enough, install valgrind and use it to run QGIS. Sometimes is really
necessary to use valgrind.

Meanwhile, can you open QGIS and report back your settings? You can use
QGIS Python console, and write down on the console:
QgsApplication.showSettings()

I just want to make sure you are not running QGIS with strange PATH
settings. It should return something like:

QgsApplication.showSettings()
'Application state:\nQGIS_PREFIX_PATH env
var:\t\t\nPrefix:\t\t/usr\nPlugin
Path:\t\t/usr/lib/qgis/plugins\nPackage Data
Path:\t/usr/share/qgis\nActive Theme Name:\tdefault\nActive Theme
Path:\t/usr/share/qgis/resources/themes/default/icons/\nDefault Theme
Path:\t:/images/themes/default/\nSVG Search
Paths:\t/home/jgr/dev/cpp/build-QGIS/output/data/svg/\n\t\t/home/jgr/.local/share/QGIS/QGIS3/profiles/espinho/svg/\n\t\t/svg/\n\t\t/usr/share/qgis/svg/\nUser
DB Path:\t/usr/share/qgis/resources/qgis.db\nAuth DB
Path:\t/home/jgr/.local/share/QGIS/QGIS3/profiles/espinho/qgis-auth.db\n'

Regards,

Jorge

Às 13:52 de 12/11/19, Eugenio Trumpy escreveu:
> Hi all,
>
> I have a critical issue with QGIS since I updated ubuntu to the 19.10
> version.
> I have already written in the other mailing list without any answer.
>
> After to have launched QGIS if I click on the manager of source data and
> choose vector or raster
> when I click on the 3 points button to browse the file system and choose
> the datasets QGIS crashes
> together with all the ubuntu open windows.
>
> I experienced this problem with 3 different version of QGIS:
>
>   * the 3.4 LTS from ubuntu repo
>   * the 3.10 from https://qgis.org/ubuntu repo
>   * the master version compiled from source
>
> Has this happened to anyone else?
> Any hint? or suggestion?
>
> regards
>
> Eugenio
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-developer/attachments/20191113/f6e3e160/attachment.html>


More information about the QGIS-Developer mailing list