Just downloaded iterm and crashing instantly when attempting to open

2,021 views
Skip to first unread message

rs

unread,
Feb 22, 2022, 2:10:10 PM2/22/22
to iterm2-discuss
Hi, 

I've been having this issue and I couldn't seem to find any help online. Here are my computer specs:

Macbook: Pro, 2019
OS: Big Sur

Below is the error I receive:

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

Exception Type:        EXC_BAD_INSTRUCTION (SIGILL)
Exception Codes:       0x0000000000000001, 0x0000000000000000
Exception Note:        EXC_CORPSE_NOTIFY

Termination Signal:    Illegal instruction: 4
Termination Reason:    Namespace SIGNAL, Code 0x4
Terminating Process:   exc handler [52449]

Application Specific Information:
Crashing on exception: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]

Not sure if this is the right place, but any help would be much appreciated!

Thank you.

Richard Mitchell

unread,
Feb 22, 2022, 2:25:38 PM2/22/22
to iterm2-discuss
This isn't the wrong place, but:


might be better

Richard Mitchell

unread,
Feb 22, 2022, 2:28:48 PM2/22/22
to iterm2-discuss
Where did you download from?  Maybe you've gotten the wrong binary?  (although i really assume arm/intel would be packed together)

rs

unread,
Feb 22, 2022, 3:38:18 PM2/22/22
to iterm2-discuss
https://iterm2.com/downloads.html
From here, the latest stable version.

Richard Mitchell

unread,
Feb 22, 2022, 6:03:12 PM2/22/22
to iterm2-discuss
if the stable version didn't work for you, can't be any harm in trying the test release (that's what i'm running).

whatever is failing is likely the result of something fairly minor - likely a file or directly issue somewhere.  too many people are running iTerm2 on a wide variety of hardware for a failure this early to have gone unnoticed.

rs

unread,
Feb 22, 2022, 6:51:45 PM2/22/22
to iterm2-discuss
Gotcha thanks! I did try the test release but also ran into the same issue. 

Must be specific to my computer I guess, I did end up posting in the gitlab forum so hopefully that will help. :)

Richard Mitchell

unread,
Feb 22, 2022, 7:23:00 PM2/22/22
to iterm2-discuss
Here's hoping it gets resolved quickly - iTerm2 is a very worthy tool to have.

Norman Cohen

unread,
Feb 23, 2022, 12:02:34 PM2/23/22
to iterm2-discuss
Do you have any other user accounts? If so, try opening iterm from the other account and see if it launches; otherwise, go into System Preferences: Users and Groups and make a new user account. Then try launching. If it opens in the other user account, it probably indicates a corrupted preference file or something similar. If it crashes on all user accounts, then something is screwed up at the system level or within the application bundle itself. Perhaps permissions on iTerm or something in Library/Application Support. 

In looking at the crash message, my guess is that iTerm is trying to load some information that it expects to be there into a dictionary and is finding nothing at the source (could be a preference possibly). 

Crashing on exception: *** -[__NSPlaceholderDictionary initWithObjects:forKeys:count:]: attempt to insert nil object from objects[0]

Since it is finding nothing where there should be something ("nil object"), it appears that a FatalError occurred, thus the hard crash. I've seen this behavior with both corrupted preferences or with permission issues on a preference file. It can also occur if a file in the application bundle got corrupted. The above 

Norm

George Nachman

unread,
Feb 23, 2022, 12:35:54 PM2/23/22
to iterm2-...@googlegroups.com
That’s not enough of a stack trace to help you. What version crashed? Can you send the rest of the report?

--
You received this message because you are subscribed to the Google Groups "iterm2-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to iterm2-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iterm2-discuss/1f299cde-a2b4-4487-9678-5942c4b0f82cn%40googlegroups.com.

rs

unread,
Feb 23, 2022, 3:05:48 PM2/23/22
to iterm2-discuss
I just created a new user and was able to install it successfully, so it looks like it is a corrupted preference file. Is this something I can reload?

rs

unread,
Feb 23, 2022, 3:06:16 PM2/23/22
to iterm2-discuss
I ended up posting the crash logs other information here: https://gitlab.com/gnachman/iterm2/-/issues/10260

rs

unread,
Feb 23, 2022, 3:17:48 PM2/23/22
to iterm2-discuss
Actually, just got it working by removing the iterm2 plist file. Thanks :) Everything is working smoothly

Norman Cohen

unread,
Feb 23, 2022, 3:41:56 PM2/23/22
to iterm2-...@googlegroups.com
The supporting files that iterm2 installs are:

  • Preference file: com.googlecode.iterm2.plist which is in the ~/Library/Preferences directory
  • Application support folder: iTerm2  This directory is in the ~/Library/Application Support directory

I would suggest doing the following (this will probably work, but if not, see the step below):

  • Log in to your primary user account, where you have been having problems
  • Make sure that iTerm is not running
  • Move the preference file to another location, like the Desktop
  • Try to launch iTerm. It will recreate the preference file but will revert to default settings.

If that doesn't work
  • In the primary user account, move iTerm2 to the trash
  • Move both the preference file and the Application Support folder called iTerm2 to the trash or to another location
  • Log out and log back in to make sure any processes associated with iTerm2 are fully quit
  • Reinstall iTerm2 from the DMG downloaded from the iTerm website or  alternatively from homebrew
  • Try to launch iTerm2. Give permission to open the app downloaded from the internet
  • This clean copy should launch fine
  • You might have to additionally grant permissions for iTerm to have access to various items listed in the Privacy and Security pane in System preferences. iTerm should ask for permission when you access protected items or services (like Full Disk Access, Automation, etc.)

Hope this helps,

Norm

--
You received this message because you are subscribed to a topic in the Google Groups "iterm2-discuss" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/iterm2-discuss/Zvf_K-Byyuk/unsubscribe.
To unsubscribe from this group and all its topics, send an email to iterm2-discus...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/iterm2-discuss/e06fb833-b781-41d5-bbc4-334c7d7e8bb1n%40googlegroups.com.

Reply all
Reply to author
Forward
0 new messages