[ubuntu-mono] [Bug 36749] Beagle segfaults on second runs

Javier Ruiz jrhbcn at gmail.com
Sun Mar 26 16:14:38 UTC 2006


Public bug reported:
https://launchpad.net/malone/bugs/36749

Affects: beagle (Ubuntu)
       Severity: Normal
       Priority: (none set)
         Status: Unconfirmed

Description:

Hi, 

running beagle 0.2.3-0ubuntu3 in a dapper machine (up to date at
26/03/2006). The first time beagle runs fine and creates the ".beagle"
folder with indexes. However, if beagle is stop (by for instance
rebooting the machine) then trying to run beagle again results always on
segfaults. This is the output of "beagled --debug --fg":


Debug: Starting Beagle Daemon (version 0.2.3)
Debug: Command Line: /usr/lib/beagle/BeagleDaemon.exe --debug --fg
Debug: Starting main loop
Debug: Starting messaging server
Debug: Starting QueryDriver
Debug: Found index helper at /usr/lib/beagle/beagled-index-helper
Debug: Found 2 backends in /usr/lib/beagle/Backends/EvolutionBackends.dll
Debug: KMail folders not found. Will keep trying
Debug: Starting Inotify Backend
Debug: Loading Beagle.Util.Conf+IndexingConfig from indexing.xml
Debug: Loading Beagle.Util.Conf+DaemonConfig from daemon.xml
Debug: Loading Beagle.Util.Conf+SearchingConfig from searching.xml
Debug: Loading Beagle.Util.Conf+NetworkingConfig from networking.xml
Debug: Loading Beagle.Util.Conf+WebServicesConfig from webservices.xml
Debug: Found 11 backends in /usr/lib/beagle/BeagleDaemonLib.dll
Debug: Found 0 user-configured static queryables
Debug: Waiting 60 seconds before starting queryables
Debug: Starting Scheduler thread
Debug: Starting Inotify threads
Debug: Daemon initialization finished after 1.74s
Debug: Starting queryables
Debug: Scanning addressbooks and calendars
Debug: Getting addressbook changes for file:///home/jrh/.evolution/addressbook/local/system
Debug: Addressbook file:///home/jrh/.evolution/addressbook/local/system: 0 added, 0 changed, 0 removed
Debug: Getting addressbook changes for file:///home/jrh/.evolution/addressbook/local/1103715043.3832.6@d5117j
Debug: Addressbook file:///home/jrh/.evolution/addressbook/local/1103715043.3832.6@d5117j: 0 added, 0 changed, 0 removed
Debug: Skipping remote addressbook ldap://ldap.bigfoot.com:389/??one
Debug: Skipping remote addressbook ldap://directory.verisign.com:389/??one
Debug: Skipping remote addressbook ldap://tscserver.upc.edu:389/ou=TSC,o=UPC??one
Debug: Getting calendar changes for file:///home/jrh/.evolution/calendar/local/system
Error: Unhandled exception thrown.  Exiting immediately.
Error: GLib.GException: Unknown error
in <0x00187> Evolution.Cal:GetChanges (string,Evolution.CalComponent[]&,Evolution.CalComponent[]&,string[]&)
in [0x0003f] (at /build/buildd/beagle-0.2.3/beagled/EvolutionDataServerQueryable/CalContainer.cs:92) Beagle.Daemon.EvolutionDataServerQueryable.CalContainer:IndexChanges ()
in [0x0009d] (at /build/buildd/beagle-0.2.3/beagled/EvolutionDataServerQueryable/SourcesHandler.cs:93) Beagle.Daemon.EvolutionDataServerQueryable.SourcesHandler:IndexSourceGroup (Evolution.SourceGroup,bool)
in [0x000be] (at /build/buildd/beagle-0.2.3/beagled/EvolutionDataServerQueryable/SourcesHandler.cs:74) Beagle.Daemon.EvolutionDataServerQueryable.SourcesHandler:.ctor (string,System.Type,Beagle.Daemon.EvolutionDataServerQueryable.EvolutionDataServerQueryable,string)
in [0x00077] (at /build/buildd/beagle-0.2.3/beagled/EvolutionDataServerQueryable/EvolutionDataServerQueryable.cs:85) Beagle.Daemon.EvolutionDataServerQueryable.EvolutionDataServerQueryable:Start ()
in [0x00006] (at /build/buildd/beagle-0.2.3/beagled/Queryable.cs:51) Beagle.Daemon.Queryable:Start ()
in [0x00032] (at /build/buildd/beagle-0.2.3/beagled/QueryDriver.cs:278) Beagle.Daemon.QueryDriver:StartQueryables ()
in <0x00047> (wrapper delegate-invoke) System.MulticastDelegate:invoke_bool ()
in <0x0002a> TimeoutProxy:Handler ()
in <0x00036> (wrapper native-to-managed) TimeoutProxy:Handler ()
in (unmanaged) 0xb7d353a7
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in [0x003a5] (at /build/buildd/beagle-0.2.3/beagled/BeagleDaemon.cs:407) Beagle.Daemon.BeagleDaemon:DoMain (string[])
in [0x00001] (at /build/buildd/beagle-0.2.3/beagled/BeagleDaemon.cs:215) Beagle.Daemon.BeagleDaemon:Main (string[])


Unhandled Exception: System.NullReferenceException: Object reference not set to an instance of an object
in <0x0002e> System.IO.StreamWriter:LowLevelWrite (System.String s)
in <0x0001d> System.IO.StreamWriter:Write (System.String value)
in <0x00010> System.IO.UnexceptionalStreamWriter:Write (System.String value)
in <0x0001e> System.IO.TextWriter:Write (System.Object value)
in <0x00028> System.IO.SynchronizedWriter:Write (System.Object value)
in [0x00051] (at /build/buildd/beagle-0.2.3/Util/Log.cs:200) Beagle.Util.Log:WriteLine (LogLevel level, System.String format, System.Object[] args, System.Exception ex)
in [0x00004] (at /build/buildd/beagle-0.2.3/Util/Log.cs:300) Beagle.Util.Log:Warn (System.String message, System.Object[] args)
in [0x00002] (at /build/buildd/beagle-0.2.3/Util/Logger.cs:80) Beagle.Util.Logger:Warn (System.String message, System.Object[] args)
in [0x000c3] (at /build/buildd/beagle-0.2.3/Util/ExceptionHandlingThread.cs:59) Beagle.Util.ExceptionHandlingThread:ThreadStarted ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()

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

Stacktrace:


Native stacktrace:

        /usr/lib/libmono.so.0(mono_handle_native_sigsegv+0xe3) [0xb7e161b6]
        /usr/lib/libmono.so.0 [0xb7dd7ebe]
        [0xffffe440]
        [0xffffe440]
        /lib/ld-linux.so.2 [0xb7f7ee6b]
        /lib/ld-linux.so.2 [0xb7f7e6e6]
        /lib/tls/i686/cmov/libc.so.6 [0xb7c8cc66]
        /lib/ld-linux.so.2 [0xb7f83106]
        /lib/tls/i686/cmov/libc.so.6(_dl_open+0x98) [0xb7c8d928]
        /lib/tls/i686/cmov/libc.so.6 [0xb7c8ef3d]
        /lib/ld-linux.so.2 [0xb7f83106]
        /lib/tls/i686/cmov/libc.so.6(__libc_dlopen_mode+0x4e) [0xb7c8f01e]
        /lib/tls/i686/cmov/libpthread.so.0 [0xb7cf53e8]
        /lib/tls/i686/cmov/libpthread.so.0(__pthread_unwind+0x51) [0xb7cf30f1]
        /lib/tls/i686/cmov/libpthread.so.0(pthread_detach+0) [0xb7cef0b0]
        /usr/lib/libmono.so.0 [0xb7ed2ab5]
        /usr/lib/libmono.so.0(_wapi_thread_dispatch_apc_queue+0) [0xb7ed2f21]
        /usr/lib/libmono.so.0(mono_thread_detach+0) [0xb7e88ca9]
        /usr/lib/libmono.so.0 [0xb7dd5bb0]
        /usr/lib/libmono.so.0 [0xb7e15a0e]
        /usr/lib/libmono.so.0(mono_arch_handle_exception+0x43) [0xb7e27cbf]
        /usr/lib/libmono.so.0 [0xb7dd7e8e]
        [0xffffe440]
        [0xb6e7b176]
        [0xb6e7b139]
        [0xb6e7a017]
        [0xb6e79fd9]
        [0xb6e79c90]
        [0xb5e9f362]
        [0xb5e9f336]
        [0xb65de66b]
        [0xb65db130]
        [0xb65d9f49]
        /usr/lib/libmono.so.0 [0xb7df52b8]
        /usr/lib/libmono.so.0(mono_runtime_invoke+0x33) [0xb7e57d7d]
        /usr/lib/libmono.so.0(mono_runtime_delegate_invoke+0x42) [0xb7e58f7c]
        /usr/lib/libmono.so.0 [0xb7e891f4]
        /usr/lib/libmono.so.0 [0xb7ed2bcf]
        /usr/lib/libmono.so.0(GC_start_routine+0x5f) [0xb7eec943]
        /lib/tls/i686/cmov/libpthread.so.0 [0xb7cee341]
        /lib/tls/i686/cmov/libc.so.6(__clone+0x5e) [0xb7c584de]
Abort




More information about the Ubuntu-mono mailing list