Note: This is a beta release of Red Hat Bugzilla 5.0. The data contained within is a snapshot of the live data so any changes you make will not be reflected in the production Bugzilla. Also email is disabled so feel free to test any aspect of the site that you want. File any problems you find or give feedback here.
Bug 180551 - beagle SqliteClient crashes when sqlite 2 is installed
Summary: beagle SqliteClient crashes when sqlite 2 is installed
Alias: None
Product: Fedora
Classification: Fedora
Component: beagle
Version: rawhide
Hardware: All
OS: Linux
Target Milestone: ---
Assignee: Christopher Aillon
QA Contact:
Depends On:
Blocks: FC5Target
TreeView+ depends on / blocked
Reported: 2006-02-08 23:00 UTC by Alain Mellan
Modified: 2007-11-30 22:11 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Last Closed: 2006-02-15 19:00:53 UTC

Attachments (Terms of Use)

Description Alain Mellan 2006-02-08 23:00:02 UTC
Description of problem:

Start beagled --fg from home directory. Every time, I get:

Debug: Helper Size: VmRSS=28.2 MB, size=2.36, 34.0%

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.


in <0x4> (wrapper managed-to-native) Mono.Data.SqliteClient.Sqlite:sqlite_compil
e (intptr,intptr,intptr&,intptr&,intptr&)
in <0xffffff21> (wrapper managed-to-native) Mono.Data.SqliteClient.Sqlite:sqlite
_compile (intptr,intptr,intptr&,intptr&,intptr&)
in [0x4d] Mono.Data.SqliteClient.SqliteCommand:GetNextStatement (intptr,intptr&,
in [0x22] Mono.Data.SqliteClient.SqliteCommand:ExecuteReader (System.Data.Comman
in [0x5] Mono.Data.SqliteClient.SqliteCommand:ExecuteReader (System.Data.Command
in [0x2] Mono.Data.SqliteClient.SqliteCommand:ExecuteReader ()
in <0xa6> Beagle.Util.FSpotTools:IsPossibleDirectory (string)
in <0x89> Beagle.Util.FSpotTools:GetPhoto (string)
in <0xe4> Beagle.Filters.FilterImage:DoPullProperties ()
in <0x19d> Beagle.Daemon.Filter:Open (System.IO.FileSystemInfo)
in <0x4a> Beagle.Daemon.Filter:Open (string)
in <0x60b> Beagle.Daemon.FilterFactory:FilterIndexable (Beagle.Indexable,Beagle.
in <0xc27> Beagle.Daemon.LuceneIndexingDriver:Flush_Unlocked (Beagle.Daemon.Inde
in <0x2a> Beagle.Daemon.LuceneIndexingDriver:Flush (Beagle.Daemon.IndexerRequest
in <0x1b6> Beagle.IndexHelper.RemoteIndexerExecutor:Execute (Beagle.RequestMessa
in <0x573> Beagle.Daemon.ConnectionHandler:HandleConnection ()
in <0x139> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void ()
in <0xf1> Beagle.Util.ExceptionHandlingThread:ThreadStarted ()
in <0xfff659a0> (wrapper delegate-invoke) System.MulticastDelegate:invoke_void (
in <0x7f6ca63> (wrapper runtime-invoke) System.Object:runtime_invoke_void (objec

Native stacktrace:

        mono-beagled-helper(mono_handle_native_sigsegv+0xba) [0x814dcde]
        mono-beagled-helper [0x811daf8]
        /usr/lib/ [0xf9616b]
        /usr/lib/ [0xf83ba1]
        mono-beagled-helper(mono_runtime_delegate_invoke+0x36) [0x80ad824]
        mono-beagled-helper [0x80b786e]
        mono-beagled-helper [0x8155cec]
        mono-beagled-helper [0x8119d4e]
        /lib/ [0xd3e262]
        /lib/ [0xc8814e]

Debug: Caught ResponseMessageException: Document element did not appear.  Line 1
, position 1.
Debug: Exception was unexpected.  Details: Beagle.ResponseMessageException: Docu
ment element did not appear.  Line 1, position 1. ---> System.Xml.XmlException: 
Document element did not appear.  Line 1, position 1.
in [0x0014e] (at /usr/src/build/687862-i386/BUILD/mono-
.XML/System.Xml/XmlTextReader.cs:595) System.Xml.XmlTextReader:Read ()
in [0x0002c] (at /usr/src/build/687862-i386/BUILD/mono-
.XML/System.Xml/XmlReader.cs:544) System.Xml.XmlReader:MoveToContent ()
in [0x00006] (at /usr/src/build/687862-i386/BUILD/mono-
.XML/System.Xml.Serialization/XmlSerializationReaderInterpreter.cs:83) System.Xm
l.Serialization.XmlSerializationReaderInterpreter:ReadRoot ()
in [0x00022] (at /usr/src/build/687862-i386/BUILD/mono-
.XML/System.Xml.Serialization/XmlSerializer.cs:333) System.Xml.Serialization.Xml
Serializer:Deserialize (System.Xml.Serialization.XmlSerializationReader reader)
in [0x0002e] (at /usr/src/build/687862-i386/BUILD/mono-
.XML/System.Xml.Serialization/XmlSerializer.cs:322) System.Xml.Serialization.Xml
Serializer:Deserialize (System.Xml.XmlReader xmlReader)
in [0x00010] (at /usr/src/build/687862-i386/BUILD/mono-
.XML/System.Xml.Serialization/XmlSerializer.cs:303) System.Xml.Serialization.Xml
Serializer:Deserialize (System.IO.Stream stream)
in <0x001ba> Beagle.Client:Send (Beagle.RequestMessage request)--- End of inner 
exception stack trace ---

in <0x002a7> Beagle.Client:Send (Beagle.RequestMessage request)
in <0x0003f> Beagle.RequestMessage:Send ()
in <0x00082> Beagle.Daemon.RemoteIndexer:SendRequest (Beagle.Daemon.RemoteIndexe
rRequest request)
Debug: Launching helper process
Debug: IndexHelper PID is 2830
Debug: Starting messaging server
Warn: Unable to set IO-priority for process to idle
Debug: Helper Size: VmRSS=11.9 MB, size=1.00, 0.0%

Version-Release number of selected component (if applicable):



Additional info:
I have user_xattr enabled on my home directory (ReiserFS).

It used to work before the sqlite bugs maybe a week ago. I removed ~/.beagle
completely, it doesn't change anything.

Comment 1 Christopher Aillon 2006-02-09 16:19:57 UTC
This looks like the same error I get on 64bit only (please include your arch
next time).  This would be a dupe of 179228 in that case.

Marking dupe of that bug, but if this is not a 64bit platform, please reopen
this bug.  Thanks.

*** This bug has been marked as a duplicate of 179228 ***

Comment 2 Alain Mellan 2006-02-09 18:28:50 UTC
Happens on 32bit platform. I'm running kernel 1884 at the moment. I'll go check
with 1826 see if that changes anything.

Comment 3 Alain Mellan 2006-02-09 18:39:13 UTC
Still crashes with kernel 1826.

Comment 4 Christopher Aillon 2006-02-09 18:44:20 UTC
Okay, I can't reproduce.  Can you give me the output of:
rpm -qa | grep sharp
rpm -q mono-core libgdiplus beagle

Also, does removing the sqlite2 package help?

Comment 5 Christopher Aillon 2006-02-09 18:46:41 UTC
(you might need to rm -rf ~/.beagle after removing sqlite2)

Comment 6 Alain Mellan 2006-02-09 18:55:58 UTC
OK, here it is:

[10:56am] localhost{~}101> rpm -qa | grep sharp
[10:56am] localhost{~}102> rpm -q mono-core libgdiplus beagle 

I removed sqlite2, and ... it works now. Thanks.

Something wrong in the sqlite 2/3 detection ?

Comment 7 Christopher Aillon 2006-02-09 19:12:48 UTC
Yeah, I thought it was fixed in beagle.  I filed for f-spot.  Looks like I'll
have to file another one for beagle.

Comment 8 Christopher Aillon 2006-02-09 19:16:01 UTC
Okay, filed

Comment 9 Ray Strode [halfline] 2006-02-15 19:00:53 UTC
Joe says it's fixed in the upstream bug but the patch doesn't quite look right.
 But let's take this upstream.

Note You need to log in before you can comment on or make changes to this bug.