ubuntu-bug command causes apport crash for not existing packages

Bug #1090784 reported by Rafael Belmonte
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Expired
Undecided
Unassigned

Bug Description

ubuntu-bug command makes apport-kde to crash if it is invoked with a package name which does not exist as argument.
Steps to reproduce:
1) Open a terminal.
2) Run this command: ubuntu-bug blablabla
3) You will see a dialog with the information about "blablabla" package does not exist.
4) After closing the dialog, apport crashes, and KDE Crash Handler intercepst it.

Backtrace:

Application: Apport KDE (python3.2mu), signal: Segmentation fault
Using host libthread_db library "/lib/i386-linux-gnu/libthread_db.so.1".
[KCrash Handler]
#7 QWidget::~QWidget (this=0x939e190, __in_chrg=<optimized out>) at kernel/qwidget.cpp:1630
#8 0xb5959579 in QDialog::~QDialog (this=0x939e190, __in_chrg=<optimized out>) at dialogs/qdialog.cpp:318
#9 0xb6289f2d in ?? () from /usr/lib/python3/dist-packages/PyQt4/QtGui.cpython-32mu.so
#10 0xb6289f82 in ?? () from /usr/lib/python3/dist-packages/PyQt4/QtGui.cpython-32mu.so
#11 0xb627b79c in ?? () from /usr/lib/python3/dist-packages/PyQt4/QtGui.cpython-32mu.so
#12 0xb627b7ee in ?? () from /usr/lib/python3/dist-packages/PyQt4/QtGui.cpython-32mu.so
#13 0xb64ca0ce in ?? () from /usr/lib/python3/dist-packages/sip.cpython-32mu.so
#14 0xb64cbb91 in ?? () from /usr/lib/python3/dist-packages/sip.cpython-32mu.so
#15 0x080bb741 in subtype_dealloc.6372 (self=<ProgressDialog(buttons=<QDialogButtonBox at remote 0x944e464>, text=<QLabel at remote 0x944e344>, progress=<QProgressBar at remote 0x944e3d4>, vboxlayout=<QVBoxLayout at remote 0x944e02c>, heading=<QLabel at remote 0x944e14c>) at remote 0x90fb734>) at ../Objects/typeobject.c:977
#16 0x081153a6 in dict_dealloc.65667 (mp=0x91271c4) at ../Objects/dictobject.c:1048
#17 0x080bb772 in subtype_dealloc.6372 (self=<MainUserInterface(report_file=None, gettext_domain='apport', args=[], crashdb=<CrashDatabase at remote 0x90f65ac>, cur_package='blablabla', dialog=None, report=<Report at remote 0x910198c>, progress=<ProgressDialog(buttons=<QDialogButtonBox at remote 0x944e464>, text=<QLabel at remote 0x944e344>, progress=<QProgressBar at remote 0x944e3d4>, vboxlayout=<QVBoxLayout at remote 0x944e02c>, heading=<QLabel at remote 0x944e14c>) at remote 0x90fb734>, options=<Values(save=None, package='blablabla', pid=None, update_report=None, window=False, version=None, hanging=False, tag=[], filebug=True, crash_file=None, symptom=None) at remote 0x910190c>) at remote 0x90d884c>) at ../Objects/typeobject.c:962
#18 0x08109ee9 in insertdict_by_entry.65695 (mp=mp@entry=0xb71d92d4, key=key@entry='UserInterface', hash=<optimized out>, ep=0x8ee5ab4, value=value@entry=None) at ../Objects/dictobject.c:527
#19 0x08106da6 in insertdict (value=None, hash=<optimized out>, key='UserInterface', mp=0xb71d92d4) at ../Objects/dictobject.c:564
#20 dict_set_item_by_hash_or_entry (value=None, ep=0x0, hash=<optimized out>, key='UserInterface', op={'qUncompress': None, 'Q_ENUMS': None, 'QVBoxLayout': None, 'text': None, 'QState': None, 'QProcessEnvironment': None, 'qRound64': None, 'QDir': None, 'qRound': None, 'noforcesign': None, 'QVariantAnimation': None, 'QSignalMapper': None, 'QRadioButton': None, 'ReportDialog': None, 'QPyNullVariant': None, 'copyright': None, 'qChecksum': None, 'description': None, 'QPoint': None, 'KCmdLineArgs': None, 'QDialog': None, 'qRegisterResourceData': None, 'QAbstractEventDispatcher': None, 'QLineEdit': None, 'apport': None, 'QBitArray': None, 'QXmlStreamEntityDeclaration': None, 'app': None, 'QModelIndex': None, 'QLocale': None, 'pyqtSignature': None, 'QFinalState': None, 'KApplication': None, 'QFile': None, 'qAbs': None, 'MainUserInterface': None, 'QMutexLocker': None, 'QSettings': None, '__cached__': None, 'uppercasebase': None, 'QtSystemMsg': None, 'QAbstractAnimation': None, 'QThread': None, 'oct_': None, 'qsrand': None, 'pyqtWrapperType': None, 'QTimeLine': None, 'KNotification': None, 'QAbstractTransition': None,...(truncated)) at ../Objects/dictobject.c:803
#21 PyDict_SetItem (op=op@entry={'qUncompress': None, 'Q_ENUMS': None, 'QVBoxLayout': None, 'text': None, 'QState': None, 'QProcessEnvironment': None, 'qRound64': None, 'QDir': None, 'qRound': None, 'noforcesign': None, 'QVariantAnimation': None, 'QSignalMapper': None, 'QRadioButton': None, 'ReportDialog': None, 'QPyNullVariant': None, 'copyright': None, 'qChecksum': None, 'description': None, 'QPoint': None, 'KCmdLineArgs': None, 'QDialog': None, 'qRegisterResourceData': None, 'QAbstractEventDispatcher': None, 'QLineEdit': None, 'apport': None, 'QBitArray': None, 'QXmlStreamEntityDeclaration': None, 'app': None, 'QModelIndex': None, 'QLocale': None, 'pyqtSignature': None, 'QFinalState': None, 'KApplication': None, 'QFile': None, 'qAbs': None, 'MainUserInterface': None, 'QMutexLocker': None, 'QSettings': None, '__cached__': None, 'uppercasebase': None, 'QtSystemMsg': None, 'QAbstractAnimation': None, 'QThread': None, 'oct_': None, 'qsrand': None, 'pyqtWrapperType': None, 'QTimeLine': None, 'KNotification': None, 'QAbstractTransition': None,...(truncated), key=key@entry='UserInterface', value=None) at ../Objects/dictobject.c:856
#22 0x0810cc0c in _PyModule_Clear (m=<module at remote 0xb71d7cec>) at ../Objects/moduleobject.c:303
#23 0x0813ffa2 in PyImport_Cleanup () at ../Python/import.c:472
#24 0x0806903c in Py_Finalize () at ../Python/pythonrun.c:461
#25 0x0809e85f in Py_Main (argc=argc@entry=3, argv=argv@entry=0x89d9008) at ../Modules/main.c:752
#26 0x080a825c in main (argc=3, argv=0xbfd43ce4) at ../Modules/python.c:65

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: apport-kde 2.6.1-0ubuntu9
ProcVersionSignature: Ubuntu 3.5.0-19.30-generic 3.5.7
Uname: Linux 3.5.0-19-generic i686
ApportVersion: 2.6.1-0ubuntu9
Architecture: i386
CrashReports:
 640:1000:1000:5162577:2012-12-14 21:15:03.590966123 +0100:2012-12-14 21:14:46.594881849 +0100:/var/crash/_usr_bin_quassel.1000.crash
 640:1000:1000:897521:2012-12-14 21:24:03.229642046 +0100:2012-12-14 21:23:59.477623442 +0100:/var/crash/_usr_bin_nepomukservicestub.1000.crash
 640:0:0:1010408:2012-12-14 18:25:49.503368497 +0100:2012-12-14 18:25:44.451343445 +0100:/var/crash/_usr_bin_qaptworker.0.crash
Date: Sat Dec 15 20:09:35 2012
InstallationDate: Installed on 2012-12-14 (1 days ago)
InstallationMedia: Kubuntu 12.10 "Quantal Quetzal" - Release i386 (20121017.1)
MarkForUpload: True
PackageArchitecture: all
SourcePackage: apport
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rafael Belmonte (eaglescreen) wrote :
Revision history for this message
Rafael Belmonte (eaglescreen) wrote :

I already know that backtrace is not very usefull.
The packages containing debug information for the following application and libraries are missing:

/usr/bin/python3.2mu
/usr/lib/python3/dist-packages/PyQt4/QtGui.cpython-32mu.so
/usr/lib/python3/dist-packages/sip.cpython-32mu.so

Do you know what can I do to get a better backtrace?

tags: added: apport-kde kubuntu
description: updated
Revision history for this message
Marcus Tomlinson (marcustomlinson) wrote :

This release of Ubuntu is no longer receiving maintenance updates. If this is still an issue on a maintained version of Ubuntu please let us know.

Changed in apport (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for apport (Ubuntu) because there has been no activity for 60 days.]

Changed in apport (Ubuntu):
status: Incomplete → Expired
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.