IntegerFilterBox crashes Python quite thoroughly

Bug #638149 reported by Rick Spencer
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Quickly Widgets
Fix Released
High
Rick Spencer
quickly-widgets (Ubuntu)
Fix Released
Undecided
Unassigned
Maverick
Won't Fix
Undecided
Unassigned

Bug Description

Using the Integer filter causes the following error:

TypeError: can't convert return value to desired type
bin/pytask:212: Warning: /build/buildd/glib2.0-2.25.15/gobject/gtype.c:4181: type id `0' is invalid
  gtk.main()
bin/pytask:212: Warning: can't peek value table for type `<invalid>' which is not currently referenced
  gtk.main()
Segmentation fault (core dumped)

== Ubuntu 10.10 SRU ==
As this is the most severe of the bugs targeted for an SRU, I'm using it as the master SRU bug. The other ones are bug 638148, bug 678239, and bug 636034.

A debdiff is attached, and it has been uploaded to maverick-proposed.

Justification for the changes:
 This bug: Crasher when using IntegerFilterBox. This affects at least PyTask (bug 685207)
 Bug 638148: Unconditional errors when using BlankFilterBox.
 Bug 678239: DictionaryGrid columns were not being sorted correctly in some cases
 Bug 636034: A remove button in DateGridRow is much larger than it should be (not severe, but easy fix)

TEST CASE:
 Download the attached test.py and run it like so to trigger each bug:
 $ python test.py 638149
 $ python test.py 638148
 $ python test.py 678239
 $ python test.py 636034
 A dialog will tell you how to hit the bug.

Changed in quidgets:
status: New → Confirmed
importance: Undecided → High
status: Confirmed → Fix Committed
assignee: nobody → Rick Spencer (rick-rickspencer3)
Revision history for this message
Rick Spencer (rick-rickspencer3) wrote :

This is fixed, but the change (along with a few others) did not make it into Maverick. We should get these changes into Maverick.

Michael Terry (mterry)
Changed in quidgets:
milestone: none → 11.03
status: Fix Committed → Fix Released
Michael Terry (mterry)
Changed in quickly-widgets (Ubuntu):
status: New → Fix Released
Michael Terry (mterry)
description: updated
Revision history for this message
Michael Terry (mterry) wrote :

OK, here's a test script for all four bugs. Instructions in the description of this bug.

description: updated
Revision history for this message
Michael Terry (mterry) wrote :

Debdiff against maverick.

description: updated
Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted quickly-widgets into maverick-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

Changed in quickly-widgets (Ubuntu Maverick):
status: New → Fix Committed
tags: added: verification-needed
tags: added: testcase
Changed in quickly-widgets (Ubuntu Maverick):
status: Fix Committed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Bug attachments