Bug report #18999

click on anything in plugin manager crashes qgis

Added by luke allen almost 6 years ago. Updated about 5 years ago.

Status:Feedback
Priority:High
Assignee:Borys Jurgiel
Category:Plugin Manager
Affected QGIS version:3.0.3 Regression?:No
Operating System:arch linux Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:26830

Description

When i click on anything inside of the plugin manager qgis crashes immediately.

qgis 3.0.3
arch linux

running from the command line this error shows up on crashing

free(): invalid pointer [1] 29800 abort (core dumped) qgis

History

#1 Updated by Nathan Allen over 5 years ago

I am also having this issue. I notice it after upgrading from a version of 2.18 to 3.2.0. However a clean install on another computer with Arch and it is working fine. I have tried to uninstall and reinstall QGIS, and I have also removed all my profile folders from .config, .local, and ~/ for QGIS and it is still happening. Had you found a fix for this?

#2 Updated by Borys Jurgiel over 5 years ago

Did you try to purge the /usr/share/qgis directory? A similar crash on Windows seems to be caused by some Python 2 remainders.

#3 Updated by Nathan Allen over 5 years ago

Yeah, I confirmed that /usr/share/qgis was removed when I did the uninstall. and it seems to be recreated fine with the reinstall. I am building 3.3 from git right now to see if it happens on that version as well.

#4 Updated by Nathan Allen over 5 years ago

Ran into #19476 while compiling. Once I get that straight I can test, for now is there anything else I can try with 3.2.0 that would be helpful here?

#5 Updated by Nathan Allen over 5 years ago

I have not been successful in building from git, however my workaround for this issue now is to install my plugins from zip files downloaded from the online repo. Seems to work for what I need at least.

#6 Updated by Giovanni Manghi over 5 years ago

  • Status changed from Open to Feedback

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

#7 Updated by luke allen over 5 years ago

Tried it on Arch with qgis 3.5.0 dev
Still broken. Also i cannot go to the About window. When i click on the about button it pops a window open and then the whole application Crashes.

#8 Updated by Bogusław Ciastek over 5 years ago

Probably this bug is related to QtWebKit. It looks similar to this one

More detailed log:

QNetworkReplyHttpImplPrivate::_q_startOperation was called more than once QUrl("https://plugins.qgis.org/plugins/plugins.xml?qgis=3.2")
[New Thread 0x7fff78e8d700 (LWP 16447)]
[Detaching after fork from child process 16448]
[New Thread 0x7fff6b7ff700 (LWP 16449)]
free(): invalid pointer

Temporary solution that works in my case (QGIS 3.4.2 + Arch Linux):

  1. check Java versions you have installed
  2. leave only java-8-openjdk and remove others
  3. try to run QGIS

#9 Updated by Giovanni Manghi about 5 years ago

  1. check Java versions you have installed
  2. leave only java-8-openjdk and remove others
  3. try to run QGIS

I fail to see how this could help or be the issue, we are not java or anything related to java:)

#10 Updated by Giovanni Manghi about 5 years ago

also this is not (of course) a general issue.

Also available in: Atom PDF