Інтернет Windows Android

Помилка 36 mac os при копіюванні. Баги під час процесу установки macOS Mojave


Іноді помилки Code 36 типу "синій екран", пов'язані з апаратним забезпеченням, можуть бути викликані пошкодженням оперативної пам'яті (RAM). Якщо ви стикаєтеся з випадковими перезавантаженнями комп'ютера, звуковими сигналами при завантаженні або іншими несправностями комп'ютера (на додаток до помилок BSOD 36), то досить імовірно, що є пошкодження пам'яті. Насправді, майже 10% падінь додатків в ОС Windows викликані пошкодженнями пам'яті.

Якщо ви недавно додали нову пам'ять в комп'ютер, ми рекомендуємо тимчасово прибрати її, щоб переконатися, що вона не є причиною помилки Code 36. Якщо ця дія усунуло BSOD, знаічіт, це джерело проблеми, і, отже, нова пам'ять або несумісна з будь- то вашим обладнанням, або пошкоджена. В такому випадку, вам буде потрібно заміна нових модулів пам'яті.

Якщо ви не додавали нової пам'яті, на наступному етапі необхідно провести діагностичний тест наявної пам'яті комп'ютера. Тест пам'яті дозволяє провести сканування на наявність серйозних збоїв пам'яті і періодичних помилок, які можуть бути причиною вашого синього екрану смерті 36.

Хоча останні версії Windows містять утиліту для перевірки оперативної пам'яті, я вкрай рекомендую замість неї використовувати Memtest86. Memtest86 є тестуючі програмне забезпечення на основі BIOS, на відміну від інших тестових програм, що запускаються в середовищі Windows. Перевага такого підходу в тому, що утиліта дозволяє перевіряти ВРЮ операційну пам'ять на наявність помилок Code 36, в той час як інші програми не можуть перевіряти області пам'яті, зайняті власне програмою, операційною системою і іншими запущеними програмами.

On some rare occasions when trying to copy files, Mac users may encounter "error code 36", which completely halts the copy or move process in the Mac OS X Finder. The full error is usually read as "The Finder can not complete the operation because some data in" FileName "can not be read or written. (Error code -36) ". The filename is sometimes .DS_Store, but it can happen with just about any file on a Mac too.

If you run into Error Code -36 on a Mac, there's usually a really simple solution thanks to a handy command line tool called "dot_clean". If you've never heard of dot_clean, you're certainly not alone, and the manual page for the command explains that it "merges ._ * files with corresponding native files." which may not sound like much to the casual user, but given the oft cause of Error 36 are files prefixed with a dot, that can be exactly what you need to do.

How to Resolve Error 36 in Mac OS X Finder with dot_clean

To use dot_clean, you'll want to point it at the directory which is being copied and throwing the Error Code 36, the basics look like this:

  1. Launch the Terminal (found in / Applications / Utilities / or with Spotlight)
  2. At the command prompt, type:
  3. dot_clean / Path / To / Directory / With / Problem /

  4. When dot_clean is finished, attempt the file copy again and it should succeed with no error code

For example, if copying ~ / Documents / FileBackups / is the problematic directory, use:

dot_clean ~ / Documents / FileBackups /

That should be all that is necessary to resolve the issue, just be sure to attempt the file / directory transfer immediately after the command is run.

Technically you could point dot_clean at an entire volume but that's probably not necessary unless the -36 error is continuously triggered in Finder when trying to backup an entire drive manually.

If the problem is recurrent and you get it constantly when trying to copy files to and from a, a network share, external drive of some sort, or, you can also try to using the command line, which can work as a temporary workaround if for some reason dot_clean fails. That was actually what I had done in the past to get around this and other similar input / output error messages before discovering this specific command approach.

I just ran into this recently and found that dot_clean worked fine to resolve Error Code -36 when copying a directory from a Mac with OS X 10.9.5 to a Mac with OS X 10.10.3 and also to a Windows PC, the original machine was repeatedly throwing the error. It appears as if this error has had an uptick with Mac OS since Sierra, El Capitan, and OS X Yosemite as well, maybe suggesting some incompatibility with certain dot files from other OS versions. Unlike some of the error weird error messages in Mac OS X, a reboot or did not do the trick. A big thanks to JacobSalmela for the easy solution.

If this worked for you, or you know of another trick to fix Error Code 36 in the Mac OS X Finder, let us know in the comments.

Related

Related articles:

67 Comments

    2 4 hr sessions with different senior mac advisors. we tried at least 2 dozen solutions
    ftom terminal to shutting down to safe mode
    No solution worked

    hard for me to believe that apple can not
    resolve this

    sony video file from camera fails at every
    copy attempt. error 36

    Hello, I also did the dot_clean for my photo library as I have the same error message within the photolibrary. But stil gives me the same error message again. (MacOS high Sierra backing up on seagate 1T)
    What else can I do?

    In my experience terminal did not work, dot_clean.

    If it does not work download 'Commander One' and use this to transfer the files.

    This worked for me and seems to allow transfer of files larger that 2GB.

    I'm trying to copy a movie file to a USB stick. Your instructions are unclear to me. Please tell me what I specifically have to type into the terminal. I know nothing about the terminal, and I mean nothing.

    Tried dot_clean ... and most of the files in the Memory card disappeared ... ..almost had a heart attach ... .ejected the memory card ... ..plugged it back in and all was well ... .could copy again. Thank you very much

    I've been getting error 36 moving MP4 files to an NAS Drobo 5N. Unfortunately, dot_clean does not help. I've found that duplicating the file with the error using command-D works, but only one file at a time.

    Thanks you so much.
    The dot_clean worked a treat on my photos library file Pictures \\ Photos Library.photoslibrary when I was doing a big copy of all my files in my Pictures folder.
    All the other files had been successfully copied except those that were alphabetically after the Photos library.
    So I just copied those few independently.
    I am really grateful to all of you. You saved me trauma and hours of work that I would have spent trying to solve the problem.
    Carol

    • Ok, guys! Robe is absolutely right. I tried EVERYTHING. Just coping fr SD card to external hard drive was an absolute nightmare with this 36 thing. I am no computer wizard, but what Rob said about cp-R worked! I just dragged the whole folder to be sure.

  1. I have a Mac Mountain Lion - which I downloaded & upgraded into El Capitan, which works fine for me despite very few bugs - which occur like font list becoming invisible on Adobe InDesign. This is a simple, minor annoyance. Not sure if it's related to this or not. Maybe it's not.

    But my real and more current issue is with the Kingston USB disk as I had files on it. However, it seems to think that there are files on it even if there's not.

    I get an error code -36 and I also get a RAISE without handler error message on this specific, single USB. (.Indd & .PDF files mostly) - when it first showed up, I attempted to erase all files but I fear it may have complicated the process.

    I have looked at quick tutorials with dot_clean solution but it does not seem to work. The USB is empty and yet when I re-insert the USB - sometimes the files show up, sometimes it does not. Seems like a paradox to me.

    I also tried out the disk utility in an attempt to use digital 'first aid' - under external drive:

    ⇒ Kingston Data Traveler 3.0 Media (reads as empty with blue bar with all space unused) - It says 'first aid' was successful, but 'erase' was unsuccessful.
    Then there's sub-header KINGSTON underneath it. 'First Aid' and 'Erase' does not work here.

    Short of abandoning this USB, I am at a loss as to a solution to fix this USB or to use it again.

    Any ideas or other options?

    Wish I could test this out but I'm trying to transfer 45gb through my network and it takes a few hours. The damn error came up when it was at 43.15gb. FML!

    Super great fix!

    I had a dmg image on my Time Capsule on which I had saved all my TV shows that were not mounting anymore on my desktop: -36 Imagediskmounter

    I just tried dot_clean ~ / Desktop
    Then restarted the computer and It worked

    Thanks a lot !!!

    This unfortunately was not worked for me.

    An external hard drive I keep around 600GB of music on was becoming unstable (unmouting randomly and not appearing in finder window for up to an hour) so I got another external drive and tried to move everything across.

    I type dot_clean then leave a space and drag the folders to be copies in. Once it shows the paths to those folder I hit enter and drag everything to the new drive. Sometimes I get another error 36 before the first folder has transferred, sometimes after a dozen. No real. Noticeable pattern.

    Any updates tips would be appreciated

    I just wanted to say thank you for this page, both the article and the comments. Just wanted to share my experience in case it helps someone too.

    I use Lightroom, so have all my managed photo files and folders on an external hard drive, which is copied to another drive by Carbon Cloner. I wanted to copy it again to a mobile hard drive for use away from home.

    I used File Synchronisation at first to copy the files and repeatedly got errors - sometimes 900 of them. Same of I just dragged and dropped manually. I tried the dot clean on every single volume involved but it did not help. I manually went through each folder and removed the offending file and then copied it back - aargh. I got my first copy /

    Then I messed up after some big changes to the library and decided to start again with a new copy - the error 36 started again. I could not bear the thought of going through the files again. I ran first aid on the drive with disk utility - and a couple of changes were made, I then used Carbon Cloner to copy the files and it worked - there were only 2 errors - a random photo and an iPhone video - apparently 'sitting on bad sectors ". I have deleted them from within lightroom and copied back back ups so we will see if this solves the problem. I am very happy to have a complete copy though - and v. chuffed that CC overlooks the errors. In my case think it might be a sign the the drives are failing, so another reason I need so many back ups (there's another in the cloud). Time to restructure!

    Thank you for this. It solved my problem.

    I was trying to copy an old SD card to my hard disk. There are no dot * files on the SD card yet I was receiving -36 error code.

    This immediately solved the issue. I do not know why but it has.

    Please advise and help for the following issues. I want to copy from USD to MAC. its show error-36. I try to follow your guide solving this issues. the problem is idk what is 'Path', 'To', 'Directory', 'With', 'Problem' in my mac since i am not familiar with computer as i am only user.
    please advise if you can help me. thank you.

    best regards,
    Victor Dragono

    So I can not do the dot clean to fix a file that's on a mounted disk? The file that is giving me the error when I try to move it is on my main drive. I'm trying to move it to an external ...

    • Having the same problem ... I want to move a 50Gb Final Cut Pro library to an external harddrive to free space, but after copying around 2Gb it shows "error -36".
      I do not get anything to work with the description above using the "dot_clean" function .. or I'm missing something?

    If you are getting the error while you are copying things to external NTFS drive, try to mount the drive in Windows and remove the the Mac specific files. In case you run into difficulties, you may need to run check disk to clean the drive and you can run it from command or from the Drive properties toolbox on Windows.

    Same problem here as well, but not with all CD's that I am uploading. I am transferring old CD-R discs of images to an external hard drive and getting the error 36. Not all folders have the error on the same 'CD. This is occuring maybe 5% of the time. I've tried copying to my Mac's desktop, but the same error occurs. Any thoughts?

    • ... ..Also, In all cases, I will transfer a certain portion from the folder with the rest receiving the error. On occasion, I can transfer 1 by 1. Is this signs that my burner is failing?

      • Are the CD's scratched or damaged? I find that this error also occurs when a file can not be read because the physical media is damaged. A solution that I found was to use

        cp -R / path / to / damaged / folder / an / external / hard / drive

        It did not successfully copy everything, but unlike Finder it did not stop when it came across a bad file. It displayed which files it failed to copy as it went, also.

        I have the same problem !!!

        My Cd-R's are in perfect condition and have been stored properly. They were all burned in 2007 and 2008.

        I am transferring old images from CD-R's to an external hard drive and I get this error on my mac - "The Finder can not complete the operation because some data in" IMG_8834.JPG "can not be read or written.
        (Error code -36) ". The error occurs usually part, mid or towards the end of transferring a folder of images. Some folders go through without an issue, most do not.

        Note, I only receive the error on Imation CD's. I've been transferring from Sony, TDK and Memorex without issue. Some Imations give me no trouble, but most do. I borrowed a friends mac and got the same issue however I was able to get a few extra photos before ether error occurred.

        Also, when I put my CD-R in and search it up on disk utilities, my repair disk option (first aid) is grayed out so no go on the disk repair.

        • Got a fix for people with a similar issue !!! Originally, I burned all images to CD-R's using a Windows based computer (non-mac) and decided yesterday to try to copy images from an old Dell. Well, it worked perfectly and I have transferred all images no problem to an external hard drive. The issue would appear to be my Mac having difficulty reading the Imation CDs. I borrowed a friend newer mac (2014 року, compared to my 2011) and the same issue occurred, except I was able to get a few more pictures from the newer computer than my own.

    I simply went into Disk Utilities on the Mac, selected the Volume
    in question and clicked on the "Repair Disk" button. This fixed
    this issue for me this time.

    If this had not worked, I would next plug the drive into a Windows
    platform and perform chkdsk / f on the corresponding drive letter.

    • This is exactly what i did, when copying large video files from the external hard disk (Seagate) happened. It solved the problem for the time being.

    This is one of the reasons people dont want to use MACs. So many errors. It is not fun to use a MAC. It is very difficult and you must hack everything to get it to work right. This is simply trying to copy a file, and I am getting this error which can not be fixed. All I am trying to do is simply copy a file.

    Can this dotclean work on a folder in an external hard drive? I keep getting the error when trying to transfer music files from one older hard drive to the new one. thanks!

    I am getting this error 36 repeatedly also, I have tried Dot clean, an app to remove the ds files, and still I get this - why does Apple not fix this?

    Oh trying this over and over. It says "done" for the dot clean, but I try to copy it right after and it does not work. I am getting repeated errors from a hard drive that I am trying to remove everything from and reformat (if possible) and I even tried dot cleaning individual files and it's still not working. Help !!!

    I am trying to backup a large video file and I get this error. Even when I am duplicating the file in the same directory.

    This dot_clean thing does not work for me. I also tried removing the .dsstore in the folder.

    It stops at 1.56G of 3.4 always. I wonder if this is a bad sector or something, I tried a 'verify disk' but did not return anything so 'repair' is disabled.

    I have just attempted the above fix and i am happy to say it has worked a treat. please note one you write dot_clean you can then drag the file into the terminal window which will convert it into the correct file path :-)

    help please my external disk does not copy any file, i try to fix it by terminal dot_clean but i got this message:

    Failed trying to change dir to .DocumentRevisions-V100

    Failed trying to change dir to .Spotlight-V100
    Bad Pathname: Permission denied
    Failed trying to change dir to .Trashes
    Bad Pathname: Permission denied

    can somebody help me !!

    • i have this exact same issue, is this something to do with El Capitain release? I've read that this was an issue with previous versions of OS X

    One problem: IF you're dealing with an old file saved to a DVD, as I am, files on a DVD / CD are not changeable (the source is not editable). This creates a catch-22: I need to remove the "dots" to transfer; I need to transfer to remove the dots! I'm sure that there's a solution ... a clone, mirror, disc image ... something. I've just begun to look.

    I'm trying to copy some files to an external hard-drive and I Keep getting error-36. I noticed that it only happens with large video files, can anyone help? I'm using a macbook 15 ".

    I found mine to be an SMB problem, and connected over afp and it solved the problem. Apple's SMB has had issues since they rolled their own in 10.7

    Okay, so I'm running Yosemite and here's the issue I'm having here. Due to a long story I do not want to get into I ended up losing a LOT of photos from my iPhoto with no backups to recover from. One of these albums was my professional wedding photos. FORTUNATELY I still have the original DVD so I figured it would be simple enough to just import them back into iphoto. for whatever reason, it will copy / import up to about the 115th picture and then I get this: The Finder can not complete the operation because some data in "DF0117.JPG" can not be read or written.
    (Error code -36)
    I was hoping I could get around this by using the "ignore permissions" trick when i select the disc and hit cmd + i but it says I can only read.
    COMPLETELY at a loss here. (Why let me import some files but not the rest? WTH ?!) I also attempted to sidestep the import process and just copy the files from the DVD right to a folder on the desktop to no avail. (Actually that's where I got the error noted above if that's relevant)
    any suggestions / advice would be greatly appreciated.

    Last login: Mon Jun 15 11:12:55 on ttys000
    gerard-gallaghers-iMac: ~ gerardgallagher52 $ / Volumes / AirServer 5.3.2 dot_clean

    still wont let me launch airserver after this am i doing this right.

    • No you are not doing it right, and you can not modify a mounted volume disk image. Your disk image of AirServer is probably corrupt and may need to be downloaded again, your best bet would be to contact the creator of AirServer and ask them for support about their product.

      The proper command would be (it will not work because mounted images are locked)

      dot_clean / Volumes / AirServer \\ 5.3.2 /

    Thanks for sharing this Terminal command.

    For users not comfortable with the command line interface you can use the free utility Onyx (www.titanium.free.fr) which has a feature to remove .DS_Store files.

    In Onyx navigate to Maintenance\u003e Rebuilding, second paragraph down "Appearance of folders 'content" is the option you need to tick. This option (singularly) will delete ALL .DS_Store files on your startup volume. Below that there are options to select a specific folder and options to remove .DS_Store file from only this folder or another option to remove from this folder and ALL sub-folders.

    • THANK YOU !!! I was not comfortable with the command stuff and downloading Onyx maintenance and running it with the mentioned box checked worked for me - thank you so much!

    Any ideas why my Time Capsule has decide that some of the files on there no longer belong to me. When I look at the permissions I am no longer listed as the owner and no only have custom permissions that no longer allow me to edit the file or delete it?

    • There are a couple of things worth trying, in my experience (someone correct me if I'm off base, please). 1) If you can get to the TC drive (I think that it should be visible in Disk Utility) try repairing Permissions. I've heard that many times about Macs - they usually work well, but if they start acting squirrrely, repairing permissions is a good first step. 2) Try a utility like Onyx. Onyx is from France and is free. One of the things it does when you run it is to repair permissions. Use the "Automation" button from its menu and it'll do its actions automatically. 3) As suggested above - DiskWarrior. I just got my copy, (which comes on a flash drive), but have not run it yet. It 's had a good reputation in the Mac community for many years.

    Hi, Prescott, before ripping your 'mini' apart have you tried any disk repair utilities like Apple's "Disk Utility" or-way better- "DiskWarrior"?

      • Dot_clean did not work for my iPhoto Library ... But Carbon Cloner works well, for what ever reason Carbon Cloner just moves past the error and clones the directory no problem.

        • Did not work on my Macbook either. Got this on terminal:

          Last login: Wed May 2 12:24:28 on console
          Evas-MacBook Pro: ~ evagotzsche $ dot_clean / Path / To / Directory / with / Problem /
          Failed trying to change dir to / Path / To / Directory / with / Problem /

          Evas-MacBook Pro: ~ evagotzsche $ dot_clean / Path / To / Directory / With / Problem /
          Failed trying to change dir to / Path / To / Directory / With / Problem /
          Bad Pathname: No such file or directory
          Evas-MacBook Pro: ~ evagotzsche $

          Anyone with other ideas to fix error code 36 ??

          • You have to change / Path / To / Directory / With / Problem to the file path the the problem folder

    Oh my goodness, I've been suffering from exact issue recently! In fact, I had to decommission an old Mac Mini because both the internal HDD and an add-on Lacie drive suffered this problem when trying to move * any * files. I'm going to resurrect the Mini to try and salvage the files ... and use the external drive for future storage!

      • I spoke too soon. That drive is completely done - will not even mount. Considering I'd have to starting taking things apart with crowbars, I'll just call it a loss.

        Hello, i tried dot_clean and it didnt work for me, ive been trying to move my photo library to my Lacie back up but with no success. Does anyone have another solution for me? Thank you.

Корпорація Apple випускає не тільки зручні і красиві, але і прості у використанні продукти, багато з яких освоїть навіть дитина. Однак поєднання мистецтва і технологій, з легкої руки Стіва Джобса увійшло в наше життя, саме по собі не може гарантувати стовідсоткового захисту від призначених для користувача непорозумінь. Спеціально для таких випадків і існує наша рубрика Genius, в якій ми розбираємо не потребують «хірургічного втручання» питання.

У першому питанні, що надійшов в Twitter від постійного читача Antonik1983 , Мова йде про повідомлення та їх вплив на найбільш спірний параметр сучасної техніки - автономність.




Показник «Блокування і« Додому », як це видно з назви, відображає час використання гаджета не тільки на екрані додатків або в меню« Налаштування », а й в режимі блокування. Нюанс, який слід прояснити, полягає саме в останньому. Справа в тому, що кожне повідомлення, що приходить на пристрій, за замовчуванням включає його дисплей. Якщо таких подій налічується багато, що при сучасних сценаріях використання не рідкість, вищезгаданий показник буде рости, а час автономної роботи, відповідно - скорочуватися. Ваш покірний слуга також стикався з цією проблемою, а вирішити її виявилося дуже просто. Для цього переходимо в меню «Налаштування» і вибираємо пункт «Повідомлення», в якому вибираємо додатки і переводимо для них перемикач «На заблокованому екрані» в положення «вимкнено». При цьому звук події все ж звучатиме, а саме повідомлення відобразиться після розблокування пристрою. Яким саме програмам не слід турбувати «сплячий» дисплей - річ суто індивідуальна, однак в першу чергу варто звернути увагу на пункт «Пошта». Тут можна налаштувати показ повідомлень тільки для списку VIP-відправників, що значно скорочує час роботи екрану, якщо вам приходить безліч електронних листів.


Якщо ви не належите до самим завзятим «мобільним» гравцям, наступними «під ніж» можна сміливо відправляти ігрові програми. Кількість надісланих ними повідомлень часто перевищує всі мислимі межі, тому ефект від їх тонкої настройки помітний практично відразу. Ну а для користувачів iPhone в iOS 9 передбачений тимчасовий варіант - просто покладіть iPhone дисплеєм вниз, і повідомлення перестануть включати екран. Функція підтримується на всіх iPhone, починаючи з 5s, а для її коректної роботи потрібно включити опцію «Калібрування обліку руху» в групі «Служби геолокації» розділу «Конфіденційність» меню «Налаштування».

Друге питання стосується роботи з Finder - вбудованим файловим менеджером macOS.

В силу різної логіки інтерфейсів перехід з тієї ж Windows (і навпаки) рідко проходить безболісно, \u200b\u200bі, перебуваючи на посаді новачком автор і сам задавав подібні питання. Для того щоб швидко створити ярлик, переходимо в містить файл папку (у випадку з додатками можна вибрати пункт «Відкрити» з контекстного меню натисканням правої кнопки миші на значку в Dock). Потім звертаємося до контекстного меню самого файлу, де вибираємо пункт «Створити псевдонім» ( Make Alias). Останній крок - перенести ярлик з відкритого каталогу на Робочий стіл.


Останнє питання пов'язаний з неполадками при роботі з медіатекою Фото в macOS.


У подібних випадках проблема може полягати в накопичених помилки в файлової системі. На допомогу приходить улюблений засіб «маководов» - програма Термінал. Знаходимо її в пошуку Spotlight і вводимо наступну команду:

dot_clean / АдресМедіатекі

Не забувайте вказувати повний шлях до медіатеці, уважно перевіряючи накопичувач, логічний розділ і підкаталог, в якому вона розташовується. За замовчуванням медіатека зберігається на диску HD у відповідному імені користувача підкаталозі «Зображення» папки «Користувачі» ( Users). До речі, якщо у вас виникли неполадки з самої медіатекою, рекомендуємо спробувати

Приємно, що деякі проблеми піддаються вирішенню навіть в самих домашніх умовах. Якщо вас турбує якась із них, обов'язково задавайте питання в коментарях нижче (або

Привіт! У цій статті я постараюся розповісти про те, як можна полегшити собі життя при налагодженні iPhone- і Mac-додатків. Йтиметься про налагодження виключення EXC_BAD_ACCESS, одного з найнеприємніших в природі.

виняток EXC_BAD_ACCESS виникає, коли ми намагаємося надіслати повідомлення об'єкту, який вже був звільнений (released). Ситуація зазвичай ускладнюється тим, що до того моменту, коли вискакує помилка, стек виклику вже не містить інформацію, яка могла б нам допомогти. Тобто, незрозуміло, який саме об'єкт був звільнений. І, тим більше, незрозуміло, в якому місці коду він був звільнений :). Ще веселіше стає, якщо додаток багатопоточний.

На щастя, хлопці з Appleдоклали всіх зусиль, щоб нам допомогти. Вони створили клас-заглушку NSZombie. Якщо включити його підтримаю (як це зробити - розповім нижче), то після видалення кожного об'єкта на його місці (тобто на його адресу в пам'яті) буде жити «зомбі» і приймати повідомлення, що дозволить при налагодженні визначити, який об'єкт був звільнений і усунути помилку.

Тож почнемо. В один прекрасний день ваше iPhone- або Mac-додаток початок вилітати і в консолі відладчика ви бачите таке повідомлення:

Program received signal: "EXC_BAD_ACCESS".

І, власне, більше нічого. Стек виклику, швидше за все, теж вам нічим не допоміг.

У вікні Groups & Files (Зліва в xCode) Знайдіть гілку Executables. Клацніть правою кнопкою на файлі вашого застосування і в випадаючому меню виберіть пункт Get Info. У вікні відкрийте вкладку Arguments і додайте дві змінні оточення: NSZombieEnabled і MallocStackLoggingNoCompact. встановіть NSZombieEnabled значення YES, а MallocStackLoggingNoCompact - 1 . Як це має виглядати, показано на скріншоті:

Тепер запустіть ваш додаток і повторіть кроки, необхідні для відтворення помилки. В консолі відладчика замість повідомлення про EXC_BAD_ACCESS ви повинні побачити щось подібне:

2010-01-25 14: 35: 24.840 MyApplication *** -: message sent to deallocated instance 0x42a5060

Це означає, що коли-то у вас жив об'єкт класу CFString за адресою 0x42a5060. Він уже був звільнений (released), а ваша програма не вгамовується і намагається послати йому повідомлення retain. Залишилося знайти цей об'єкт і знайти в коді місце, де був викликаний зайвий release. Або не викликаний retain, Залежить від конкретної ситуації :)

Вам допоможе наступне: в консолі відладчика наберіть таку команду:

Shell malloc_history 1393 0x42a5060

Замість 1393 вам слід вписати свій ідентифікатор процесу (PID). Його ви можете підглянути в консольному повідомленні про помилку відразу після імені програми. А замість 0x42a5060 впишіть адресу об'єкта, який був звільнений (теж можна подивитися в повідомленні про помилку).

В результаті вашим очам постане страшна картина на зразок цієї:

Не лякайтеся, все не так страшно, як може здатися на перший погляд. Ближче до низу шукайте імена класів і методів, які присутні в вашому коді. Тобто, написані вами. Десь там і причаївся злочастний виклик release. Шукайте і виправляйте.

P.S. Краєм ока я десь прочитав, що можна відловлювати подібні помилки за допомогою Instruments / ObjectAlloc. Був би дуже вдячний, якби хтось дав мені на горілку ... Ой, наводку

Всім доброго часу доби, шановні коти, пані та панове.

Якось давно (років зо два тому) я писав статтю по установці Хакінтоша на ваш Intel-Based ПК. Стаття застаріла як світ, але все таки корисне там щось є. Наприклад порядок установки буде тим же, якщо ви заміните інсталяційний файл Sierra на High Sierra.

Сам я тим Хакінтоша користуюся досить давно, пишу на ньому код і взагалі не чаю в ньому душі (за все два роки була тільки одна проблема через кексти). У цій статті я розповім, як оновити ваш Хакінтош до High Sierra 10.13 і постараюся відповісти на деякі питання, що виникли з минулої статті.

Без зайвих слів, почнемо.

Для початку, у нас повинна бути машина, яка працює на Хакінтоша. Сподіваюся, у вас вона є. Якщо немає, то читайте в моїй статті (кексти беремо з цієї).

Отже, як усім відомо, починаючи з High Sierra Apple перейшла на нову файлову систему APFS замість HFS. Це викликало купу запитань, але не варто кричати і непритомніти, ви можете її не використовувати. Так-так, я не обмовився. Цю статтю я пишу з мого хака, який крутиться на HDD від Seagate, з файлової системою Apple Journal System (HFS). Магія - скажете ви. Ні, просто ніхто і не змушує вас користуватися APFS - відповім я.

Крок 1. Оновлення ваш кловер до останньої версії (Кловер випусків 3 *** не підтримують завантаження High Sierra). Завантажити можна. Попередньо зробіть бекапи всього EFI розділу
Крок 2.. Скачайте файл оновлення High Sierra з App Store. Так. Просто скачайте. Усе.


крок 3. Змонтуйте EFI розділ і відновите старий Config.plist. Відкрийте його на редагування.
Створіть патч ядра в Kernel and Kext Pathes:
Name: AppleUSBXHCIPCI
Find: 837d8c10
Replace: 837d8c1b
Comment: Change port limit from 15 to 21.
Match OS: 10.13.x

У цьому ж вікні включите Kernel PM і AppleIntelCPUPM (допоможе виправити Unsupported CPU в майбутньому)

Відновіть старі кексти, які у вас були для Sierra 10.12 (якщо вони були). Ви ж зробили бекапи, вірно? Просто поверніть їх в папку 10.12.

Для нормального завантаження вам знадобляться ці кексти:
Lilu.kext
AppleALC.kext
USBInjectAll.kext
XHCI-200-series-injector.kext
IntelGraphicsFixup.kext (для intel GPU)
WhateverGreen.kext (для AMD GPU)
Так само не забудьте підробити кексти для вашої мережевої карти, ага.

Так само нам потрібно драйвер APFS. Його потрібно завантажити і розпакувати * .efi файл в папку Drivers64UEFI на EFI / CLOVER.
завантажити магію

Вивантажуємо необхідні кексти в папку з кексти для 10.13 (не забудьте FakeSMC).

!!! ДЛЯ КОРИСТУВАЧІВ відеокарта NVIDIA !!!
Перед установкою встановіть ОСТАННІЙ веб-драйвер наступним чином:
Змініть наступні значення в Clover Configurator:
1. Boot - вимкніть nv_disable \u003d 1
2. Graphics - вимкніть Inject Intel
3. System Parameters - влючая Inject NVidia WEB
Збережіть файл і перевірте що він збережений.

Увімкніть SIP (System Integrity Protection):
Відкрийте Clover Configurator і відкрийте в ньому ваш.plist
У RT Variables змініть CsrActivateConfig на 0x00. Перезавантажте ваш хак. Перевірити SIP можна командою csrutil status в терміналі

Встановіть останній драйвер NVidia для вашої системи (можете просто попросити нвідію оновити їх за вас в Системних настройках). Так само встановіть NVidiaGraphicsFixUP.kext

Для тих хто не встиг оновити свої драйвера і оновився на ХайСіерру, або якщо щось не вийшло

eugeneego пише:
«Володарі карт NVidia з web driver на 10.13.3 (версії драйвера 387.10.10.10.25.156 / 157) можуть стролкнуться з моторошними постійними лагами графіки.
Рішення: відкотитися на драйвера для 10.13.2 (наприклад на 378.10.10.10.25.106), пропатчити у них підтримувану версію ос (наприклад за допомогою webdriver.sh). »

Тепер відкриваємо Програми. Вибираємо «Установка macOS High Sierra». Він виконає свою магію і попросить вас перезавантажити компухтер, погоджуємося.

Проставте в Біосе завантаження з кловер-розділу в пріоритет, тому що при оновленні вона буде кілька разів перезавантажувати ваш комп'ютер.
У Кловер виберете Install MacOS High Sierra from. Піде процес оновлення.

Якщо ви вирішили використовувати APFS замість HFS

Можливо, якщо система визначить ваш SSD диск - вона захоче переконвертувати його в APFS, не видаляючи ваших файлів. У цьому немає нічого страшного, просто попереджаю, при цьому переконвертує вона тільки системний розділ, решта не зачепить.
Для тих хто вирішив використовувати APFS для «свіжої» установки - НЕ форматується весь диск в APFS, так як ви втратите можливість доступу до EFI розділу.

Піде процес оновлення, який може розтягнутися до першої години. Головне - терпіння.

Через 60 хвилин щастя система встановиться і буде готова до роботи (ну, так повинно бути, по ідеї).

На цьому все:)
Всі питання пишіть в коментарі або в личку в вк, відповім по можливості. Всім котів: 3