05-06 11:02:58.069: ERROR/MP-Decision(594): UP Nw:2.700000 Tw:180 rq:3.700000 seq:198.000000
05-06 11:03:05.799: ERROR/IMemory(2592): cannot dup fd=1023, size=2097152, err=0 (Too many open files)
05-06 11:03:05.799: ERROR/IMemory(2592): cannot map BpMemoryHeap (binder=0x31f728), size=2097152, fd=-1 (Bad file number)
05-06 11:03:05.799: ERROR/JavaBinder(2592): *** Uncaught remote exception! (Exceptions are not yet supported across processes.)
05-06 11:03:05.799: ERROR/JavaBinder(2592): android.database.CursorWindowAllocationException: Cursor Window allocation of 2048 kb failed.
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.database.CursorWindow.printDebugMsgIfError(CursorWindow.java:69)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.database.CursorWindow.<init>(CursorWindow.java:610)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.database.CursorWindow.<init>(CursorWindow.java:34)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:584)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:582)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:103)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.os.Binder.execTransact(Binder.java:320)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at dalvik.system.NativeStart.run(Native Method)
05-06 11:03:05.859: ERROR/HAL(10723): load: module=/system/lib/hw/gralloc.msm8660.so
05-06 11:03:05.859: ERROR/HAL(10723): Cannot load library: alloc_mem_region[872]: OOPS: 147 cannot map library 'gralloc.msm8660.so'. no vspace available.
05-06 11:03:05.859: ERROR/GraphicBufferMapper(10723): FATAL: can't find the gralloc module
05-06 11:03:06.199: ERROR/MP-Decision(594): DOWN Ns:2.100000 Ts:270 rq:2.000000 seq:346.000000
05-06 11:03:07.279: ERROR/MP-Decision(594): UP Nw:2.700000 Tw:180 rq:17.600000 seq:191.000000
05-06 11:03:07.299: ERROR/InputDispatcher(241): channel '409046e0 com.MusicPickerActivity/com.MusicPickerActivity.MusicPickerActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
05-06 11:03:07.299: ERROR/InputDispatcher(241): channel '409046e0 com.MusicPickerActivity/com.MusicPickerActivity.MusicPickerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
05-06 11:03:08.359: ERROR/MP-Decision(594): DOWN Ns:2.100000 Ts:270 rq:1.000000 seq:317.000000AP在启动的时候,logcat中观察到这样一段代码log,然后AP就死掉了,想请教出了什么问题?
是so文件缺失呢?还是别的什么?
05-06 11:03:05.799: ERROR/IMemory(2592): cannot dup fd=1023, size=2097152, err=0 (Too many open files)
05-06 11:03:05.799: ERROR/IMemory(2592): cannot map BpMemoryHeap (binder=0x31f728), size=2097152, fd=-1 (Bad file number)
05-06 11:03:05.799: ERROR/JavaBinder(2592): *** Uncaught remote exception! (Exceptions are not yet supported across processes.)
05-06 11:03:05.799: ERROR/JavaBinder(2592): android.database.CursorWindowAllocationException: Cursor Window allocation of 2048 kb failed.
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.database.CursorWindow.printDebugMsgIfError(CursorWindow.java:69)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.database.CursorWindow.<init>(CursorWindow.java:610)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.database.CursorWindow.<init>(CursorWindow.java:34)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:584)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.database.CursorWindow$1.createFromParcel(CursorWindow.java:582)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.content.ContentProviderNative.onTransact(ContentProviderNative.java:103)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at android.os.Binder.execTransact(Binder.java:320)
05-06 11:03:05.799: ERROR/JavaBinder(2592): at dalvik.system.NativeStart.run(Native Method)
05-06 11:03:05.859: ERROR/HAL(10723): load: module=/system/lib/hw/gralloc.msm8660.so
05-06 11:03:05.859: ERROR/HAL(10723): Cannot load library: alloc_mem_region[872]: OOPS: 147 cannot map library 'gralloc.msm8660.so'. no vspace available.
05-06 11:03:05.859: ERROR/GraphicBufferMapper(10723): FATAL: can't find the gralloc module
05-06 11:03:06.199: ERROR/MP-Decision(594): DOWN Ns:2.100000 Ts:270 rq:2.000000 seq:346.000000
05-06 11:03:07.279: ERROR/MP-Decision(594): UP Nw:2.700000 Tw:180 rq:17.600000 seq:191.000000
05-06 11:03:07.299: ERROR/InputDispatcher(241): channel '409046e0 com.MusicPickerActivity/com.MusicPickerActivity.MusicPickerActivity (server)' ~ Consumer closed input channel or an error occurred. events=0x8
05-06 11:03:07.299: ERROR/InputDispatcher(241): channel '409046e0 com.MusicPickerActivity/com.MusicPickerActivity.MusicPickerActivity (server)' ~ Channel is unrecoverably broken and will be disposed!
05-06 11:03:08.359: ERROR/MP-Decision(594): DOWN Ns:2.100000 Ts:270 rq:1.000000 seq:317.000000AP在启动的时候,logcat中观察到这样一段代码log,然后AP就死掉了,想请教出了什么问题?
是so文件缺失呢?还是别的什么?
调试的时候,在oncreate函数内并没有报错,是在执行完oncreate函数以后,发生的异常。所以并不是很懂发生了什么。
不会不是数据库的问题,然后把数据库注掉只创建list,可以塞些空的数据,再看看会不会正常运行,如果不行就是list的问题。
想问一下,这条log是不是因为内存不足而导致加载so文件失败?我用DDMS查看的时候,load: module=/system/lib/hw/gralloc.msm8660.so这个位置上是有这个so文件的,大小为30848.
希望对你有用。