Public bug reported:

Binary package hint: python2.5

Below the dashed line is a minimal program that core-dumps consistently
on my system. The PyGTK manual clarifies why the program is illegal, but
I don't know if the core dump is acceptable behavior (I did not initiate
this bug report, something like bug-buddy popped up, and I'm just
filling out questions).

------------------------------------------------------------------------------------------------------------------------------------------

import pygtk
pygtk.require('2.0')
import gtk


class opts(gtk.Window):
        def __init__(self):
                super(opts, self).__init__()
                
                self.show()
                


class opts_notebook(gtk.Notebook):
        def __init__(self):
                super(opts_notebook, self).__init__()
                
                for i in range(5):
                        self.append_page(opts())
                                        
                self.show()


o = opts_notebook()

o.connect("destroy", gtk.main_quit)

main_wnd = gtk.Window(gtk.WINDOW_TOPLEVEL)

main_wnd.set_title('Output');

main_wnd.add(o)


main_wnd.show_all()

gtk.main()

ProblemType: Crash
Architecture: i386
CrashCounter: 1
Date: Tue Apr 10 00:49:27 2007
Dependencies:
 tzdata 2007b-0ubuntu1
 zlib1g 1:1.2.3-13ubuntu4
 belocs-locales-bin 2.4-2ubuntu2
 locales 2.3.23
 libc6 2.5-0ubuntu14
DistroRelease: Ubuntu 7.04
ExecutablePath: /usr/bin/python2.5
Package: python2.5-minimal 2.5.1~rc1-0ubuntu2
PackageArchitecture: i386
ProcCmdline: python opts_dlg.py
ProcCwd: /home/atavory/.gnome2/gedit/plugins/html_tidy
ProcEnviron:
 SHELL=/bin/bash
 
PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11:/usr/games
 LANG=en_US.UTF-8
Signal: 11
SourcePackage: python2.5
Stacktrace:
 #0  0xb75c2f4c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
 #1  0x00000000 in ?? ()
StacktraceTop:
 ?? () from /usr/lib/libgtk-x11-2.0.so.0
 ?? ()
ThreadStacktrace:
 .
 Thread 1 (process 18823):
 #0  0xb75c2f4c in ?? () from /usr/lib/libgtk-x11-2.0.so.0
 #1  0x00000000 in ?? ()
Uname: Linux atavory 2.6.20-14-generic #2 SMP Mon Apr 2 20:37:49 UTC 2007 i686 
GNU/Linux
UserGroups: adm admin audio cdrom dialout dip floppy lpadmin plugdev scanner 
video

** Affects: python2.5 (Ubuntu)
     Importance: Undecided
         Status: Unconfirmed

-- 
buggy PyGTK code crashed the python 2.5 interpreter run via the terminal
https://bugs.launchpad.net/bugs/104980
You received this bug notification because you are a member of Ubuntu
Bugs, which is the bug contact for Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to