<br><br><div><span class="gmail_quote">On 10/01/07, <b class="gmail_sendername">Simon McVittie</b> <<a href="mailto:simon.mcvittie@collabora.co.uk">simon.mcvittie@collabora.co.uk</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
On Tue, 09 Jan 2007 at 13:26:48 -0600, tsuraan wrote:<br>> I'm running with python 2.4.3, dbus-1.0.1, and dbus-python-0.71 from the<br>> Gentoo repositories.<br><br>Any special/experimental CFLAGS? (Sorry, I have to ask, it's Gentoo :-)
</blockquote><div><br>No, it's just -O2 -march=athlon-xp -pipe. Nothing too interesting :)</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
> (gdb) bt<br>> #0 0xb7ceda93 in strlen () from /lib/libc.so.6<br>> #1 0xb7e32365 in PyString_FromString () from /usr/lib/libpython2.4.so.1.0<br>> #2 0xb7b90b3e in ?? ()<br>> from /usr/lib/python2.4/site-packages/dbus/dbus_bindings.so
<br>> #3 0x00000000 in ?? ()<br>><br>> I'll be digging into this for a bit, but just in case, is Introspection on<br>> python-based dbus servers known to fail?<br><br>No, it's meant to work, and 0.71 seems OK on Python
2.4 (doesn't compile<br>on 2.5, though). Can you get a backtrace with debug symbols, at least<br>for dbus_bindings (which is part of dbus-python) and preferably for Python<br>too? "bt full" with debug symbols available would be ideal. You seem to
<br>have some stack smashing there that wiped out frame 3, though, so the<br>backtrace might not be entirely trustworthy...</blockquote><div><br>dbus_bindings was compiled with debugging symbols; I'm currently re-compiling python with -g as well, so once that finishes I'll try to give a better stack trace. Although, it looks like python does have its debugging symbols, since frame 1 knows it's in PyString_FromString. Maybe address two is corrupted as well? Anyhow, I'll give another backtrace once python is done recompiling.
</div><br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I'm hoping to release a new version of dbus-python soon, in which the C<br>part (dbus_bindings) has been rewritten, so you're unlikely to encounter
<br>the same bug in the new version (although *other* bugs remain possible).<br>If you're happy with running pre-release code, there are some<br>release candidate versions available (see list archives) if you want to<br>
try it out.</blockquote><div><br>I'll give the pre-release code a shot. I'm all about instability :) <br></div><br></div>