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

Crash when using "Identify Features" in Ubuntu? #29923

Closed
qgib opened this issue May 21, 2019 · 8 comments

Comments

@qgib
Copy link
Contributor

commented May 21, 2019

Author Name: Mark Topinka (Mark Topinka)
Original Redmine Issue: 22110
Affected QGIS version: 3.6.3
Redmine category:map_tools


Hi - I am having problems with the Identify Feature function - when I load something (either a ESRI shapefile or a raster both lead to this problem), click Identify Features, and then mouse over the main area of QGIS showing the raster or shape, QGIS immediately crashes. I've tried enabling log file, but nothing is written to it during the crash. This only happens in Ubuntu, I haven't been able to reproduce it with the same version (nominally) of QGIS running on Windows. I'm using QGIS 3.6.3, and Ubuntu 18.04.2 LTS.


@qgib

This comment has been minimized.

Copy link
Contributor Author

commented May 21, 2019

Author Name: Giovanni Manghi (@gioman)


Please try with a new/clean QGIS profile, no 3rd party plugins installed.


  • priority_id was changed from Normal to High
  • status_id was changed from Open to Feedback
  • category_id was changed from Unknown to Map Tools
@qgib

This comment has been minimized.

Copy link
Contributor Author

commented May 21, 2019

Author Name: Mark Topinka (Mark Topinka)


Giovanni Manghi wrote:

Please try with a new/clean QGIS profile, no 3rd party plugins installed.

Hi- thanks for the quick reply! I removed and then reinstalled QGIS and left it completely clean with no plug-ins. It still crashes. I've tried to do a bit more troubleshooting, and here are some things I've found that might be helpful:

  1. I found other ways that I can get the same crash: any time I select a mode from the toolbar that would require a different icon to be displayed when I move the cursor back over the data. For instance, clicking on the magnifier+ or the magnifier- buttons exhibit exactly the same behavior (program crashes as soon as I then mouse down over the data, where presumably QGIS is trying to change the displayed cursor icon).

  2. more clues that support this theory: in the terminal window where I launch qgis from, here is the transcript of the messages I get when I run qgis:

ubuntu@ip-123-45-67-89:~$ qgis
Warning: QXcbConnection: Failed to initialize XRandr
Warning: Qt: XKEYBOARD extension not present on the X server.

from here QGIS launches and operates normally until I click on one of the above mentioned buttons (mag+, mag-, or Identify Feature) that changes the cursor and mouse over the data, at which point it crashes and the additional messages appear in my terminal window:

Warning: qt_xcb_createCursorXRender: query_pict_formats failed
Warning: The X11 connection broke (error 2). Did the X11 server die?

Which pop up at the same time my QGIS window disappears (crashes). The warning that mentions qt_xcb_createCursorXRender seems, to my admittedly untrained eye, to be maybe a important clue? Hope this helps, happy to try and help in any other ways I can. Thanks a lot. -Mark

PS- forgot to mention one addition thing - I can't press the Identify Feature button before loading data (greyed out), but I can press the mag+ or mag- buttons. Interestingly, I can move my mouse over the blank area where data would normally appear without causing a crash (also, the cursor stays the unchanged pointy-arrow, does not display as mag+ or mag-), but then when I load data and mouse down over that area- crash.
PPS- hmm.. wanted to add this as well, since it somewhat complicates my earlier theory about switching cursors. I can successfully load a raster, and then mouse over it with the "measure" tool selected, which does cause the cursor to change into a crosshair.

@qgib

This comment has been minimized.

Copy link
Contributor Author

commented May 22, 2019

Author Name: Mark Topinka (Mark Topinka)


Please let me know if there is any more troubleshooting that would be helpful that I can do on my end. Thanks.


  • status_id was changed from Feedback to Open
@qgib

This comment has been minimized.

Copy link
Contributor Author

commented May 23, 2019

Author Name: Giovanni Manghi (@gioman)


Mark Topinka wrote:

Giovanni Manghi wrote:

Please try with a new/clean QGIS profile, no 3rd party plugins installed.

Hi- thanks for the quick reply! I removed and then reinstalled QGIS and left it completely clean with no plug-ins.

you sure have you removed the QGIS folder in ~/.local/share ?

if yes then please attach a sample project+data. The tif ypu attached does not cause any crash here, on Ubuntu or Windows-


  • status_id was changed from Open to Feedback
@elpaso

This comment has been minimized.

Copy link
Contributor

commented May 28, 2019

I'm afraid this is probably a local issue, I personally build and use different versions of QGIS daily on 18.04 and I've never seen that issue.

@jgrocha

This comment has been minimized.

Copy link
Member

commented May 28, 2019

  • Unable to reproduce, using QGIS 3.6.3-Noosa, on Ubuntu 18-04.
  • Unable to see the attachment.
  • There is no useful information how to reproduce the bug and about the specific environment (how QGIS was installed, packages versions, QT versions, etc).

I suggest to close this issue. It can be reopened if the author is able to show how to reproduce it.

At least, I suggest to drop labels High Priority, Crash/Data Corruption right now.

@svikas

This comment has been minimized.

Copy link

commented Jul 31, 2019

To potentially help others with the warnings above

Warning: QXcbConnection: Failed to initialize XRandr Warning: Qt: XKEYBOARD extension not present on the X server.
Warning: qt_xcb_createCursorXRender: query_pict_formats failed Warning: The X11 connection broke (error 2). Did the X11 server die?

This issue appears to be independent of QGIS. I've seen this issue occur based on the VNC client and desktop being used (if it's being used in to access a remote Ubuntu instance).

While there may be better ways to set this up, to check if it is indeed the issue I'd recommend setting up tigervnc with the xorg-extension and use Gnome 3 desktop. That has worked for me in the past.

@gioman

This comment has been minimized.

Copy link
Contributor

commented Aug 25, 2019

I suggest to close this issue. It can be reopened if the author is able to show how to reproduce it.

done.

@gioman gioman closed this Aug 25, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
5 participants
You can’t perform that action at this time.