[Mono-bugs] [Bug 707114] New: crash when collecting all persons from ABAddressBook

bugzilla_noreply at novell.com bugzilla_noreply at novell.com
Wed Jul 20 15:24:21 EDT 2011


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

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


           Summary: crash when collecting all persons from ABAddressBook
    Classification: Mono
           Product: MonoTouch
           Version: unspecified
          Platform: iPhone
        OS/Version: Mac OS X 10.6
            Status: NEW
          Severity: Critical
          Priority: P5 - None
         Component: Class Libraries
        AssignedTo: frego at novell.com
        ReportedBy: andrewdyoung at gmail.com
         QAContact: mono-bugs at lists.ximian.com
          Found By: ---
           Blocker: ---


Created an attachment (id=441167)
 --> (http://bugzilla.novell.com/attachment.cgi?id=441167)
Sample project that reproduces crash.

User-Agent:       Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8)
AppleWebKit/534.30 (KHTML, like Gecko) Chrome/12.0.742.122 Safari/534.30

I have a sample app that crashes when collecting all people from the iOS
address book. This only happens in release mode not debug mode.

Reproducible: Always

Steps to Reproduce:
1. Compile sample app
2. Run it on the iPhone in Release mode (not debug)
3. When the app loads, touch the button that says "Collect Contacts"
4. Do this multiple times until it crashes
Actual Results:  
Crashes with the following crash report.


Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:
Stacktrace:
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:   at
MonoTouch.AddressBook.ABRecord.CopyValue (int) <0x00027>
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:   at
MonoTouch.AddressBook.ABPerson.GetPhones () <0x00023>
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:   at
AbCrash.AddressBook.CollectContacts () <0x000db>
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:   at
AbCrash.AddressBook.BeginCollectContacts () <0x0004b>
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:   at
AbCrash.AddressBook.<BeginCollectContacts>m__2 () <0x0001b>
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:   at
(wrapper runtime-invoke) object.runtime_invoke_dynamic
(intptr,intptr,intptr,intptr) <0xffffffff>
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>: Native
stacktrace:
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     0  
AbCrash                             0x0020cb08 AbCrash + 2145032
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     1  
AbCrash                             0x001f2aa0 AbCrash + 2038432
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     2  
libsystem_c.dylib                   0x3572972f _sigtramp + 42
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     3  
libsqlite3.dylib                    0x350d859d sqlite3_set_auxdata + 4520
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     4  
libsqlite3.dylib                    0x350d49b3
_sqlite3_purgeEligiblePagerCacheMemory + 7022
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     5  
libsqlite3.dylib                    0x350de101 sqlite3_extended_errcode + 17692
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     6  
libsqlite3.dylib                    0x350de1dd sqlite3_extended_errcode + 17912
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     7  
libsqlite3.dylib                    0x350e34e1 sqlite3_extended_errcode + 39164
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     8  
libsqlite3.dylib                    0x35109df1 sqlite3_open16 + 33520
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     9  
libsqlite3.dylib                    0x350c995b sqlite3_step + 62
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     10 
AppSupport                          0x3713eb69 CPSqliteStatementSendResults +
44
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     11 
AddressBook                         0x30d0033d
ABCDBContextFetchMultiValueEntries + 196
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     12 
AddressBook                         0x30d0125d
ABCDBContextFetchMultiValuePropertyIntoRecord + 40
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     13 
AddressBook                         0x30cf8b8b ABCMultiValueLoad + 26
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     14 
AppSupport                          0x37142c1d CPRecordGetProperty + 124
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     15 
AppSupport                          0x3714358d CPRecordCopyProperty + 12
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     16 
AddressBook                         0x30d033bf ABRecordCopyValue + 14
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     17 
AbCrash                             0x00066c10 AbCrash + 416784
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     18 
AbCrash                             0x00048c60 AbCrash + 293984
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     19 
AbCrash                             0x00003738 AbCrash + 10040
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     20 
AbCrash                             0x0000353c AbCrash + 9532
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     21 
AbCrash                             0x00003cc0 AbCrash + 11456
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     22 
AbCrash                             0x0016bb88 AbCrash + 1485704
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     23 
AbCrash                             0x001f2708 AbCrash + 2037512
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     24 
AbCrash                             0x002e1044 AbCrash + 3014724
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     25 
AbCrash                             0x002e4910 AbCrash + 3029264
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     26 
AbCrash                             0x002e8684 AbCrash + 3044996
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     27 
AbCrash                             0x00306ac8 AbCrash + 3168968
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     28 
AbCrash                             0x00309590 AbCrash + 3179920
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     29 
AbCrash                             0x0030bf50 AbCrash + 3190608
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     30 
AbCrash                             0x0030c044 AbCrash + 3190852
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     31 
AbCrash                             0x00330bd0 AbCrash + 3341264
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     32 
AbCrash                             0x0036092c AbCrash + 3537196
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     33 
libsystem_c.dylib                   0x3571e311 _pthread_start + 248
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:     34 
libsystem_c.dylib                   0x3571fbbc start_wqthread + 0
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>: Debug
info from gdb:
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:
=================================================================
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>: Got a
SIGSEGV while executing native code. This usually indicates
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>: a fatal
error in the mono runtime or one of the native libraries 
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>: used by
your application.
Jul 20 12:09:23 unknown UIKitApplication:abcrash[0x1850][789] <Notice>:
=================================================================
Jul 20 12:09:23 unknown sandboxd[791] <Notice>: AbCrash(789) deny process-fork
Jul 20 12:09:24 unknown ReportCrash[792] <Notice>: Formulating crash report for
process AbCrash[789]
Jul 20 12:09:24 unknown com.apple.launchd[1] <Warning>:
(UIKitApplication:abcrash[0x1850]) Job appears to have crashed: Abort trap: 6
Jul 20 12:09:24 unknown SpringBoard[30] <Warning>: Application 'AbCrash' exited
abnormally with signal 6: Abort trap: 6
Jul 20 12:09:24 unknown ReportCrash[792] <Error>: Saved crashreport to
/var/mobile/Library/Logs/CrashReporter/AbCrash_2011-07-20-120923_Andrew-Phone.plist
using uid: 0 gid: 0, synthetic_euid: 501 egid: 0


Expected Results:  
I expect it not to crash.

This was crashing on MT 3.2.6 so I upgraded to MT 4.0.3 but still had the same
issue.

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