[apport] python crashed with SIGSEGV in g_cclosure_marshal_VOID__VOID()

Bug #88794 reported by Alberto Milone
4
Affects Status Importance Assigned to Milestone
apport (Ubuntu)
Fix Released
Undecided
Martin Pitt
spe (Ubuntu)
Fix Released
Undecided
Stani
wxwidgets2.6 (Ubuntu)
Invalid
Medium
Stani

Bug Description

I was using the menu of SPE and SPE crashed.

ProblemType: Crash
Architecture: all
Date: Wed Feb 28 23:41:10 2007
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/python
InterpreterPath: /usr/bin/python2.5
Package: python-minimal 2.5-0ubuntu6
ProcCmdline: python /usr/bin/spe
ProcCwd: /home/alberto/Desktop/raccnew/ubuntu/February/envy-0.9.0
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
Signal: 11
SourcePackage: python-defaults
StacktraceTop:
 ?? () from /usr/lib/libwx_gtk2u_core-2.6.so.0
 g_cclosure_marshal_VOID__VOID ()
 g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
 ?? () from /usr/lib/libgobject-2.0.so.0
 ?? ()
Uname: Linux alberto-desktop 2.6.20-9-generic #2 SMP Mon Feb 26 03:01:44 UTC 2007 i686 GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin netdev plugdev powerdev scanner video

Revision history for this message
Alberto Milone (albertomilone) wrote :
Revision history for this message
Matthias Klose (doko) wrote :

Martin: this report was assigned to python-defaults, should have gone to spe first.

Martin Pitt (pitti)
Changed in apport:
assignee: nobody → pitti
status: Unconfirmed → In Progress
Revision history for this message
Martin Pitt (pitti) wrote :

Matthias: This is due to explicitly calling python with the spe script name as argument, instead of directly executing the spe Python script. Assigning the former to spe instead of python clashes with other use cases of crash interception of interactive Python processes, but I'll try to find a good compromise.

Martin Pitt (pitti)
Changed in apport:
status: In Progress → Fix Committed
Revision history for this message
Martin Pitt (pitti) wrote :

 apport (0.64) feisty; urgency=low
 .
   * bin/apport-chroot: Add 'login' command.
   * bin/apport-chroot: Install apport-retrace into a newly created chroot.
   * Add debian/local/setup-apport-retracer: Script to install local versions
     of apport, debootstrap, fake{,ch}root libraries, and a feisty apport
     fakechroot. This works OOTB on ronne's amd64 and i386 feisty chroots. The
     script is not shipped in any package yet, but it's convenient to ship it
     in revision control and in the source.
   * apport/report.py, _check_interpreted(): When calling an interpreter with a
     script name as argument, set ExecutablePath to the script instead of the
     interpreter. Add test case. (LP: #88794)
   * apport/report.py, search_bug_patterns(): Catch all exceptions from
     urlopen(), not just IOError. Sometimes this fails with funnier errors.
     (LP: #89589)
   * bin/apport-retrace: Give some additional explanation when installing
     packages fails. (LP: #89916)
   * apport/fileutils.py, get_all_{system_,}reports(): Fix file access race
     condition. (LP: #89977)
   * bin/apport-retrace: Add option -p/--extra-package to install an additional
     package for retracing. May be specified multiple times. Document new
     option in man/apport-retrace.1. (LP: #90077)
   * bin/apport-chroot: Add a similar option -p/--extra-package and install
     those in the 'create' command and simply pass it to apport-retrace in the
     'retrace' command. (LP: #90077)
   * bin/apport-chroot: Add a -v/--verbose option.
   * bin/apport-retrace: Do not complain about missing ddebs for Arch: all
     packages.

Changed in apport:
status: Fix Committed → Fix Released
Revision history for this message
Matthias Klose (doko) wrote :

please recheck with 2.8

Changed in wxwidgets2.6:
importance: Undecided → Medium
status: Unconfirmed → Needs Info
Revision history for this message
Alberto Milone (albertomilone) wrote :

Matthias Klose:
if your reply is addressed to me I can tell you that I can't use SPE with libwxgtk2.8-0. I have even modified the dependencies of kiki, spe and python-wxglade so as to rebuild spe but SPE crashes at launch with 2.8.

Revision history for this message
Alberto Milone (albertomilone) wrote :

I have updated my system today and I can't reproduce the error in SPE any longer.

Should you need further details, please let me know.

Revision history for this message
Alberto Milone (albertomilone) wrote :

I managed to reproduce this error. Here is what I did:
1) I opened 5 (.py) files (so as to get 5 tabs)
2) closed SPE
3) moved the folder containing the files
4) opened SPE again. SPE showed 5 tabs (displaying the names of the files correctly) but (obviously) if I selected a tab the content of the file was blank.
5) I closed all the tabs and then I clicked on the "File" menu and I got the following error (repeated over and over):

Traceback:
File "/usr/lib/python2.5/site-packages/_spe/Menu.py",line 188, in skip
child.statusBar.throbber.Play()
AttributeError:'NoneType' object has no attribute 'statusbar'

I can find the whole bugreport as an attach

Changed in wxwidgets2.6:
status: Incomplete → New
Revision history for this message
Stani (stani) wrote :

Hi, I'm the author of SPE. This is fixed in Ubuntu Hardy package of SPE.

Changed in spe:
assignee: nobody → stani
status: New → Fix Released
Revision history for this message
Stani (stani) wrote :

This was a bug in SPE and for sure not a bug in wxwidgets, so I close it as invalid.

Changed in wxwidgets2.6:
assignee: nobody → stani
status: New → Invalid
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.