Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

initWithMipmaps crash #19254

Open
hyhmaffia opened this issue Dec 19, 2018 · 0 comments
Open

initWithMipmaps crash #19254

hyhmaffia opened this issue Dec 19, 2018 · 0 comments

Comments

@hyhmaffia
Copy link

  • cocos2d-x version:3.1

we find some crash on ios version above ios 11

Thread 0 Crashed:
0 libsystem_kernel.dylib 0x000000020a047104 __pthread_kill + 8
1 libsystem_c.dylib 0x0000000209f9ed78 abort + 140
2 libGFXShared.dylib 0x000000020d758d6c gfxFreeTextureLevel + 0
3 GLEngine 0x000000022cb50af0 glTexImage2D_Exec + 1060
4 OpenGLES 0x000000020d7ba730 glTexImage2D + 108
5 xxxxx 0x0000000105cae34c cocos2d::Texture2D::initWithMipmaps+ 22963020 (cocos2d::_MipmapInfo*, int, cocos2d::Texture2D::PixelFormat, int, int) + 500
6 xxxxx 0x0000000105cae78c cocos2d::Texture2D::initWithImage+ 22964108 (cocos2d::Image*, cocos2d::Texture2D::PixelFormat) + 404
7 xxxxx 0x0000000105c6e880 cocos2d::TextureCache::addImage+ 22702208 (std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) + 208
8 xxxxx 0x0000000105c86b28 cocos2d::Sprite::setTexture+ 22801192 (std::__1::basic_string<char, std::__1::char_traits, std::__1::allocator > const&) + 40
9 xxxxx 0x0000000105c143c4 cocostudio::timeline::TextureFrame::onEnter+ 22332356 (cocostudio::timeline::Frame*, int) + 116
10 xxxxx 0x0000000105c851f0 cocostudio::timeline::Timeline::stepToFrame+ 22794736 (int) + 64
11 xxxxx 0x0000000105c7810c cocostudio::timeline::ActionTimeline::stepToFrame+ 22741260 (int) + 100
12 xxxxx 0x0000000105c7720c cocostudio::timeline::ActionTimeline::step+ 22737420 (float) + 184
13 xxxxx 0x0000000105c36220 cocos2d::ActionManager::update+ 22471200 (float) + 156
14 xxxxx 0x0000000105c3493c std::__1::function<void (float)>::operator()+ 22464828 (float) const + 40
15 xxxxx 0x0000000105c22a64 cocos2d::Scheduler::update+ 22391396 (float) + 100
16 xxxxx 0x0000000105c2f848 cocos2d::Director::drawScene+ 22444104 () + 72
17 xxxxx 0x0000000105c30f68 cocos2d::Director::mainLoop+ 22450024 () + 56
18 QuartzCore 0x000000020e973854 CA::Display::DisplayLink::dispatch_items+ 67668 (unsigned long long, unsigned long long, unsigned long long) + 828
19 QuartzCore 0x000000020ea3c56c display_timer_callback+ 890220 (__CFMachPort*, void*, long, void*) + 272
20 CoreFoundation 0x000000020a418ff8 __CFMachPortPerform + 188
21 CoreFoundation 0x000000020a440844 CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE1_PERFORM_FUNCTION + 56
22 CoreFoundation 0x000000020a43ff90 __CFRunLoopDoSource1 + 440
23 CoreFoundation 0x000000020a43ad48 __CFRunLoopRun + 2140
24 CoreFoundation 0x000000020a43a1cc CFRunLoopRunSpecific + 436
25 GraphicsServices 0x000000020c6b1584 GSEventRunModal + 100
26 UIKitCore 0x00000002376b1054 UIApplicationMain + 212
27 xxxxx 0x0000000104787638 main + 783928 (main.m:18)
28 libdyld.dylib 0x0000000209efabb4 start + 4

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant