cocos-engine icon indicating copy to clipboard operation
cocos-engine copied to clipboard

Xcode15.2 iOS14.0.1 Crash

Open Samueler opened this issue 1 year ago • 2 comments

Cocos Creator version

3.8.1/3.8.2

System information

iOS14.0.1

Issue description

Cocos打包成Framework嵌入到已有APP,使用Xcode15,iOS14.0.1真机调试时,一启动游戏界面,报内存错误:错误如下 malloc: Incorrect checksum for freed object 0x14aec0f80: probably modified after being freed. Corrupt value: 0xa02020227070612e malloc: *** set a breakpoint in malloc_error_break to debug

image 其它机型表现正常。 在配置中打开Malloc Stack Logging选项并选中Live Allocations Only选项时,又可正常使用,不会崩溃,设置如下图: image

Relevant error log output

No response

Steps to reproduce

image

Minimal reproduction project

No response

Samueler avatar Mar 13 '24 03:03 Samueler

不集成,单独运行有问题吗?

minggo avatar Mar 25 '24 03:03 minggo

单独运行没有问题,但是即使是集成到空的新项目里也会崩溃

minggo @.***> 于 2024年3月25日周一 11:29写道:

不集成,单独运行有问题吗?

— Reply to this email directly, view it on GitHub https://github.com/cocos/cocos-engine/issues/16794#issuecomment-2017145249, or unsubscribe https://github.com/notifications/unsubscribe-auth/AE3YPEAB2O6E5LPM4TDJHV3YZ6K2PAVCNFSM6AAAAABETMJFXCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMJXGE2DKMRUHE . You are receiving this because you authored the thread.Message ID: @.***>

Samueler avatar May 23 '24 14:05 Samueler

集成的话需要自己根据源码去处理了,这不是引擎设计的目的。

minggo avatar May 24 '24 01:05 minggo