Bug report #10548

crash using custom forms

Added by Luca Lanteri over 5 years ago. Updated over 4 years ago.

Status:Closed
Priority:Severe/Regression
Assignee:-
Category:Forms
Affected QGIS version:2.8.1 Regression?:No
Operating System: Easy fix?:No
Pull Request or Patch supplied:No Resolution:
Crashes QGIS or corrupts data:Yes Copied to github as #:18955

Description

When I try to use a custom .ui form and setting Attribute editor layout on "provide ui-file", qgis crash when I open table and when using identify feature.
Testing on 2.3-master - ubuntu 14.04-64bit

Associated revisions

Revision d43d3065
Added by Martin Dobias over 5 years ago

Fix #10548 (crash using custom forms)

When using a custom UI file, the widget is created beforehand,
and the code was failing to initialize it.

History

#1 Updated by Jürgen Fischer over 5 years ago

  • Category set to Forms

#2 Updated by Martin Dobias over 5 years ago

  • Status changed from Open to Closed

#3 Updated by Vincent Mora about 5 years ago

  • Status changed from Closed to Reopened
  • Crashes QGIS or corrupts data changed from No to Yes

Reproduced today with 2.6.0 on ubuntu trusty 64bit

#4 Updated by Giovanni Manghi about 5 years ago

  • Affected QGIS version changed from master to 2.6.0
  • Subject changed from QGIS 2.3 crash using custom forms to QGIS 2.6 crash using custom forms

#5 Updated by Giedrius Vaivilavičius about 5 years ago

I have a similar problem. Using "Drag and drop designer" has made a form with different types of grounds but they are duplicated fields. Then QGIS crashes when I put the point. The terminal writes "Segmentation fault". When I eliminate fields that are repeated, then no crashes. QGIS 2.6, Debian wheezy, 64 bit.

#7 Updated by Jürgen Fischer almost 5 years ago

  • Status changed from Reopened to Feedback

Does this also affect master? I can't seem to reproduce it.

#8 Updated by Luca Lanteri almost 5 years ago

the original issue not affects the master. I also try the problem reported by Giedrius Vaivilavičius and all seem to works fine.

#9 Updated by Jürgen Fischer almost 5 years ago

  • Status changed from Feedback to Closed
  • Resolution set to fixed/implemented

#10 Updated by Luca Lanteri almost 5 years ago

  • Status changed from Closed to Reopened

When I try to use a custom .ui form and setting Attribute editor layout on "provide ui-file", qgis crash when I open table and when using identify feature.
Testing on 2.8.1 mint_17

#11 Updated by Luca Lanteri almost 5 years ago

Maybe it's better to open a new ticket to update the affected version ?

#12 Updated by Jürgen Fischer almost 5 years ago

  • Subject changed from QGIS 2.6 crash using custom forms to crash using custom forms

#13 Updated by Giovanni Manghi almost 5 years ago

  • Affected QGIS version changed from 2.6.0 to 2.8.1
  • Resolution deleted (fixed/implemented)

#14 Updated by Matthias Kuhn over 4 years ago

  • Status changed from Reopened to Feedback

Comment 6 has been addressed, no more crashes when multiple multi line widgets are present.

Does the original issue concerning .ui files still apply to master?

Can you provide a demo .ui?

#15 Updated by Luca Lanteri over 4 years ago

It's now ok on 2.11.0-Master tested on linux and windows.

#16 Updated by Luca Lanteri over 4 years ago

  • Status changed from Feedback to Closed

Also available in: Atom PDF