axi0mX / ipwndfu

open-source jailbreaking tool for many iOS devices
GNU General Public License v3.0
7.06k stars 1.7k forks source link

zsh: segmentation fault #245

Open Rodr1goFR opened 4 years ago

Rodr1goFR commented 4 years ago

Screenshot

Hi, im having problems running ./ipwndfu -p in iPhone 5c

First try: -Device reboots some times In terminal Device did not enter pwned DFU Mode

Second try: Device reboots 2-3 minutes later: iPhone detected in recovery mode with question mark In terminal zsh:segmentation fault ./ipwndfu -p

I attached a screenshot with the error:D

System info: macOS Catalina 10.15.5

Dependencies installed (with homebrew) -libusb -libusb -compat -pyusb

Rodr1goFR commented 4 years ago

Process:** Python [1935] Path: /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python Identifier: Python Version: 2.7.16 (2.7.16) Build Info: python-125100001000000~224 Code Type: X86-64 (Native) Parent Process: zsh [1806] Responsible: Terminal [316] User ID: 501

PlugIn Path: /usr/local/Cellar/libusb/1.0.23/lib/libusb-1.0.0.dylib PlugIn Identifier: libusb-1.0.0.dylib PlugIn Version: ??? (0)

Date/Time: 2020-06-28 19:00:32.925 -0500 OS Version: Mac OS X 10.15.5 (19F101) Report Version: 12 Anonymous UUID: 158B4507-D217-4404-9C19-61E3E599CB47

Time Awake Since Boot: 4200 seconds

System Integrity Protection: disabled

Crashed Thread: 0 Dispatch queue: com.apple.main-thread

Exception Type: EXC_BAD_ACCESS (SIGSEGV) Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000 Exception Note: EXC_CORPSE_NOTIFY

Termination Signal: Segmentation fault: 11 Termination Reason: Namespace SIGNAL, Code 0xb Terminating Process: exc handler [1935]

VM Regions Near 0: --> __TEXT 00000001043ff000-0000000104401000 [ 8K] r-x/r-x SM=COW /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread 0 libusb-1.0.0.dylib 0x00000001048d622e darwin_reset_device + 519 1 libffi.dylib 0x00007fff708ad905 ffi_call_unix64 + 85 2 libffi.dylib 0x00007fff708ad244 ffi_call_int + 694 3 _ctypes.so 0x0000000104758659 _ctypes_callproc + 657 4 _ctypes.so 0x0000000104752d74 0x104750000 + 11636 5 org.python.python 0x00007fff43e1b143 PyObject_Call + 97 6 org.python.python 0x00007fff43e96bad PyEval_EvalFrameEx + 18870 7 org.python.python 0x00007fff43e9b68f 0x7fff43e11000 + 566927 8 org.python.python 0x00007fff43e96b00 PyEval_EvalFrameEx + 18697 9 org.python.python 0x00007fff43e9b68f 0x7fff43e11000 + 566927 10 org.python.python 0x00007fff43e96b00 PyEval_EvalFrameEx + 18697 11 org.python.python 0x00007fff43e9b68f 0x7fff43e11000 + 566927 12 org.python.python 0x00007fff43e96b00 PyEval_EvalFrameEx + 18697 13 org.python.python 0x00007fff43e9b68f 0x7fff43e11000 + 566927 14 org.python.python 0x00007fff43e96b00 PyEval_EvalFrameEx + 18697 15 org.python.python 0x00007fff43e91bec PyEval_EvalCodeEx + 531 16 org.python.python 0x00007fff43e919d3 PyEval_EvalCode + 32 17 org.python.python 0x00007fff43eb39b6 0x7fff43e11000 + 666038 18 org.python.python 0x00007fff43eb3a5d PyRun_FileExFlags + 130 19 org.python.python 0x00007fff43eb35e4 PyRun_SimpleFileExFlags + 718 20 org.python.python 0x00007fff43ec531b Py_Main + 3219 21 libdyld.dylib 0x00007fff72b0acc9 start + 1

Thread 1:: org.libusb.device-hotplug 0 libsystem_kernel.dylib 0x00007fff72c4bdfa mach_msg_trap + 10 1 libsystem_kernel.dylib 0x00007fff72c4c170 mach_msg + 60 2 com.apple.CoreFoundation 0x00007fff38ca8f85 CFRunLoopServiceMachPort + 247 3 com.apple.CoreFoundation 0x00007fff38ca7a52 CFRunLoopRun + 1319 4 com.apple.CoreFoundation 0x00007fff38ca6ece CFRunLoopRunSpecific + 462 5 com.apple.CoreFoundation 0x00007fff38d2f519 CFRunLoopRun + 40 6 libusb-1.0.0.dylib 0x00000001048d7482 darwin_event_thread_main + 398 7 libsystem_pthread.dylib 0x00007fff72d0f109 _pthread_start + 148 8 libsystem_pthread.dylib 0x00007fff72d0ab8b thread_start + 15

Thread 0 crashed with X86 Thread State (64-bit): rax: 0x0000000000000000 rbx: 0x00007ffeeb7ffcf0 rcx: 0x0000000000000000 rdx: 0x0000000000000000 rdi: 0x0000000000000000 rsi: 0x0000000000000000 rbp: 0x00007ffeeb7ffd90 rsp: 0x00007ffeeb7ffcf0 r8: 0x0000000000000607 r9: 0x0000000000000000 r10: 0x00000000000010bc r11: 0x0000000000000206 r12: 0x00007ff3c4e7e000 r13: 0x0000000000000001 r14: 0x0000000000000000 r15: 0x00007ff3c6a04d90 rip: 0x00000001048d622e rfl: 0x0000000000010246 cr2: 0x0000000000000000

Logical CPU: 4 Error Code: 0x00000004 (no mapping for user data read) Trap Number: 14

Binary Images: 0x1043ff000 - 0x104400ff7 org.python.python (2.7.16 - 2.7.16) <16D655BB-B900-3F7E-B020-5E14DD2DF55B> /System/Library/Frameworks/Python.framework/Versions/2.7/Resources/Python.app/Contents/MacOS/Python 0x104564000 - 0x104565fff _locale.so (125.100.1) <28115A25-98BA-3ADD-9D78-0D649134AF23> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_locale.so 0x1045ae000 - 0x1045b0ffb binascii.so (125.100.1) <1FCD3389-049F-38F3-A6FE-451B7C7A70C0> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/binascii.so 0x1045b8000 - 0x1045c1ffb datetime.so (125.100.1) <19602D4C-6A08-388F-B61D-ED718A1C64D2> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/datetime.so 0x1045ce000 - 0x1045d0fff _hashlib.so (125.100.1) <35A43380-FD40-36DB-8352-3836EF2CD405> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_hashlib.so 0x1045d9000 - 0x1045dcfff _struct.so (125.100.1) <99120328-FEDA-3821-A946-2862C6736CBF> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_struct.so 0x1045e6000 - 0x1045e7ff7 time.so (125.100.1) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/time.so 0x1045f1000 - 0x1045f2fff cStringIO.so (125.100.1) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/cStringIO.so 0x1045fc000 - 0x1045feff3 _collections.so (125.100.1) <377F2CE2-E85A-3705-B50E-9FA97578EA4F> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_collections.so 0x104608000 - 0x10460bfff operator.so (125.100.1) <95C63352-2717-3554-872F-2BEDA2B5D7FF> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/operator.so 0x104616000 - 0x10461afff itertools.so (125.100.1) <892D3D41-1240-33E8-848F-37064779DBC3> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/itertools.so 0x1046ae000 - 0x1046affff _heapq.so (125.100.1) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_heapq.so 0x1046b8000 - 0x1046bcfff array.so (125.100.1) <29B30EBF-B17D-3C4B-B8B4-912A587BEF86> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/array.so 0x1046c6000 - 0x1046c7fff _functools.so (125.100.1) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_functools.so 0x104750000 - 0x10475eff7 _ctypes.so (125.100.1) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/_ctypes.so 0x10476d000 - 0x104770ffb math.so (125.100.1) <40B1E9FE-93CF-30AF-BE16-AE984DF141F9> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/math.so 0x10477a000 - 0x10477cff7 select.so (125.100.1) <86725826-57FC-3E4D-B496-24E222F9AD20> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/select.so 0x104786000 - 0x104787fff fcntl.so (125.100.1) <8CA83924-811D-3D7A-B2AD-84D5824478BF> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/fcntl.so 0x1047cf000 - 0x1047d2fff strop.so (125.100.1) <24CB4921-7BDD-3085-8479-174C1B5E30A2> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/strop.so 0x10481c000 - 0x10481efff zlib.so (125.100.1) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/zlib.so 0x104828000 - 0x10482bfff bz2.so (125.100.1) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/bz2.so 0x104835000 - 0x104835fff grp.so (125.100.1) /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/grp.so 0x10487d000 - 0x104882ff7 pyexpat.so (125.100.1) <14B8E90A-D490-3818-8B2F-8104835EB8A4> /System/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/lib-dynload/pyexpat.so 0x1048cd000 - 0x1048dcffb +libusb-1.0.0.dylib (0) <58A99A32-16D5-39AD-8F6F-160E1B8BEEF6> /usr/local/Cellar/libusb/1.0.23/lib/libusb-1.0.0.dylib 0x1048eb000 - 0x1048f3ffb com.apple.iokit.IOUSBLib (900.4.2 - 900.4.2) /System/Library/Extensions/IOUSBHostFamily.kext/Contents/PlugIns/IOUSBLib.bundle/Contents/MacOS/IOUSBLib 0x11188a000 - 0x11191beff dyld (750.5) /usr/lib/dyld 0x7fff38c25000 - 0x7fff390a4ffb com.apple.CoreFoundation (6.9 - 1676.105) <6AF8B3CC-BC3F-3869-B9FB-1D881422364E> /System/Library/Frameworks/CoreFoundation.framework/Versions/A/CoreFoundation 0x7fff3ba18000 - 0x7fff3babcff3 com.apple.framework.IOKit (2.0.2 - 1726.121.1) /System/Library/Frameworks/IOKit.framework/Versions/A/IOKit 0x7fff43e11000 - 0x7fff43f04ff7 org.python.python (2.7.16 - 2.7.16) /System/Library/Frameworks/Python.framework/Versions/2.7/Python 0x7fff69ad2000 - 0x7fff69ad3fff com.apple.TrustEvaluationAgent (2.0 - 33) <11DF5A28-4410-36A8-B3B8-BF1094BE1544> /System/Library/PrivateFrameworks/TrustEvaluationAgent.framework/Versions/A/TrustEvaluationAgent 0x7fff6f61a000 - 0x7fff6f61cff7 libDiagnosticMessagesClient.dylib (112) <27220E98-6CE2-33E3-BD48-3CC3CE4AA036> /usr/lib/libDiagnosticMessagesClient.dylib 0x7fff6faf0000 - 0x7fff6faf1fff libSystem.B.dylib (1281.100.1) /usr/lib/libSystem.B.dylib 0x7fff6fdb8000 - 0x7fff6fdc8ffb libbsm.0.dylib (60.100.1) /usr/lib/libbsm.0.dylib 0x7fff6fdc9000 - 0x7fff6fdd5fff libbz2.1.0.dylib (44) /usr/lib/libbz2.1.0.dylib 0x7fff6fdd6000 - 0x7fff6fe28fff libc++.1.dylib (902.1) /usr/lib/libc++.1.dylib 0x7fff6fe29000 - 0x7fff6fe3effb libc++abi.dylib (902) <771E9263-E832-3985-9477-8F1B2D73B771> /usr/lib/libc++abi.dylib 0x7fff705fe000 - 0x7fff70702fef libcrypto.44.dylib (47.120.1) /usr/lib/libcrypto.44.dylib 0x7fff70881000 - 0x7fff70881fff libenergytrace.dylib (21) /usr/lib/libenergytrace.dylib 0x7fff70882000 - 0x7fff7089afff libexpat.1.dylib (19.60.2) /usr/lib/libexpat.1.dylib 0x7fff708a8000 - 0x7fff708aafff libfakelink.dylib (149.1) <122F530F-F10E-3DD5-BBEA-91796BE583F3> /usr/lib/libfakelink.dylib 0x7fff708ab000 - 0x7fff708b0f57 libffi.dylib (26) <7EF62CB6-6AD5-33E1-AFC3-35002BBE24C0> /usr/lib/libffi.dylib 0x7fff709ba000 - 0x7fff70c11fff libicucore.A.dylib (64260.0.1) <7B9204AC-EA14-3FF3-B6B9-4C85B37EED79> /usr/lib/libicucore.A.dylib 0x7fff71950000 - 0x7fff71983fde libobjc.A.dylib (787.1) /usr/lib/libobjc.A.dylib 0x7fff71da9000 - 0x7fff71dd6ffb libssl.46.dylib (47.120.1) <6209494A-4AAD-344E-992C-03ACD2D4C402> /usr/lib/libssl.46.dylib 0x7fff7202c000 - 0x7fff7203eff3 libz.1.dylib (76) /usr/lib/libz.1.dylib 0x7fff728ec000 - 0x7fff728f1ff3 libcache.dylib (83) /usr/lib/system/libcache.dylib 0x7fff728f2000 - 0x7fff728fdfff libcommonCrypto.dylib (60165.120.1) /usr/lib/system/libcommonCrypto.dylib 0x7fff728fe000 - 0x7fff72905fff libcompiler_rt.dylib (101.2) <652A6012-7E5C-3F4F-9438-86BC094526F3> /usr/lib/system/libcompiler_rt.dylib 0x7fff72906000 - 0x7fff7290fff7 libcopyfile.dylib (166.40.1) <40113A69-A81C-3397-ADC6-1D16B9A22C3E> /usr/lib/system/libcopyfile.dylib 0x7fff72910000 - 0x7fff729a2fe3 libcorecrypto.dylib (866.120.3) <5E4B0E50-24DD-3E04-9374-EDA9FFD6257B> /usr/lib/system/libcorecrypto.dylib 0x7fff72aaf000 - 0x7fff72aefff0 libdispatch.dylib (1173.100.2) <201EDBF3-0B36-31BA-A7CB-443CE35C05D4> /usr/lib/system/libdispatch.dylib 0x7fff72af0000 - 0x7fff72b26fff libdyld.dylib (750.5) <7E711A46-5E4D-393C-AEA6-440E2A5CCD0C> /usr/lib/system/libdyld.dylib 0x7fff72b27000 - 0x7fff72b27ffb libkeymgr.dylib (30) <52662CAA-DB1F-30A3-BE13-D6274B1A6D7B> /usr/lib/system/libkeymgr.dylib 0x7fff72b28000 - 0x7fff72b34ff3 libkxld.dylib (6153.121.2) <5EBB4886-C7B6-31D6-AA63-D861B2D58FCE> /usr/lib/system/libkxld.dylib 0x7fff72b35000 - 0x7fff72b35ff7 liblaunch.dylib (1738.120.8) <07CF647B-F9DC-3907-AD98-2F85FCB34A72> /usr/lib/system/liblaunch.dylib 0x7fff72b36000 - 0x7fff72b3bff7 libmacho.dylib (959.0.1) /usr/lib/system/libmacho.dylib 0x7fff72b3c000 - 0x7fff72b3eff3 libquarantine.dylib (110.40.3) /usr/lib/system/libquarantine.dylib 0x7fff72b3f000 - 0x7fff72b40ff7 libremovefile.dylib (48) /usr/lib/system/libremovefile.dylib 0x7fff72b41000 - 0x7fff72b58ff3 libsystem_asl.dylib (377.60.2) <1170348D-2491-33F1-AA79-E2A05B4A287C> /usr/lib/system/libsystem_asl.dylib 0x7fff72b59000 - 0x7fff72b59ff7 libsystem_blocks.dylib (74) <7AFBCAA6-81BE-36C3-8DB0-AAE0A4ACE4C5> /usr/lib/system/libsystem_blocks.dylib 0x7fff72b5a000 - 0x7fff72be1fff libsystem_c.dylib (1353.100.2) <935DDCE9-4ED0-3F79-A05A-A123DDE399CC> /usr/lib/system/libsystem_c.dylib 0x7fff72be2000 - 0x7fff72be5ffb libsystem_configuration.dylib (1061.120.2) /usr/lib/system/libsystem_configuration.dylib 0x7fff72be6000 - 0x7fff72be9fff libsystem_coreservices.dylib (114) <3D0A3AA8-8415-37B2-AAE3-66C03BCE8B55> /usr/lib/system/libsystem_coreservices.dylib 0x7fff72bea000 - 0x7fff72bf2fff libsystem_darwin.dylib (1353.100.2) <6EEC9975-EE3B-3C95-AA5B-030FD10587BC> /usr/lib/system/libsystem_darwin.dylib 0x7fff72bf3000 - 0x7fff72bfafff libsystem_dnssd.dylib (1096.100.3) <0115092A-E61B-317D-8670-41C7C34B1A82> /usr/lib/system/libsystem_dnssd.dylib 0x7fff72bfb000 - 0x7fff72bfcffb libsystem_featureflags.dylib (17) /usr/lib/system/libsystem_featureflags.dylib 0x7fff72bfd000 - 0x7fff72c4aff7 libsystem_info.dylib (538) <851693E9-C079-3547-AD41-353F8C248BE8> /usr/lib/system/libsystem_info.dylib 0x7fff72c4b000 - 0x7fff72c77ff7 libsystem_kernel.dylib (6153.121.2) <9F9902C9-A46F-3CA9-B7F9-5CCFE98FBF75> /usr/lib/system/libsystem_kernel.dylib 0x7fff72c78000 - 0x7fff72cbffff libsystem_m.dylib (3178) <436CFF76-6A99-36F2-A3B6-8D017396A050> /usr/lib/system/libsystem_m.dylib 0x7fff72cc0000 - 0x7fff72ce7fff libsystem_malloc.dylib (283.100.6) /usr/lib/system/libsystem_malloc.dylib 0x7fff72ce8000 - 0x7fff72cf5ffb libsystem_networkextension.dylib (1095.120.6) <6DE86DB0-8CD2-361E-BD6A-A34282B47847> /usr/lib/system/libsystem_networkextension.dylib 0x7fff72cf6000 - 0x7fff72cffff7 libsystem_notify.dylib (241.100.2) <7E9E2FC8-DF26-340C-B196-B81B11850C46> /usr/lib/system/libsystem_notify.dylib 0x7fff72d00000 - 0x7fff72d08fef libsystem_platform.dylib (220.100.1) <736920EA-6AE0-3B1B-BBDA-7DCDF0C229DF> /usr/lib/system/libsystem_platform.dylib 0x7fff72d09000 - 0x7fff72d13fff libsystem_pthread.dylib (416.100.3) <77488669-19A3-3993-AD65-CA5377E2475A> /usr/lib/system/libsystem_pthread.dylib 0x7fff72d14000 - 0x7fff72d18ff3 libsystem_sandbox.dylib (1217.120.7) <20C93D69-6452-3C82-9521-8AE54345C66F> /usr/lib/system/libsystem_sandbox.dylib 0x7fff72d19000 - 0x7fff72d1bfff libsystem_secinit.dylib (62.100.2) /usr/lib/system/libsystem_secinit.dylib 0x7fff72d1c000 - 0x7fff72d23ffb libsystem_symptoms.dylib (1238.120.1) <25C3866B-004E-3621-9CD3-B1E9C4D887EB> /usr/lib/system/libsystem_symptoms.dylib 0x7fff72d24000 - 0x7fff72d3aff2 libsystem_trace.dylib (1147.120) /usr/lib/system/libsystem_trace.dylib 0x7fff72d3c000 - 0x7fff72d41ff7 libunwind.dylib (35.4) <253A12E2-F88F-3838-A666-C5306F833CB8> /usr/lib/system/libunwind.dylib 0x7fff72d42000 - 0x7fff72d77ffe libxpc.dylib (1738.120.8) <68D433B6-DCFF-385D-8620-F847FB7D4A5A> /usr/lib/system/libxpc.dylib

External Modification Summary: Calls made by other processes targeting this process: task_for_pid: 1 thread_create: 0 thread_set_state: 0 Calls made by this process: task_for_pid: 0 thread_create: 0 thread_set_state: 0 Calls made by all processes on this machine: task_for_pid: 2496 thread_create: 0 thread_set_state: 0

VM Region Summary: ReadOnly portion of Libraries: Total=404.0M resident=0K(0%) swapped_out_or_unallocated=404.0M(100%) Writable regions: Total=89.6M written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=89.6M(100%)

                            VIRTUAL   REGION 

REGION TYPE SIZE COUNT (non-coalesced) =========== ======= ======= Activity Tracing 256K 1 Dispatch continuations 24.0M 1 Kernel Alloc Once 8K 1 MALLOC 53.4M 29 MALLOC guard page 16K 4 STACK GUARD 56.0M 2 Stack 8712K 2 VM_ALLOCATE 3332K 14 DATA 2804K 81 DATA_CONST 120K 26 LINKEDIT 388.9M 27 OBJC_RO 32.2M 1 __OBJC_RW 1888K 1 TEXT 15.1M 80 UNICODE 564K 1 mapped file 28K 1 shared memory 12K 3 =========== ======= ======= TOTAL 587.0M 275

Rodr1goFR commented 4 years ago

Update: My iDevice just died after one more try:(