beagled crashes (probably due to missing library)

Bug #32786 reported by Andreas Leitner
8
Affects Status Importance Assigned to Milestone
beagle (Ubuntu)
New
Medium
Unassigned

Bug Description

After starting beagled (with the evolution plugin installed) it crashes with the following output:

aleitner@se-pc31:~$ beagled --fg
Debug: Starting Beagle Daemon (version 0.2.1)
Debug: Command Line: /usr/lib/beagle/BeagleDaemon.exe --fg
Debug: Starting main loop
Debug: Starting messaging server
Error: Could not set up the listener for beagle requests. There is probably another beagled instance running. Use --replace to replace the running service
aleitner@se-pc31:~$ ps axu | grep beagle
aleitner 10150 21.0 1.1 47032 24724 pts/0 Sl 23:59 0:02 mono-beagled --debug /usr/lib/beagle/BeagleDaemon.exe -fg --bg
aleitner 10168 0.0 0.0 2876 792 pts/0 R+ 23:59 0:00 grep beagle
aleitner@se-pc31:~$ kill 10150
aleitner@se-pc31:~$ ps axu | grep beagle
aleitner 10174 0.0 0.0 1492 340 pts/0 R+ 00:00 0:00 grep beagle
aleitner@se-pc31:~$ rm -rf .beagle/
config/ Indexes/ Log/ TextCache/
aleitner@se-pc31:~$ rm -rf .beagle/
aleitner@se-pc31:~$ beagled --fg
Debug: Starting Beagle Daemon (version 0.2.1)
Debug: Command Line: /usr/lib/beagle/BeagleDaemon.exe --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 types in EvolutionBackends, Version=0.0.0.0, Culture=neutral
Debug: KMail folders not found. Will keep trying
Debug: Starting Inotify Backend
Debug: Found 11 types in BeagleDaemonLib, Version=1.9.0.0, Culture=neutral
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.08s
Debug: Starting queryables
Debug: Scanning addressbooks and calendars
Error: Unhandled exception thrown. Exiting immediately.
Error: System.TypeInitializationException: An exception was thrown by the type initializer for Evolution.SourceList ---> System.DllNotFoundException: libedataserver-1.2.so.4
in (wrapper managed-to-native) Evolution.Source:e_source_get_type ()
in <0x00014> Evolution.Source:get_GType ()
in <0x00026> GtkSharp.EvolutionSharp.ObjectManager:Initialize ()
in <0x00007> Evolution.SourceList:.cctor ()--- End of inner exception stack trace ---

in (unmanaged) 0x77e684f1
in <0x00064> Beagle.Daemon.EvolutionDataServerQueryable.SourcesHandler:.ctor (string,System.Type,Beagle.Daemon.EvolutionDataServerQueryable.EvolutionDataServerQueryable,string)
in <0x000be> Beagle.Daemon.EvolutionDataServerQueryable.EvolutionDataServerQueryable:Start ()
in <0x00016> Beagle.Daemon.Queryable:Start ()
in <0x0008b> 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) 0x77d45427
in <0x00004> (wrapper managed-to-native) Gtk.Application:gtk_main ()
in <0x00007> Gtk.Application:Run ()
in <0x006b3> Beagle.Daemon.BeagleDaemon:DoMain (string[])
in <0x00014> 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 <0x0000e> System.IO.TextWriter:WriteLine (System.String value)
in <0x002f4> Beagle.Util.Log:WriteLine (LogLevel level, System.String format, System.Object[] args, System.Exception ex)
in <0x00011> Beagle.Util.Log:Warn (System.String message, System.Object[] args)
in <0x0000d> Beagle.Util.Logger:Warn (System.String message, System.Object[] args)
in <0x00222> Beagle.Util.ExceptionHandlingThread:ThreadStarted ()
in (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()

It looks like the root of all evil is that libedataserver-1.2.so.4 cannot be located and in fact I have only version .7 installed on my machine. The .4 version does not seem to be available.

Revision history for this message
Phil Housley (undeconstructed) wrote :

Comment and workaround in bug #30121 I think.

Revision history for this message
Andreas Leitner (aleitner) wrote :

Indeed, the workaround described in bug #30121 did the trick. beagle is not crashing for the 10 minutes that I tested it now and is slowely but steadily indexing all my mail. Thanks!

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.