That is not a crash in the Native code.  It looks like your constructor is 
"looping" and causing a time-out of the main thread.  If you were getting a 
native crash you would see something like (link into the android-ndk group):

https://groups.google.com/d/msg/android-ndk/3M9Ge1ac3Xk/ZlGbC1afH9IJ

in LogCat.

Base class(es) and class based member variable(s) in MyDecoder are 
initialized before the constructor is entered so the problem may be 
happening before the constructor proper is entered.

On Wednesday, September 5, 2012 2:52:53 PM UTC+1, cpares wrote:
>
> This is it, then. Like I said, there's not much aside from everything 
> suddenly realizing the app has died:
>
> 09-05 15:32:13.190: D/RUNNative(8769): "A"
> 09-05 15:32:13.190: I/ActivityThread(8896): Pub 
> com.google.android.apps.plus.content.EsPicasaStoreProvider: 
> com.google.android.picasastore.PicasaPhotoContentProvider
> 09-05 15:32:13.210: D/dalvikvm(8896): GC_CONCURRENT freed 482K, 6% free 
> 14093K/14855K, paused 2ms+3ms
> 09-05 15:32:13.245: W/InputDispatcher(2098): channel ~ Consumer closed 
> input channel or an error occurred.  events=0x8
> 09-05 15:32:13.245: E/InputDispatcher(2098): channel ~ Channel is 
> unrecoverably broken and will be disposed!
> 09-05 15:32:13.245: E/SecCameraHardware(6747): Could not dequeue gralloc 
> buffer!
> 09-05 15:32:13.245: E/ISecCameraHardware(6747): bool 
> android::ISecCameraHardware::hybridPreviewThread()::flushSurface() fail
> 09-05 15:32:13.245: D/SecCameraCoreManager(6747): virtual void 
> android::SecCameraCoreManager::stopPreview():stop IT Policy checking thread
> 09-05 15:32:13.245: D/Zygote(1902): Process 8769 exited cleanly (1)
> 09-05 15:32:13.250: W/InputDispatcher(2098): Attempted to unregister 
> already unregistered input channel
> 09-05 15:32:13.250: D/dalvikvm(2098): GC_CONCURRENT freed 2063K, 59% free 
> 22349K/53255K, paused 3ms+8ms
> 09-05 15:32:13.250: I/ActivityManager(2098): Process com.example.test011 
> (pid 8769) has died.
> 09-05 15:32:13.250: I/WindowManager(2098): WINDOW DIED Window{41da36d0 
> XXX.XXXXXXX.XXXX011/XXX.XXXXXXX.XXXX011.MainActivity paused=false}
> 09-05 15:32:13.255: I/ActivityThread(8896): Pub com.google.plus.platform: 
> com.google.android.apps.plus.content.AdsProvider
> 09-05 15:32:13.255: I/ActivityThread(8896): Pub 
> com.google.android.apps.plus.iu.EsGoogleIuProvider: 
> com.google.android.apps.plus.iu.InstantUploadProvider
> 09-05 15:32:13.265: E/SecCameraHardware(6747): Could not dequeue gralloc 
> buffer!
> 09-05 15:32:13.265: E/ISecCameraHardware(6747): bool 
> android::ISecCameraHardware::hybridPreviewThread()::flushSurface() fail
> 09-05 15:32:13.275: I/SurfaceFlinger(1901): id=1890 Removed SurfaceView 
> idx=1 Map Size=4
> 09-05 15:32:13.275: I/SurfaceFlinger(1901): id=1890 Removed SurfaceView 
> idx=-2 Map Size=4
> 09-05 15:32:13.275: D/KeyguardViewMediator(2098): setHidden false
> 09-05 15:32:13.275: W/WindowManager(2098): Force-removing child win 
> Window{42cfefd0 SurfaceView paused=false} from container Window{41da36d0 
> com.example.test011/com.example.test011.MainActivity paused=false}
>
> (This is the output in the unfiltered log, the one for the app just shows 
> nothing after "A".)
>
> On Wednesday, September 5, 2012 3:49:26 PM UTC+2, RichardC wrote:
>>
>> The crash dumps show in LogCat.  Posting there would be useful.
>
>

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to