Dears,
Many thanks for your help last time.
But I met another SurfaceFlinger issue.
I ran the script aic for start an Androidcontainer.
The Android container worked and crashed after a short period. After I launched some apps and operated them, likes Settings, Calculator...etc.
The main log is "Registered composer callback but didn't create the default primary display"
Here are the logcat:
04-01 01:55:01.569 139 139 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x18 in tid 139 (surfaceflinger), pid 139 (surfaceflinger)
04-01 01:55:01.571 134 150 D hwc_vhal: Display 0 default size <1920 1080> from debug fs
04-01 01:55:01.571 134 150 D hwc_vhal: Close socket 10
04-01 01:55:01.572 1012 1077 I OpenGLRenderer: Davey! duration=1354ms; Flags=0, IntendedVsync=1966484195404271, Vsync=1966484195404271, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=1966484195590924, AnimationStart=1966484195598773, PerformTraversalsStart=1966484195906703, DrawStart=1966484195954340, SyncQueued=1966484195961869, SyncStart=1966484196022375, IssueDrawCommandsStart=1966484196060378, SwapBuffers=1966485549679335, FrameCompleted=1966485549896897, DequeueBufferDuration=1350519000, QueueBufferDuration=142000,
04-01 01:55:01.573 1012 1012 I Choreographer: Skipped 79 frames! The application may be doing too much work on its main thread.
04-01 01:55:01.573 1012 1012 W LauncherTransition: Failed to animate, surface got destroyed.
04-01 01:55:01.583 2093 2093 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
04-01 01:55:01.583 180 180 I /system/bin/tombstoned: received crash request for pid 139
04-01 01:55:01.583 2093 2093 I crash_dump64: performing dump of process 139 (target tid = 139)
04-01 01:55:01.584 2093 2093 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-01 01:55:01.584 2093 2093 F DEBUG : Build fingerprint: 'Intel/cic_dev/cic_dev:9/PI/itri03241457:userdebug/test-keys'
04-01 01:55:01.584 2093 2093 F DEBUG : Revision: '0'
04-01 01:55:01.584 2093 2093 F DEBUG : ABI: 'x86_64'
04-01 01:55:01.584 2093 2093 F DEBUG : pid: 139, tid: 139, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
04-01 01:55:01.584 2093 2093 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x18
04-01 01:55:01.584 2093 2093 F DEBUG : Cause: null pointer dereference
04-01 01:55:01.584 2093 2093 F DEBUG : rax 0000000000000000 rbx 000071336589a740 rcx ea29fbbf393b4201 rdx 0000000000000004
04-01 01:55:01.584 2093 2093 F DEBUG : r8 0000000000000000 r9 0000000000000000 r10 0000713367de8d90 r11 0000000000000206
04-01 01:55:01.584 2093 2093 F DEBUG : r12 0000000000000000 r13 0000713364c63000 r14 000071336589a7e4 r15 0006fc8218754ead
04-01 01:55:01.584 2093 2093 F DEBUG : rdi 0000000000000005 rsi 00007ffce8a62bd0
04-01 01:55:01.584 2093 2093 F DEBUG : rbp 0000000000000000 rsp 00007ffce8a63320 rip 0000713367ca3855
04-01 01:55:01.590 2093 2093 F DEBUG :
04-01 01:55:01.590 2093 2093 F DEBUG : backtrace:
04-01 01:55:01.590 2093 2093 F DEBUG : #00 pc 000000000007f855 /system/lib64/libsurfaceflinger.so (android::HWComposer::getRefreshTimestamp(int) const+85)
04-01 01:55:01.590 2093 2093 F DEBUG : #1 pc 0000000000061093 /system/lib64/libsurfaceflinger.so (android::BufferLayer::onPostComposition(std::__1::shared_ptrandroid::FenceTime const&, std::__1::shared_ptrandroid::FenceTime const&, android::CompositorTiming const&)+531)
04-01 01:55:01.590 2093 2093 F DEBUG : #2 pc 00000000000c8527 /system/lib64/libsurfaceflinger.so (_ZNSt3__110__function6__funcIZN7android14SurfaceFlinger15postCompositionElE4$10NS_9allocatorIS4_EEFvPNS2_5LayerEEEclEOS8$137015c79fd2cec21a36b25ebff73b21+55)
04-01 01:55:01.590 2093 2093 F DEBUG : #3 pc 0000000000098bfe /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+190)
04-01 01:55:01.590 2093 2093 F DEBUG : #4 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #5 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #6 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #7 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #8 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #9 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #10 pc 000000000009fd52 /system/lib64/libsurfaceflinger.so (android::LayerVector::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&) const+82)
04-01 01:55:01.590 2093 2093 F DEBUG : #11 pc 00000000000b44a3 /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::handleMessageRefresh()+9747)
04-01 01:55:01.590 2093 2093 F DEBUG : #12 pc 00000000000b0d16 /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::onMessageReceived(int)+310)
04-01 01:55:01.590 2093 2093 F DEBUG : #13 pc 0000000000013dea /system/lib64/libutils.so (android::Looper::pollInner(int)+378)
04-01 01:55:01.590 2093 2093 F DEBUG : #14 pc 0000000000013bc9 /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+41)
04-01 01:55:01.590 2093 2093 F DEBUG : #15 pc 00000000000a05c9 /system/lib64/libsurfaceflinger.so (android::impl::MessageQueue::waitMessage()+89)
04-01 01:55:01.590 2093 2093 F DEBUG : #16 pc 00000000000b02eb /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::run()+27)
04-01 01:55:01.590 2093 2093 F DEBUG : #17 pc 00000000000031ad /system/bin/surfaceflinger (main+989)
04-01 01:55:01.590 2093 2093 F DEBUG : #18 pc 00000000000c266c /system/lib64/libc.so (__libc_init+92)
04-01 01:55:01.615 260 461 W NativeCrashListener: Couldn't find ProcessRecord for pid 139
04-01 01:55:01.616 180 180 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_00
04-01 01:55:01.789 103 103 I ServiceManager: service 'gpu' died
04-01 01:55:01.789 103 103 I ServiceManager: service 'SurfaceFlinger' died
04-01 01:55:01.791 134 233 D ComposerHal: destroying composer client
04-01 01:55:01.791 134 233 I hwc_vhal: unregisterCallback(Hotplug)
04-01 01:55:01.791 134 233 I hwc_vhal: unregisterCallback(Refresh)
04-01 01:55:01.791 134 233 I hwc_vhal: unregisterCallback(Vsync)
04-01 01:55:01.791 134 233 W ComposerHal: destroying client resources for display 0
04-01 01:55:01.791 134 233 W ComposerHal: performing a final presentDisplay
04-01 01:55:01.791 134 233 W ComposerHal: destroying client resources for display 1
04-01 01:55:01.791 134 233 W ComposerHal: performing a final presentDisplay
04-01 01:55:01.794 134 233 D ComposerHal: removed composer client
04-01 01:55:01.804 103 103 I ServiceManager: service 'ServiceAgent' died
04-01 01:55:01.823 103 103 I ServiceManager: service 'secure_element' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'iphonesubinfo' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'isms' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'phone' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'carrier_config' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'isub' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'simphonebook' died
Dears,
Many thanks for your help last time.
But I met another SurfaceFlinger issue.
I ran the script aic for start an Androidcontainer.
The Android container worked and crashed after a short period. After I launched some apps and operated them, likes Settings, Calculator...etc.
The main log is "Registered composer callback but didn't create the default primary display"
Here are the logcat:
04-01 01:55:01.569 139 139 F libc : Fatal signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x18 in tid 139 (surfaceflinger), pid 139 (surfaceflinger)
04-01 01:55:01.571 134 150 D hwc_vhal: Display 0 default size <1920 1080> from debug fs
04-01 01:55:01.571 134 150 D hwc_vhal: Close socket 10
04-01 01:55:01.572 1012 1077 I OpenGLRenderer: Davey! duration=1354ms; Flags=0, IntendedVsync=1966484195404271, Vsync=1966484195404271, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=1966484195590924, AnimationStart=1966484195598773, PerformTraversalsStart=1966484195906703, DrawStart=1966484195954340, SyncQueued=1966484195961869, SyncStart=1966484196022375, IssueDrawCommandsStart=1966484196060378, SwapBuffers=1966485549679335, FrameCompleted=1966485549896897, DequeueBufferDuration=1350519000, QueueBufferDuration=142000,
04-01 01:55:01.573 1012 1012 I Choreographer: Skipped 79 frames! The application may be doing too much work on its main thread.
04-01 01:55:01.573 1012 1012 W LauncherTransition: Failed to animate, surface got destroyed.
04-01 01:55:01.583 2093 2093 I crash_dump64: obtaining output fd from tombstoned, type: kDebuggerdTombstone
04-01 01:55:01.583 180 180 I /system/bin/tombstoned: received crash request for pid 139
04-01 01:55:01.583 2093 2093 I crash_dump64: performing dump of process 139 (target tid = 139)
04-01 01:55:01.584 2093 2093 F DEBUG : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
04-01 01:55:01.584 2093 2093 F DEBUG : Build fingerprint: 'Intel/cic_dev/cic_dev:9/PI/itri03241457:userdebug/test-keys'
04-01 01:55:01.584 2093 2093 F DEBUG : Revision: '0'
04-01 01:55:01.584 2093 2093 F DEBUG : ABI: 'x86_64'
04-01 01:55:01.584 2093 2093 F DEBUG : pid: 139, tid: 139, name: surfaceflinger >>> /system/bin/surfaceflinger <<<
04-01 01:55:01.584 2093 2093 F DEBUG : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x18
04-01 01:55:01.584 2093 2093 F DEBUG : Cause: null pointer dereference
04-01 01:55:01.584 2093 2093 F DEBUG : rax 0000000000000000 rbx 000071336589a740 rcx ea29fbbf393b4201 rdx 0000000000000004
04-01 01:55:01.584 2093 2093 F DEBUG : r8 0000000000000000 r9 0000000000000000 r10 0000713367de8d90 r11 0000000000000206
04-01 01:55:01.584 2093 2093 F DEBUG : r12 0000000000000000 r13 0000713364c63000 r14 000071336589a7e4 r15 0006fc8218754ead
04-01 01:55:01.584 2093 2093 F DEBUG : rdi 0000000000000005 rsi 00007ffce8a62bd0
04-01 01:55:01.584 2093 2093 F DEBUG : rbp 0000000000000000 rsp 00007ffce8a63320 rip 0000713367ca3855
04-01 01:55:01.590 2093 2093 F DEBUG :
04-01 01:55:01.590 2093 2093 F DEBUG : backtrace:
04-01 01:55:01.590 2093 2093 F DEBUG : #00 pc 000000000007f855 /system/lib64/libsurfaceflinger.so (android::HWComposer::getRefreshTimestamp(int) const+85)
04-01 01:55:01.590 2093 2093 F DEBUG : #1 pc 0000000000061093 /system/lib64/libsurfaceflinger.so (android::BufferLayer::onPostComposition(std::__1::shared_ptrandroid::FenceTime const&, std::__1::shared_ptrandroid::FenceTime const&, android::CompositorTiming const&)+531)
04-01 01:55:01.590 2093 2093 F DEBUG : #2 pc 00000000000c8527 /system/lib64/libsurfaceflinger.so (_ZNSt3__110__function6__funcIZN7android14SurfaceFlinger15postCompositionElE4$10NS_9allocatorIS4_EEFvPNS2_5LayerEEEclEOS8$137015c79fd2cec21a36b25ebff73b21+55)
04-01 01:55:01.590 2093 2093 F DEBUG : #3 pc 0000000000098bfe /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+190)
04-01 01:55:01.590 2093 2093 F DEBUG : #4 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #5 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #6 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #7 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #8 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #9 pc 0000000000098c46 /system/lib64/libsurfaceflinger.so (android::Layer::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&)+262)
04-01 01:55:01.590 2093 2093 F DEBUG : #10 pc 000000000009fd52 /system/lib64/libsurfaceflinger.so (android::LayerVector::traverseInZOrder(android::LayerVector::StateSet, std::__1::function<void (android::Layer*)> const&) const+82)
04-01 01:55:01.590 2093 2093 F DEBUG : #11 pc 00000000000b44a3 /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::handleMessageRefresh()+9747)
04-01 01:55:01.590 2093 2093 F DEBUG : #12 pc 00000000000b0d16 /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::onMessageReceived(int)+310)
04-01 01:55:01.590 2093 2093 F DEBUG : #13 pc 0000000000013dea /system/lib64/libutils.so (android::Looper::pollInner(int)+378)
04-01 01:55:01.590 2093 2093 F DEBUG : #14 pc 0000000000013bc9 /system/lib64/libutils.so (android::Looper::pollOnce(int, int*, int*, void**)+41)
04-01 01:55:01.590 2093 2093 F DEBUG : #15 pc 00000000000a05c9 /system/lib64/libsurfaceflinger.so (android::impl::MessageQueue::waitMessage()+89)
04-01 01:55:01.590 2093 2093 F DEBUG : #16 pc 00000000000b02eb /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::run()+27)
04-01 01:55:01.590 2093 2093 F DEBUG : #17 pc 00000000000031ad /system/bin/surfaceflinger (main+989)
04-01 01:55:01.590 2093 2093 F DEBUG : #18 pc 00000000000c266c /system/lib64/libc.so (__libc_init+92)
04-01 01:55:01.615 260 461 W NativeCrashListener: Couldn't find ProcessRecord for pid 139
04-01 01:55:01.616 180 180 E /system/bin/tombstoned: Tombstone written to: /data/tombstones/tombstone_00
04-01 01:55:01.789 103 103 I ServiceManager: service 'gpu' died
04-01 01:55:01.789 103 103 I ServiceManager: service 'SurfaceFlinger' died
04-01 01:55:01.791 134 233 D ComposerHal: destroying composer client
04-01 01:55:01.791 134 233 I hwc_vhal: unregisterCallback(Hotplug)
04-01 01:55:01.791 134 233 I hwc_vhal: unregisterCallback(Refresh)
04-01 01:55:01.791 134 233 I hwc_vhal: unregisterCallback(Vsync)
04-01 01:55:01.791 134 233 W ComposerHal: destroying client resources for display 0
04-01 01:55:01.791 134 233 W ComposerHal: performing a final presentDisplay
04-01 01:55:01.791 134 233 W ComposerHal: destroying client resources for display 1
04-01 01:55:01.791 134 233 W ComposerHal: performing a final presentDisplay
04-01 01:55:01.794 134 233 D ComposerHal: removed composer client
04-01 01:55:01.804 103 103 I ServiceManager: service 'ServiceAgent' died
04-01 01:55:01.823 103 103 I ServiceManager: service 'secure_element' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'iphonesubinfo' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'isms' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'phone' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'carrier_config' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'isub' died
04-01 01:55:01.830 103 103 I ServiceManager: service 'simphonebook' died