[Bug 920201] Re: python2.7 crashed with SIGSEGV in gtk_box_pack()
Matthias Klose
doko at ubuntu.com
Wed Apr 4 13:13:55 UTC 2012
** Visibility changed to: Public
** Package changed: python2.7 (Ubuntu) => pygtk (Ubuntu)
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/920201
Title:
python2.7 crashed with SIGSEGV in gtk_box_pack()
Status in “pygtk” package in Ubuntu:
New
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
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygtk/+bug/920201/+subscriptions
More information about the foundations-bugs
mailing list