[Mono-bugs] [Bug 656469] New: Inserting Multiple Records in SQLite Database From Text File Causes ReferenceTable Overflow Error

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Mon Nov 29 22:23:20 EST 2010


https://bugzilla.novell.com/show_bug.cgi?id=656469

https://bugzilla.novell.com/show_bug.cgi?id=656469#c0


           Summary: Inserting Multiple Records in SQLite Database From
                    Text File Causes ReferenceTable Overflow Error
    Classification: Mono
           Product: MonoDroid
           Version: unspecified
          Platform: x86-64
        OS/Version: Windows 7
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Runtime
        AssignedTo: mkestner at novell.com
        ReportedBy: danomania at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=402630)
 --> (http://bugzilla.novell.com/attachment.cgi?id=402630)
SearchableDictionary Sample

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2.12)
Gecko/20101026 Firefox/3.6.12

This is regarding the Searchable Dictionary sample
(http://developer.android.com/resources/samples/SearchableDictionary/index.html)
that was converted to MonoDroid. The application reads lines from a text file
and inserts them into the database. It is during this process that the
ReferenceTable overflow error occurs.



Reproducible: Always

Steps to Reproduce:
1. Open the attached solution in Visual Studio 2010
2. Start Without Debugging (Ctrl-F5) (if you debug a different error occurs)
3. Wait for the application to load
4. Press the [Search] button on the device
5. Wait for the application to crash and close abruptly

Actual Results:  
Logcat shows following error:

D/dalvikvm(  698): GC_EXTERNAL_ALLOC freed 502 objects / 25944 bytes in 73ms
D/DictionaryDatabase.DictionaryOpenHelper(  698): LoadWords() - Loading
words...
D/dalvikvm(  698): GREF has increased to 201
D/dalvikvm(  698): GREF has increased to 301
D/dalvikvm(  698): GC_EXPLICIT freed 2313 objects / 122944 bytes in 101ms
W/dalvikvm(  698): ReferenceTable overflow (max=512)
W/dalvikvm(  698): Last 10 entries in JNI local reference table:
W/dalvikvm(  698):   502: 0x44f5d7f0 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm(  698):   503: 0x44f54130 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm(  698):   504: 0x44f53f70 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm(  698):   505: 0x44f4c258 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm(  698):   506: 0x44f4a848 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm(  698):   507: 0x44f49938 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm(  698):   508: 0x44f49840 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm(  698):   509: 0x44f48160 cls=Ljava/lang/String; (28 bytes)
W/dalvikvm(  698):   510: 0x44f61128 cls=Ljava/lang/String; (36 bytes)
W/dalvikvm(  698):   511: 0x44f5bef8 cls=Ljava/lang/String; (36 bytes)
W/dalvikvm(  698): JNI local reference table summary (512 entries):
W/dalvikvm(  698):   462 of Ljava/lang/String; 28B (462 unique)
W/dalvikvm(  698):    44 of Ljava/lang/String; 36B (44 unique)
W/dalvikvm(  698):     1 of Landroid/widget/TextView; 548B
W/dalvikvm(  698):     1 of Landroid/content/Intent; 44B
W/dalvikvm(  698):     1 of Landroid/content/res/Resources; 68B
W/dalvikvm(  698):     1 of
Lorg/apache/harmony/xnet/provider/jsse/TrustManagerImpl; 28B
W/dalvikvm(  698):     1 of Landroid/widget/ListView; 740B
W/dalvikvm(  698):     1 of
Lcom/example/android/searchabledict/SearchableDictionary; 180B


Expected Results:  
Database loaded completely

-- 
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the mono-bugs mailing list