altstoreio / AltStore

AltStore is an alternative app store for non-jailbroken iOS devices.
https://altstore.io
GNU Affero General Public License v3.0
11.7k stars 890 forks source link

AltStore crashed after update to newest version (1.4.8) #867

Open xuanhaivptthn opened 2 years ago

xuanhaivptthn commented 2 years ago

Device: iPhone 6 running ios 12.5.4, jailbroken with unc0ver 6.2.0 Crashlog (Exported using Cr4shed):

Date: 10/29/21, 1:35 PM Process: AltStore Bundle id: com.D9YHY7RVG3.com.rileytestut.AltStore Device: iPhone 6, iOS 12.5.4 Bundle version: 1.4.8

Exception type: EXC_SOFTWARE (SIGABRT) Exception subtype: EXC_UNIX_ABORT Exception codes: 0x0000000000010002, 0x0000000000000000 Culprit: Unknown Termination Reason: Library not loaded: /usr/lib/libAppleArchive.dylib Referenced from: /var/containers/Bundle/Application/D6DCC9E4-3120-42E6-A158-DB90DC0F9E11/AltStore.app/AltStore Reason: image not found

Triggered by thread: 0 Thread name: Call stack: 0 dyld 0x000000010163a418 0x1015f8000 + 271384 // __abort_with_payload 1 dyld 0x0000000101639a58 0x1015f8000 + 268888 // abort_with_payload_wrapper_internal 2 dyld 0x0000000101639a88 0x1015f8000 + 268936 // fcntl 3 dyld 0x00000001015fc8f8 0x1015f8000 + 18680 // dyld::fastBindLazySymbol(ImageLoader*, unsigned long) 4 dyld 0x00000001015ff6e4 0x1015f8000 + 30436 // dyld::_main(macho_header const, unsigned long, int, char const, char const, char const*, unsigned long) 5 dyld 0x00000001015f9044 0x1015f8000 + 4164 // _dyld_start

Register values: PC: 0x10163a418 LR: 0x101639a58 CPSR: 0x0 x0: 0x6 x1: 0x1 x2: 0x16ecee920 x3: 0x91 x4: 0x16ecee520 x5: 0x0 x6: 0x0 x7: 0x0 x8: 0x20 x9: 0x9 x10: 0x612e65726f745374 x11: 0x7453746c412f7070 x12: 0x20200a65726f7453 x13: 0x203a6e6f73616552 x14: 0x6f6e206567616d69 x15: 0x646e756f662074 x16: 0x209 x17: 0x10 x18: 0x0 x19: 0x0 x20: 0x16ecee520 x21: 0x91 x22: 0x16ecee920 x23: 0x1 x24: 0x6 x25: 0x2f x26: 0x1016535e0 x27: 0x101653000 x28: 0x101653a00

Loaded images: 0: /var/containers/Bundle/Application/D6DCC9E4-3120-42E6-A158-DB90DC0F9E11/AltStore.app/AltStore 1: /var/containers/Bundle/Application/D6DCC9E4-3120-42E6-A158-DB90DC0F9E11/AltStore.app/Frameworks/KeychainAccess.framework/KeychainAccess 2: /var/containers/Bundle/Application/D6DCC9E4-3120-42E6-A158-DB90DC0F9E11/AltStore.app/Frameworks/Nuke.framework/Nuke 3: /usr/lib/dyld 4: /usr/lib/libc++.1.dylib 5: /usr/lib/libz.1.dylib 6: /usr/lib/libsqlite3.dylib 7: /System/Library/Frameworks/Foundation.framework/Foundation 8: /System/Library/Frameworks/Security.framework/Security 9: /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration 10: /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony 11: /System/Library/Frameworks/UIKit.framework/UIKit

{"ProcessBundleID":"com.D9YHY7RVG3.com.rileytestut.AltStore","ProcessName":"AltStore","Culprit":"Unknown"}

wongthekongquerer commented 2 years ago

I too am having the same issue. Posting my crash log here in hopes that it could help with the investigation.

Date: 10/29/21, 5:12 PM Process: AltStore Bundle id: com.68LZ88YY8X.com.rileytestut.AltStore Device: iPhone XS Max, iOS 13.5 Bundle version: 1.4.8

Exception type: EXC_SOFTWARE (SIGABRT) Exception subtype: EXC_UNIX_ABORT Exception codes: 0x0000000000010002, 0x0000000000000000 Culprit: Unknown Termination Reason: Library not loaded: /usr/lib/libAppleArchive.dylib Referenced from: /private/var/containers/Bundle/Application/6A2DB4EF-7924-4D66-BD08-B60FB73F20D9/AltStore.app/AltStore Reason: image not found

Triggered by thread: 0 Thread name: Call stack: 0 dyld 0x0000000100c68f30 0x100c18000 + 331568 // __abort_with_payload 1 dyld 0x0000000100c7066c 0x100c18000 + 362092 // abort_with_payload_wrapper_internal 2 dyld 0x0000000100c706a0 0x100c18000 + 362144 // unw_set_reg.cold.1 3 dyld 0x0000000100c6d354 0x100c18000 + 349012 // invocation function for block in dyld::removeImage(ImageLoader) 4 dyld 0x0000000100c1f50c 0x100c18000 + 29964 // dyld::_main(macho_header const, unsigned long, int, char const, char const, char const, unsigned long) 5 dyld 0x0000000100c1922c 0x100c18000 + 4652 // dyldbootstrap::start(dyld3::MachOLoaded const, int, char const, dyld3::MachOLoaded const, unsigned long) 6 dyld 0x0000000100c19038 0x100c18000 + 4152 // _dyld_start

Register values: PC: 0x100c68f30 LR: 0x100c7066c CPSR: 0x0 x0: 0x6 x1: 0x1 x2: 0x16f77ab90 x3: 0x99 x4: 0x16f77a790 x5: 0x0 x6: 0x0 x7: 0x0 x8: 0x20 x9: 0x9 x10: 0x7453746c412f7070 x11: 0x655220200a65726f x12: 0x20200a65726f7453 x13: 0x203a6e6f73616552 x14: 0x6f6e206567616d69 x15: 0x646e756f662074 x16: 0x209 x17: 0x100c63510 x18: 0x0 x19: 0x0 x20: 0x16f77a790 x21: 0x99 x22: 0x16f77ab90 x23: 0x1 x24: 0x6 x25: 0x100c88000 x26: 0x100c88000 x27: 0x100c88000 x28: 0x1

Loaded images: 0: /var/containers/Bundle/Application/6A2DB4EF-7924-4D66-BD08-B60FB73F20D9/AltStore.app/AltStore 1: /var/containers/Bundle/Application/6A2DB4EF-7924-4D66-BD08-B60FB73F20D9/AltStore.app/Frameworks/KeychainAccess.framework/KeychainAccess 2: /var/containers/Bundle/Application/6A2DB4EF-7924-4D66-BD08-B60FB73F20D9/AltStore.app/Frameworks/Nuke.framework/Nuke 3: /usr/lib/dyld 4: /usr/lib/libc++.1.dylib 5: /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration 6: /System/Library/Frameworks/Foundation.framework/Foundation 7: /System/Library/Frameworks/Security.framework/Security 8: /usr/lib/libsqlite3.dylib 9: /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony 10: /System/Library/Frameworks/UIKit.framework/UIKit 11: /usr/lib/libz.1.dylib

{"ProcessBundleID":"com.68LZ88YY8X.com.rileytestut.AltStore","ProcessName":"AltStore","Culprit":"Unknown"}

LeinadKenbun commented 2 years ago

same issue on 1.4.7

Oct 29 18:38:50 Daniels-iPhone ReportCrash(CrashReporterSupport)[2437] : Process: AltStore [2435] Path: /private/var/containers/Bundle/Application/E40B3B3E-E255-41B3-8BA1-B1DC07DC3CBE/AltStore.app/AltStore OS Version: iPhone OS 12.5.5 (16H62) Oct 29 18:38:50 Daniels-iPhone ReportCrash(CrashReporterSupport)[2437] : Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Description: DYLD, Library not loaded: /usr/lib/libAppleArchive.dylib | Referenced from: /var/containers/Bundle/Application/E40B3B3E-E255-41B3-8BA1-B1DC07DC3CBE/AltStore.app/AltStore | Reason: image not found Triggered by Thread: 0 Oct 29 18:38:50 Daniels-iPhone ReportCrash(CrashReporterSupport)[2437] : Thread 0 Crashed: 0 dyld 0x0000000101406418 0x1013c4000 + 271384 1 dyld 0x0000000101405a58 0x1013c4000 + 268888 2 dyld 0x0000000101405a88 0x1013c4000 + 268936 3 dyld 0x00000001013c88f8 0x1013c4000 + 18680 4 dyld 0x00000001013cb6e4 0x1013c4000 + 30436 5 dyld 0x00000001013c5044 0x1013c4000 + 4164 Oct 29 18:38:50 Daniels-iPhone ReportCrash(CrashReporterSupport)[2437] <Notice

: Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000016ef9e5e0 x3: 0x0000000000000091 x4: 0x000000016ef9e1e0 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x612e65726f745374 x11: 0x7453746c412f7070 x12: 0x20200a65726f7453 x13: 0x203a6e6f73616552 x14: 0x6f6e206567616d69 x15: 0x00646e756f662074 x16: 0x0000000000000209 x17: 0x0000000000000010 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x000000016ef9e1e0 x21: 0x0000000000000091 x22: 0x000000016ef9e5e0 x23: 0x0000000000000001 x24: 0x0000000000000006 x25: 0x000000000000002f x26: 0x000000010141f5e0 x27: 0x000000010141f000 x28: 0x000000010141fa00 fp: 0x000000016ef9e1b0 lr: 0x0000000101405a58 sp: 0x000000016ef9e170 pc: 0x0000000101406418 cpsr: 0x00000000

dbouras commented 2 years ago

Same here (via CrashReporter):

{"blame":[],"app_name":"AltStore","timestamp":"2021-10-29 20:15:38.00 +0300","app_version":"1.4.8","slice_uuid":"4c38ba15-5e5f-36da-9a77-0c0c3f3323f0","adam_id":0,"build_version":"1","bundleID":"com.SAA2QK365E.com.rileytestut.AltStore","share_with_app_devs":0,"is_first_party":0,"bug_type":"109","os_version":"iPhone OS 13.5 (17F75)","incident_id":"3D744C01-98CB-4A7D-8F7C-2B3F74B2DEB2","name":"AltStore","symbolicated":true} Incident Identifier: 3D744C01-98CB-4A7D-8F7C-2B3F74B2DEB2 CrashReporter Key: 6ddd742bd9de3caf99547cf2ccddce80a2c75102 Hardware Model: iPhone8,2 Process: AltStore [4241] Path: /private/var/containers/Bundle/Application/4E144AD6-CEB8-4AB0-A4EB-BB7FA29BBB2D/AltStore.app/AltStore Identifier: com.SAA2QK365E.com.rileytestut.AltStore Version: 1 (1.4.8) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.SAA2QK365E.com.rileytestut.AltStore [1582]

Date/Time: 2021-10-29 20:15:38.5649 +0300 Launch Time: 2021-10-29 20:15:38.5588 +0300 OS Version: iPhone OS 13.5 (17F75) Release Type: User Baseband Version: 7.60.01 Report Version: 104

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Description: DYLD, Library not loaded: /usr/lib/libAppleArchive.dylib | Referenced from: /private/var/containers/Bundle/Application/4E144AD6-CEB8-4AB0-A4EB-BB7FA29BBB2D/AltStore.app/AltStore | Reason: image not found Triggered by Thread: 0

Thread 0 Crashed: 0 dyld 0x100c34f68 0x100be8000 + 0x4cf68 // __abort_with_payload + 0x8 1 dyld 0x100c3bee8 0x100be8000 + 0x53ee8 // abort_with_payload_wrapper_internal + 0x64 2 dyld 0x100c3bf18 0x100be8000 + 0x53f18 // 0x00053f0c + 0xc 3 dyld 0x100c3913c 0x100be8000 + 0x5113c // invocation function for block in dyld::removeImage(ImageLoader) + 0x0 4 dyld 0x100bef1a4 0x100be8000 + 0x71a4 // dyld::_main(macho_header const, unsigned long, int, char const, char const, char const, unsigned long) + 0x1424 5 dyld 0x100be9208 0x100be8000 + 0x1208 // dyldbootstrap::start(dyld3::MachOLoaded const, int, char const, dyld3::MachOLoaded const, unsigned long) + 0x18c 6 dyld 0x100be9038 0x100be8000 + 0x1038 // _dyld_start + 0x38

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000016f546bc0 x3: 0x0000000000000099 x4: 0x000000016f5467c0 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000000 x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x6d69203a6e6f7361 x11: 0x20746f6e20656761 x12: 0x20200a65726f7453 x13: 0x203a6e6f73616552 x14: 0x6f6e206567616d69 x15: 0x00646e756f662074 x16: 0x0000000000000209 x17: 0x0000000000000000 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x000000016f5467c0 x21: 0x0000000000000099 x22: 0x000000016f546bc0 x23: 0x0000000000000001 x24: 0x0000000000000006 x25: 0x0000000100c54000 x26: 0x0000000100c54000 x27: 0x0000000100c58078 x28: 0x0000000000000001 fp: 0x000000016f546790 lr: 0x0000000100c3bee8 sp: 0x000000016f546750 pc: 0x0000000100c34f68 cpsr: 0x00000000 esr: 0x56000080 Address size fault

Binary Images (dpkg):

Binary Images (App Store):

Binary Images (Other): 0x1008b8000 - 0x100ab7fff AltStore arm64 <4c38ba155e5f36da9a770c0c3f3323f0> /var/containers/Bundle/Application/4E144AD6-CEB8-4AB0-A4EB-BB7FA29BBB2D/AltStore.app/AltStore 0x100be8000 - 0x100c4bfff dyld arm64 /usr/lib/dyld 0x100cc8000 - 0x100ceffff KeychainAccess arm64 /var/containers/Bundle/Application/4E144AD6-CEB8-4AB0-A4EB-BB7FA29BBB2D/AltStore.app/Frameworks/KeychainAccess.framework/KeychainAccess 0x100d28000 - 0x100d6ffff Nuke arm64 <3fdc88c295043e0782a3127fc500ffb1> /var/containers/Bundle/Application/4E144AD6-CEB8-4AB0-A4EB-BB7FA29BBB2D/AltStore.app/Frameworks/Nuke.framework/Nuke 0x18dcb7000 - 0x18dd10fff libc++.1.dylib arm64 /usr/lib/libc++.1.dylib 0x18e0c6000 - 0x18e12ffff SystemConfiguration arm64 <97d4a21f62de39d4bac3eda6e23b867b> /System/Library/Frameworks/SystemConfiguration.framework/SystemConfiguration 0x18e130000 - 0x18e3e7fff Foundation arm64 /System/Library/Frameworks/Foundation.framework/Foundation 0x18ec84000 - 0x18edb9fff Security arm64 /System/Library/Frameworks/Security.framework/Security 0x18fa89000 - 0x18fc0bfff libsqlite3.dylib arm64 <50368f42182239ecbb7d9e28f2cb51d4> /usr/lib/libsqlite3.dylib 0x19261e000 - 0x1926f0fff CoreTelephony arm64 /System/Library/Frameworks/CoreTelephony.framework/CoreTelephony 0x1b8400000 - 0x1b8400fff UIKit arm64 <4fdb24a3542c3828ba78261029c70a23> /System/Library/Frameworks/UIKit.framework/UIKit 0x1c366a000 - 0x1c367bfff libz.1.dylib arm64 /usr/lib/libz.1.dylib

dbouras commented 2 years ago

Also tried 1.4.7: same issue as above in the crash log

xuanhaivptthn commented 2 years ago

I only encounter this after update AltStore to 1.4.8 and AltServer 1.4.7.0 To those who still on AltStore 1.4.7 and crashed, can you check if AltServer is on the newest version 1.4.7.0?

dbouras commented 2 years ago

AltServer version: 1.4.7 (59) AltStore version: 1.4.8

wouter1984 commented 2 years ago

I have same issue on iOS 12.4.7... iTunes, iCloud and Altserver on windows fully updated. Did full restore & update to iOS 12.5.5 and still have the same crashing on launch issue.

Kosmos054 commented 2 years ago

If this helps anyone. Resolved this issue after deleting AltServer 1.4.7 and installing 1.5b8. https://twitter.com/Vision_St0re/status/1448968384465358850?s=20

christianhaitian commented 2 years ago

If this helps anyone. Resolved this issue after deleting AltServer 1.4.7 and installing 1.5b8. https://twitter.com/Vision_St0re/status/1448968384465358850?s=20

This worked great. Thank you sharing.🙏🏿

Randomguy1420 commented 2 years ago

Same thing happened to me after update on iOS 13.5, iPhone XS Max on Altstore 1.4.8

mContext commented 2 years ago

Same thing happened to me after update on iOS 12.4, iPhone XS Max on Altstore 1.4.7

wouter1984 commented 2 years ago

If this helps anyone. Resolved this issue after deleting AltServer 1.4.7 and installing 1.5b8. https://twitter.com/Vision_St0re/status/1448968384465358850?s=20

This worked great. Thank you sharing.🙏🏿

If this helps anyone. Resolved this issue after deleting AltServer 1.4.7 and installing 1.5b8. https://twitter.com/Vision_St0re/status/1448968384465358850?s=20

This one worked for me as well, don't run the update on the iOS device to the latest beta, this crashed my Altstore on opening again

xuanhaivptthn commented 2 years ago

If this helps anyone. Resolved this issue after deleting AltServer 1.4.7 and installing 1.5b8. https://twitter.com/Vision_St0re/status/1448968384465358850?s=20

its bad practice to install a leaked build since they are not always safe...

Kosmos054 commented 2 years ago

If this helps anyone. Resolved this issue after deleting AltServer 1.4.7 and installing 1.5b8. https://twitter.com/Vision_St0re/status/1448968384465358850?s=20

its bad practice to install a leaked build since they are not always safe...

Can you maybe suggest a more reliable way of solving our issue? At the moment I ran into this problem had to find a fast solution. But since then I didn’t find anyone trying to solve it as a matter of fact such kind of issues had happened when people updated from previous versions to newer ones and each time it was caused by different situations. I assume that the problem we are having is somehow related to Apples certification process. But that’s my guess.

cyntrifical commented 2 years ago

I’m on 13.5.1 iPhone 8 Plus running u0 7.0.2 and upon updating on-device from 1.4.7 to 1.4.8 the altstore app closed as normal but began crashing upon opening with the exact same logs as above. I even tried revoking all certificates and deleting and reinstalling altstore via altserver on my mac, with the same results. installing the leaked 1.5b8 build mentioned above did however solve the problem. After investigating through Filza it appears that the dylib library “/usr/lib/libApplearchive.dylib” has been deleted thus causing the error of “image not loaded” because that library is non existent post-update. As to WHY I have no clue. But since this is still an open issue hopefully it can help narrow down the bug for the developers.

s2339956 commented 2 years ago

Hardware Model: iPhone9,3 Process: AltStore [358] Path: /private/var/containers/Bundle/Application/1E746759-154E-4382-8C08-418BC71ED4A4/AltStore.app/AltStore Identifier: com.94R9H6X89P.com.rileytestut.AltStore Version: 1 (1.4.8) Code Type: ARM-64 (Native) Role: Foreground Parent Process: launchd [1] Coalition: com.94R9H6X89P.com.rileytestut.AltStore [519]

Date/Time: 2022-01-11 14:18:32.5200 +0800 Launch Time: 2022-01-11 14:18:32.5055 +0800 OS Version: iPhone OS 12.4 (16G77) Baseband Version: 3.03.04 Report Version: 104

Exception Type: EXC_CRASH (SIGABRT) Exception Codes: 0x0000000000000000, 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY Termination Description: DYLD, Library not loaded: /usr/lib/libAppleArchive.dylib | Referenced from: /var/containers/Bundle/Application/1E746759-154E-4382-8C08-418BC71ED4A4/AltStore.app/AltStore | Reason: image not found Triggered by Thread: 0

Thread 0 Crashed: 0 dyld 0x00000001046aa418 __abort_with_payload + 8 1 dyld 0x00000001046a9a58 abort_with_payload_wrapper_internal + 100 2 dyld 0x00000001046a9a88 fcntl + 0 3 dyld 0x000000010466c8f8 dyld::fastBindLazySymbol+ 18680 (ImageLoader*, unsigned long) + 0 4 dyld 0x000000010466f6e4 dyld::_main+ 30436 (macho_header const, unsigned long, int, char const, char const, char const*, unsigned long) + 5396 5 dyld 0x0000000104669044 _dyld_start + 68

Thread 0 crashed with ARM Thread State (64-bit): x0: 0x0000000000000006 x1: 0x0000000000000001 x2: 0x000000016bdca990 x3: 0x0000000000000091 x4: 0x000000016bdca590 x5: 0x0000000000000000 x6: 0x0000000000000000 x7: 0x0000000000000390 x8: 0x0000000000000020 x9: 0x0000000000000009 x10: 0x655220200a65726f x11: 0x6d69203a6e6f7361 x12: 0x20200a65726f7453 x13: 0x203a6e6f73616552 x14: 0x6f6e206567616d69 x15: 0x00646e756f662074 x16: 0x0000000000000209 x17: 0x0000000000000010 x18: 0x0000000000000000 x19: 0x0000000000000000 x20: 0x000000016bdca590 x21: 0x0000000000000091 x22: 0x000000016bdca990 x23: 0x0000000000000001 x24: 0x0000000000000006 x25: 0x000000000000002f x26: 0x00000001046c35e0 x27: 0x00000001046c3000 x28: 0x00000001046c3a00 fp: 0x000000016bdca560 lr: 0x00000001046a9a58 sp: 0x000000016bdca520 pc: 0x00000001046aa418 cpsr: 0x00000000

Binary Images: 0x104034000 - 0x104233fff AltStore arm64 <4c38ba155e5f36da9a770c0c3f3323f0> /var/containers/Bundle/Application/1E746759-154E-4382-8C08-418BC71ED4A4/AltStore.app/AltStore 0x1042f4000 - 0x10431bfff KeychainAccess arm64 /var/containers/Bundle/Application/1E746759-154E-4382-8C08-418BC71ED4A4/AltStore.app/Frameworks/KeychainAccess.framework/KeychainAccess 0x104368000 - 0x1043affff Nuke arm64 <3fdc88c295043e0782a3127fc500ffb1> /var/containers/Bundle/Application/1E746759-154E-4382-8C08-418BC71ED4A4/AltStore.app/Frameworks/Nuke.framework/Nuke 0x104668000 - 0x1046bffff dyld arm64 <06f3d9add3a233cea57df42b73686817> /usr/lib/dyld

EOF

shanegillio commented 1 year ago

hello, sorry for the lack of response - is the issue still occurring on the latest version?