Should not pop back stack (indirectly) in onLoadFinished(). See http://stackoverflow.com/questions/12276243/commit-fragment-from-onloadfinished-within-activity and http://stackoverflow.com/questions/7746140/android-problems-using-fragmentactivity-loader-to-update-fragmentstatepagera .
From monkey:
// Allowing start of Intent { act=android.intent.action.EDIT dat=content://net.lp.collectionista.products/items/book/8 cmp=net.lp.collectionista/.ui.activities.CollectionistaMultiPaneWindow } in package net.lp.collectionista
// CRASH: net.lp.collectionista (pid 2380)
// Short Msg: java.lang.IllegalStateException
// Long Msg: java.lang.IllegalStateException: Can not perform this action inside of onLoadFinished
// Build Label: samsung/GT-P7510/GT-P7510:4.0.4/IMM76D/UELPL:user/release-keys
// Build Changelist: eng.root.20121017.195315
// Build Time: 1350518027000
// java.lang.IllegalStateException: Can not perform this action inside of onLoadFinished
// at android.support.v4.app.FragmentManagerImpl.checkStateLoss(FragmentManager.java:1347)
// at android.support.v4.app.FragmentManagerImpl.popBackStackImmediate(FragmentManager.java:486)
// at android.support.v4.app.FragmentActivity.onBackPressed(FragmentActivity.java:179)
// at net.lp.collectionista.ui.activities.CollectionistaMultiPaneWindow.onFragmentWantsFinish(CollectionistaMultiPaneWindow.java:1087)
// at net.lp.collectionista.ui.fragments.RegularEditFragment.onLoadFinished(RegularEditFragment.java:679)
// at net.lp.collectionista.ui.fragments.items.book.TabbedBookItemEditFragment.onLoadFinished(TabbedBookItemEditFragment.java:409)
// at net.lp.collectionista.ui.fragments.RegularEditFragment.onLoadFinished(RegularEditFragment.java:1)
// at android.support.v4.app.LoaderManagerImpl$LoaderInfo.callOnLoadFinished(LoaderManager.java:427)
// at android.support.v4.app.LoaderManagerImpl$LoaderInfo.onLoadComplete(LoaderManager.java:395)
// at android.support.v4.content.Loader.deliverResult(Loader.java:104)
// at android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:73)
// at android.support.v4.content.CursorLoader.deliverResult(CursorLoader.java:35)
// at android.support.v4.content.AsyncTaskLoader.dispatchOnLoadComplete(AsyncTaskLoader.java:223)
// at android.support.v4.content.AsyncTaskLoader$LoadTask.onPostExecute(AsyncTaskLoader.java:61)
// at android.support.v4.content.ModernAsyncTask.finish(ModernAsyncTask.java:461)
// at android.support.v4.content.ModernAsyncTask.access$500(ModernAsyncTask.java:47)
// at android.support.v4.content.ModernAsyncTask$InternalHandler.handleMessage(ModernAsyncTask.java:474)
// at android.os.Handler.dispatchMessage(Handler.java:99)
// at android.os.Looper.loop(Looper.java:137)
// at android.app.ActivityThread.main(ActivityThread.java:4931)
// at java.lang.reflect.Method.invokeNative(Native Method)
// at java.lang.reflect.Method.invoke(Method.java:511)
// at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:791)
// at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:558)
// at dalvik.system.NativeStart.main(Native Method)
//
** Monkey aborted due to error.
Events injected: 1180
:Sending rotation degree=0, persist=false
:Dropped: keys=8 pointers=33 trackballs=0 flips=0 rotations=0
## Network stats: elapsed time=48404ms (0ms mobile, 48404ms wifi, 0ms not connected)
** System appears to have crashed at event 1180 of 10000 using seed 0