[Mono-list] Mono bug?

Matthias Kestenholz lists at irregular.ch
Sun Sep 4 09:43:16 EDT 2005


Hello list,

I've got around to compile mono with debugging symbols enabled. I am
still getting errors with my XML-RPC application and I have tried to
isolate the problem.

I have not opened a bugzilla entry because I don't know where to begin.

Test code:
<snip>

using System;
using CookComputing.XmlRpc;
using CookComputing.MetaWeblog;

public class _ {
        public static void Main(string[] args)
        {
                IMetaWeblog proxy =
(IMetaWeblog)XmlRpcProxyGen.Create(typeof(IMetaWeblog));
                XmlRpcClientProtocol cp = (XmlRpcClientProtocol)proxy;
                cp.Url = "http://blog.irregular.ch/xmlrpc.php";
                Post[] posts = proxy.getRecentPosts("", "admin", "****",
10);
        }
}

</snip>

I have replaced bool with int in MetaWeblogAPI.cs because the wordpress
xmlrpc server returns int instead of bool. Charles Cook himself said
this should not be the cause of any problems (Email subject was: "
                           Subject: 
[Mono-list] RE: Question about
XML-RPC.Net (CookComputing)
(Matthias Kestenholz)
"


(Password has been changed...)

Mono version:
Mono JIT compiler version 1.1.9, (C) 2002-2005 Novell, Inc and
Contributors. www.mono-project.com
        TLS:           __thread
        GC:            Included Boehm (with typed GC)
        SIGSEGV      : normal
        Globalization: normal

AnonSVN checkout:
Last Changed Rev: 49400
Last Changed Date: 2005-09-04 00:16:44 +0200 (Sun, 04 Sep 2005)




Now my gdb debugging session: (gdb 6.3-debian)


$ gdb /opt/mono/bin/mono
[...]
This GDB was configured as "i386-linux"...Using host libthread_db
library "/lib/tls/libthread_db.so.1".

(gdb) set args rpctest.exe
(gdb) run
Starting program: /opt/mono/bin/mono rpctest.exe
[Thread debugging using libthread_db enabled]
[New Thread -1478969664 (LWP 28300)]
[New Thread -1481434192 (LWP 28303)]
[New Thread -1486611536 (LWP 28304)]

Program received signal SIGPWR, Power fail/restart.
[Switching to Thread -1486611536 (LWP 28304)]
0xa7efadc2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
(gdb) bt
#0  0xa7efadc2 in pthread_cond_timedwait@@GLIBC_2.3.2 ()
from /lib/tls/libpthread.so.0
#1  0x080e3f37 in timedwait_signal_poll_cond (cond=0xa7b4d1dc,
mutex=0xa7b4d1c4, timeout=0x0) at handles.c:1251
#2  0x080e558a in _wapi_handle_timedwait_signal_handle
(handle=0xfffffffc, timeout=0x0) at handles.c:1338
#3  0x080e569e in _wapi_handle_wait_signal_handle (handle=0x404) at
handles.c:1298
#4  0x080f1e59 in WaitForSingleObjectEx (handle=0x404,
timeout=4294967295, alertable=1) at wait.c:179
#5  0x080a48e3 in finalizer_thread (unused=0x0) at gc.c:676
#6  0x080b7283 in start_wrapper (data=0x8212e38) at threads.c:297
#7  0x080f1595 in timed_thread_start_routine (args=0x8212d38) at
timed-thread.c:134
#8  0x081064fb in GC_start_routine (arg=0x22f00) at
pthread_support.c:1318
#9  0xa7ef8ccd in start_thread () from /lib/tls/libpthread.so.0
#10 0xa7e5db0e in clone () from /lib/tls/libc.so.6
(gdb)




I would be happy to provide more information if someone could tell me
what to do now. Unfortunately I am not very experienced but I'll try
doing what I can.


Thanks for any help,

-Matthias



More information about the Mono-list mailing list