Package: libdbus-1-cil
Version: 0.63.git.20060719-4
Severity: normal

Sample C# Application:

using System;
using DBus;

namespace MainApplication
{
        class MainClass
        {
                public static void Main (string[] args)
                {
                        DBus.Connection dbusConnection = null;
                        DBus.Service dbusService = null;
                        NetworkManager networkManager = null;

                        dbusConnection = DBus.Bus.GetSystemBus();
                        dbusService = DBus.Service.Get(dbusConnection, 
"org.freedesktop.NetworkManager");
                        networkManager = 
(NetworkManager)dbusService.GetObject(typeof(NetworkManager), 
"/org/freedesktop/NetworkManager");
                        Console.WriteLine("NetworkState: " + 
networkManager.state());
                }
        }
        
        [Interface("org.freedesktop.NetworkManager")]
        public abstract class NetworkManager
        {       
                [Method] public abstract uint state();
        }
}


Error after leaving the Main-Method of the sample Application.


Stacktrace:

  at (wrapper managed-to-native) System.Threading.Monitor.Monitor_try_enter 
(object,int) <0x00004>
  at (wrapper managed-to-native) System.Threading.Monitor.Monitor_try_enter 
(object,int) <0xffffffff>
  at System.Threading.Monitor.Enter (object) [0x00011] in 
/home/inet/debian/dev/build-area/mono-1.2.2.1/mcs/class/corlib/System.Threading/Monitor.cs:60
  at (wrapper synchronized) DBus.Service.remove_SignalCalled 
(DBus.Service/SignalCalledHandler) <0xffffffff>
  at MainApplication.NetworkManager.Proxy.Finalize () <0x00015>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void 
(object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        mono [0x8179af1]
        mono [0x815c62b]
        [0xb7f04440]
        mono [0x818c06c]
        [0xb701770d]
        [0xb701769c]
        [0xb7008ecc]
        [0xb7008e9e]
        [0xb7008e19]
        mono [0x815c4f6]
        mono(mono_runtime_invoke+0x27) [0x80f892f]
        mono [0x818e855]
        mono [0x818e99c]
        mono [0x80f7b5f]
        mono [0x811928d]
        mono [0x813034f]
        /lib/tls/i686/cmov/libpthread.so.0 [0xb7e42240]
        /lib/tls/i686/cmov/libc.so.6(__clone+0x5e) [0xb7db13de]

Debug info from gdb:

(no debugging symbols found)
Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1".
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
[Thread debugging using libthread_db enabled]
[New Thread -1211214144 (LWP 5345)]
[New Thread -1220785232 (LWP 5349)]
[New Thread -1215079504 (LWP 5348)]
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
(no debugging symbols found)
0xb7f04410 in ?? ()
  3 Thread -1215079504 (LWP 5348)  0xb7f04410 in ?? ()
  2 Thread -1220785232 (LWP 5349)  0xb7f04410 in ?? ()
  1 Thread -1211214144 (LWP 5345)  0xb7f04410 in ?? ()

Thread 3 (Thread -1215079504 (LWP 5348)):
#0  0xb7f04410 in ?? ()
#1  0xb7935458 in ?? ()
#2  0x0821d3a8 in ?? ()
#3  0x00000000 in ?? ()

Thread 2 (Thread -1220785232 (LWP 5349)):
#0  0xb7f04410 in ?? ()
#1  0xb73c34e8 in ?? ()
#2  0x00000000 in ?? ()

Thread 1 (Thread -1211214144 (LWP 5345)):
#0  0xb7f04410 in ?? ()
#1  0xbfeec628 in ?? ()
#2  0x00000001 in ?? ()
#3  0x00000000 in ?? ()
#0  0xb7f04410 in ?? ()


=================================================================
Got a SIGSEGV while executing native code. This usually indicates
a fatal error in the mono runtime or one of the native libraries 
used by your application.
=================================================================


Has someone an Idea about what goes wrong?



-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-686
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)

Versions of packages libdbus-1-cil depends on:
ii  cli-common                    0.4.6      common files between all CLI (.NET
ii  libdbus-1-3                   1.0.2-1    simple interprocess messaging syst
ii  libdbus-glib-1-2              0.71-3     simple interprocess messaging syst
ii  libmono-corlib1.0-cil         1.2.2.1-1  Mono core library (1.0)

libdbus-1-cil recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to