DigitizingTools icon indicating copy to clipboard operation
DigitizingTools copied to clipboard

DigitizingTools causes QGis 3 to crash (on Mac)

Open dd-a opened this issue 6 years ago • 28 comments

Whenever I simply try to activate the plugin by checking the activation box in the plugin manager QGis (3.0.2 from Kyngchaos) crashes immediately. This affects versions 1.1 and 1.0.1 of the plugin on Mac OS Sierra (10.12.6).

dd-a avatar May 23 '18 08:05 dd-a

Another user reported similar problems for Win10. Unfortunately I have neither Win10 nor a Mac available for testing; I had no problems on Ubuntu 16.04 (64 bit). Could you please try to unload all other plugins to verify the problems are related to this particular one.

bstroebl avatar May 23 '18 08:05 bstroebl

I just did, with the same result. Is there any specific python library required by DigitizingTools that could be missing on my system ?

dd-a avatar May 23 '18 08:05 dd-a

nope, furthermore in that case there should be an error report instead of a crash Could you try with QGIS 3.0.3?

bstroebl avatar May 23 '18 08:05 bstroebl

As soon as it will be available I will and let you know.

dd-a avatar May 23 '18 08:05 dd-a

I updated on Ubuntu this morning. But beware: I am not sure this will change anything, it is just a try

bstroebl avatar May 23 '18 08:05 bstroebl

Maybe this is related?

bstroebl avatar May 24 '18 11:05 bstroebl

I don't know. This is exceeding my skills, but I don't have that error and the processing plugin loads correctly.

dd-a avatar May 24 '18 12:05 dd-a

Bad news : QGis 3.0.3 doesn't fix the issue.

dd-a avatar May 26 '18 09:05 dd-a

There are issues pending for Win7 (#30) and Win 10 (#29). In Win 7 deactivating all other plugins made DigitizingTools loadable. Could you please try if this is the case for you, too? Which localization are you using?

bstroebl avatar May 29 '18 08:05 bstroebl

I tried this morning and it crashed the same.

dd-a avatar May 29 '18 11:05 dd-a

It may be possible that the Qgis2threejs plugin causes the issue. Please try if unloading Qgis2threejs solves the problem.

bstroebl avatar Jun 11 '18 07:06 bstroebl

Nope, it was not even installed.

dd-a avatar Jun 11 '18 07:06 dd-a

So to sum things up: QGIS crashes when you try to load the plugin, no matter if any other plugin is loaded or not. Please try the new version 1.1.1 of the plugin and check if it soves the issue.

bstroebl avatar Jun 11 '18 10:06 bstroebl

That's exactly what's happening and unfortunately version 1.1.1 did not solve the issue.

dd-a avatar Jun 11 '18 10:06 dd-a

Thank you for trying, nevertheless. I am sorry to read 1.1.1 is not better (I fixed an issue that randomly gave me a runtime error). But I have no possibility to reproduce this problem on a Mac.

bstroebl avatar Jun 11 '18 11:06 bstroebl

I understand. Just ask, If you have another idea some day.

dd-a avatar Jun 11 '18 20:06 dd-a

My idea would be to stay tuned and retry with any new major version of QGIS. Would be great to get feedback once the problem is solved. I leave this ticket open until then.

bstroebl avatar Jun 12 '18 05:06 bstroebl

Just to inform you that nothing has changed with QGis 3.2 and version 1.1.5 (and Mac OS 10.13.6). Still crashing.

dd-a avatar Jul 13 '18 13:07 dd-a

@xsaiama This has already been reported and (partly) solved. This thread is on MAC, if you have new information on Win7 please report it in the other thread.

bstroebl avatar Jul 16 '18 13:07 bstroebl

Sorry.

Can you delete my message, since it is not useful in this thread? I can not wait to use the essential DigitizingTools in Qgis 3.XX. In the meantime, I'm using Qgis 2.18.

Regards,


Marc-André Saia Cartographe – Direction générale

Communauté métropolitaine de Montréal 1002, rue Sherbrooke Ouest, bureau 2400 Montréal (Québec) H3A 3L6 [cid:[email protected]] (514) 350-2583 [cid:[email protected]] (514) 350-2599

AVIS DE CONFIDENTIALITÉ Ce courriel est strictement réservé à l'usage de la personne à qui il est destiné et peut contenir de l'information privilégiée ou confidentielle. Si vous avez reçu ce courriel par erreur, veuillez nous en aviser immédiatement et le supprimer de votre système informatique sans en tirer de copies. Avant d'imprimer, pensez à l'environnement ! [cid:[email protected]]

De : Bernhard Ströbl [mailto:[email protected]] Envoyé : 16 juillet 2018 09:34 À : bstroebl/DigitizingTools Cc : Marc-André Saia; Mention Objet : Re: [bstroebl/DigitizingTools] DigitizingTools causes QGis 3 to crash (on Mac) (#28)

@xsaiamahttps://github.com/xsaiama This has already been reportedhttps://github.com/bstroebl/DigitizingTools/issues/30 and (partly) solved. This thread is on MAC, if you have new information on Win7 please report it in the other thread.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHubhttps://github.com/bstroebl/DigitizingTools/issues/28#issuecomment-405248884, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AnYa4fIxtOwMHBCwrNahnWKDWnG4yi4xks5uHJZMgaJpZM4UJ_AF.

xsaiama avatar Jul 17 '18 12:07 xsaiama

Does deactivating Qgis2threejs help in your case?

bstroebl avatar Jul 17 '18 13:07 bstroebl

I uninstalled all the plugins and then installed Digitizing Tools. It works now. I then reinstalled the other plugins one by one except Qgis2threejs then it's still going.

Thank you.

xsaiama avatar Jul 17 '18 18:07 xsaiama

I have just updated my machine to the Xubuntu 18.04 LTS:

$ lsb_release -a LSB Version: core-9.20170808ubuntu1-noarch:security-9.20170808ubuntu1-noarch Distributor ID: Ubuntu Description: Ubuntu 18.04 LTS Release: 18.04 Codename: bionic

The machine is a Asus Republic of Gamers: $ uname -a Linux cabore 4.15.0-24-generic #26-Ubuntu SMP Wed Jun 13 08:44:47 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux

Upon installing Qgis it was offered the Qgis 3.2.0:

$ dpkg -l qgis Desired=Unknown/Install/Remove/Purge/Hold | Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend |/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Nome Versão Arquitectura Descrição
+++-==============-============-============-================================= ii qgis 1:3.2.0+28bi amd64 Geographic Information System (GI

Until the upgrade I was using the last inception Qgis 2.18 in the Qgis stable repository:

$ cat /etc/apt/sources.list.d/qgis-stable.list

http://www.qgis.org/en/site/forusers/alldownloads.html#ubuntu

deb http://qgis.org/debian bionic main

deb-src http://qgis.org/debian trusty main

nightly binaries.

deb http://qgis.org/debian-nightly xenial main

I am still finding my way on this new version.

I have installed the DigitizingTools plugin version 1.1.5 from the oficial repository. On start os Qgis the issues the mesage:

WARNING Plugin DigitizingTools : The plugin will be disabled because it crashed QGIS during last startup. Please report an issue and re-enable the plugin when the problem has been solved.

If I try to activate it in the Plugin Manager I got this message at the terminal:

QGIS died on signal 11Could not attach to process. If your uid matches the uid of the target process, check the setting of /proc/sys/kernel/yama/ptrace_scope, or try again as the root user. For more details, see /etc/sysctl.d/10-ptrace.conf ptrace: Operation not permitted. No thread selected No stack. gdb returned 0 Aborted

As for the above thread, I uninstalled the Qgis2threejs plugin and it sill crashes.

Is there any procedure I should use to help detect what the problem is?

FernandoRoxo avatar Jul 19 '18 14:07 FernandoRoxo

Hi Fernando, sorry for the late reply, I had been on holidays. This thread is on the plugin crashing QGIS on Mac, anyways, I never had any problems (except the Qgis2threejs thing) on Ubuntu 16.04 (Gnome). My first advice would still be to deactivate all other plugins and then restart QGIS and retry loading DigitizingTools. Please see this QGIS webpage on creating more helpful messages (no guarantee I can make anything useful out of it).

bstroebl avatar Aug 06 '18 06:08 bstroebl

Hi Bernard,

I am afraid to be kind of hijacking the Mac thread on the subject, the point is that was the closest issue I fount to report my problem.

I have followed your suggestion and just deactivated all other plugins and, as expected, the digitizing plugin came up without crashing Qgis. Then I started to reactivate the others plugins and deactivated and reactivated the digitizing plugin. With the digitizing plugin activated, there were two plugins that I was able to activate (OSM Tools and Qgis2threejs) and after that I could deactivate the digitizing plugin but upon reactivating the Qgis crashed. With all the others I have installed no problem showed up.

I have Qgis 3.2.1-Bonn installed from the Qgis stable repositiry on [Xu|U]buntu 18.04 LTS. To be absolutely honest, it is not a new installation, I had a 16.04 LTS upgraded to 18.04 LTS, so it is possible that some remaining from the previous version can be playing in the shadows.

Please, let me know it I can provide any more info that could help in any way.

============================================ From Qgis about:

QGIS version 3.2.1-Bonn QGIS code revision 1edf372
Compiled against Qt 5.9.5
Running against Qt 5.9.5
Compiled against GDAL/OGR 2.2.3
Running against GDAL/OGR 2.2.3
Compiled against GEOS 3.6.2-CAPI-1.10.2
Running against GEOS 3.6.2-CAPI-1.10.2 4d2925d6
PostgreSQL Client Version 10.3 (Ubuntu 10.3-1)
SpatiaLite Version 4.3.0a
QWT Version 6.1.3
QScintilla2 Version 2.10.2
PROJ.4 Version 493

FernandoRoxo avatar Aug 06 '18 13:08 FernandoRoxo

I am running Ubuntu 16.04 which has an older Qt (5.5.1) than yours. Maybe that's why loading OSM Tools and DigitizingTools in parallel is working for me. All I can do is to advice you to not use the plugins at the same time. This is definitely annoying but the cause at least in case of QGIS2threejs is the other plugin and not DigitizingTools (see the issue I opened there). No idea if OSM Tools is similar, though.

bstroebl avatar Aug 06 '18 14:08 bstroebl

Hello Bernard, I also found that go2streetview in parallel with Digitizing Tools causes the crash of QGis (3.2.0). I just made a brand new install of my system and installed the QGis extensions one by one and testing the activation of DT each time. Not only must the other one be de-activated, it must also be uninstalled and QGis restarted.

dd-a avatar Aug 08 '18 15:08 dd-a

I don't know the system dd-a above is using and I don't need the go2streetview plugin, but just in order to tray to gather as much information as possible, I have installed this plugin and I can confirm that in [Xu|U]buntu 18.04 and Qgis 3.2.1 if I disable the DigitizingTools and enable in sequence, the Qgis crashes.

HTH

After restarting Qgis I have uninstalled the go2streetview and after that I have reenabled the DigitizingTools, Qgis immediately crashed. Upon restart I reenabled the DigitizingTools plugin without problem.

FernandoRoxo avatar Aug 08 '18 21:08 FernandoRoxo