Program crashes when doing any plot or fit

Bug #471238 reported by prometheus
40
This bug affects 5 people
Affects Status Importance Assigned to Milestone
qtiplot (Ubuntu)
Fix Released
Critical
Unassigned
Karmic
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: qtiplot

With Ubuntu 9.04, my qtiplot worked fine.

After updating to 9.10, qtiplot quits without any message or error every time I want to plot or fit any data. I used the same data and the same sheeds I also used before the update.

I am using the version 0.9.7-1 of qtiplot, installed via synaptic. I also tried to reinstall the program, which didn't change anything.

________

Here is the formal SRU request:

1) This program is will not work for anyone in karmic. It will load, but when you try to plot anything, it will crash. This is due to this package being uploaded during the Jaunty development cycle and relying on library version we had in Hardy. Specifically, the qwt and Sip libraries cause a FTBFS and segfaults the program when run (see comment #2 above).

2) This has been addressed in the development branch by releasing new versions that depend on newer libraries. However, no one merged or synced this in over a year. Rather than try to do an SRU of a total version update, we can try to just fix this bug and teach it to use the current shared libraries.

3) Attached is the minimal patch (debdiff).

4) Test case:
1) load qtiplot
2) put dummy values in the X and Y columns (e.g. 1 and 2 in the X column; 4 and 5 in the Y column)
3) select the Y column, then chose "Plot" and "Line"
4) BOOM! (see screen shot for what it is supposed to look like, using the patched version)

5) Regression potential: none. It is totally unusable now, it can't get any worse.

Related branches

Revision history for this message
Scott Howard (showard314) wrote :

Thank you for your bug report and working to make Ubuntu better!

Try qtiplot from this ppa:
https://launchpad.net/~showard314/+archive/ppa

(instructions are on that link on how to add it to your sources list) Let me know how it works.

Changed in qtiplot (Ubuntu):
importance: Undecided → Medium
Changed in qtiplot (Ubuntu):
assignee: nobody → Scott Howard (showard314)
Revision history for this message
Scott Howard (showard314) wrote : Re: [Bug 471238] [NEW] Program crashes when doing any plot or fit

I'm sorry for the extra emails, as I find out more and more about this
bug I'm posting in case some one else takes over.

On Oct 13 there was a rebuild that failed on all architectures:
https://launchpad.net/ubuntu/+source/qtiplot

Publishing details

   * Published on 2009-10-13

Changelog

qtiplot (0.9.7-1build1) karmic; urgency=low

 * Rebuild with Sip 4.9

 -- Jonathan Riddell < <email address hidden>> Wed, 14 Oct 2009 00:19:13 +0100

Available diffs

   * 0.9.7-1 to 0.9.7-1build1 (281 bytes)

Builds

   * [FAILEDTOBUILD] amd64
   * [FAILEDTOBUILD] armel
   * [FAILEDTOBUILD] i386
   * [FAILEDTOBUILD] ia64
   * [FAILEDTOBUILD] lpia
   * [FAILEDTOBUILD] powerpc
   * [FAILEDTOBUILD] sparc

Package files

   * qtiplot_0.9.7-1build1.diff.gz (13.4 KiB)
   * qtiplot_0.9.7-1build1.dsc (1.4 KiB)
   * qtiplot_0.9.7.orig.tar.gz (6.5 MiB)

I think it is related to this bug since Karmic has a version that
built on older versions of libraries that were subsequently updated,
but qtiplot was not updated since before Jaunty.

Revision history for this message
Scott Howard (showard314) wrote :

I reproduced the bug, made the patch, rebuilt, and confirmed the bug no longer exists with the patch.
Here is the formal SRU request:

1) This program is will not work for anyone in karmic. It will load, but when you try to plot anything, it will crash. This is due to this package being uploaded during the Jaunty development cycle and relying on library version we had in Hardy. Specifically, the qwt and Sip libraries cause a FTBFS and segfaults the program when run (see comment #2 above).

2) This has been addressed in the development branch by releasing new versions that depend on newer libraries. However, no one merged or synced this in over a year. Rather than try to do an SRU of a total version update, we can try to just fix this bug and teach it to use the current shared libraries.

3) Attached is the minimal patch (debdiff).

4) Test case:
1) load qtiplot
2) put dummy values in the X and Y columns (e.g. 1 and 2 in the X column; 4 and 5 in the Y column)
3) select the Y column, then chose "Plot" and "Line"
4) BOOM! (see screen shot for what it is supposed to look like, using the patched version)

5) Regression potential: none. It is totally unusable now, it can't get any worse.

Revision history for this message
Scott Howard (showard314) wrote :

debdiff patch

Revision history for this message
Scott Howard (showard314) wrote :
Revision history for this message
Scott Howard (showard314) wrote :

what it's supposed to look like when it is working

Revision history for this message
Scott Howard (showard314) wrote :

build log on AMD64 -- SRU, do you want a ppa of this too? I can't upload to karmic-proposed, should we get a motu sponsor?

Changed in qtiplot (Ubuntu):
assignee: Scott Howard (showard314) → nobody
status: New → Triaged
importance: Medium → High
Revision history for this message
Scott Howard (showard314) wrote :

This is a regression, marking as Critical as per:
https://wiki.ubuntu.com/StableReleaseUpdates

Changed in qtiplot (Ubuntu):
importance: High → Critical
description: updated
Revision history for this message
Scott Howard (showard314) wrote :

as per jdong's help on IRC, this now targets karmic-proposed

Revision history for this message
John Dong (jdong) wrote :

ACK from MOTU-SRU.

Revision history for this message
prometheus (aeschulz) wrote :

I installed QtiPlot from your PPA, and it works fine now and does all the fitting and plotting as usual.

Thank you very much for the quick help, it's great that this program works again on my system!

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

Accepted qtiplot into karmic-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 qtiplot (Ubuntu Karmic):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
alxmy (alxmy) wrote :

the new version in -proposed works fine here!

Revision history for this message
LaserJock (laserjock) wrote :

Works for me as well.

tags: added: verification-done
removed: verification-needed
Revision history for this message
prometheus (aeschulz) wrote :

Everything works perfect again with the proposed version.

Thanks again for the immidiate help.

Revision history for this message
Zoom (duntra80) wrote :

Thanks for fixing this bug. I found out about this bug 2 days ago and it's already fixed now. This is quick!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtiplot - 0.9.7-1ubuntu1

---------------
qtiplot (0.9.7-1ubuntu1) karmic-proposed; urgency=low

  * debian/patches/qwt_api_fix.patch
    - Fixed FTBFS from api change in qwt AND Sip (LP: #471238)
  * debian/postinst
    - Removed python support since this FTBFS with Sip version in Karmic

 -- Scott Howard <email address hidden> Mon, 02 Nov 2009 19:50:14 -0500

Changed in qtiplot (Ubuntu Karmic):
status: Fix Committed → Fix Released
Revision history for this message
Martin Pitt (pitti) wrote :

Copied karmic-proposed to lucid.

Changed in qtiplot (Ubuntu):
status: Triaged → Fix Released
Changed in qtiplot (Ubuntu Karmic):
status: Fix Released → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtiplot - 0.9.7-1ubuntu1

---------------
qtiplot (0.9.7-1ubuntu1) karmic-proposed; urgency=low

  * debian/patches/qwt_api_fix.patch
    - Fixed FTBFS from api change in qwt AND Sip (LP: #471238)
  * debian/postinst
    - Removed python support since this FTBFS with Sip version in Karmic

 -- Scott Howard <email address hidden> Mon, 02 Nov 2009 19:50:14 -0500

Changed in qtiplot (Ubuntu Karmic):
status: Fix Committed → Fix Released
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

Remote bug watches

Bug watches keep track of this bug in other bug trackers.