Giter Club home page Giter Club logo

cocos-example-cartoon-vegetation's Issues

[Android] Runtime crash upon opening the app

Seems like some problem while initing framebuffer?

01-12 11:34:35.273 20664 20664 F DEBUG   : *** *** *** *** *** *** *** *** *** *** *** *** *** *** *** ***
01-12 11:34:35.273 20664 20664 F DEBUG   : Build fingerprint: 'google/raven/raven:13/T2B2.221216.006/9443277:userdebug/dev-keys'
01-12 11:34:35.273 20664 20664 F DEBUG   : Revision: 'MP1.0'
01-12 11:34:35.273 20664 20664 F DEBUG   : ABI: 'arm64'
01-12 11:34:35.273 20664 20664 F DEBUG   : Timestamp: 2023-01-12 11:34:35.124304586+0800
01-12 11:34:35.273 20664 20664 F DEBUG   : Process uptime: 2s
01-12 11:34:35.273 20664 20664 F DEBUG   : Cmdline: com.samplecocos.vegetation
01-12 11:34:35.273 20664 20664 F DEBUG   : pid: 20594, tid: 20659, name: Thread-2  >>> com.samplecocos.vegetation <<<
01-12 11:34:35.273 20664 20664 F DEBUG   : uid: 10389
01-12 11:34:35.273 20664 20664 F DEBUG   : tagged_addr_ctrl: 0000000000000001 (PR_TAGGED_ADDR_ENABLE)
01-12 11:34:35.274 20664 20664 F DEBUG   : signal 11 (SIGSEGV), code 1 (SEGV_MAPERR), fault addr 0x0000dd64444abe2a
01-12 11:34:35.274 20664 20664 F DEBUG   :     x0  b400007cc8dcd608  x1  0000000000000000  x2  0000dd64444abe3a  x3  0000000000000010
01-12 11:34:35.274 20664 20664 F DEBUG   :     x4  b400007c68dbf0b2  x5  0000007ba9ff9438  x6  00000000b400007c  x7  00000000b400007c
01-12 11:34:35.274 20664 20664 F DEBUG   :     x8  b400007c68dbf110  x9  7d6d000000002101  x10 0000000000002000  x11 0000000000000001
01-12 11:34:35.274 20664 20664 F DEBUG   :     x12 0000000068dbf0b2  x13 00000000c4606b70  x14 0000000000000058  x15 0000000000000002
01-12 11:34:35.274 20664 20664 F DEBUG   :     x16 0000007c27cfaa10  x17 0000007f00698fe0  x18 0000007ba9d9a000  x19 b400007cc8dcd5f0
01-12 11:34:35.274 20664 20664 F DEBUG   :     x20 0000007ba9ff99c0  x21 b400007cc8dcd608  x22 0000000000000002  x23 0000000000000000
01-12 11:34:35.274 20664 20664 F DEBUG   :     x24 0000dd64444abe22  x25 b400007c68dbeeb0  x26 0000007ba9ff9ff8  x27 00000000000fc000
01-12 11:34:35.274 20664 20664 F DEBUG   :     x28 00000000000fe000  x29 0000007ba9ff9a40
01-12 11:34:35.274 20664 20664 F DEBUG   :     lr  0000007c25c1ce08  sp  0000007ba9ff9790  pc  0000007c25c1ce08  pst 0000000080001000
01-12 11:34:35.274 20664 20664 F DEBUG   : backtrace:
01-12 11:34:35.274 20664 20664 F DEBUG   :       #00 pc 0000000000789e08  /vendor/lib64/egl/libGLES_mali.so (vulkan::framebuffer::init(VkFramebufferCreateInfo const&, gfx::host_mem_allocator const&)+184) (BuildId: 52529eedb29c10bb)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #01 pc 0000000000789cf4  /vendor/lib64/egl/libGLES_mali.so (vkCreateFramebuffer+212) (BuildId: 52529eedb29c10bb)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #02 pc 00000000016a55e4  /data/app/~~elQImukmN6Tss_ytLwx2Nw==/com.samplecocos.vegetation-P0TeL5hbvv6m7nxdH_4csQ==/lib/arm64/libcocos.so (cc::gfx::cmdFuncCCVKCreateFramebuffer(cc::gfx::CCVKDevice*, cc::gfx::CCVKGPUFramebuffer*)+2056) (BuildId: 8e1b027ded6d901e62391ff9690c62b27fd3752d)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #03 pc 0000000001714e78  /data/app/~~elQImukmN6Tss_ytLwx2Nw==/com.samplecocos.vegetation-P0TeL5hbvv6m7nxdH_4csQ==/lib/arm64/libcocos.so (cc::gfx::CCVKFramebuffer::doInit(cc::gfx::FramebufferInfo const&)+384) (BuildId: 8e1b027ded6d901e62391ff9690c62b27fd3752d)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #04 pc 00000000013f9ba4  /data/app/~~elQImukmN6Tss_ytLwx2Nw==/com.samplecocos.vegetation-P0TeL5hbvv6m7nxdH_4csQ==/lib/arm64/libcocos.so (cc::gfx::Framebuffer::initialize(cc::gfx::FramebufferInfo const&)+84) (BuildId: 8e1b027ded6d901e62391ff9690c62b27fd3752d)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #05 pc 00000000017540c4  /data/app/~~elQImukmN6Tss_ytLwx2Nw==/com.samplecocos.vegetation-P0TeL5hbvv6m7nxdH_4csQ==/lib/arm64/libcocos.so (BuildId: 8e1b027ded6d901e62391ff9690c62b27fd3752d)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #06 pc 000000000173148c  /data/app/~~elQImukmN6Tss_ytLwx2Nw==/com.samplecocos.vegetation-P0TeL5hbvv6m7nxdH_4csQ==/lib/arm64/libcocos.so (cc::MessageQueue::executeMessages()+56) (BuildId: 8e1b027ded6d901e62391ff9690c62b27fd3752d)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #07 pc 00000000017314e8  /data/app/~~elQImukmN6Tss_ytLwx2Nw==/com.samplecocos.vegetation-P0TeL5hbvv6m7nxdH_4csQ==/lib/arm64/libcocos.so (cc::MessageQueue::flushMessages()+48) (BuildId: 8e1b027ded6d901e62391ff9690c62b27fd3752d)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #08 pc 0000000001730c10  /data/app/~~elQImukmN6Tss_ytLwx2Nw==/com.samplecocos.vegetation-P0TeL5hbvv6m7nxdH_4csQ==/lib/arm64/libcocos.so (cc::MessageQueue::consumerThreadLoop()+72) (BuildId: 8e1b027ded6d901e62391ff9690c62b27fd3752d)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #09 pc 00000000017387b0  /data/app/~~elQImukmN6Tss_ytLwx2Nw==/com.samplecocos.vegetation-P0TeL5hbvv6m7nxdH_4csQ==/lib/arm64/libcocos.so (BuildId: 8e1b027ded6d901e62391ff9690c62b27fd3752d)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #10 pc 00000000017386fc  /data/app/~~elQImukmN6Tss_ytLwx2Nw==/com.samplecocos.vegetation-P0TeL5hbvv6m7nxdH_4csQ==/lib/arm64/libcocos.so (BuildId: 8e1b027ded6d901e62391ff9690c62b27fd3752d)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #11 pc 00000000017383bc  /data/app/~~elQImukmN6Tss_ytLwx2Nw==/com.samplecocos.vegetation-P0TeL5hbvv6m7nxdH_4csQ==/lib/arm64/libcocos.so (BuildId: 8e1b027ded6d901e62391ff9690c62b27fd3752d)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #12 pc 00000000000c226c  /apex/com.android.runtime/lib64/bionic/libc.so (__pthread_start(void*)+204) (BuildId: dc4001c2ef2dfc23467040797a96840c)
01-12 11:34:35.274 20664 20664 F DEBUG   :       #13 pc 0000000000054a30  /apex/com.android.runtime/lib64/bionic/libc.so (__start_thread+64) (BuildId: dc4001c2ef2dfc23467040797a96840c)
01-12 11:34:35.284   708   708 E tombstoned: Tombstone written to: tombstone_26
01-12 11:34:35.286  1546 20670 I DropBoxManagerService: add tag=data_app_native_crash isTagEnabled=true flags=0x2
01-12 11:34:35.287  1546 20669 W ActivityTaskManager:   Force finishing activity com.samplecocos.vegetation/com.cocos.game.AppActivity

[Android] Value casting causing crash on engine v3.6.0

Hi, upon building with engine version 3.4.0, I encountered the same issue as #7

I tried to upgrade to engine version 3.6.0, but I encountered casting error:

2023-01-17 10:22:59.999 19456-19493 libc                    com...ostest.v36vege.glesonly230117  A  Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 19493 (Thread-2), pid 19456 (.glesonly230117)
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A  Cmdline: com.cocostest.v36vege.glesonly230117
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A  pid: 19456, tid: 19493, name: Thread-2  >>> com.cocostest.v36vege.glesonly230117 <<<
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A        #02 pc 000000000246dc44  /data/app/~~nd_lHheqbw6JKdZSuAEmDw==/com.cocostest.v36vege.glesonly230117-rwG2wd5V0V2BjoW01HkRMw==/lib/arm64/libcocos.so (se::Value::toDouble() const+132) (BuildId: 7c848b672dfb0fb48cacffb1d350e99a65f1744e)
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A        #03 pc 000000000246de0c  /data/app/~~nd_lHheqbw6JKdZSuAEmDw==/com.cocostest.v36vege.glesonly230117-rwG2wd5V0V2BjoW01HkRMw==/lib/arm64/libcocos.so (se::Value::toUint32() const+20) (BuildId: 7c848b672dfb0fb48cacffb1d350e99a65f1744e)
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A        #04 pc 000000000186fd6c  /data/app/~~nd_lHheqbw6JKdZSuAEmDw==/com.cocostest.v36vege.glesonly230117-rwG2wd5V0V2BjoW01HkRMw==/lib/arm64/libcocos.so (sevalue_to_native(se::Value const&, unsigned int*, se::Object*)+28) (BuildId: 7c848b672dfb0fb48cacffb1d350e99a65f1744e)
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A        #05 pc 0000000001e046b4  /data/app/~~nd_lHheqbw6JKdZSuAEmDw==/com.cocostest.v36vege.glesonly230117-rwG2wd5V0V2BjoW01HkRMw==/lib/arm64/libcocos.so (std::__ndk1::enable_if<std::is_enum<cc::gfx::Feature>::value, bool>::type sevalue_to_native<cc::gfx::Feature>(se::Value const&, cc::gfx::Feature*, se::Object*)+48) (BuildId: 7c848b672dfb0fb48cacffb1d350e99a65f1744e)
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A        #06 pc 0000000001e045f8  /data/app/~~nd_lHheqbw6JKdZSuAEmDw==/com.cocostest.v36vege.glesonly230117-rwG2wd5V0V2BjoW01HkRMw==/lib/arm64/libcocos.so (bool sevalue_to_native<cc::gfx::Feature, false>(se::Value const&, HolderType<cc::gfx::Feature, false>*, se::Object*)+36) (BuildId: 7c848b672dfb0fb48cacffb1d350e99a65f1744e)
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A        #07 pc 0000000001d90128  /data/app/~~nd_lHheqbw6JKdZSuAEmDw==/com.cocostest.v36vege.glesonly230117-rwG2wd5V0V2BjoW01HkRMw==/lib/arm64/libcocos.so (BuildId: 7c848b672dfb0fb48cacffb1d350e99a65f1744e)
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A        #08 pc 0000000001d8ff68  /data/app/~~nd_lHheqbw6JKdZSuAEmDw==/com.cocostest.v36vege.glesonly230117-rwG2wd5V0V2BjoW01HkRMw==/lib/arm64/libcocos.so (js_gfx_Device_hasFeatureRegistry(v8::FunctionCallbackInfo<v8::Value> const&)+348) (BuildId: 7c848b672dfb0fb48cacffb1d350e99a65f1744e)
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A        #09 pc 000000000297696c  /data/app/~~nd_lHheqbw6JKdZSuAEmDw==/com.cocostest.v36vege.glesonly230117-rwG2wd5V0V2BjoW01HkRMw==/lib/arm64/libcocos.so (BuildId: 7c848b672dfb0fb48cacffb1d350e99a65f1744e)
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A        #10 pc 0000000002975fb4  /data/app/~~nd_lHheqbw6JKdZSuAEmDw==/com.cocostest.v36vege.glesonly230117-rwG2wd5V0V2BjoW01HkRMw==/lib/arm64/libcocos.so (BuildId: 7c848b672dfb0fb48cacffb1d350e99a65f1744e)
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A        #11 pc 0000000002975744  /data/app/~~nd_lHheqbw6JKdZSuAEmDw==/com.cocostest.v36vege.glesonly230117-rwG2wd5V0V2BjoW01HkRMw==/lib/arm64/libcocos.so (BuildId: 7c848b672dfb0fb48cacffb1d350e99a65f1744e)
2023-01-17 10:23:00.349 19545-19545 DEBUG                   pid-19545                            A        #12 pc 00000000031e5e08  /data/app/~~nd_lHheqbw6JKdZSuAEmDw==/com.cocostest.v36vege.glesonly230117-rwG2wd5V0V2BjoW01HkRMw==/lib/arm64/libcocos.so (BuildId: 7c848b672dfb0fb48cacffb1d350e99a65f1744e)
---------------------------- PROCESS ENDED (19456) for package com.cocostest.v36vege.glesonly230117 ----------------------------

Would anybody help point to the right direction?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.