python2.7 crashed with SIGSEGV in gtk_box_pack()

Bug #920201 reported by Michael Rawson
10
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pygtk (Ubuntu)
New
Undecided
Unassigned

Bug Description

Precise pangolin ubuntu system, fully updated.

I was playing around with python and pygi, with this code:

from gi.repository import Gtk

class BottomBox(Gtk.Box):
 def __init__(self):
  self.Lowerlimit = Gtk.SpinButton()
  self.Upperlimit = Gtk.SpinButton()
  self.GoButton = Gtk.Button()
  self.pack_start(self.Lowerlimit, True, False, 0)
  self.pack_start(self.Upperlimit, True, False, 0)
  self.pack_start(self.GoButton, True, False, 0)

bottombox = BottomBox()
win = Gtk.Window()
win.connect("delete-event", Gtk.main_quit)
win.add(bottombox)
win.show_all()
Gtk.main()

I realise that it's probably my code that is bad, but I'm guessing python shouldn't segfault. If it is meant to, then please dismiss the bug. Thanks!

ProblemType: Crash
DistroRelease: Ubuntu 12.04
Package: python2.7-minimal 2.7.2-13ubuntu4
ProcVersionSignature: Ubuntu 3.2.0-10.17-generic 3.2.1
Uname: Linux 3.2.0-10-generic x86_64
ApportVersion: 1.91-0ubuntu1
Architecture: amd64
CrashCounter: 1
Date: Sun Jan 22 22:45:29 2012
ExecutablePath: /usr/bin/python2.7
InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120114)
ProcCmdline: python gtktest.py
ProcEnviron:
 SHELL=/bin/bash
 PATH=(custom, no user)
 LANG=en_GB.UTF-8
 LANGUAGE=en_GB:en
SegvAnalysis:
 Segfault happened at: 0x7fa34a2b6778 <gtk_box_pack+40>: mov 0x28(%rdi),%rdx
 PC (0x7fa34a2b6778) ok
 source "0x28(%rdi)" (0x00000028) not located in a known VMA region (needed readable region)!
 destination "%rdx" ok
SegvReason: reading NULL VMA
Signal: 11
SourcePackage: python2.7
StacktraceTop:
 gtk_box_pack (box=0x0, child=0x126b090, expand=1, fill=0, padding=0, pack_type=GTK_PACK_START) at /build/buildd/gtk+3.0-3.3.8/./gtk/gtkbox.c:974
 ffi_call_unix64 () from /usr/lib/x86_64-linux-gnu/libffi.so.6
 ffi_call () from /usr/lib/x86_64-linux-gnu/libffi.so.6
 ?? () from /usr/lib/libgirepository-1.0.so.1
 g_function_info_invoke () from /usr/lib/libgirepository-1.0.so.1
Title: python2.7 crashed with SIGSEGV in gtk_box_pack()
UpgradeStatus: No upgrade log present (probably fresh install)
UserGroups: adm cdrom dip lpadmin plugdev sambashare sudo

Revision history for this message
Michael Rawson (michael.rawson) wrote :
Revision history for this message
Apport retracing service (apport) wrote :

StacktraceTop:
 ?? ()
 ?? ()
 ?? ()

Revision history for this message
Apport retracing service (apport) wrote : Stacktrace.txt
Revision history for this message
Apport retracing service (apport) wrote : ThreadStacktrace.txt
tags: added: apport-failed-retrace
tags: removed: need-amd64-retrace
Matthias Klose (doko)
visibility: private → public
affects: python2.7 (Ubuntu) → pygtk (Ubuntu)
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.