Bug report #11982
Custom UI Form crashes QGIS in Ubuntu
|Affected QGIS version:||2.6.1||Regression?:||No|
|Operating System:||Ubuntu||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:||duplicate|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||20188|
I've made a small test project with simple vector layer and custom UI form in Qt4 Designer for editing this layer (as described in Nathan's blog: http://nathanw.net/2012/03/30/custom-qgis-feature-forms-value-binding). But when I've selected geometry on layer and pressed View feature form button QGIS silently crashed. That was in Ununtu 14.04 (QGIS 2.6.1).
After that I've tried the same in Windows 7 (32bit) in various QGIS versions: 2.01, 2.2, 2.4, 2.6 -- all of then open my custom UI form well, as intended.
What was at Ubuntu command line after crash:
$ qgis --noplugins /usr/bin/qgis.bin: /usr/local/lib/libgdal.so.1: no version information available (required by /usr/bin/qgis.bin) /usr/bin/qgis.bin: /usr/local/lib/libgdal.so.1: no version information available (required by /usr/lib/libqgis_core.so.2.6.1) /usr/bin/qgis.bin: /usr/local/lib/libgdal.so.1: no version information available (required by /usr/lib/libqgis_analysis.so.2.6.1) (qgis.bin:23500): GLib-CRITICAL **: PCRE library is compiled without UTF8 support (qgis.bin:23500): GLib-CRITICAL **: PCRE library is compiled without UTF8 properties support Warning: loading of qgis translation failed [/usr/share/qgis/i18n//qgis_en_US] Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US] Warning: QGraphicsScene::addItem: item has already been added to this scene 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 (core dumped)
Project files in attachment.