Hello, I have a very similar problem. Have you been able to understand what's wrong? This seems to be the critical problem: Gralloc2: gralloc-mapper must be in passthrough mode
On Saturday, September 2, 2017 at 1:31:27 AM UTC+3, Nanik T wrote: > > Hi, > > Checked out 'master' branch and built aosp_x86_64-eng target. On > completion tried running the emulator using 'emulator' from command line > and it comes out with the following error. > > 08-30 23:36:31.526 1306 1306 I SurfaceFlinger: GL_MAX_TEXTURE_SIZE = 8192 > 08-30 23:36:31.526 1306 1306 I SurfaceFlinger: GL_MAX_VIEWPORT_DIMS = > 4096 > 08-30 23:36:31.527 1253 1253 W /system/bin/hwservicemanager: Cannot open > /vendor/manifest.xml > 08-30 23:36:31.527 1253 1253 W /system/bin/hwservicemanager: > getTransport: Cannot find entry > [email protected]::IComposer/default in either > framework or device manifest. > 08-30 23:36:31.558 1306 1306 I HwcPassthrough: Found HWC implementation > v1.1 > 08-30 23:36:31.558 1306 1306 E hwcomposer: unknown display attribute 6 > 08-30 23:36:31.560 1253 1253 W /system/bin/hwservicemanager: Cannot open > /vendor/manifest.xml > 08-30 23:36:31.560 1253 1253 W /system/bin/hwservicemanager: > getTransport: Cannot find entry > [email protected]::IMapper/default in either framework > or device manifest. > 08-30 23:36:31.561 1253 1253 W /system/bin/hwservicemanager: Cannot open > /vendor/manifest.xml > 08-30 23:36:31.561 1253 1253 W /system/bin/hwservicemanager: > getTransport: Cannot find entry > [email protected]::IMapper/default in either framework > or device manifest. > 08-30 23:36:31.562 1306 1306 F Gralloc2: gralloc-mapper must be in > passthrough mode > 08-30 23:36:31.562 1306 1306 F libc : Fatal signal 6 (SIGABRT), code > -6 in tid 1306 (surfaceflinger), pid 1306 (surfaceflinger) > 08-30 23:36:31.585 1330 1330 I mediaserver: ServiceManager: 0xedc304e0 > 08-30 23:36:31.600 1334 1334 I Netd : Netd 1.0 starting > 08-30 23:36:31.627 1334 1334 D TetherController: Setting IP forward > enable = 0 > 08-30 23:36:31.705 1368 1368 I crash_dump64: obtaining output fd from > tombstoned, type: kDebuggerdTombstone > 08-30 23:36:31.705 1368 1368 E libc : failed to connect to > tombstoned: No such file or directory > 08-30 23:36:31.717 1368 1368 I crash_dump64: performing dump of process > 1306 (target tid = 1306) > 08-30 23:36:31.717 1368 1368 F DEBUG : *** *** *** *** *** *** *** *** > *** *** *** *** *** *** *** *** > 08-30 23:36:31.718 1368 1368 F DEBUG : Build fingerprint: > 'Android/aosp_x86_64/generic_x86_64:8.0.0/OC/nanik08260112:eng/test-keys' > 08-30 23:36:31.719 1368 1368 F DEBUG : Revision: '0' > 08-30 23:36:31.719 1368 1368 F DEBUG : ABI: 'x86_64' > 08-30 23:36:31.720 1368 1368 F DEBUG : pid: 1306, tid: 1306, name: > surfaceflinger >>> /system/bin/surfaceflinger <<< > 08-30 23:36:31.720 1368 1368 F DEBUG : signal 6 (SIGABRT), code -6 > (SI_TKILL), fault addr -------- > 08-30 23:36:31.722 1368 1368 F DEBUG : Abort message: 'gralloc-mapper > must be in passthrough mode' > 08-30 23:36:31.723 1368 1368 F DEBUG : rax 0000000000000000 rbx > 000000000000051a rcx ffffffffffffffff rdx 0000000000000006 > 08-30 23:36:31.724 1368 1368 F DEBUG : rsi 000000000000051a rdi > 000000000000051a > 08-30 23:36:31.725 1368 1368 F DEBUG : r8 00007ffd64b6ed80 r9 > 00007ffd64b6ed80 r10 00007ffd64b6ed80 r11 0000000000000246 > 08-30 23:36:31.725 1368 1368 F DEBUG : r12 0000000000000001 r13 > 00000000000001e0 r14 000000000000051a r15 00007ffd64b6ec88 > 08-30 23:36:31.726 1368 1368 F DEBUG : cs 0000000000000033 ss > 000000000000002b > 08-30 23:36:31.727 1368 1368 F DEBUG : rip 00007993cc5eb878 rbp > 00007993cb654540 rsp 00007ffd64b6ec58 eflags 0000000000000246 > 08-30 23:36:31.755 1321 1321 I zygote : Explicit concurrent copying GC > freed 220(24KB) AllocSpace objects, 0(0B) LOS objects, 98% free, > 23KB/1559KB, paused 179us total 3.051ms > 08-30 23:36:31.755 1319 1319 D Zygote : begin preload > 08-30 23:36:31.756 1319 1319 I Zygote : Installing ICU cache reference > pinning... > 08-30 23:36:31.756 1319 1319 I Zygote : Preloading ICU data... > 08-30 23:36:31.757 1321 1321 I zygote : Explicit concurrent copying GC > freed 5(32KB) AllocSpace objects, 0(0B) LOS objects, 98% free, 23KB/1559KB, > paused 217us total 1.948ms > 08-30 23:36:31.765 1321 1321 D Zygote32Timing: PostZygoteInitGC took to > complete: 14ms > 08-30 23:36:31.765 1321 1321 D Zygote32Timing: ZygoteInit took to > complete: 14ms > 08-30 23:36:31.782 1337 1337 I > /vendor/bin/hw/[email protected]: mediacodecservice > starting > 08-30 23:36:31.782 1337 1337 W > /vendor/bin/hw/[email protected]: No seccomp policy > defined for this architecture. > 08-30 23:36:31.793 1369 1369 I crash_dump64: obtaining output fd from > tombstoned, type: kDebuggerdTombstone > 08-30 23:36:31.793 1369 1369 E libc : failed to connect to > tombstoned: No such file or directory > 08-30 23:36:31.793 1369 1369 I crash_dump64: performing dump of process > 1336 (target tid = 1336) > 08-30 23:36:31.793 1369 1369 F DEBUG : *** *** *** *** *** *** *** *** > *** *** *** *** *** *** *** *** > 08-30 23:36:31.793 1369 1369 F DEBUG : Build fingerprint: > 'Android/aosp_x86_64/generic_x86_64:8.0.0/OC/nanik08260112:eng/test-keys' > 08-30 23:36:31.794 1369 1369 F DEBUG : Revision: '0' > 08-30 23:36:31.794 1369 1369 F DEBUG : ABI: 'x86_64' > 08-30 23:36:31.795 1369 1369 F DEBUG : pid: 1336, tid: 1336, name: > android.hardwar >>> /vendor/bin/hw/[email protected] <<< > 08-30 23:36:31.795 1369 1369 F DEBUG : signal 6 (SIGABRT), code -6 > (SI_TKILL), fault addr -------- > 08-30 23:36:31.796 1369 1369 F DEBUG : Abort message: 'Binder driver > could not be opened. Terminating.' > 08-30 23:36:31.797 1369 1369 F DEBUG : rax 0000000000000000 rbx > 0000000000000538 rcx ffffffffffffffff rdx 0000000000000006 > 08-30 23:36:31.797 1369 1369 F DEBUG : rsi 0000000000000538 rdi > 0000000000000538 > 08-30 23:36:31.798 1369 1369 F DEBUG : r8 00007ffc366c6010 r9 > 00007ffc366c6010 r10 00007ffc366c6010 r11 0000000000000246 > 08-30 23:36:31.798 1369 1369 F DEBUG : r12 000077959e599e98 r13 > 0000000000000000 r14 0000000000000538 r15 00007ffc366c5f18 > 08-30 23:36:31.799 1369 1369 F DEBUG : cs 0000000000000033 ss > 000000000000002b > 08-30 23:36:31.799 1369 1369 F DEBUG : rip 000077959db6a878 rbp > 00007ffc366c6520 rsp 00007ffc366c5ee8 eflags 0000000000000246 > 08-30 23:36:31.800 1337 1337 I ServiceManagement: Removing namespace > from process name [email protected] to [email protected]. > 08-30 23:36:31.807 1319 1319 D Zygote64Timing: BeginIcuCachePinning took > to complete: 51ms > 08-30 23:36:31.807 1319 1319 I Zygote : Preloading classes... > 08-30 23:36:31.810 1337 1337 W MediaCodecsXmlParser: unable to open > media codecs configuration xml file: > /data/misc/media/media_codecs_profiling_results.xml > 08-30 23:36:31.810 1337 1337 I ServiceManagement: Removing namespace > from process name [email protected] to [email protected]. > 08-30 23:36:31.811 1319 1319 W Zygote : Class not found for preloading: > android.app.-$Lambda$9I5WEMsoBc7l4QrNqZ4wx59yuHU > 08-30 23:36:31.811 1319 1319 W Zygote : Class not found for preloading: > android.app.-$Lambda$9I5WEMsoBc7l4QrNqZ4wx59yuHU$1 > 08-30 23:36:31.811 1319 1319 W Zygote : Class not found for preloading: > android.app.-$Lambda$FilBqgnXJrN9Mgyks1XHeAxzSTk > 08-30 23:36:31.811 1319 1319 W Zygote : Class not found for preloading: > android.app.-$Lambda$c44uHH2WE4sJvw5tZZB6gRzEaHI > 08-30 23:36:31.811 1319 1319 W Zygote : Class not found for preloading: > android.app.-$Lambda$c44uHH2WE4sJvw5tZZB6gRzEaHI$1 > 08-30 23:36:31.812 1337 1337 I > /vendor/bin/hw/[email protected]: Treble OMX service > created. > 08-30 23:36:31.813 1369 1369 F DEBUG : > 08-30 23:36:31.813 1369 1369 F DEBUG : backtrace: > 08-30 23:36:31.813 1369 1369 F DEBUG : #00 pc 0000000000027878 > /system/lib64/libc.so (syscall+24) > 08-30 23:36:31.814 1369 1369 F DEBUG : #01 pc 0000000000027a85 > /system/lib64/libc.so (abort+101) > 08-30 23:36:31.814 1369 1369 F DEBUG : #02 pc 0000000000007deb > /system/lib64/liblog.so (__android_log_assert+363) > 08-30 23:36:31.815 1369 1369 F DEBUG : #03 pc 0000000000086014 > /system/lib64/libbinder.so (android::ProcessState::ProcessState(char > const*)+420) > 08-30 23:36:31.816 1369 1369 F DEBUG : #04 pc 00000000000860bb > /system/lib64/libbinder.so (android::ProcessState::initWithDriver(char > const*)+155) > 08-30 23:36:31.817 1369 1369 F DEBUG : #05 pc 0000000000000bf3 > /system/vendor/bin/hw/[email protected] (main+35) > 08-30 23:36:31.817 1369 1369 F DEBUG : #06 pc 00000000000b88ec > /system/lib64/libc.so (__libc_init+76) > 08-30 23:36:31.818 1369 1369 F DEBUG : #07 pc 0000000000000b24 > /system/vendor/bin/hw/[email protected] (_start_main+68) > 08-30 23:36:31.819 1369 1369 F DEBUG : #08 pc 0000000000000adb > /system/vendor/bin/hw/[email protected] (_start+11) > 08-30 23:36:31.820 1321 1321 I zygote : Global filter of size 214 > installed > 08-30 23:36:31.820 1321 1321 I Zygote : Accepting command socket > connections > 08-30 23:36:31.828 1319 1319 W Zygote : Class not found for preloading: > android.graphics.-$Lambda$ZrP-zejiEXAqfwV-MyP5lE9mYC8 > 08-30 23:36:31.828 1319 1319 W Zygote : Class not found for preloading: > android.graphics.-$Lambda$ZrP-zejiEXAqfwV-MyP5lE9mYC8$1 > 08-30 23:36:31.828 1319 1319 W Zygote : Class not found for preloading: > android.graphics.-$Lambda$ZrP-zejiEXAqfwV-MyP5lE9mYC8$2 > 08-30 23:36:31.828 1319 1319 W Zygote : Class not found for preloading: > android.graphics.-$Lambda$ZrP-zejiEXAqfwV-MyP5lE9mYC8$4 > 08-30 23:36:31.828 1319 1319 W Zygote : Class not found for preloading: > android.graphics.-$Lambda$ZrP-zejiEXAqfwV-MyP5lE9mYC8$6 > 08-30 23:36:31.828 1319 1319 W Zygote : Class not found for preloading: > android.graphics.-$Lambda$ZrP-zejiEXAqfwV-MyP5lE9mYC8$7 > 08-30 23:36:31.828 1319 1319 W Zygote : Class not found for preloading: > android.graphics.-$Lambda$ZrP-zejiEXAqfwV-MyP5lE9mYC8$8 > 08-30 23:36:31.874 1368 1368 F DEBUG : > 08-30 23:36:31.874 1368 1368 F DEBUG : backtrace: > 08-30 23:36:31.874 1368 1368 F DEBUG : #00 pc 0000000000027878 > /system/lib64/libc.so (syscall+24) > 08-30 23:36:31.875 1368 1368 F DEBUG : #01 pc 0000000000027a85 > /system/lib64/libc.so (abort+101) > 08-30 23:36:31.875 1368 1368 F DEBUG : #02 pc 0000000000007deb > /system/lib64/liblog.so (__android_log_assert+363) > 08-30 23:36:31.876 1368 1368 F DEBUG : #03 pc 0000000000015e1f > /system/lib64/libui.so (android::Gralloc2::Mapper::Mapper()+223) > 08-30 23:36:31.877 1368 1368 F DEBUG : #04 pc 000000000001991b > /system/lib64/libui.so > (android::GraphicBufferMapper::GraphicBufferMapper()+27) > 08-30 23:36:31.878 1368 1368 F DEBUG : #05 pc 0000000000017173 > /system/lib64/libui.so (android::GraphicBuffer::GraphicBuffer()+131) > 08-30 23:36:31.878 1368 1368 F DEBUG : #06 pc 00000000000173b8 > /system/lib64/libui.so (android::GraphicBuffer::GraphicBuffer(unsigned int, > unsigned int, int, unsigned int, unsigned long, > std::__1::basic_string<char, std::__1::char_traits<char>, > std::__1::allocator<char>>)+56) > 08-30 23:36:31.880 1368 1368 F DEBUG : #07 pc 000000000006b452 > /system/lib64/libgui.so (android::BufferQueueProducer::dequeueBuffer(int*, > android::sp<android::Fence>*, unsigned int, unsigned int, int, unsigned > int, android::FrameEventHistoryDelta*)+2210) > 08-30 23:36:31.881 1368 1368 F DEBUG : #08 pc 0000000000090f31 > /system/lib64/libgui.so > (android::Surface::dequeueBuffer(ANativeWindowBuffer**, int*)+481) > 08-30 23:36:31.882 1368 1368 F DEBUG : #09 pc 000000000008fa50 > /system/lib64/libgui.so > (android::Surface::hook_dequeueBuffer_DEPRECATED(ANativeWindow*, > ANativeWindowBuffer**)+64) > 08-30 23:36:31.883 1368 1368 F DEBUG : #10 pc 0000000000010371 > /system/lib64/egl/libEGL_emulation.so (egl_window_surface_t::init()+33) > 08-30 23:36:31.884 1368 1368 F DEBUG : #11 pc 0000000000011b7b > /system/lib64/egl/libEGL_emulation.so (eglCreateWindowSurface+763) > 08-30 23:36:31.885 1368 1368 F DEBUG : #12 pc 00000000000127db > /system/lib64/libEGL.so (eglCreateWindowSurface+971) > 08-30 23:36:31.886 1368 1368 F DEBUG : #13 pc 00000000000815c0 > /system/lib64/libsurfaceflinger.so > (android::DisplayDevice::DisplayDevice(android::sp<android::SurfaceFlinger> > const&, android::DisplayDevice::DisplayType, int, bool, > android::wp<android::IBinder> const&, android::sp<android::DisplaySurface> > const&, android::sp<android::IGraphicBufferProducer> const&, void*, > bool)+592) > 08-30 23:36:31.888 1368 1368 F DEBUG : #14 pc 00000000000bec2f > /system/lib64/libsurfaceflinger.so > (android::SurfaceFlinger::createDefaultDisplayDevice()+623) > 08-30 23:36:31.889 1368 1368 F DEBUG : #15 pc 00000000000beedb > /system/lib64/libsurfaceflinger.so > (android::SurfaceFlinger::onHotplugReceived(android::HWComposer*, int, > bool)+139) > 08-30 23:36:31.890 1368 1368 F DEBUG : #16 pc 00000000000d61b1 > /system/lib64/libsurfaceflinger.so > (android::HWComposer::hotplug(std::__1::shared_ptr<HWC2::Display> const&, > HWC2::Connection)+321) > 08-30 23:36:31.903 1368 1368 F DEBUG : #17 pc 00000000000a8e1c > /system/lib64/libsurfaceflinger.so > (HWC2::Device::registerHotplugCallback(std::__1::function<void > (std::__1::shared_ptr<HWC2::Display>, HWC2::Connection)>)+220) > 08-30 23:36:31.905 1368 1368 F DEBUG : #18 pc 00000000000d5f4e > /system/lib64/libsurfaceflinger.so > (android::HWComposer::setEventHandler(android::HWComposer::EventHandler*)+110) > 08-30 23:36:31.906 1368 1368 F DEBUG : #19 pc 00000000000bd0af > /system/lib64/libsurfaceflinger.so (android::SurfaceFlinger::init()+1071) > 08-30 23:36:31.907 1368 1368 F DEBUG : #20 pc 0000000000002bca > /system/bin/surfaceflinger (main+634) > 08-30 23:36:31.907 1368 1368 F DEBUG : #21 pc 00000000000b88ec > /system/lib64/libc.so (__libc_init+76) > 08-30 23:36:31.908 1368 1368 F DEBUG : #22 pc 00000000000028a4 > /system/bin/surfaceflinger (_start_main+68) > 08-30 23:36:31.909 1368 1368 F DEBUG : #23 pc 000000000000285b > /system/bin/surfaceflinger (_start+11) > 08-30 23:36:31.924 1334 1334 I Netd : Creating child chains: 275.0ms > 08-30 23:36:31.924 1334 1334 I Netd : Setting up OEM hooks: 0.1ms > 08-30 23:36:31.926 1334 1334 I Netd : Setting up FirewallController > hooks: 2.4ms > 08-30 23:36:31.927 1334 1334 I Netd : Setting up NatController hooks: > 0.8ms > 08-30 23:36:31.927 1334 1334 I Netd : Setting up BandwidthController > hooks: 0.6ms > 08-30 23:36:31.927 1334 1334 I Netd : Setting up IdletimerController > hooks: 0.0ms > 08-30 23:36:31.940 1334 1334 I Netd : Disabling bandwidth control: > 12.9ms > 08-30 23:36:31.941 1332 1332 I mediametrics: ServiceManager: > 0x711a4fe32680 > 08-30 23:36:31.942 1332 1332 D MediaAnalyticsService: > MediaAnalyticsService created > 08-30 23:36:31.942 1332 1332 D MediaAnalyticsService: > MediaAnalyticsService::newSummarizerSet > 08-30 23:36:31.964 1335 1383 E packagelistparser: Could not open: > "/data/system/packages.list", error: "No such file or directory" > 08-30 23:36:31.965 1335 1383 I /system/bin/storaged: storaged: Start > 08-30 23:36:31.965 1369 1369 E crash_dump64: unable to connect to > activity manager: No such file or directory > 08-30 23:36:31.991 1322 1322 I FastMixerState: sMaxFastTracks = 8 > 08-30 23:36:31.993 1322 1322 I audioserver: ServiceManager: 0xe9335000 > 08-30 23:36:31.993 1322 1322 W BatteryNotifier: batterystats service > unavailable! > 08-30 23:36:31.994 1253 1253 W /system/bin/hwservicemanager: Cannot open > /vendor/manifest.xml > 08-30 23:36:31.994 1253 1253 W /system/bin/hwservicemanager: > getTransport: Cannot find entry > [email protected]::IDevicesFactory/default in either framework or > device manifest. > 08-30 23:36:31.995 1333 1333 I mediaserver: ServiceManager: 0xe71b05a0 > 08-30 23:36:31.996 1253 1253 W /system/bin/hwservicemanager: Cannot open > /vendor/manifest.xml > 08-30 23:36:31.996 1253 1253 W /system/bin/hwservicemanager: > getTransport: Cannot find entry > [email protected]::IEffectsFactory/default in either > framework or device manifest. > > > > Any idea ? > > -- -- You received this message because you are subscribed to the "Android Building" mailing list. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-building?hl=en --- You received this message because you are subscribed to the Google Groups "Android Building" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
