jberkel/sms-backup-plus — Issue #185: SMSBackup+ crashes when doing backup.
Author: lifanxi
Created: 2011-10-10 13:58:41+00:00
State: open

An FC happens immediately after the step "Calculating...".

SMSBackup+ version 1.4.3

Could you please help to investigate the root cause of the problem? Thanks! If there this any more debugging information needed, please feel free to let me know.

From logcat I grabbed the following information:

D/dalvikvm(12584): GC_FOR_MALLOC freed 9428 objects / 771376 bytes in 599ms
D/ACRA (13232): Writing crash report file.
D/ACRA (13232): Looking for error files in /data/data/com.zegoggles.smssync/files
D/dalvikvm(13232): GC_FOR_MALLOC freed 7558 objects / 492976 bytes in 89ms
D/NativeCrypto(13232): Freeing OpenSSL session
E/AndroidRuntime(13232): FATAL EXCEPTION: AsyncTask #1
E/AndroidRuntime(13232): java.lang.RuntimeException: An error occured while executing doInBackground()
E/AndroidRuntime(13232):	at android.os.AsyncTask$3.done(AsyncTask.java:200)
E/AndroidRuntime(13232):	at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
E/AndroidRuntime(13232):	at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
E/AndroidRuntime(13232):	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
E/AndroidRuntime(13232):	at java.util.concurrent.FutureTask.run(FutureTask.java:137)
E/AndroidRuntime(13232):	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1068)
E/AndroidRuntime(13232):	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:561)
E/AndroidRuntime(13232):	at java.lang.Thread.run(Thread.java:1096)
E/AndroidRuntime(13232): Caused by: android.database.sqlite.SQLiteException: unknown error: Unable to convert BLOB to string
E/AndroidRuntime(13232):	at android.database.CursorWindow.getString_native(Native Method)
E/AndroidRuntime(13232):	at android.database.CursorWindow.getString(CursorWindow.java:329)
E/AndroidRuntime(13232):	at android.database.AbstractWindowedCursor.getString(AbstractWindowedCursor.java:49)
E/AndroidRuntime(13232):	at android.database.CursorWrapper.getString(CursorWrapper.java:135)
E/AndroidRuntime(13232):	at com.zegoggles.smssync.CursorToMessage.cursorToMessages(CursorToMessage.java:172)
E/AndroidRuntime(13232):	at com.zegoggles.smssync.SmsBackupService$BackupTask.backup(SmsBackupService.java:268)
E/AndroidRuntime(13232):	at com.zegoggles.smssync.SmsBackupService$BackupTask.doInBackground(SmsBackupService.java:159)
E/AndroidRuntime(13232):	at com.zegoggles.smssync.SmsBackupService$BackupTask.doInBackground(SmsBackupService.java:105)
E/AndroidRuntime(13232):	at android.os.AsyncTask$2.call(AsyncTask.java:185)
E/AndroidRuntime(13232):	at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
E/AndroidRuntime(13232):	... 4 more
W/ActivityManager( 1362): Force finishing activity com.zegoggles.smssync/.SmsSync
I/WindowManager( 1362): updateFocusedWindowLocked newFocus=Window{45fb9548 com.zegoggles.smssync/com.zegoggles.smssync.SmsSync paused=true} mode=0 mCurrentFocus = Window{45fb9548 com.zegoggles.smssync/com.zegoggles.smssync.SmsSync paused=true}
I/ActivityThread(13232): enter process activity msg = 102