please sync qtiplot (universe) from Debian main (unstable) 0.9.8.8-3 (fix crasher and FTBFS)

Bug #925652 reported by Dmitry Tantsur
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qtiplot (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Please sync with Debian unstable. I fixed the bug reported here and uploaded to unstable.
Changelog:

qtiplot (0.9.8.8-3) unstable; urgency=low

  * Add missing include on GL/glu.h, -lGLU to fix FTBFS with qt>4.8
    and binutils-gold (LP: #925652)

 -- Scott Howard <email address hidden> Thu, 02 Feb 2012 19:04:03 -0500

Original report below:

This crash happens on selecting Python scripting language.

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: qtiplot 0.9.8.8-2
ProcVersionSignature: Ubuntu 3.2.0-12.21-generic 3.2.2
Uname: Linux 3.2.0-12-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
Date: Thu Feb 2 23:06:48 2012
ExecutablePath: /usr/bin/qtiplot
InstallationMedia: Xubuntu 10.10 "Maverick Meerkat" - Release amd64 (20101008.1)
ProcCmdline: qtiplot
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=ru_RU.UTF-8
Signal: 6
SourcePackage: qtiplot
StacktraceTop:
 __GI___assert_fail (assertion=0x7f76b7993378 "(((currentType)->td_flags & 0x0007) == 0x0003)", file=<optimized out>, line=10938, function=<optimized out>) at assert.c:81
 ?? () from /usr/lib/python2.7/dist-packages/sip.so
 type_new () from /usr/lib/libpython2.7.so.1.0
 type_call.25587 () from /usr/lib/libpython2.7.so.1.0
 PyObject_Call () from /usr/lib/libpython2.7.so.1.0
Title: qtiplot crashed with SIGABRT in __GI___assert_fail()
UpgradeStatus: Upgraded to precise on 2012-02-02 (0 days ago)
UserGroups: adm admin cdrom dialout dip fax floppy fuse lpadmin nopasswdlogin plugdev sambashare tape video

Revision history for this message
Dmitry Tantsur (divius) wrote :
visibility: private → public
Revision history for this message
Dmitry Tantsur (divius) wrote :

Looks like it needs rebuilting with current SIP

Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 __GI___assert_fail (assertion=0x7f76b7993378 "(((currentType)->td_flags & 0x0007) == 0x0003)", file=<optimized out>, line=10938, function=<optimized out>) at assert.c:81
 sipEnumType_alloc (self=<optimized out>, nitems=<optimized out>) at /build/buildd/sip4-4.13.1/siplib/siplib.c:10938
 type_new () from /tmp/tmpypgKS9/usr/lib/libpython2.7.so.1.0
 type_call.25587 () from /tmp/tmpypgKS9/usr/lib/libpython2.7.so.1.0
 PyObject_Call () from /tmp/tmpypgKS9/usr/lib/libpython2.7.so.1.0

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
Changed in qtiplot (Ubuntu):
importance: Undecided → Medium
tags: removed: need-amd64-retrace
Changed in qtiplot (Ubuntu):
status: New → Triaged
Revision history for this message
Scott Howard (showard314) wrote : Re: [precise] [python support] qtiplot crashed with SIGABRT in __GI___assert_fail()

thanks for testing - could you try the rebuild in this PPA:
https://launchpad.net/~showard314/+archive/qtiplot-ppa

to confirm that it works?
~Scott

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

ok, this seems bigger than just a rebuild:

g++ -c -m64 -pipe -g -O2 -fstack-protector --param=ssp-buffer-size=4 -Wformat -Wformat-security -Werror=format-security -D_FORTIFY_SOURCE=2 -fPIC -D_REENTRANT -Wall -W -DGL2PS_HAVE_LIBPNG -DQT_NO_DEBUG -DQT_OPENGL_LIB -DQT_GUI_LIB -DQT_CORE_LIB -DQT_SHARED -I/usr/share/qt4/mkspecs/linux-g++-64 -I. -I/usr/include/qt4/QtCore -I/usr/include/qt4/QtGui -I/usr/include/qt4/QtOpenGL -I/usr/include/qt4 -Iinclude -I../zlib/ -I../libpng/ -I/usr/X11R6/include -Ilib/tmp -o lib/tmp/qwt3d_extglwidget.o src/qwt3d_extglwidget.cpp
In file included from include/qwt3d_types.h:26:0,
                 from include/qwt3d_extglwidget.h:4,
                 from src/qwt3d_extglwidget.cpp:7:
include/qwt3d_openglhelper.h: In function 'const GLubyte* Qwt3D::gl_error()':
include/qwt3d_openglhelper.h:67:31: error: 'gluErrorString' was not declared in this scope
include/qwt3d_openglhelper.h: In function 'bool Qwt3D::ViewPort2World(double&, double&, double&, double, double, double)':
include/qwt3d_openglhelper.h:104:97: error: 'gluUnProject' was not declared in this scope
include/qwt3d_openglhelper.h: In function 'bool Qwt3D::World2ViewPort(double&, double&, double&, double, double, double)':
include/qwt3d_openglhelper.h:120:95: error: 'gluProject' was not declared in this scope

i'll have to look into it some more

Changed in qtiplot (Ubuntu):
status: Triaged → Confirmed
Revision history for this message
Scott Howard (showard314) wrote :

Ok, try the PPA linked above now. Attached is a debdiff. I'm thinking of just applying this to Debian and requesting a sync instead of getting a sponsor here...

Changed in qtiplot (Ubuntu):
status: Confirmed → Triaged
Revision history for this message
Ubuntu Foundations Team Bug Bot (crichton) wrote :

The attachment "qtiplot.debdiff" of this bug report has been identified as being a patch in the form of a debdiff. The ubuntu-sponsors team has been subscribed to the bug report so that they can review and hopefully sponsor the debdiff. In the event that this is in fact not a patch you can resolve this situation by removing the tag 'patch' from the bug report and editing the attachment so that it is not flagged as a patch. Additionally, if you are member of the ubuntu-sponsors team please also unsubscribe the team from this bug report.

[This is an automated message performed by a Launchpad user owned by Brian Murray. Please contact him regarding any issues with the action taken in this bug report.]

tags: added: patch
summary: - [precise] [python support] qtiplot crashed with SIGABRT in
- __GI___assert_fail()
+ please sync qtiplot (universe) from Debian main (unstable) 0.9.8.8-3
+ (fix crasher and FTBFS)
description: updated
Revision history for this message
Dmitry Tantsur (divius) wrote :

Version in ppa seems to work

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

This bug was fixed in the package qtiplot - 0.9.8.8-3

---------------
qtiplot (0.9.8.8-3) unstable; urgency=low

  * Add missing include on GL/glu.h, -lGLU to fix FTBFS with qt>4.8
    and binutils-gold (LP: #925652)

 -- Scott Howard <email address hidden> Thu, 02 Feb 2012 19:04:03 -0500

Changed in qtiplot (Ubuntu):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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