Bug report #14528

QGIS crashes on loading keyboard shortcuts XML

Added by Adam Fine about 8 years ago. Updated over 6 years ago.

Status:Closed
Priority:Normal
Assignee:-
Category:Unknown
Affected QGIS version:2.14.0 Regression?:No
Operating System:Linux 64-bit / OS X Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:22501

Description

I created a shortcuts xml file in QGIS on Linux and attempted to load the same shortcuts file on an OS X machine. QGIS on OS X crashes with a seg fault trying to load the file:

Warning: QCss::Parser - Failed to load file "/style.qss"
2016-03-18 14:21:30.490 QGIS[38811:2070688] modalSession has been exited prematurely - check for a reentrant call to endModalSession:
Segmentation fault: 11

both machines are running 2.14.0

The shortcuts .xml is attached.

Adamv2.xml Magnifier (3.27 KB) Adam Fine, 2016-03-18 10:29 AM

debug_20160318_1400.txt Magnifier - crash report (114 KB) Adam Fine, 2016-03-18 10:43 AM

Associated revisions

Revision 76296c82
Added by Matthias Kuhn about 8 years ago

Don't crash when some shortcuts can't be loaded

Fix #14528

Revision addcf3cb
Added by Matthias Kuhn about 8 years ago

Don't crash when some shortcuts can't be loaded

Fix #14528

(cherry picked from commit 76296c82e7e9225c6be3c00d48b4bf748ca5daa8)

History

#1 Updated by Adam Fine about 8 years ago

and the crash report from OS X.

#2 Updated by Anonymous about 8 years ago

  • Status changed from Open to Closed

#3 Updated by Jürgen Fischer over 6 years ago

  • Category set to Unknown

Also available in: Atom PDF