[G2 Android Development] :
Got another non-existent navbar onboot using vs980 on the latest build (02FEB).

Logs: https://dl.dropboxusercontent.com/u/1659941/2015-02-02_18.41.zip

I've scanned through the logs, and include some highlights of failures below.

I have this in my dmesg:

<4>[ 1.440187 / 01-01 00:00:01.430] ------------[ cut here ]------------
<4>[ 1.440201 / 01-01 00:00:01.430] WARNING: at mm/page_alloc.c:1572 get_page_from_freelist+0x8d4/0xb88()
<4>[ 1.440208 / 01-01 00:00:01.430] Modules linked in:
<4>[ 1.440227 / 01-01 00:00:01.430] [<c010eb54>] (unwind_backtrace+0x0/0x148) from [<c01af7ac>] (warn_slowpath_common+0x60/0x80)
<4>[ 1.440238 / 01-01 00:00:01.430] [<c01af7ac>] (warn_slowpath_common+0x60/0x80) from [<c01af880>] (warn_slowpath_null+0x1c/0x24)
<4>[ 1.440249 / 01-01 00:00:01.430] [<c01af880>] (warn_slowpath_null+0x1c/0x24) from [<c025e134>] (get_page_from_freelist+0x8d4/0xb88)
<4>[ 1.440286 / 01-01 00:00:01.430] [<c025e134>] (get_page_from_freelist+0x8d4/0xb88) from [<c025f1b0>] (__alloc_pages_nodemask+0x168/0xa08)
<4>[ 1.440298 / 01-01 00:00:01.430] [<c025f1b0>] (__alloc_pages_nodemask+0x168/0xa08) from [<c025fac4>] (__get_free_pages+0x14/0x3c)
<4>[ 1.440310 / 01-01 00:00:01.430] [<c025fac4>] (__get_free_pages+0x14/0x3c) from [<c028d36c>] (kmalloc_order_trace+0x34/0xe8)
<4>[ 1.440325 / 01-01 00:00:01.430] [<c028d36c>] (kmalloc_order_trace+0x34/0xe8) from [<c078171c>] (mmc_alloc_sg+0x20/0x54)
<4>[ 1.440338 / 01-01 00:00:01.430] [<c078171c>] (mmc_alloc_sg+0x20/0x54) from [<c0781ab8>] (mmc_init_queue+0x26c/0x39c)
<4>[ 1.440349 / 01-01 00:00:01.430] [<c0781ab8>] (mmc_init_queue+0x26c/0x39c) from [<c077d56c>] (mmc_blk_alloc_req+0x148/0x3e8)
<4>[ 1.440361 / 01-01 00:00:01.430] [<c077d56c>] (mmc_blk_alloc_req+0x148/0x3e8) from [<c077f550>] (mmc_blk_probe+0x94/0x320)
<4>[ 1.440374 / 01-01 00:00:01.430] [<c077f550>] (mmc_blk_probe+0x94/0x320) from [<c04f3608>] (driver_probe_device+0xc0/0x380)
<4>[ 1.440386 / 01-01 00:00:01.430] [<c04f3608>] (driver_probe_device+0xc0/0x380) from [<c04f162c>] (bus_for_each_drv+0x68/0xa8)
<4>[ 1.440397 / 01-01 00:00:01.430] [<c04f162c>] (bus_for_each_drv+0x68/0xa8) from [<c04f34d4>] (device_attach+0xa0/0xb4)
<4>[ 1.440407 / 01-01 00:00:01.430] [<c04f34d4>] (device_attach+0xa0/0xb4) from [<c04f2800>] (bus_probe_device+0x98/0xcc)
<4>[ 1.440418 / 01-01 00:00:01.430] [<c04f2800>] (bus_probe_device+0x98/0xcc) from [<c04f0b1c>] (device_add+0x548/0x60c)
<4>[ 1.440431 / 01-01 00:00:01.430] [<c04f0b1c>] (device_add+0x548/0x60c) from [<c076f324>] (mmc_add_card+0x140/0x380)
<4>[ 1.440443 / 01-01 00:00:01.430] [<c076f324>] (mmc_add_card+0x140/0x380) from [<c0772ee8>] (mmc_attach_mmc+0xd0/0x1f0)
<4>[ 1.440491 / 01-01 00:00:01.430] [<c0772ee8>] (mmc_attach_mmc+0xd0/0x1f0) from [<c076eb98>] (mmc_rescan+0x2e8/0x358)
<4>[ 1.440504 / 01-01 00:00:01.430] [<c076eb98>] (mmc_rescan+0x2e8/0x358) from [<c01cc6c8>] (process_one_work+0x1e4/0x524)
<4>[ 1.440516 / 01-01 00:00:01.430] [<c01cc6c8>] (process_one_work+0x1e4/0x524) from [<c01cd400>] (worker_thread+0x190/0x4f0)
<4>[ 1.440529 / 01-01 00:00:01.430] [<c01cd400>] (worker_thread+0x190/0x4f0) from [<c01d1f80>] (kthread+0xd4/0xec)
<4>[ 1.440544 / 01-01 00:00:01.430] [<c01d1f80>] (kthread+0xd4/0xec) from [<c01081a8>] (kernel_thread_exit+0x0/0x8)
<4>[ 1.440552 / 01-01 00:00:01.430] ---[ end trace da227214a82491b9 ]---

A few errors in the modem log, but this one at least points out that the command used was depricated:

02-02 18:38:03.799 E/PHONE ( 2374): [ServiceState] setState deprecated use setVoiceRegState()

A few highlights from the logcat:

02-02 18:29:03.129 E/PackageManager( 823): updateAllSharedLibrariesLPw failed: Package com.android.dialer requires unavailable shared library com.qualcomm.qti.smartsearch; failing!

02-02 18:29:12.869 I/SystemServer( 823): Window Manager
02-02 18:29:12.909 I/WindowManager( 823): No existing display settings /data/system/display_settings.xml; starting empty
02-02 18:29:12.979 E/WindowManager( 823): Exception creating Blur surface
02-02 18:29:12.979 E/WindowManager( 823): android.view.Surface$OutOfResourcesException
02-02 18:29:12.979 E/WindowManager( 823):	at android.view.SurfaceControl.nativeCreate(Native Method)
02-02 18:29:12.979 E/WindowManager( 823):	at android.view.SurfaceControl.<init>(SurfaceControl.java:302)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.server.wm.BlurLayer.<init>(BlurLayer.java:84)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.server.wm.TaskStack.attachDisplayContent(TaskStack.java:242)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.server.wm.WindowManagerService.attachStack(WindowManagerService.java:5168)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.server.am.ActivityStackSupervisor$ActivityContainer.attachToDisplayLocked(ActivityStackSupervisor.java:3654)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.server.am.ActivityStackSupervisor.createStackOnDisplay(ActivityStackSupervisor.java:2576)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.server.am.ActivityStackSupervisor.setWindowManager(ActivityStackSupervisor.java:367)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.server.am.ActivityManagerService.setWindowManager(ActivityManagerService.java:2218)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.server.SystemServer.startOtherServices(SystemServer.java:510)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.server.SystemServer.run(SystemServer.java:284)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.server.SystemServer.main(SystemServer.java:185)
02-02 18:29:12.979 E/WindowManager( 823):	at java.lang.reflect.Method.invoke(Native Method)
02-02 18:29:12.979 E/WindowManager( 823):	at java.lang.reflect.Method.invoke(Method.java:372)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
02-02 18:29:12.979 E/WindowManager( 823):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)

I think this caused it to freeze until I unplugged it from the wall charger on initial boot:.. apparently it thought my ac adapter was usb storage.

02-02 18:29:13.139 D/MountService( 823): got storage path: /storage/usb description: USB storage primary: false removable: true emulated: false mtpReserve: 0 allowMassStorage: false maxFileSize: 0
02-02 18:29:13.139 D/MountService( 823): addVolumeLocked() StorageVolume:
02-02 18:29:13.139 D/MountService( 823): mStorageId=0 mPath=/storage/usb mDescriptionId=17040967 mPrimary=false
02-02 18:29:13.139 D/MountService( 823): mRemovable=true mEmulated=false mMtpReserveSpace=0 mAllowMassStorage=false
02-02 18:29:13.139 D/MountService( 823): mMaxFileSize=0 mOwner=null mUuid=null mUserLabel=null mState=null
02-02 18:29:13.159 D/MountService( 823): volume state changed for /storage/usb (unmounted -> removed)
02-02 18:29:13.159 E/MountService( 823): Error processing initial volume state
02-02 18:29:13.159 E/MountService( 823): java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String android.os.storage.StorageVolume.getPath()' on a null object reference
02-02 18:29:13.159 E/MountService( 823):	at com.android.server.MountService.updatePublicVolumeState(MountService.java:752)
02-02 18:29:13.159 E/MountService( 823):	at com.android.server.MountService.access$1700(MountService.java:119)
02-02 18:29:13.159 E/MountService( 823):	at com.android.server.MountService$3.run(MountService.java:860)

The same failure for the window manager:

02-02 18:37:57.929 W/ContextImpl( 823): Calling a method in the system process without a qualified user: android.app.ContextImpl.sendStickyBroadcast:1505 com.android.internal.policy.impl.keyguard.KeyguardServiceDelegate.sendStateChangeBroadcast:129 com.android.internal.policy.impl.keyguard.KeyguardServiceDelegate.onSystemReady:270 com.android.internal.policy.impl.PhoneWindowManager.systemReady:6289 com.android.server.wm.WindowManagerService.systemReady:7566
02-02 18:37:57.929 E/ActivityManager( 823): Attempt to launch receivers of broadcast intent Intent { act=com.android.internal.action.KEYGUARD_SERVICE_STATE_CHANGED (has extras) } before boot completion
02-02 18:37:57.929 W/SystemServer( 823): ***********************************************
02-02 18:37:57.929 F/SystemServer( 823): BOOT FAILURE making Window Manager Service ready
02-02 18:37:57.929 F/SystemServer( 823): java.lang.IllegalStateException: Cannot broadcast before boot completed
02-02 18:37:57.929 F/SystemServer( 823):	at com.android.server.am.ActivityManagerService.verifyBroadcastLocked(ActivityManagerService.java:16067)
02-02 18:37:57.929 F/SystemServer( 823):	at com.android.server.am.ActivityManagerService.broadcastIntent(ActivityManagerService.java:16085)
02-02 18:37:57.929 F/SystemServer( 823):	at android.app.ContextImpl.sendStickyBroadcast(ContextImpl.java:1509)
02-02 18:37:57.929 F/SystemServer( 823):	at com.android.internal.policy.impl.keyguard.KeyguardServiceDelegate.sendStateChangeBroadcast(KeyguardServiceDelegate.java:129)
02-02 18:37:57.929 F/SystemServer( 823):	at com.android.internal.policy.impl.keyguard.KeyguardServiceDelegate.onSystemReady(KeyguardServiceDelegate.java:270)
02-02 18:37:57.929 F/SystemServer( 823):	at com.android.internal.policy.impl.PhoneWindowManager.systemReady(PhoneWindowManager.java:6289)
02-02 18:37:57.929 F/SystemServer( 823):	at com.android.server.wm.WindowManagerService.systemReady(WindowManagerService.java:7566)
02-02 18:37:57.929 F/SystemServer( 823):	at com.android.server.SystemServer.startOtherServices(SystemServer.java:1100)
02-02 18:37:57.929 F/SystemServer( 823):	at com.android.server.SystemServer.run(SystemServer.java:284)
02-02 18:37:57.929 F/SystemServer( 823):	at com.android.server.SystemServer.main(SystemServer.java:185)
02-02 18:37:57.929 F/SystemServer( 823):	at java.lang.reflect.Method.invoke(Native Method)
02-02 18:37:57.929 F/SystemServer( 823):	at java.lang.reflect.Method.invoke(Method.java:372)
02-02 18:37:57.929 F/SystemServer( 823):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
02-02 18:37:57.929 F/SystemServer( 823):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)
02-02 18:37:57.969 D/PowerManagerService( 823): mWakeLockBlockingEnabled=0 blockedWakelockList=null
02-02 18:37:58.029 E/WindowManager( 823): Exception creating Blur surface
02-02 18:37:58.029 E/WindowManager( 823): android.view.Surface$OutOfResourcesException
02-02 18:37:58.029 E/WindowManager( 823):	at android.view.SurfaceControl.nativeCreate(Native Method)
02-02 18:37:58.029 E/WindowManager( 823):	at android.view.SurfaceControl.<init>(SurfaceControl.java:302)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.server.wm.BlurLayer.<init>(BlurLayer.java:84)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.server.wm.TaskStack.attachDisplayContent(TaskStack.java:242)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.server.wm.WindowManagerService.attachStack(WindowManagerService.java:5168)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.server.am.ActivityStackSupervisor$ActivityContainer.attachToDisplayLocked(ActivityStackSupervisor.java:3654)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.server.am.ActivityStackSupervisor.createStackOnDisplay(ActivityStackSupervisor.java:2576)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.server.am.ActivityStackSupervisor.createStackForRestoredTaskHistory(ActivityStackSupervisor.java:2593)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.server.am.ActivityManagerService.systemReady(ActivityManagerService.java:11355)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.server.SystemServer.startOtherServices(SystemServer.java:1192)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.server.SystemServer.run(SystemServer.java:284)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.server.SystemServer.main(SystemServer.java:185)
02-02 18:37:58.029 E/WindowManager( 823):	at java.lang.reflect.Method.invoke(Native Method)
02-02 18:37:58.029 E/WindowManager( 823):	at java.lang.reflect.Method.invoke(Method.java:372)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
02-02 18:37:58.029 E/WindowManager( 823):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)

Not 100% sure why this cyanogenmod package is non-existent or why it's looking for it:

02-02 18:38:04.099 I/ActivityManager( 823): Start proc com.android.settings for broadcast com.android.settings/.widget.SettingsAppWidgetProvider: pid=2929 uid=1000 gids={41000, 9997, 1028, 1015, 1023, 3003, 3002, 3001} abi=armeabi-v7a
02-02 18:38:04.189 W/ResourcesManager( 2929): Asset path '/system/framework/org.cyanogenmod.hardware.jar' does not exist or contains no resources.
02-02 18:38:05.037 F/WindowManager( 823): Window Session Crash
02-02 18:38:05.037 F/WindowManager( 823): java.lang.IllegalArgumentException: Requested window null does not exist
02-02 18:38:05.037 F/WindowManager( 823):	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8513)
02-02 18:38:05.037 F/WindowManager( 823):	at com.android.server.wm.Session.setWallpaperPosition(Session.java:405)
02-02 18:38:05.037 F/WindowManager( 823):	at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:510)
02-02 18:38:05.037 F/WindowManager( 823):	at com.android.server.wm.Session.onTransact(Session.java:130)
02-02 18:38:05.037 F/WindowManager( 823):	at android.os.Binder.execTransact(Binder.java:446)
02-02 18:38:05.087 I/ActivityManager( 823): Start proc com.google.android.gms for broadcast com.google.android.gms/.checkin.CheckinService$Receiver: pid=2960 uid=10061 gids={50061, 9997, 2001, 3003, 1007, 3006, 3002, 3001, 1028, 1023, 1015, 1005, 3007} abi=armeabi-v7a
02-02 18:38:05.127 F/WindowManager( 823): Window Session Crash
02-02 18:38:05.127 F/WindowManager( 823): java.lang.IllegalArgumentException: Requested window null does not exist
02-02 18:38:05.127 F/WindowManager( 823):	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8513)
02-02 18:38:05.127 F/WindowManager( 823):	at com.android.server.wm.Session.setWallpaperPosition(Session.java:405)
02-02 18:38:05.127 F/WindowManager( 823):	at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:510)
02-02 18:38:05.127 F/WindowManager( 823):	at com.android.server.wm.Session.onTransact(Session.java:130)
02-02 18:38:05.127 F/WindowManager( 823):	at android.os.Binder.execTransact(Binder.java:446)
02-02 18:38:05.247 W/ResourcesManager( 2960): Asset path '/system/framework/com.android.media.remotedisplay.jar' does not exist or contains no resources.
02-02 18:38:05.247 W/ResourcesManager( 2960): Asset path '/system/framework/com.android.location.provider.jar' does not exist or contains no resources.

Another windowmanger crash: (this happens repeatedly throughout the log)

02-02 18:38:05.907 F/WindowManager( 823): Window Session Crash
02-02 18:38:05.907 F/WindowManager( 823): java.lang.IllegalArgumentException: Requested window null does not exist
02-02 18:38:05.907 F/WindowManager( 823):	at com.android.server.wm.WindowManagerService.windowForClientLocked(WindowManagerService.java:8513)
02-02 18:38:05.907 F/WindowManager( 823):	at com.android.server.wm.Session.setWallpaperPosition(Session.java:405)
02-02 18:38:05.907 F/WindowManager( 823):	at android.view.IWindowSession$Stub.onTransact(IWindowSession.java:510)
02-02 18:38:05.907 F/WindowManager( 823):	at com.android.server.wm.Session.onTransact(Session.java:130)
02-02 18:38:05.907 F/WindowManager( 823):	at android.os.Binder.execTransact(Binder.java:446)

Keyguard error:

02-02 18:38:17.716 W/KeyguardTouchDelegate( 2115): isShowingAndNotOccluded(): NO SERVICE!
02-02 18:38:17.826 V/KeyguardTouchDelegate( 2115): Connected to keyguard

A TON of errors from minikin (part of google source), Im only copying a portion to make them easy to find... It's only 2 fonts that are missing though.

02-02 18:38:41.346 E/Minikin ( 2960): addFont failed to create font /system/fonts/NanumGothic.ttf
02-02 18:38:41.346 E/Minikin ( 2960): addFont failed to create font /system/fonts/DroidSansFallback.ttf

This error may be related to the deprecated command in the modem log?

02-02 18:38:49.336 D/PhoneApp( 2374): getPhone phoneId:0
02-02 18:38:49.366 W/System.err( 6711): java.io.EOFException
02-02 18:38:49.366 W/System.err( 6711):	at libcore.io.Streams.readFully(Streams.java:83)
02-02 18:38:49.366 W/System.err( 6711):	at java.io.DataInputStream.readShort(DataInputStream.java:152)
02-02 18:38:49.366 W/System.err( 6711):	at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:2064)
02-02 18:38:49.366 W/System.err( 6711):	at java.io.ObjectInputStream.<init>(ObjectInputStream.java:371)
02-02 18:38:49.366 W/System.err( 6711):	at com.handcent.sender.h.cA(SourceFile:11134)
02-02 18:38:49.366 W/System.err( 6711):	at com.handcent.im.util.g.<init>(SourceFile:269)
02-02 18:38:49.366 W/System.err( 6711):	at com.handcent.im.util.g.init(SourceFile:278)
02-02 18:38:49.366 W/System.err( 6711):	at com.handcent.nextsms.MmsApp.onCreate(SourceFile:194)
02-02 18:38:49.366 W/System.err( 6711):	at android.app.Instrumentation.callApplicationOnCreate(Instrumentation.java:1011)
02-02 18:38:49.366 W/System.err( 6711):	at android.app.ActivityThread.handleBindApplication(ActivityThread.java:4553)
02-02 18:38:49.366 W/System.err( 6711):	at android.app.ActivityThread.access$1600(ActivityThread.java:147)
02-02 18:38:49.366 W/System.err( 6711):	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1357)
02-02 18:38:49.366 W/System.err( 6711):	at android.os.Handler.dispatchMessage(Handler.java:102)
02-02 18:38:49.366 W/System.err( 6711):	at android.os.Looper.loop(Looper.java:135)
02-02 18:38:49.366 W/System.err( 6711):	at android.app.ActivityThread.main(ActivityThread.java:5256)
02-02 18:38:49.366 W/System.err( 6711):	at java.lang.reflect.Method.invoke(Native Method)
02-02 18:38:49.366 W/System.err( 6711):	at java.lang.reflect.Method.invoke(Method.java:372)
02-02 18:38:49.366 W/System.err( 6711):	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:898)
02-02 18:38:49.366 W/System.err( 6711):	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:693)

Most of the rest of it looks like fairly routine log entries... Except for a massive thermalengine failure, but that would be kernel related.

[MENTION=3987079]remicks[/MENTION], I think that this bit here might fix the font errors that I have flooding my logcat.

DroidSansFallback.ttf and NanumGothic.ttf are missing from the /system/fonts/ folder, causing this flood of errors. However,

DroidSansFallback.ttf exists in your github repo, however it's missing in your fonts.mk as a product_packages entry. The NanumGothic.ttf is missing completely from the repo as well as in the makefile. I found it online at this site... Should be able to add it to that directory/rep and add it to the makefile to correct this.

This error

02-02 18:38:04.189 W/ResourcesManager( 2929): Asset path '/system/framework/org.cyanogenmod.hardware.jar' does not exist or contains no resources.

Is because there's a file being included, but it's probably unneeded for this device. Perhaps enclose this line in an ifdef/ifndef to prevent the errors when it's not needed.