Windows error 0x000001C7, 455

Detailed Error Information

CAPAUTHZ_DB_CORRUPTED[1]

MessageThe capability authorization database has been corrupted.
Declared inwinerror.h

This appears to be a raw Win32 error. More information may be available in error 0x800701C7.

HRESULT analysis[2]

This is probably not the correct interpretation of this error. The Win32 error above is more likely to indicate the actual problem.
FlagsSeveritySuccess

This code indicates success, rather than an error. This may not be the correct interpretation of this code, or possibly the program is handling errors incorrectly.

Reserved (R)false
OriginMicrosoft
NTSTATUSfalse
Reserved (X)false
FacilityCode0 (0x000)
NameFACILITY_NULL[2][1]
DescriptionThe default facility code.[2][1]
Error Code455 (0x01c7)

Possible solutions

2

Cocos2dx iOS Approved App Crashing

iphone
ios
cocos2d-iphone
cocos2d-x

My first reaction, based on your statements towards the end, is that the 'app update bug' which Apple claimed to have solved is not completely solved yet. The DRM patch which is added during the update, somehow crashes updated apps immediately on start. http://www.tuaw.com/2013/03/01/bug-in-latest-evernote-for-ios-update-causes-the-app-to-crash/ https://discussions.apple.com/thread/3389977?start=0&tstart=0 http://www.pcworld.com/article/258827/updated_apps_crashing_heres_what_you_need_to_know.html

There have been many similar questions asked related to App update crash bug. There are some best practises or workarounds, undocumented by Apple specifically wrt avoiding the update bug. Do check them out. One of them may workout for you, if it is not something specific to your app.

Updated App Crashing on iPad iPhone app crash immediately after update

answered on Stack Overflow Mar 4, 2013 by S G • edited May 23, 2017 by Community
2

Cocos2dx iOS Approved App Crashing

iphone
ios
cocos2d-iphone
cocos2d-x

This post regarding EXC_BAD_ACCESS errors in CCBReader helped me with the exact same issue: http://www.cocos2d-x.org/boards/6/topics/18183

Turns out, it was linked to memory misalignment in CCBReader which will run fine on the sim, but will crash on a device due to its ARM processor.

answered on Stack Overflow Mar 5, 2013 by rswayz • edited Mar 5, 2013 by rswayz
2

Cocos2dx iOS Approved App Crashing

iphone
ios
cocos2d-iphone
cocos2d-x

I know a workaround. Edit the scheme to build for Debug and not Release and it seems to not blow up.

I've had two rejections, too. Trick was I had one version (FREE) of the app passing and the other (PREMIUM) crashing. I chased down that difference, and confirmed that the difference.

CCBReader 2.0

The side effect of Debug/Release is possibly the optimization, as @LearnCocos2D mentioned.


Optimization workaround:

  • Select the target.
  • Select the Build Phases tab.
  • Expand the Compile Sources item. It should list all the files compiled. If you notice at the top there is a second column "Compiler Flags".
  • Select CCBReader.m
  • Double-click the Compiler Flags column
  • enter "-O0"

resolved the problem for me.

answered on Stack Overflow Apr 4, 2013 by bshirley • edited Apr 4, 2013 by bshirley
0

Cocos2dx iOS Approved App Crashing

iphone
ios
cocos2d-iphone
cocos2d-x

I was like "WTF is CCB doing there?" .... anyhow, try with -O3 or no optimization at all. -Os is known to cause subtle issues, especially with cocos2d. There's a reason why -Os is not the default level for cocos2d (and I believe the Xcode templates too).

If this fixes the issue, you can set optimization level or disable optimizations just for this file or function using one of the answers of this question.

answered on Stack Overflow Mar 3, 2013 by LearnCocos2D • edited May 23, 2017 by Community
0

Cocos2dx iOS Approved App Crashing

iphone
ios
cocos2d-iphone
cocos2d-x

you are using ccbi files to create UI,Your game crashing randomly because of you are not setting your reference variable to nullptr in init method of your class.

For Example i declared Label *homeLabel; in intorScene.h file, in .cpp file init method you should set this variable to

homeLabel = nullptr;

answered on Stack Overflow Jun 8, 2016 by Shauket Sheikh

Comments

Leave a comment

(plain text only)

Sources

  1. winerror.h from Windows SDK 10.0.14393.0
  2. https://msdn.microsoft.com/en-us/library/cc231198.aspx

User contributions licensed under CC BY-SA 3.0