GNOME Bugzilla – Bug 328605
beagled crashes on system with locale tr_TR.UTF-8
Last modified: 2006-01-26 19:48:14 UTC
Steps to reproduce: 1. Just run beagled Stack trace: Debug: Starting Beagle Daemon (version 0.2.0) Debug: Command Line: /usr/lib/beagle/BeagleDaemon.exe --fg Debug: Starting main loop Debug: Starting messaging server Debug: Starting QueryDriver Error: Caught exception while instantiating EvolutionDataServer backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x00012> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version) in <0x0001e> Beagle.Daemon.EvolutionDataServerQueryable.EvolutionDataServerQueryable:.ctor () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Debug: Found 0 types in EvolutionDataServer, Version=0.0.0.0, Culture=neutral Error: Caught exception while instantiating Mail backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x00012> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version) in <0x00035> Beagle.Daemon.EvolutionMailDriver.EvolutionMailQueryable:.ctor () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Error: Caught exception while instantiating KMail backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x00047> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean disable_locking) in eFileQueryable:.ctor (System.String index_name) in <0x00016> Beagle.Daemon.KMailQueryable.KMailQueryable:.ctor () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Error: Caught exception while instantiating Files backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00015> Beagle.Daemon.FileSystemQueryable.LuceneNameResolver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x00012> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version) in <0x000c7> Beagle.Daemon.FileSystemQueryable.FileSystemQueryable:.ctor () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Error: Caught exception while instantiating GaimLog backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x00047> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean disable_locking) in <0x00011> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name) in <0x00033> Beagle.Daemon.GaimLogQueryable.GaimLogQueryable:.ctor () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Error: Caught exception while instantiating IndexingService backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Error: Caught exception while instantiating Tomboy backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x00047> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean disable_locking) in <0x00011> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name) in <0x00022> Beagle.Daemon.TomboyQueryable.TomboyQueryable:.ctor () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Error: Caught exception while instantiating Blam backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x00047> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean disable_locking) in <0x00012> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name, Int32 minor_version) in <0x00015> Beagle.Daemon.BlamQueryable.BlamQueryable:.ctor () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Error: Caught exception while instantiating Liferea backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x00047> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean disable_locking) in <0x00012> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name, Int32 minor_version) in <0x00015> Beagle.Daemon.LifereaQueryable.LifereaQueryable:.ctor () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Error: Caught exception while instantiating Akregator backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x00047> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean disable_locking) in <0x00012> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name, Int32 minor_version) in <0x00015> Beagle.Daemon.AkregatorQueryable.AkregatorQueryable:.ctor () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Error: Caught exception while instantiating KonquerorHistory backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x00047> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean disable_locking) in <0x00011> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name) in <0x00036> Beagle.Daemon.KonqQueryable.KonqQueryable:.ctor () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Error: Caught exception while instantiating Kopete backend Error: System.InvalidOperationException: Invalid connection string: no URI in <0x003c6> Mono.Data.SqliteClient.SqliteConnection:SetConnectionString (System.String connstring) in <0x0000d> Mono.Data.SqliteClient.SqliteConnection:set_ConnectionString (System.String value) in <0x00133> Beagle.Daemon.TextCache:.ctor (System.String storage_dir) in <0x0002d> Beagle.Daemon.TextCache:get_UserCache () in <0x00020> Beagle.Daemon.LuceneCommon:.ctor (System.String index_name, Int32 minor_version) in <0x00016> Beagle.Daemon.LuceneQueryingDriver:.ctor (System.String index_name, Int32 minor_version, Boolean read_only) in <0x00021> Beagle.Daemon.LuceneQueryable:BuildLuceneQueryingDriver (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x0009e> Beagle.Daemon.LuceneQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean read_only_mode) in <0x00047> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name, Int32 minor_version, Boolean disable_locking) in <0x00011> Beagle.Daemon.LuceneFileQueryable:.ctor (System.String index_name) in <0x00033> Beagle.Daemon.KopeteQueryable.KopeteQueryable:.ctor () in <0x00000> <unknown method> in (wrapper managed-to-native) System.Reflection.MonoCMethod:InternalInvoke (object,object[]) in <0x0008d> System.Reflection.MonoCMethod:Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) Other information: Bug is caused by use of ToLower() function in Mono.Data.SqliteClient/SqliteDataConnection.cs:139 (in beagle CVS). Reason for this is, ToLower() will convert URI to urı (dotless i), not uri. A solution would be converting all URI's to uri's since they are already compared with lower case ones in SqliteConnection.cs
Created attachment 58104 [details] [review] Simply converts URI to uri
I checked in a different patch for this which actually fixes the problem of the lowercasing in the sqlite code, rather than working around it iin beagle. It's also a problem in upstream mono, I've filed the bug (and the patch) here: http://bugzilla.ximian.com/show_bug.cgi?id=77372 Thanks for the report!