Could you please start with the tests and instructions provided earlier?
Yea, working on it.
You can run your python program in gdb easily, provided you have gdb,
which is a near necessity for development anyhow.
Just run gdb --arg python foo.py, launch it and at some point set the
breakpoint and get a stacktrace. It’s just about launching python inside
gdb.
Ok, here’s the output from gdb (it is all of the stackframes):
(gdb) backtrace
#0 0x007c77a2 in _dl_sysinfo_int80 () from /lib/ld-linux.so.2
#1 0x0080b955 in raise () from /lib/tls/libc.so.6
#2 0x0080d319 in abort () from /lib/tls/libc.so.6
#3 0x00b8cebe in g_logv () from /usr/lib/libglib-2.0.so.0
#4 0x00b8cef0 in g_log () from /usr/lib/libglib-2.0.so.0
#5 0x04e80dc1 in gtk_container_propagate_expose ()
from /usr/lib/libgtk-x11-2.0.so.0
#6 0x04e80f5d in gtk_container_propagate_expose ()
from /usr/lib/libgtk-x11-2.0.so.0
#7 0x04ec7c3d in gtk_frame_new () from /usr/lib/libgtk-x11-2.0.so.0
#8 0x04e7ef26 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#9 0x04e80bf7 in gtk_container_get_focus_hadjustment ()
from /usr/lib/libgtk-x11-2.0.so.0
#10 0x04ec883a in gtk_frame_get_shadow_type ()
from /usr/lib/libgtk-x11-2.0.so.0
#11 0x04efde67 in gtk_marshal_VOID__UINT_STRING ()
from /usr/lib/libgtk-x11-2.0.so.0
#12 0x003d36b2 in g_cclosure_new_swap () from /usr/lib/libgobject-2.0.so.0
#13 0x003d3347 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#14 0x003e9576 in g_signal_has_handler_pending ()
from /usr/lib/libgobject-2.0.so.0
#15 0x003ea613 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#16 0x003eac5a in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
—Type to continue, or q to quit—
#17 0x04ff1a75 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#18 0x04e80f2e in gtk_container_propagate_expose ()
from /usr/lib/libgtk-x11-2.0.so.0
#19 0x04e80f5d in gtk_container_propagate_expose ()
from /usr/lib/libgtk-x11-2.0.so.0
#20 0x00e3b917 in gtk_pizza_forall ()
from /usr/lib/wxPython-2.6.3.2-gtk2-unicode/lib/libwx_gtk2ud-2.6.so.0
#21 0x04e7ef26 in gtk_container_forall () from /usr/lib/libgtk-x11-2.0.so.0
#22 0x04e80bf7 in gtk_container_get_focus_hadjustment ()
from /usr/lib/libgtk-x11-2.0.so.0
#23 0x00e435ed in gtk_window_expose_callback ()
from /usr/lib/wxPython-2.6.3.2-gtk2-unicode/lib/libwx_gtk2ud-2.6.so.0
#24 0x04efde67 in gtk_marshal_VOID__UINT_STRING ()
from /usr/lib/libgtk-x11-2.0.so.0
#25 0x003d3347 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
#26 0x003e894e in g_signal_has_handler_pending ()
from /usr/lib/libgobject-2.0.so.0
#27 0x003ea613 in g_signal_emit_valist () from /usr/lib/libgobject-2.0.so.0
#28 0x003eac5a in g_signal_emit () from /usr/lib/libgobject-2.0.so.0
#29 0x04ff1a75 in gtk_widget_activate () from /usr/lib/libgtk-x11-2.0.so.0
#30 0x04efc741 in gtk_main_do_event () from /usr/lib/libgtk-x11-2.0.so.0
#31 0x0038978f in gdk_window_clear_area_e () from /usr/lib/libgdk-x11-2.0.so.0
#32 0x00389828 in gdk_window_process_all_updates ()
—Type to continue, or q to quit—
from /usr/lib/libgdk-x11-2.0.so.0
#33 0x04e7ea6c in gtk_container_check_resize ()
from /usr/lib/libgtk-x11-2.0.so.0
#34 0x00b87a98 in g_child_watch_add () from /usr/lib/libglib-2.0.so.0
#35 0x00b8474b in g_main_context_dispatch () from /usr/lib/libglib-2.0.so.0
#36 0x00b861d2 in g_main_context_acquire () from /usr/lib/libglib-2.0.so.0
#37 0x00b8647f in g_main_loop_run () from /usr/lib/libglib-2.0.so.0
#38 0x04efb78e in gtk_main () from /usr/lib/libgtk-x11-2.0.so.0
#39 0x00e2d59c in wxEventLoop::Run ()
from /usr/lib/wxPython-2.6.3.2-gtk2-unicode/lib/libwx_gtk2ud-2.6.so.0
#40 0x00eb44fe in wxAppBase::MainLoop ()
from /usr/lib/wxPython-2.6.3.2-gtk2-unicode/lib/libwx_gtk2ud-2.6.so.0
#41 0x0012e55f in wxPyApp::MainLoop ()
from /usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/core.so
#42 0x0018400c in wxPySizer::wxCreateObject ()
from /usr/lib/python2.3/site-packages/wx-2.6-gtk2-unicode/wx/core.so
#43 0x00a6c895 in PyCFunction_Call () from /usr/lib/libpython2.3.so.1.0
#44 0x00a49607 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#45 0x00a9e998 in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.1.0
#46 0x00aa109e in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0
#47 0x00a5ce2e in PyFunction_SetClosure () from /usr/lib/libpython2.3.so.1.0
#48 0x00a49607 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#49 0x00a50d98 in PyMethod_New () from /usr/lib/libpython2.3.so.1.0
—Type to continue, or q to quit—
#50 0x00a49607 in PyObject_Call () from /usr/lib/libpython2.3.so.1.0
#51 0x00a9eb7f in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.1.0
#52 0x00aa097b in _PyEval_SliceIndex () from /usr/lib/libpython2.3.so.1.0
#53 0x00aa109e in PyEval_EvalCodeEx () from /usr/lib/libpython2.3.so.1.0
#54 0x00aa1362 in PyEval_EvalCode () from /usr/lib/libpython2.3.so.1.0
#55 0x00aba817 in PyErr_Display () from /usr/lib/libpython2.3.so.1.0
#56 0x00abb942 in PyRun_SimpleFileExFlags () from /usr/lib/libpython2.3.so.1.0
#57 0x00abc994 in PyRun_AnyFileExFlags () from /usr/lib/libpython2.3.so.1.0
#58 0x00ac168e in Py_Main () from /usr/lib/libpython2.3.so.1.0
#59 0x080485b2 in main ()
As for the theme engine switch, you can always switch it on your
development computer where the problem also occurs. No-one is forcing
you to do that while in production use - we want to simply know if this
sheds some light into the matter.
My problem is… my development computer is Win2K, and I am not
entirely certain how to get wxWidgets to pay attention to the GTK+ I
have installed on that system. I can send the files home to look
at there, but the problem with that is… I won’t be able to check that
out until I get home, which will be quite a bit later.
I work with wxGTK often and have never been able to reproduce what you
are seeing, so checking out things on your machine by you is good. Also,
if you can do a little sample that shows the problem at least on your
system(s), we can look at that if the above doesn’t give any ideas.
I’ve been checking… Right now, I am trying to get a secondary linux
system up and running, which I can then use to test the system out on,
and attempt to duplicate the problem. The linux computer will be
a “vanilla” install of Fedora Core 3, which is closest to what the
production server is (Red Hat Enterprise Linux 4).
Regards,
Mart Raudsepp
I do appreciate your help, and when I can get the rest of your requests completed, I will provide the information here.
···
On 7/10/06, Mart Raudsepp leio@dustbite.net wrote:
–
“I’m not responcabel fer my computer’s spleling errnors” - Xlorep DarkHelm
Website: http://darkhelm.org