Closed j0k3r closed 9 years ago
Same for me. iOS 7.1.2
same for me
I replaced CCLoader.dylib and CCLoader.plist (/Library/MobileSubstrate/PreferenceBundles/) with those from 1.2.7.zip - available on this repository on GitHub to make it work again. Jftr ;)
@taidoka I think that won't work on iOS8
@j0k3r So it isn't working on iOS 8 either? Above mentioned fix will only work on iOS 7.
The crash is weird, it only happens sometimes. I've managed to get it to crash with a debug build, and the symbolicated log looks like this:
Thread 0 name: Dispatch queue: com.apple.main-thread
Thread 0:
0 libobjc.A.dylib 0x19860e0d8 0x1985fc000 + 0x120d8 // class_conformsToProtocol + 0xd4
1 libobjc.A.dylib 0x19860e09c 0x1985fc000 + 0x1209c // class_conformsToProtocol + 0x98
2 libobjc.A.dylib 0x19860e820 0x1985fc000 + 0x12820 // class_addProtocol + 0x24
3 + CCLoader.dylib 0x10087d558 0x10086c000 + 0x11558 // _logosLocalInit() + 0x1ed0
4 dyld 0x1200190f4 0x120008000 + 0x110f4 // ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 0x100
5 dyld 0x1200192ac 0x120008000 + 0x112ac // ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 0x20
6 dyld 0x12001560c 0x120008000 + 0xd60c // ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 0x148
7 dyld 0x12001545c 0x120008000 + 0xd45c // ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 0x88
8 dyld 0x120015724 0x120008000 + 0xd724 // ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 0x50
9 dyld 0x12000cd34 0x120008000 + 0x4d34 // dyld::runInitializers(ImageLoader*) + 0x5c
10 dyld 0x120011fcc 0x120008000 + 0x9fcc // dlopen + 0x310
11 libdyld.dylib 0x198c71b94 0x198c70000 + 0x1b94 // dlopen + 0x44
12 + SubstrateLoader.dylib 0x100776b5c 0x100774000 + 0x2b5c // 0x00002294 + 0x8c8
13 dyld 0x1200190f4 0x120008000 + 0x110f4 // ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 0x100
14 dyld 0x1200192ac 0x120008000 + 0x112ac // ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 0x20
15 dyld 0x12001560c 0x120008000 + 0xd60c // ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 0x148
16 dyld 0x12001545c 0x120008000 + 0xd45c // ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 0x88
17 dyld 0x120015724 0x120008000 + 0xd724 // ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 0x50
18 dyld 0x12000cd34 0x120008000 + 0x4d34 // dyld::runInitializers(ImageLoader*) + 0x5c
19 dyld 0x120011fcc 0x120008000 + 0x9fcc // dlopen + 0x310
20 libdyld.dylib 0x198c71b94 0x198c70000 + 0x1b94 // dlopen + 0x44
21 dyld 0x1200190f4 0x120008000 + 0x110f4 // ImageLoaderMachO::doModInitFunctions(ImageLoader::LinkContext const&) + 0x100
22 dyld 0x1200192ac 0x120008000 + 0x112ac // ImageLoaderMachO::doInitialization(ImageLoader::LinkContext const&) + 0x20
23 dyld 0x12001560c 0x120008000 + 0xd60c // ImageLoader::recursiveInitialization(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 0x148
24 dyld 0x12001545c 0x120008000 + 0xd45c // ImageLoader::processInitializers(ImageLoader::LinkContext const&, unsigned int, ImageLoader::InitializerTimingList&, ImageLoader::UninitedUpwards&) + 0x88
25 dyld 0x120015724 0x120008000 + 0xd724 // ImageLoader::runInitializers(ImageLoader::LinkContext const&, ImageLoader::InitializerTimingList&) + 0x50
26 dyld 0x12000a134 0x120008000 + 0x2134 // dyld::initializeMainExecutable() + 0xa8
27 dyld 0x12000d87c 0x120008000 + 0x587c // dyld::_main(macho_header const*, unsigned long, int, char const**, char const**, char const**, unsigned long*) + 0xa28
28 dyld 0x120009040 0x120008000 + 0x1040 // _dyld_start + 0x40
Thread 1 name: Dispatch queue: com.apple.libdispatch-manager
Thread 1 Crashed:
0 libsystem_kernel.dylib 0x198d70c94 0x198d70000 + 0xc94 // kevent64 + 0x8
1 libdispatch.dylib 0x198c5897c 0x198c48000 + 0x1097c // _dispatch_mgr_invoke + 0x110
2 libdispatch.dylib 0x198c4b3b0 0x198c48000 + 0x33b0 // _dispatch_mgr_thread + 0x30
As it turns out _logosLocalInit()
is the constructor function (%ctor in Logos).
I narrowed it down to the CCSectionViewController
class, it crashes during the creation of the subclass. Seems like adding the protocols to the subclass causes the problems.
Fixed in af78cfdd2b626623e851e841a6cb3c197b08afab and https://github.com/JonasGessner/theos/commit/e558d2d94104c0499c1b7cbb126a1da97343edfa.
Since your mailbox seems to be full, I create this issue.
I just installed the 1.2.8 version and since then I kept being in safe mode. Here is the crash log, I can attach the syslog too if needed: