DexOpt freezes on SettingsProvider.apk@xxxxxxxxxxx

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm trying to boot SE Android on Samsung/Google Nexus S 4G using full_crespo4g-eng configuration.The original AOSP (android-4.0.3_r1 revision) works just fine, but there are two issues with SE Android (aosp master revision + selinuxproject). First of all, it was not possible to build emulator because of some errors, so I had to exclude it from compilation, I believe that it should not affect booting process. Second, after flashing, the device hangs every time during the Android boot process:

(1st reboot)
01-01 00:00:58.433: I/ActivityThread(168): Pub settings: com.android.providers.settings.SettingsProvider
01-01 00:00:58.433: I/SystemServer(168): System Content Providers
01-01 00:00:58.437: D/dalvikvm(168): DexOpt: --- BEGIN 'SettingsProvider.apk' (bootstrap=0) ---
hang!

(2nd reboot)
01-01 00:00:21.980: I/ActivityThread(159): Pub settings: com.android.providers.settings.SettingsProvider
01-01 00:00:21.980: I/SystemServer(159): System Content Providers
01-01 00:00:21.984: D/dalvikvm(159): DexOpt: incorrect opt magic number (0xff ff ff ff)
01-01 00:00:21.984: D/dalvikvm(159): ODEX file is stale or bad; removing and retrying (/data/dalvik-cache/system@app@xxxxxxxxxxxxxxxxxxxx@classes.dex)
01-01 00:00:21.988: D/dalvikvm(159): DexOpt: --- BEGIN 'SettingsProvider.apk' (bootstrap=0) ---
hang!

You can see that DexOpt is causing a system hang while optimizing SettingsProvider.apk@xxxxxxxxxxx. The source code of SetttingProvider is unchanged and DexOpt works great for many other system apps, so it's unclear why it freezes. Thank you in advance for your answers. Also, I appreciate any BKMs on how to debug similar issues.

[Index of Archives]     [Selinux Refpolicy]     [Linux SGX]     [Fedora Users]     [Fedora Desktop]     [Yosemite Photos]     [Yosemite Camping]     [Yosemite Campsites]     [KDE Users]     [Gnome Users]

  Powered by Linux