hi, Zhen Xin, I am not very sure about that. But every time I test it on the loongson computer, the information from logcat shows me that it died in the SQLiteDatabase Constructor.
Btw, I did not contact that person yet as he is not online, I will send a mail then! On 1月4日, 上午9时53分, Zhen Xin <xinz...@gmail.com> wrote: > Are you sure it's the java code which causes the crash? Might it be > just a coinidence in time? > > Btw I was told there are other people putting efforts on Loongson > Android. I will be glad to see new comer. Will they join us and help? > > 2012/1/3 李晖 <lihui205...@gmail.com>: > > > By adding more logs I found that that the Account Manager dieded at > > the SQLiteDatabase Constructor(in \frameworks\base\core\java\android > > \database\sqlite\SQLiteDatabase.java file), but it did not alwsays > > died at one place, it sometimes died at the "new WeakHashMap" > > statement, but at the "setLocale(Locale.getDefault());" at another > > time, so I think it may has nothing todo the Account Manager source > > code, I doubt there are bug in my dalvike virtual machine, but I don't > > know how to found the source of this problem, did anyone experience > > this problem? please help me, thanks! > > > On 2011年12月31日, 上午12时01分, 李晖 <lihui205...@gmail.com> wrote: > >> hi, all > >> I am porting android to loongson2f, I encounter the Account > >> Manager not up problem, this following is logcat info: > >> --------- beginning of /dev/log/system > >> I/Vold ( 1321): Vold 2.1 (the revenge) firing up > >> D/Vold ( 1321): Volume sdcard state changing -1 (Initializing) -> 0 > >> (No-Media) > >> W/Vold ( 1321): No UMS switch available > >> --------- beginning of /dev/log/main > >> I/DEBUG ( 1323): debuggerd: Nov 9 2011 17:40:33 > >> I/Netd ( 1322): Netd 1.0 starting > >> D/AndroidRuntime( 1325): > >> D/AndroidRuntime( 1325): >>>>>>>>>>>>>> AndroidRuntime START > >> <<<<<<<<<<<<<< > >> D/AndroidRuntime( 1325): CheckJNI is ON > >> I/ ( 1326): ServiceManager: 0x84cd0 > >> W/AudioHardwareInterface( 1326): Using stubbed audio hardware. No > >> sound will be produced. > >> D/AudioHardwareInterface( 1326): setMode(NORMAL) > >> I/CameraService( 1326): CameraService started: pid=1326 > >> I/AudioFlinger( 1326): AudioFlinger's thread 0x853d8 ready to run > >> D/dalvikvm( 1325): DexOpt: --- BEGIN 'core.jar' (bootstrap=1) --- > >> D/dalvikvm( 1369): Ignoring duplicate verify attempt on Ljava/lang/ > >> Object; > >> D/dalvikvm( 1369): Ignoring duplicate verify attempt on Ljava/lang/ > >> Class; > >> D/dalvikvm( 1369): DexOpt: load 136ms, verify 1623ms, opt 94ms > >> D/dalvikvm( 1325): DexOpt: --- END 'core.jar' (success) --- > >> D/dalvikvm( 1325): DEX prep '/system/framework/core.jar': unzip in > >> 242ms, rewrite 6727ms > >> D/dalvikvm( 1325): DexOpt: --- BEGIN 'ext.jar' (bootstrap=1) --- > >> D/dalvikvm( 1370): DexOpt: load 14ms, verify 189ms, opt 9ms > >> D/dalvikvm( 1325): DexOpt: --- END 'ext.jar' (success) --- > >> D/dalvikvm( 1325): DEX prep '/system/framework/ext.jar': unzip in > >> 22ms, rewrite 1786ms > >> D/dalvikvm( 1325): DexOpt: --- BEGIN 'framework.jar' (bootstrap=1) --- > >> D/dalvikvm( 1372): Note: class Landroid/opengl/GLWrapperBase; has 211 > >> unimplemented (abstract) methods > >> D/dalvikvm( 1372): DexOpt: load 202ms, verify 2178ms, opt 118ms > >> D/dalvikvm( 1325): DexOpt: --- END 'framework.jar' (success) --- > >> D/dalvikvm( 1325): DEX prep '/system/framework/framework.jar': unzip > >> in 261ms, rewrite 6650ms > >> D/dalvikvm( 1325): DexOpt: --- BEGIN > >> 'android.policy.jar' (bootstrap=1) --- > >> D/dalvikvm( 1373): DexOpt: load 12ms, verify 82ms, opt 3ms > >> D/dalvikvm( 1325): DexOpt: --- END 'android.policy.jar' (success) --- > >> D/dalvikvm( 1325): DEX prep '/system/framework/android.policy.jar': > >> unzip in 10ms, rewrite 678ms > >> D/dalvikvm( 1325): DexOpt: --- BEGIN 'services.jar' (bootstrap=1) --- > >> D/dalvikvm( 1374): DexOpt: load 39ms, verify 726ms, opt 31ms > >> D/dalvikvm( 1325): DexOpt: --- END 'services.jar' (success) --- > >> D/dalvikvm( 1325): DEX prep '/system/framework/services.jar': unzip in > >> 63ms, rewrite 1389ms > >> D/AndroidRuntime( 1325): --- registering native functions --- > >> I/ethernet( 1325): Loading ethernet jni class > >> I/SamplingProfilerIntegration( 1325): Profiler is disabled. > >> I/Zygote ( 1325): Preloading classes... > >> E/Zygote ( 1325): setreuid() failed. errno: 2 > >> D/dalvikvm( 1325): GC_EXPLICIT freed 823 objects / 47624 bytes in 2ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 219 objects / 13600 bytes in 2ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 253 objects / 14320 bytes in 3ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 466 objects / 28848 bytes in 3ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 2090 objects / 108328 bytes in > >> 6ms > >> W/MediaProfiles( 1325): could not find media config xml file > >> D/dalvikvm( 1325): GC_EXPLICIT freed 279 objects / 15968 bytes in 5ms > >> D/dalvikvm( 1325): GC_FOR_MALLOC freed 5066 objects / 224736 bytes in > >> 9ms > >> D/dalvikvm( 1325): GC_FOR_MALLOC freed 11511 objects / 392168 bytes in > >> 11ms > >> D/dalvikvm( 1325): GC_FOR_MALLOC freed 9973 objects / 470864 bytes in > >> 13ms > >> D/dalvikvm( 1325): GC_FOR_MALLOC freed 8777 objects / 427472 bytes in > >> 14ms > >> D/dalvikvm( 1325): GC_FOR_MALLOC freed 7511 objects / 470872 bytes in > >> 14ms > >> D/dalvikvm( 1325): GC_FOR_MALLOC freed 7262 objects / 464592 bytes in > >> 14ms > >> D/dalvikvm( 1325): GC_FOR_MALLOC freed 8151 objects / 465544 bytes in > >> 15ms > >> D/dalvikvm( 1325): GC_FOR_MALLOC freed 7517 objects / 461528 bytes in > >> 15ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 450 objects / 38656 bytes in 13ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 594 objects / 28984 bytes in 13ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 449 objects / 25112 bytes in 14ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 308 objects / 35128 bytes in 19ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 279 objects / 19040 bytes in 19ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 341 objects / 18464 bytes in 22ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 449 objects / 28336 bytes in 20ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 527 objects / 52936 bytes in 22ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 623 objects / 34008 bytes in 22ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 861 objects / 46960 bytes in 22ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 1747 objects / 85640 bytes in > >> 23ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 447 objects / 29400 bytes in 23ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 315 objects / 20160 bytes in 23ms > >> I/Zygote ( 1325): ...preloaded 1265 classes in 3603ms. > >> D/dalvikvm( 1325): GC_EXPLICIT freed 99 objects / 13912 bytes in 25ms > >> I/Zygote ( 1325): Preloading resources... > >> D/dalvikvm( 1325): GC_EXPLICIT freed 312 objects / 15560 bytes in 23ms > >> W/Zygote ( 1325): Preloaded drawable resource #0x10801eb (res/ > >> drawable-mdpi/jog_tab_bar_left_end_confirm_gray.9.png) that varies > >> with configuration!! > >> W/Zygote ( 1325): Preloaded drawable resource #0x10801ef (res/ > >> drawable-mdpi/jog_tab_bar_left_end_normal.9.png) that varies with > >> configuration!! > >> W/Zygote ( 1325): Preloaded drawable resource #0x10801f0 (res/ > >> drawable-mdpi/jog_tab_bar_left_end_pressed.9.png) that varies with > >> configuration!! > >> W/Zygote ( 1325): Preloaded drawable resource #0x10801f4 (res/ > >> drawable-mdpi/jog_tab_bar_right_end_confirm_gray.9.png) that varies > >> with configuration!! > >> W/Zygote ( 1325): Preloaded drawable resource #0x10801f8 (res/ > >> drawable-mdpi/jog_tab_bar_right_end_normal.9.png) that varies with > >> configuration!! > >> W/Zygote ( 1325): Preloaded drawable resource #0x10801f9 (res/ > >> drawable-mdpi/jog_tab_bar_right_end_pressed.9.png) that varies with > >> configuration!! > >> D/dalvikvm( 1325): GC_EXPLICIT freed 392 objects / 23912 bytes in 25ms > >> W/Zygote ( 1325): Preloaded drawable resource #0x10801fe (res/ > >> drawable-mdpi/jog_tab_left_confirm_gray.png) that varies with > >> configuration!! > >> W/Zygote ( 1325): Preloaded drawable resource #0x1080203 (res/ > >> drawable-mdpi/jog_tab_left_normal.png) that varies with > >> configuration!! > >> W/Zygote ( 1325): Preloaded drawable resource #0x1080204 (res/ > >> drawable-mdpi/jog_tab_left_pressed.png) that varies with > >> configuration!! > >> W/Zygote ( 1325): Preloaded drawable resource #0x1080206 (res/ > >> drawable-mdpi/jog_tab_right_confirm_gray.png) that varies with > >> configuration!! > >> W/Zygote ( 1325): Preloaded drawable resource #0x108020c (res/ > >> drawable-mdpi/jog_tab_right_normal.png) that varies with > >> configuration!! > >> W/Zygote ( 1325): Preloaded drawable resource #0x108020d (res/ > >> drawable-mdpi/jog_tab_right_pressed.png) that varies with > >> configuration!! > >> I/Zygote ( 1325): ...preloaded 61 resources in 238ms. > >> I/Zygote ( 1325): ...preloaded 15 resources in 9ms. > >> D/dalvikvm( 1325): GC_EXPLICIT freed 331 objects / 19968 bytes in 25ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 111 objects / 4368 bytes in 25ms > >> D/dalvikvm( 1325): GC_EXPLICIT freed 2 objects / 48 bytes in 25ms > >> I/dalvikvm( 1325): System server process 1375 has been created > >> I/Zygote ( 1325): Accepting command socket connections > >> E/BatteryService( 1375): Could not open /sys/class/power_supply > >> E/BatteryService( 1375): acOnlinePath not found > >> E/BatteryService( 1375): usbOnlinePath not found > >> E/BatteryService( 1375): batteryStatusPath not found > >> E/BatteryService( 1375): batteryHealthPath not found > >> E/BatteryService( 1375): batteryPresentPath not found > >> E/BatteryService( 1375): batteryCapacityPath not found > >> E/BatteryService( 1375): batteryVoltagePath not found > >> E/BatteryService( 1375): batteryTemperaturePath not found > >> E/BatteryService( 1375): batteryTechnologyPath not found > >> I/sysproc ( 1375): Entered system_init() > >> I/sysproc ( 1375): ServiceManager: 0x1a75f8 > >> I/SurfaceFlinger( 1375): SurfaceFlinger is starting > >> I/SurfaceFlinger( 1375): SurfaceFlinger's main thread ready to run. > >> Initializing graphics H/W... > >> I/gralloc ( 1375): using (fd=24) > >> I/gralloc ( 1375): id = SiS 315PRO > >> I/gralloc ( 1375): xres = 800 px > >> I/gralloc ( 1375): yres = 600 px > >> I/gralloc ( 1375): xres_virtual = 800 px > >> I/gralloc ( 1375): yres_virtual = 20582 px > >> I/gralloc ( 1375): bpp = 16 > >> I/gralloc ( 1375): r = 11:5 > >> I/gralloc ( 1375): g = 5:6 > >> I/gralloc ( 1375): b = 0:5 > >> I/gralloc ( 1375): width > > ... > > 阅读更多 >> -- You received this message because you are subscribed to the Google Groups "loongson-dev" group. To post to this group, send email to loongson-dev@googlegroups.com. To unsubscribe from this group, send email to loongson-dev+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/loongson-dev?hl=en.