python2.7 crashed with SIGSEGV in gtk_box_pack()
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.
self.
self.
bottombox = BottomBox()
win = Gtk.Window()
win.connect(
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
ProcVersionSign
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=
ffi_call_unix64 () from /usr/lib/
ffi_call () from /usr/lib/
?? () from /usr/lib/
g_function_
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
visibility: | private → public |
affects: | python2.7 (Ubuntu) → pygtk (Ubuntu) |
StacktraceTop:
?? ()
?? ()
?? ()