enmity-mod / tweak

🔧 iOS jailbreak tweak to handle bundle loading and native functionality for Enmity.
318 stars 42 forks source link

Rootless .deb instant crash #43

Open Maud-Pie opened 5 months ago

Maud-Pie commented 5 months ago

After installing rootless .deb ver 2.2.6 app instantly crashes. Some research says that its problem with Info.plist

Here is log:

Incident Identifier: 0DDC7712-ED40-472D-8287-989409F6B82D
CrashReporter Key:   8facf51a07958759311e6e965eaed1f8f4191789
Hardware Model:      iPhone13,2
Process:             Discord [99676]
Path:                /private/var/containers/Bundle/Application/BC7A5AE4-1DC1-49ED-9E90-871BD3E3EC5F/Discord.app/Discord
Identifier:          com.hammerandchisel.discord
Version:             221.0 (56614)
AppStoreTools:       15E204
AppVariant:          1:iPhone13,2:15
Code Type:           ARM-64 (Native)
Role:                Foreground
Parent Process:      launchd [1]
Coalition:           com.hammerandchisel.discord [16409]

Exception Type:  EXC_BAD_ACCESS (SIGSEGV)
Exception Subtype: KERN_INVALID_ADDRESS at 0x0000000000000000
Exception Codes: 0x0000000000000001, 0x0000000000000000
VM Region Info: 0 is not in any region.  Bytes before following region: 4296441856
      REGION TYPE                 START - END      [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      UNUSED SPACE AT START
--->  
      __TEXT                   100168000-100638000 [ 4928K] r-x/r-x SM=COW  ...d.app/Discord
Termination Reason: SIGNAL 11 Segmentation fault: 11
Terminating Process: exc handler [99676]

Triggered by Thread:  12

Thread 0 name:   Dispatch queue: com.apple.main-thread
Thread 0:
0   libsystem_kernel.dylib                 0x1e67bbc84 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1e67ceb54 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1e67cee2c mach_msg_overwrite + 540
3   libsystem_kernel.dylib                 0x1e67bc1c8 mach_msg + 24
4   CoreFoundation                         0x1a78f0024 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x1a78f1250 __CFRunLoopRun + 1208
6   CoreFoundation                         0x1a78f63ec CFRunLoopRunSpecific + 612
7   GraphicsServices                       0x1e2d9335c GSEventRunModal + 164
8   UIKitCore                              0x1a9c836e8 -[UIApplication _run] + 888
9   UIKitCore                              0x1a9c8334c UIApplicationMain + 340
10  Discord                                0x100639774 0x100168000 + 5052276
11  dyld                                   0x1028fddec start + 2220

Thread 1 name:   Dispatch queue: com.google.fira.worker
Thread 1:
0   libsystem_kernel.dylib                 0x1e67bdce4 pwrite + 8
1   Discord                                0x1006b8e9c 0x100168000 + 5574300
2   Discord                                0x1006b72b8 0x100168000 + 5567160
3   Discord                                0x1006c65c0 0x100168000 + 5629376
4   Discord                                0x1006c6448 0x100168000 + 5629000
5   Discord                                0x1006db7a0 0x100168000 + 5715872
6   Discord                                0x1006d6b68 0x100168000 + 5696360
7   Discord                                0x1006d2420 0x100168000 + 5678112
8   Discord                                0x1006a8118 0x100168000 + 5505304
9   Discord                                0x1018d7ddc 0x100168000 + 24575452
10  Discord                                0x1018d62f8 0x100168000 + 24568568
11  Discord                                0x1018ab8ec 0x100168000 + 24393964
12  Discord                                0x1018a1228 0x100168000 + 24351272
13  Discord                                0x1018ebf54 0x100168000 + 24657748
14  Discord                                0x1018e91b4 0x100168000 + 24646068
15  Discord                                0x1018d761c 0x100168000 + 24573468
16  Discord                                0x10189fa68 0x100168000 + 24345192
17  Discord                                0x1018e8e78 0x100168000 + 24645240
18  Discord                                0x1018e89d4 0x100168000 + 24644052
19  Discord                                0x1018b59a4 0x100168000 + 24435108
20  Discord                                0x1018b594c 0x100168000 + 24435020
21  Discord                                0x1018b5628 0x100168000 + 24434216
22  Discord                                0x1018c27b8 0x100168000 + 24487864
23  libdispatch.dylib                      0x1aed45320 _dispatch_call_block_and_release + 32
24  libdispatch.dylib                      0x1aed46eac _dispatch_client_callout + 20
25  libdispatch.dylib                      0x1aed4e534 _dispatch_lane_serial_drain + 668
26  libdispatch.dylib                      0x1aed4f0a4 _dispatch_lane_invoke + 384
27  libdispatch.dylib                      0x1aed59cdc _dispatch_workloop_worker_thread + 648
28  libsystem_pthread.dylib                0x207600ddc _pthread_wqthread + 288
29  libsystem_pthread.dylib                0x207600b7c start_wqthread + 8

Thread 2:
0   libsystem_pthread.dylib                0x207600b74 start_wqthread + 0

Thread 3 name:   Dispatch queue: com.google.GDTCORFlatFileStorage
Thread 3:
0   libobjc.A.dylib                        0x1a090a8b8 objc_msgSend + 184
1   UIKitCore                              0x1aa646a20 _endBackgroundTask + 196
2   UIKitCore                              0x1a9bb223c -[UIApplication _endBackgroundTask:] + 28
3   Discord                                0x1007870a0 0x100168000 + 6418592
4   Discord                                0x100788b3c 0x100168000 + 6425404
5   Discord                                0x100782450 0x100168000 + 6399056
6   libdispatch.dylib                      0x1aed45320 _dispatch_call_block_and_release + 32
7   libdispatch.dylib                      0x1aed46eac _dispatch_client_callout + 20
8   libdispatch.dylib                      0x1aed4e534 _dispatch_lane_serial_drain + 668
9   libdispatch.dylib                      0x1aed4f0a4 _dispatch_lane_invoke + 384
10  libdispatch.dylib                      0x1aed59cdc _dispatch_workloop_worker_thread + 648
11  libsystem_pthread.dylib                0x207600ddc _pthread_wqthread + 288
12  libsystem_pthread.dylib                0x207600b7c start_wqthread + 8

Thread 4:
0   libsystem_pthread.dylib                0x207600b74 start_wqthread + 0

Thread 5:
0   libsystem_pthread.dylib                0x207600b74 start_wqthread + 0

Thread 6:
0   libsystem_pthread.dylib                0x207600b74 start_wqthread + 0

Thread 7 name:  com.apple.uikit.eventfetch-thread
Thread 7:
0   libsystem_kernel.dylib                 0x1e67bbc84 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1e67ceb54 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1e67cee2c mach_msg_overwrite + 540
3   libsystem_kernel.dylib                 0x1e67bc1c8 mach_msg + 24
4   CoreFoundation                         0x1a78f0024 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x1a78f1250 __CFRunLoopRun + 1208
6   CoreFoundation                         0x1a78f63ec CFRunLoopRunSpecific + 612
7   Foundation                             0x1a1b76fd4 -[NSRunLoop(NSRunLoop) runMode:beforeDate:] + 212
8   Foundation                             0x1a1b76ebc -[NSRunLoop(NSRunLoop) runUntilDate:] + 64
9   UIKitCore                              0x1a9db63fc -[UIEventFetcher threadMain] + 416
10  Foundation                             0x1a1b90544 __NSThread__start__ + 716
11  libsystem_pthread.dylib                0x2076016b8 _pthread_start + 148
12  libsystem_pthread.dylib                0x207600b88 thread_start + 8

Thread 8:
0   libsystem_pthread.dylib                0x207600b74 start_wqthread + 0

Thread 9:
0   libsystem_pthread.dylib                0x207600b74 start_wqthread + 0

Thread 10 name:   Dispatch queue: com.apple.CFNetwork.Connection
Thread 10:
0   libsystem_kernel.dylib                 0x1e67c06bc necp_client_action + 8
1   Network                                0x1a843564c nw_path_evaluator_evaluate + 604
2   Network                                0x1a8434da4 nw_path_create_evaluator_for_endpoint + 104
3   Network                                0x1a85f4b08 nw_association_activate + 120
4   Network                                0x1a85f3c84 nw_association_register + 252
5   Network                                0x1a805ee88 nw_endpoint_handler_initialize_association + 240
6   Network                                0x1a806955c nw_endpoint_handler_start + 980
7   Network                                0x1a7fc22b8 __nw_connection_start_block_invoke + 1448
8   Network                                0x1a7fc1a40 nw_connection_start + 632
9   CFNetwork                              0x1a88a168c 0x1a8888000 + 104076
10  CFNetwork                              0x1a88a2490 0x1a8888000 + 107664
11  CFNetwork                              0x1a8987580 0x1a8888000 + 1045888
12  CFNetwork                              0x1a889f674 0x1a8888000 + 95860
13  CFNetwork                              0x1a8898660 0x1a8888000 + 67168
14  CFNetwork                              0x1a8896ee0 0x1a8888000 + 61152
15  CFNetwork                              0x1a88b3364 0x1a8888000 + 176996
16  CFNetwork                              0x1a89f742c 0x1a8888000 + 1504300
17  libdispatch.dylib                      0x1aed45320 _dispatch_call_block_and_release + 32
18  libdispatch.dylib                      0x1aed46eac _dispatch_client_callout + 20
19  libdispatch.dylib                      0x1aed4e534 _dispatch_lane_serial_drain + 668
20  libdispatch.dylib                      0x1aed4f0d8 _dispatch_lane_invoke + 436
21  libdispatch.dylib                      0x1aed50394 _dispatch_workloop_invoke + 1764
22  libdispatch.dylib                      0x1aed59cdc _dispatch_workloop_worker_thread + 648
23  libsystem_pthread.dylib                0x207600ddc _pthread_wqthread + 288
24  libsystem_pthread.dylib                0x207600b7c start_wqthread + 8

Thread 11:
0   libsystem_pthread.dylib                0x207600b74 start_wqthread + 0

Thread 12 name:   Dispatch queue: com.apple.root.user-interactive-qos
Thread 12 Crashed:
0   hermes                                 0x102ef70ec 0x102cfc000 + 2076908
1   hermes                                 0x102f07838 0x102cfc000 + 2144312
2   hermes                                 0x102e79a30 0x102cfc000 + 1563184
3   hermes                                 0x102e7932c 0x102cfc000 + 1561388
4   hermes                                 0x102d054c0 0x102cfc000 + 38080
5   hermes                                 0x102d04f88 facebook::hermes::HermesRuntime::evaluateJavaScriptWithSourceMap(std::__1::shared_ptr<facebook::jsi::Buffer const> const&, std::__1::shared_ptr<facebook::jsi::Buffer const> const&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char>> const&) + 72
6   hermes                                 0x102d06018 0x102cfc000 + 40984
7   Discord                                0x100c5dc50 0x100168000 + 11492432
8   Discord                                0x100c7c7e4 0x100168000 + 11618276
9   Discord                                0x100c756f0 0x100168000 + 11589360
10  Discord                                0x100c757d0 0x100168000 + 11589584
11  Discord                                0x100bd7f84 0x100168000 + 10944388
12  Discord                                0x100bdf880 0x100168000 + 10975360
13  Discord                                0x100bd235c 0x100168000 + 10920796
14  Discord                                0x100bd7bbc 0x100168000 + 10943420
15  Enmity.dylib                           0x1026efc60 0x1026e8000 + 31840
16  Discord                                0x100bd7a28 0x100168000 + 10943016
17  Discord                                0x100bd5978 0x100168000 + 10934648
18  Discord                                0x100bd36b8 0x100168000 + 10925752
19  libdispatch.dylib                      0x1aed45320 _dispatch_call_block_and_release + 32
20  libdispatch.dylib                      0x1aed46eac _dispatch_client_callout + 20
21  libdispatch.dylib                      0x1aed58a64 _dispatch_root_queue_drain + 684
22  libdispatch.dylib                      0x1aed59158 _dispatch_worker_thread2 + 164
23  libsystem_pthread.dylib                0x207600da0 _pthread_wqthread + 228
24  libsystem_pthread.dylib                0x207600b7c start_wqthread + 8

Thread 13 name:  com.google.firebase.crashlytics.MachExceptionServer
Thread 13:
0   libsystem_kernel.dylib                 0x1e67bbc84 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1e67ceb54 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1e67cee2c mach_msg_overwrite + 540
3   libsystem_kernel.dylib                 0x1e67bc1c8 mach_msg + 24
4   Discord                                0x10074af40 0x100168000 + 6172480
5   libsystem_pthread.dylib                0x2076016b8 _pthread_start + 148
6   libsystem_pthread.dylib                0x207600b88 thread_start + 8

Thread 14 name:  com.apple.NSURLConnectionLoader
Thread 14:
0   libsystem_kernel.dylib                 0x1e67bbc84 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1e67ceb54 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1e67cee2c mach_msg_overwrite + 540
3   libsystem_kernel.dylib                 0x1e67bc1c8 mach_msg + 24
4   CoreFoundation                         0x1a78f0024 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x1a78f1250 __CFRunLoopRun + 1208
6   CoreFoundation                         0x1a78f63ec CFRunLoopRunSpecific + 612
7   CFNetwork                              0x1a8ae1580 0x1a8888000 + 2463104
8   Foundation                             0x1a1b90544 __NSThread__start__ + 716
9   libsystem_pthread.dylib                0x2076016b8 _pthread_start + 148
10  libsystem_pthread.dylib                0x207600b88 thread_start + 8

Thread 15:
0   libsystem_kernel.dylib                 0x1e67bc558 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x207608078 _pthread_cond_wait + 1232
2   libc++.1.dylib                         0x1b5ec3ef8 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Discord                                0x1006a2348 0x100168000 + 5481288
4   libsystem_pthread.dylib                0x2076016b8 _pthread_start + 148
5   libsystem_pthread.dylib                0x207600b88 thread_start + 8

Thread 16:
0   libsystem_kernel.dylib                 0x1e67bc558 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x207608078 _pthread_cond_wait + 1232
2   libc++.1.dylib                         0x1b5ec3ef8 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Discord                                0x100673530 0x100168000 + 5289264
4   Discord                                0x100683bc0 0x100168000 + 5356480
5   libsystem_pthread.dylib                0x2076016b8 _pthread_start + 148
6   libsystem_pthread.dylib                0x207600b88 thread_start + 8

Thread 17 name:  com.facebook.react.JavaScript
Thread 17:
0   libsystem_kernel.dylib                 0x1e67bbc84 mach_msg2_trap + 8
1   libsystem_kernel.dylib                 0x1e67ceb54 mach_msg2_internal + 80
2   libsystem_kernel.dylib                 0x1e67cee2c mach_msg_overwrite + 540
3   libsystem_kernel.dylib                 0x1e67bc1c8 mach_msg + 24
4   CoreFoundation                         0x1a78f0024 __CFRunLoopServiceMachPort + 160
5   CoreFoundation                         0x1a78f1250 __CFRunLoopRun + 1208
6   CoreFoundation                         0x1a78f63ec CFRunLoopRunSpecific + 612
7   Discord                                0x100bd228c 0x100168000 + 10920588
8   Foundation                             0x1a1b90544 __NSThread__start__ + 716
9   libsystem_pthread.dylib                0x2076016b8 _pthread_start + 148
10  libsystem_pthread.dylib                0x207600b88 thread_start + 8

Thread 18 name:  hades
Thread 18:
0   libsystem_kernel.dylib                 0x1e67bc558 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x207608078 _pthread_cond_wait + 1232
2   libc++.1.dylib                         0x1b5ec3ef8 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   hermes                                 0x102e183f8 0x102cfc000 + 1164280
4   hermes                                 0x102e181ac 0x102cfc000 + 1163692
5   libsystem_pthread.dylib                0x2076016b8 _pthread_start + 148
6   libsystem_pthread.dylib                0x207600b88 thread_start + 8

Thread 19 name:  hermes-chrome-inspector-conn
Thread 19:
0   libsystem_kernel.dylib                 0x1e67bc558 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x207608078 _pthread_cond_wait + 1232
2   libc++.1.dylib                         0x1b5ec3ef8 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Discord                                0x100c4f584 0x100168000 + 11433348
4   Discord                                0x100c24744 0x100168000 + 11257668
5   libsystem_pthread.dylib                0x2076016b8 _pthread_start + 148
6   libsystem_pthread.dylib                0x207600b88 thread_start + 8

Thread 20 name:  hermes-inspector
Thread 20:
0   libsystem_kernel.dylib                 0x1e67bc558 __psynch_cvwait + 8
1   libsystem_pthread.dylib                0x207608078 _pthread_cond_wait + 1232
2   libc++.1.dylib                         0x1b5ec3ef8 std::__1::condition_variable::wait(std::__1::unique_lock<std::__1::mutex>&) + 28
3   Discord                                0x100c4f584 0x100168000 + 11433348
4   Discord                                0x100c24744 0x100168000 + 11257668
5   libsystem_pthread.dylib                0x2076016b8 _pthread_start + 148
6   libsystem_pthread.dylib                0x207600b88 thread_start + 8

Thread 12 crashed with ARM Thread State (64-bit):
    x0: 0x0000000132046a10   x1: 0x0000000000000000   x2: 0xffffffffffffffff   x3: 0x0000000000000000
    x4: 0x000000000000003e   x5: 0x000000000000003e   x6: 0x0000000280204e80   x7: 0x0000000000000000
    x8: 0x8df5d17290ff00c0   x9: 0x00000001320d9800  x10: 0x0000000000000200  x11: 0x0000000000000018
   x12: 0xff51afd7ed558ce1  x13: 0x64997059df8e1147  x14: 0x7cb8079bc517d799  x15: 0x00000000fbcc3875
   x16: 0x000000020756a470  x17: 0x00000000fbcc3875  x18: 0x0000000000000000  x19: 0x0000000132046a10
   x20: 0x0000000000000000  x21: 0x0000000000000000  x22: 0x0000000132046aa0  x23: 0x0000000000000f03
   x24: 0x0000000102fcb908  x25: 0x0000000170321a58  x26: 0x0000000102fd2986  x27: 0x0000000000000302
   x28: 0x0000000102fdc0e1   fp: 0x0000000170321ae0   lr: 0x0000000102f07838
    sp: 0x0000000170321a40   pc: 0x0000000102ef70ec cpsr: 0x60001000
   far: 0x0000000000000000  esr: 0x92000006 (Data Abort) byte read Translation fault
cakarlen commented 5 months ago

Experiencing similar issue as reported on iPhone 14, iOS 16.1 jailbroken with Dopamine 2

Maud-Pie commented 5 months ago

Experiencing similar issue as reported on iPhone 14, iOS 16.1 jailbroken with Dopamine 2

Try enmity repo on sileo, its worked for me