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

DigitizingTools causes QGis 3 to crash (on Mac) #28

Open
dd-a opened this issue May 23, 2018 · 28 comments
Open

DigitizingTools causes QGis 3 to crash (on Mac) #28

dd-a opened this issue May 23, 2018 · 28 comments

Comments

@dd-a
Copy link

dd-a commented May 23, 2018

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).

@bstroebl
Copy link
Owner

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.

@dd-a
Copy link
Author

dd-a commented May 23, 2018

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 dd-a closed this as completed May 23, 2018
@bstroebl
Copy link
Owner

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

@dd-a
Copy link
Author

dd-a commented May 23, 2018

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

@bstroebl
Copy link
Owner

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

@bstroebl bstroebl reopened this May 23, 2018
@bstroebl
Copy link
Owner

Maybe this is related?

@dd-a
Copy link
Author

dd-a commented May 24, 2018

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

@dd-a
Copy link
Author

dd-a commented May 26, 2018

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

@bstroebl
Copy link
Owner

bstroebl commented May 29, 2018

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?

@dd-a
Copy link
Author

dd-a commented May 29, 2018

I tried this morning and it crashed the same.

@bstroebl
Copy link
Owner

bstroebl commented Jun 11, 2018

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

@dd-a
Copy link
Author

dd-a commented Jun 11, 2018

Nope, it was not even installed.

@bstroebl
Copy link
Owner

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.

@dd-a
Copy link
Author

dd-a commented Jun 11, 2018

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

@bstroebl
Copy link
Owner

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.

@dd-a
Copy link
Author

dd-a commented Jun 11, 2018

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

@bstroebl
Copy link
Owner

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.

@dd-a
Copy link
Author

dd-a commented Jul 13, 2018

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.

@bstroebl
Copy link
Owner

@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.

@xsaiama
Copy link

xsaiama commented Jul 17, 2018 via email

@bstroebl
Copy link
Owner

Does deactivating Qgis2threejs help in your case?

Repository owner deleted a comment from xsaiama Jul 17, 2018
@xsaiama
Copy link

xsaiama commented Jul 17, 2018

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.

@FernandoRoxo
Copy link

FernandoRoxo commented Jul 19, 2018

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?

@bstroebl
Copy link
Owner

bstroebl commented Aug 6, 2018

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).

@FernandoRoxo
Copy link

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

@bstroebl
Copy link
Owner

bstroebl commented Aug 6, 2018

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.

@dd-a
Copy link
Author

dd-a commented Aug 8, 2018

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.

@FernandoRoxo
Copy link

FernandoRoxo commented Aug 8, 2018

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants