Some Python apps crash when invoked

Bug #1003568 reported by AO
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
python-defaults (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

2 of my usual Python written apps, Picard and Flacon crash when started on a newly installed updated 12.10 (daily-live 2012-05-23).
The whole system freezes every time.

ProblemType: Bug
DistroRelease: Ubuntu 12.10
Package: python 2.7.3-0ubuntu5
ProcVersionSignature: Ubuntu 3.4.0-3.7-generic 3.4.0
Uname: Linux 3.4.0-3-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.1-0ubuntu1
Architecture: amd64
Date: Wed May 23 13:26:23 2012
ProcEnviron:
 LANGUAGE=fr_CA:fr
 PATH=(custom, no user)
 LANG=fr_CA.UTF-8
 SHELL=/bin/bash
SourcePackage: python-defaults
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
AO (aofrl10n) wrote :
AO (aofrl10n)
summary: - Some Python crash when invoked
+ Some Python apps crash when invoked
Revision history for this message
Julian Taylor (jtaylor) wrote :

python applications usually give a traceback when they crash,
please start the programs from the terminal and paste the output.

Changed in python-defaults (Ubuntu):
status: New → Incomplete
Revision history for this message
AO (aofrl10n) wrote :

This the output that Picard gives indefinitely until killed:

(python:2489): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
QWidget::setMinimumSize: (/MainWindow) The largest allowed size is (16777215,16777215)

And for Flacon:

(python:2716): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
QWidget::setMinimumSize: (mainWindow/Flacon) The largest allowed size is (16777215,16777215)

Revision history for this message
AO (aofrl10n) wrote :

FFYI a friend as the exact same problem on his install of 12.10.

Revision history for this message
AO (aofrl10n) wrote :

Some more output, both Flacon and Picard return the same:

(python:10325): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed

(python:10325): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
QNativeImage: Unable to attach to shared memory segment.
QWidget::setMinimumSize: (mainWindow/Flacon) The largest allowed size is (16777215,16777215)
X Error: BadDrawable (invalid Pixmap or Window parameter) 9
  Major opcode: 62 (X_CopyArea)
  Resource id: 0x0

Revision history for this message
AO (aofrl10n) wrote :

Flacon is not using GTK, is pure Qt application, stange!

Revision history for this message
Susan Cragin (susancragin) wrote :

(python:2489): Gtk-CRITICAL **: IA__gtk_widget_style_get: assertion `GTK_IS_WIDGET (widget)' failed
Same error message for the Leo editor entered from the terminal command line with the following command.
python launchLeo.py
FYI
I tried it with and without the gtk involker, and got the same message. The command to involk gtk is as follows.
python launchLeo.py --gui=tk

Michael Terry (mterry)
Changed in python-defaults (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
AO (aofrl10n) wrote :

This seems related to bug 1005677 which itself is a re-emergence of the old bug 805303.
Starting Flacon and Picard with LIBOVERLAY_SCROLLBAR=0 indeed seem to fix the issue.

Revision history for this message
AO (aofrl10n) wrote :

Finally, adding LIBOVERLAY_SCROLLBAR=0 to launcher does not fix the issue.

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.