Crashes during daemon startup



Hi,

I've been having a hard time getting the daemon up and running since the networking code was merged with trunk. It seems to me that the actual problem lays within mono somewhere (by looking at the stack trace). The stack trace is included as stacktrace.txt.

The problem exists even if I remove my .beagle directory and I can't find anything else that might be the cause. My guess is that it has something to do with the configuration code used by the network support. Anyone else seeing this? Otherwise I'll file this as a bug.

Thanks!

Pierre Östlund
postlund postlund-desktop:~$ beagled --fg --mono-debug
Always: Starting Beagle Daemon (version 0.3.0)
Always: Running on Mono 1.2.3.1
Always: Using sqlite version 3
Always: Command Line: /usr//lib/beagle/BeagleDaemon.exe --fg --mono-debug
Debug: Established a connection to the X server
Debug: Reniced process to 7
Debug: Loading Beagle.Util.Conf+IndexingConfig from indexing.xml
Debug: Loading Beagle.Util.Conf+DaemonConfig from daemon.xml
Stacktrace:

  at (wrapper managed-to-native) System.String.InternalAllocateStr (int) <0x00004>
  at (wrapper managed-to-native) System.String.InternalAllocateStr (int) <0xffffffff>
  at System.Text.StringBuilder.InternalEnsureCapacity (int) [0x000b1] in /build/buildd/mono-1.2.3.1/mcs/class/corlib/System.Text/StringBuilder.cs:681
  at System.Text.StringBuilder.set_Capacity (int) [0x00017] in /build/buildd/mono-1.2.3.1/mcs/class/corlib/System.Text/StringBuilder.cs:142
  at Mono.Unix.UnixEnvironment.get_MachineName () [0x0000b] in /build/buildd/mono-1.2.3.1/mcs/class/Mono.Posix/Mono.Unix/UnixEnvironment.cs:55
  at NetworkingConfig..ctor () <0x0001d>
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (object,object[]) <0x00004>
  at (wrapper managed-to-native) System.Reflection.MonoCMethod.InternalInvoke (object,object[]) <0xffffffff>
  at System.Reflection.MonoCMethod.Invoke (object,System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x00040] in /build/buildd/mono-1.2.3.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:373
  at System.Reflection.MonoCMethod.Invoke (System.Reflection.BindingFlags,System.Reflection.Binder,object[],System.Globalization.CultureInfo) [0x00000] in /build/buildd/mono-1.2.3.1/mcs/class/corlib/System.Reflection/MonoMethod.cs:384
  at System.Reflection.ConstructorInfo.Invoke (object[]) [0x0000f] in /build/buildd/mono-1.2.3.1/mcs/class/corlib/System.Reflection/ConstructorInfo.cs:77
  at Beagle.Util.Conf.ConstructDefaultSection (System.Type,string,Beagle.Util.Conf/Section&) [0x0000c] in /home/postlund/Kod/beagle/Util/Conf.cs:251
  at Beagle.Util.Conf.LoadFile (System.Type,Beagle.Util.Conf/Section,Beagle.Util.Conf/Section&,bool) [0x00065] in /home/postlund/Kod/beagle/Util/Conf.cs:182
  at Beagle.Util.Conf.Load (bool) [0x00087] in /home/postlund/Kod/beagle/Util/Conf.cs:151
  at Beagle.Util.Conf.Load () [0x00000] in /home/postlund/Kod/beagle/Util/Conf.cs:131
  at Beagle.Util.Conf..cctor () [0x00059] in /home/postlund/Kod/beagle/Util/Conf.cs:74
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void (object,intptr,intptr,intptr) <0xffffffff>
  at Beagle.Daemon.QueryDriver.ReadBackendsFromConf () [0x0009c] in /home/postlund/Kod/beagle/beagled/QueryDriver.cs:66
  at Beagle.Daemon.QueryDriver.ReadBackendsFromConf () [0x0001b] in /home/postlund/Kod/beagle/beagled/QueryDriver.cs:58
  at Beagle.Daemon.QueryDriver.Init () [0x00000] in /home/postlund/Kod/beagle/beagled/QueryDriver.cs:315
  at Beagle.Daemon.BeagleDaemon.DoMain (string[]) [0x005f8] in /home/postlund/Kod/beagle/beagled/BeagleDaemon.cs:526
  at Beagle.Daemon.BeagleDaemon.Main (string[]) [0x00000] in /home/postlund/Kod/beagle/beagled/BeagleDaemon.cs:270
  at (wrapper runtime-invoke) System.Object.runtime_invoke_void_string[] (object,intptr,intptr,intptr) <0xffffffff>

Native stacktrace:

        beagled [0x818f7de]
        beagled [0x8171be4]
        [0xffffe440]
        beagled [0x813c4a7]
        beagled [0x8144a71]
        beagled(mono_string_new_size+0x4b) [0x80b43f9]
        beagled [0x80f4667]
        [0xb7968daf]
        [0xb6ed15e7]
        [0xb62843d7]
        [0xb628434d]
        [0xb62829b6]
        [0xb6501941]
        beagled [0x8171aaf]
        beagled(mono_runtime_invoke+0x27) [0x80b038f]
        beagled(mono_runtime_invoke_array+0x3b0) [0x80b6152]
        beagled [0x80bbb0f]
        [0xb629ff55]
        [0xb629fe39]
        [0xb629fd9d]
        [0xb629fd56]
        [0xb628284f]
        [0xb65009b2]
        [0xb6500795]
        [0xb6500652]
        [0xb650062f]
        [0xb79650f6]
        beagled [0x8171aaf]
        beagled(mono_runtime_invoke+0x27) [0x80b038f]
        beagled(mono_runtime_class_init+0x3e6) [0x80b3999]
        beagled [0x808f951]
        [0xb7bf3242]
        [0xb65002ec]
        [0xb7966538]
        [0xb79656e5]
        [0xb7965063]
        beagled [0x8171aaf]
        beagled(mono_runtime_invoke+0x27) [0x80b038f]
        beagled(mono_runtime_exec_main+0x142) [0x80b4bd4]
        beagled(mono_runtime_run_main+0x27e) [0x80b4e84]
        beagled(mono_jit_exec+0xbd) [0x805a55b]
        beagled [0x805a638]
        beagled(mono_main+0x1666) [0x805be3c]
        beagled [0x80596c6]
        /lib/tls/i686/cmov/libc.so.6(__libc_start_main+0xdc) [0xb7d3cebc]
        beagled [0x8059621]

=================================================================
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.
=================================================================

Avbruten (SIGABRT) (core dumped)



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]