<br><br><div><span class="gmail_quote">On 10/01/07, <b class="gmail_sendername">Simon McVittie</b> &lt;<a href="mailto:simon.mcvittie@collabora.co.uk">simon.mcvittie@collabora.co.uk</a>&gt; 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>&gt; I&#39;m running with python 2.4.3, dbus-1.0.1, and dbus-python-0.71 from the<br>&gt; Gentoo repositories.<br><br>Any special/experimental CFLAGS? (Sorry, I have to ask, it&#39;s Gentoo :-)
</blockquote><div><br>No, it&#39;s just -O2 -march=athlon-xp -pipe.&nbsp; 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;">
&gt; (gdb) bt<br>&gt; #0&nbsp;&nbsp;0xb7ceda93 in strlen () from /lib/libc.so.6<br>&gt; #1&nbsp;&nbsp;0xb7e32365 in PyString_FromString () from /usr/lib/libpython2.4.so.1.0<br>&gt; #2&nbsp;&nbsp;0xb7b90b3e in ?? ()<br>&gt;&nbsp;&nbsp; from /usr/lib/python2.4/site-packages/dbus/dbus_bindings.so
<br>&gt; #3&nbsp;&nbsp;0x00000000 in ?? ()<br>&gt;<br>&gt; I&#39;ll be digging into this for a bit, but just in case, is Introspection on<br>&gt; python-based dbus servers known to fail?<br><br>No, it&#39;s meant to work, and 0.71 seems OK on Python 
2.4 (doesn&#39;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? &quot;bt full&quot; 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&#39;m currently re-compiling python with -g as well, so once that finishes I&#39;ll try to give a better stack trace.&nbsp; Although, it looks like python does have its debugging symbols, since frame 1 knows it&#39;s in PyString_FromString.&nbsp; Maybe address two is corrupted as well?&nbsp; Anyhow, I&#39;ll give another backtrace once python is done recompiling.&nbsp;
</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&#39;m hoping to release a new version of dbus-python soon, in which the C<br>part (dbus_bindings) has been rewritten, so you&#39;re unlikely to encounter
<br>the same bug in the new version (although *other* bugs remain possible).<br>If you&#39;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&#39;ll give the pre-release code a shot.&nbsp; I&#39;m all about instability :) <br></div><br></div>