[Bug 638513] Re: PyGtk App Core dumps

2010-09-24 Thread Tomeu Vizoso
What would mean that ValueError in connect? The correct fix I guess is stop using the GObject API for discovering which signals a GObject subclass has and instead rely on the introspection API. Then we could mark as introspectable=0 all such signals and you would get a 'Signal not known' error on

[Bug 638513] Re: PyGtk App Core dumps

2010-09-23 Thread Barry Warsaw
pygtk still shouldn't core dump the interpreter ;) but i guess this is a bug for upstream to fix. It should probably raise a ValueError on the .connect() call. -- PyGtk App Core dumps https://bugs.launchpad.net/bugs/638513 You received this bug notification because you are a member of Ubuntu Bug

[Bug 638513] Re: PyGtk App Core dumps

2010-09-23 Thread Rick Spencer
for future reference, 'value-changed' is the correct signal to use -- PyGtk App Core dumps https://bugs.launchpad.net/bugs/638513 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com h

[Bug 638513] Re: PyGtk App Core dumps

2010-09-23 Thread Rick Spencer
ok, so you're not supposed to use "input" from Python ... according to the documentation: The "input" signal is emitted when the value changes. The value_ptr is a GPointer to the value that cannot be accessed from PyGTK. This signal cannot be handled in PyGTK. d'oh ** Changed in: glib2.0 (Ubun

[Bug 638513] Re: PyGtk App Core dumps

2010-09-23 Thread Barry Warsaw
(gdb) bt #0 0x760d1953 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0 #1 0x760d2353 in g_signal_emit () from /usr/lib/libgobject-2.0.so.0 #2 0x7492380c in gtk_spin_button_update () from /usr/lib/libgtk-x11-2.0.so.0 #3 0x74926008 in ?? () from /usr

[Bug 638513] Re: PyGtk App Core dumps

2010-09-23 Thread Barry Warsaw
** Changed in: glib2.0 (Ubuntu) Status: New => Confirmed ** Changed in: glib2.0 (Ubuntu) Importance: Undecided => Medium -- PyGtk App Core dumps https://bugs.launchpad.net/bugs/638513 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubu

[Bug 638513] Re: PyGtk App Core dumps

2010-09-23 Thread Krzysztof Klimonda
The crash is result of callback not returning expected value (or, as in our examples not returning nothing at all). Python should still handle it more gracefully. -- PyGtk App Core dumps https://bugs.launchpad.net/bugs/638513 You received this bug notification because you are a member of Ubuntu B

[Bug 638513] Re: PyGtk App Core dumps

2010-09-23 Thread Krzysztof Klimonda
A smaller python script that reproduces this crash ** Attachment added: "spin.py" https://bugs.edge.launchpad.net/ubuntu/+source/glib2.0/+bug/638513/+attachment/1629399/+files/spin.py -- PyGtk App Core dumps https://bugs.launchpad.net/bugs/638513 You received this bug notification because yo

[Bug 638513] Re: PyGtk App Core dumps

2010-09-23 Thread Robbie Williamson
** Changed in: glib2.0 (Ubuntu) Assignee: (unassigned) => Barry Warsaw (barry) -- PyGtk App Core dumps https://bugs.launchpad.net/bugs/638513 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@l

[Bug 638513] Re: PyGtk App Core dumps

2010-09-14 Thread Rick Spencer
** Description changed: - Step: + Steps: 1. expand the attached crash_repro directory that has the repro code - 2. run the "grid_filter.py" file - (note that if you have quickly-widgets installed, you need to make sure that you point your python path to the + 2. run the "grid_filter.py" file

[Bug 638513] Re: PyGtk App Core dumps

2010-09-14 Thread Rick Spencer
** Attachment added: "core dump file" https://bugs.edge.launchpad.net/ubuntu/+source/glib2.0/+bug/638513/+attachment/1585828/+files/core -- PyGtk App Core dumps https://bugs.launchpad.net/bugs/638513 You received this bug notification because you are a member of Ubuntu Bugs, which is subscri

[Bug 638513] Re: PyGtk App Core dumps

2010-09-14 Thread Rick Spencer
** Attachment added: "crash_repro.tar.gz" https://bugs.edge.launchpad.net/bugs/638513/+attachment/1585821/+files/crash_repro.tar.gz ** Attachment added: "Dependencies.txt" https://bugs.edge.launchpad.net/bugs/638513/+attachment/1585822/+files/Dependencies.txt -- PyGtk App Core dumps htt