PyCharm crashes when opening
Hello!
I have just installed pycharm for the first time and I am not able to use it because i soon as i launch it it crashes.
I've had a look and it seems like it's a common issue related to java, so I tried launching it by using the command "/Applications/PyCharm.app/Contents/MacOS/pycharm \
--jdk /Library/Java/JavaVirtualMachines/temurin-21.jdk/Contents/Home", but it still crashes.
Any idea on how to solve this?
Thank you!
Here are the problem details (from the first try - normal launch - and the second - choosing jdk temurin21):
………. Details 1 …………………………………..
------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: pycharm [5233]
Path: /Applications/PyCharm.app/Contents/MacOS/pycharm
Identifier: com.jetbrains.pycharm
Version: 2025.2.3 (PY-252.26830.99)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501
Date/Time: 2025-10-09 16:25:21.7386 +0200
OS Version: macOS 14.1 (23B74)
Report Version: 12
Bridge OS Version: 8.1 (21P1069)
Anonymous UUID: 8CCD520C-60F5-34E4-1069-2F52630562CA
Sleep/Wake UUID: 565B15BF-3A70-4DF4-B786-32403A044AA4
Time Awake Since Boot: 290000 seconds
Time Since Wake: 4888 seconds
System Integrity Protection: enabled
Crashed Thread: 0 main Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Codes: 0x0000000000000001, 0x0000000000000020
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: pycharm [5233]
VM Region Info: 0x20 is not in any region. Bytes before following region: 140737487609824
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
shared memory 7ffffff4a000-7ffffff4b000 [ 4K] r-x/r-x SM=SHM
Application Specific Information:
References to Carbon menus are disallowed with AppKit menu system (see rdar://101002625). Use instances of NSMenu and NSMenuItem directly instead.
Thread 0 Crashed:: main Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff80f13f7ce __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff80f177f30 pthread_kill + 262
2 libsystem_c.dylib 0x7ff80f096a49 abort + 126
3 libjvm.dylib 0x108fae809 os::die() + 9
4 libjvm.dylib 0x10923a799 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 2521
5 libjvm.dylib 0x109239db4 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 132
6 libjvm.dylib 0x10923ab01 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33
7 libjvm.dylib 0x1090c8a21 JVM_handle_bsd_signal + 369
8 libsystem_platform.dylib 0x7ff80f1a537d _sigtramp + 29
9 ??? 0x106ce0588 std::io::stdio::OUTPUT_CAPTURE_USED::h90e2b3725d227e69 (.0) + 7
10 libsystem_c.dylib 0x7ff80f096a49 abort + 126
11 libjvm.dylib 0x108fae7f1 os::abort(bool, void*, void const*) + 49
12 libjvm.dylib 0x10923a7d0 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 2576
13 libjvm.dylib 0x109239db4 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 132
14 libjvm.dylib 0x10923ab01 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33
15 libjvm.dylib 0x1090c8a21 JVM_handle_bsd_signal + 369
16 libsystem_platform.dylib 0x7ff80f1a537d _sigtramp + 29
17 ??? 0x54 ???
18 AppKit 0x7ff8134b58ea _NSGetCarbonMenu + 15
19 JavaRuntimeSupport 0x7ffb1157207b -[JRSMenu installCarbonEventHandlers:] + 204
20 CoreFoundation 0x7ff80f248800 __CFNOTIFICATIONCENTER_IS_CALLING_OUT_TO_AN_OBSERVER__ + 137
21 CoreFoundation 0x7ff80f2d9336 ___CFXRegistrationPost_block_invoke + 88
………. Details 2 ……………………………
-------------------------------------
Translated Report (Full Report Below)
-------------------------------------
Process: pycharm [8594]
Path: /Applications/PyCharm.app/Contents/MacOS/pycharm
Identifier: com.jetbrains.pycharm
Version: 2025.2.3 (PY-252.26830.99)
Code Type: X86-64 (Native)
Parent Process: zsh [1101]
Responsible: Terminal [1099]
User ID: 501
Date/Time: 2025-10-10 10:02:15.1274 +0200
OS Version: macOS 14.1 (23B74)
Report Version: 12
Bridge OS Version: 8.1 (21P1069)
Anonymous UUID: 8CCD520C-60F5-34E4-1069-2F52630562CA
Sleep/Wake UUID: 3A02EC84-C5CD-44EE-8067-CD2429DFF70D
Time Awake Since Boot: 300000 seconds
Time Since Wake: 1196 seconds
System Integrity Protection: enabled
Crashed Thread: 0 main Dispatch queue: com.apple.main-thread
Exception Type: EXC_BAD_ACCESS (SIGABRT)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000020
Exception Codes: 0x0000000000000001, 0x0000000000000020
Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: pycharm [8594]
VM Region Info: 0x20 is not in any region. Bytes before following region: 140737487609824
REGION TYPE START - END [ VSIZE] PRT/MAX SHRMOD REGION DETAIL
UNUSED SPACE AT START
--->
shared memory 7ffffff4a000-7ffffff4b000 [ 4K] r-x/r-x SM=SHM
Application Specific Information:
References to Carbon menus are disallowed with AppKit menu system (see rdar://101002625). Use instances of NSMenu and NSMenuItem directly instead.
Thread 0 Crashed:: main Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff80f13f7ce __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff80f177f30 pthread_kill + 262
2 libsystem_c.dylib 0x7ff80f096a49 abort + 126
3 libjvm.dylib 0x10b6ae809 os::die() + 9
4 libjvm.dylib 0x10b93a799 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 2521
5 libjvm.dylib 0x10b939db4 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 132
6 libjvm.dylib 0x10b93ab01 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33
7 libjvm.dylib 0x10b7c8a21 JVM_handle_bsd_signal + 369
8 libsystem_platform.dylib 0x7ff80f1a537d _sigtramp + 29
9 ??? 0x10945d588 std::io::stdio::OUTPUT_CAPTURE_USED::h90e2b3725d227e69 (.0) + 7
10 libsystem_c.dylib 0x7ff80f096a49 abort + 126
11 libjvm.dylib 0x10b6ae7f1 os::abort(bool, void*, void const*) + 49
12 libjvm.dylib 0x10b93a7d0 VMError::report_and_die(int, char const*, char const*, __va_list_tag*, Thread*, unsigned char*, void*, void*, char const*, int, unsigned long) + 2576
13 libjvm.dylib 0x10b939db4 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*, char const*, ...) + 132
14 libjvm.dylib 0x10b93ab01 VMError::report_and_die(Thread*, unsigned int, unsigned char*, void*, void*) + 33
15 libjvm.dylib 0x10b7c8a21 JVM_handle_bsd_signal + 369
16 libsystem_platform.dylib 0x7ff80f1a537d _sigtramp + 29
17 ??? 0x54 ???
………………..
Please sign in to leave a comment.
Hi there
As suggested in the zendesk ticket (and JBR-6473) , would you please check whether the issue persist with SIP enabled?
Kind regards,