[Mono-list] Mono bug?
Matthias Kestenholz
lists at irregular.ch
Sun Sep 4 13:10:30 EDT 2005
Hi,
I have set up a demo WordPress installation on
http://blogtest.irregular.ch and modified the source so that you may
test the code without having a working wp-installation yourself.
Probably it will not be long before I have to take down the site, but it
might help right now.
http://test.irregular.ch/rpctest.tar.gz
http://test.irregular.ch/rpctest.zip
On Sun, 2005-09-04 at 15:01 +0100, Paul F. Johnson wrote:
> Is there a way to test if proxy has been created?
>
Yes; the proxy has been created and works. I get the expected result if
I use the getPost method.
Post singlepost = proxy.getPost("7", "admin", "****");
Console.WriteLine( "{0}", singlepost.title );
The problem does not only happen with the MetaWeblog API but also with
all other API's;
The only thing that does not work at all is the getRecentPosts call,
presumably because it returns an array of structs and not a single
struct.
>
> Roughly, how many threads are being created? I know there is a thread
> problem currently.
>
(gdb) info threads
7 Thread -1225249872 (LWP 24070) 0xb7ee1dc2 in
pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
6 Thread -1224201296 (LWP 24069) 0xb7ee1dc2 in
pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
5 Thread -1223152720 (LWP 24068) 0xb7e45159 in epoll_wait ()
from /lib/tls/libc.so.6
4 Thread -1221727312 (LWP 24067) 0xb7ee1dc2 in
pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
3 Thread -1218303056 (LWP 24066) 0xb7ee1dc2 in
pthread_cond_timedwait@@GLIBC_2.3.2 () from /lib/tls/libpthread.so.0
2 Thread -1218221136 (LWP 24065) 0xb7ee4b1c in __nanosleep_nocancel
() from /lib/tls/libpthread.so.0
* 1 Thread -1210636608 (LWP 24062) 0xb7d9c9e7 in raise ()
from /lib/tls/libc.so.6
> Can you recreate the problem using one of the Mono libraries rather than
> the CookComputing ones?
I've no idea how to do that since it only happens when I use the
metaweblog api with CookComputing.XmlRpc.dll;
I have put online the output of a gdb and a valgrind session:
$ gdb -batch -x gdb.cmds /opt/mono/bin/mono &> gdb.log
*** glibc detected *** free(): invalid next size (fast): 0x083f80c8 ***
$ valgrind /opt/mono/bin/mono rpctest.exe &> valgrind.log
zsh: segmentation fault valgrind /opt/mono/bin/mono rpctest.exe &>
valgrind.log
$
Please note that I have added the line printf("MKDEBUG: %d",names); in
line 5620,file mono/mono/metadata/reflection.c; the line number 5621 in
the gdb.log would be 5620 otherwise. ( g_free(names); )
zipfile containing source/dll/logfiles
http://test.irregular.ch/rpctest.zip
http://test.irregular.ch/gdb.cmds
http://test.irregular.ch/gdb.log
http://test.irregular.ch/valgrind.log
Thanks,
- Matthias
More information about the Mono-list
mailing list