Safari crashing/JS consoles opening

Interestingly, whenever I launch 2025.9(.1) I either find Safari crashing on launch, or if it’s already running I am getting four blank JS-Console windows in Safari.
This is Sonoma and Safari latest versions


.

Now that’s odd. PopClip does use JavaScriptCore and Safari can inspect those JS instances.

Does PopClip otherwise work normally?

(Does a system restart make any difference…?)

Yes, works absolutly without issues.
Don’t know about the restart, will try ASAP.
I should add that I do allow JS from AS in my SafariSettings.

To me, it seems (didn’t check though) that somewhere in the culprit extensions
debugger
calls my be left, for some reason now creeping out of their holes.

Can you also confirm if it’s only on 2025.9(.1)? Previous versions no effect on Safari?

Weird thing is I didn’t change anything to do with JS from previous version. Only change that might make sense is building with macOS 26.0 SDK.

Anyway … I can’t reproduce the fault and nobody else has said anything, so we will need to dig deep to see what’s up on your machine.

Of course, if Safari is crashing that’s really a Safari bug… but we can still see what we can find out from PopClip’s end.

Yes, definitely. But I almost simultaneously updated to Sonoma 14.8 (23J21) and Safari Version 26.0 (19622.1.22.118.2), I think a day after it became available.

Does not happen on my latest version Sequoia on my MacBook Pro (Intel), where Safari is, oddly, 18.6 (?)
Won’t be able to restart my Sonoma iMac before tomorrow morning.
Software-Update just tells me that a Safari 26.0.1 is out … does Apple ever test anything they are throwing at their users?
Currently downloading the update.

No change with 26.0.1.

OK, some real results. This what I get when I go to the Sources tab:

And lo and behold, this seems to be live debugging!
Whenever I double click something in that code listing for mathjs and PF comes up I get a new error for the double clicked expression.

So I guess my theory seems to be correct: on startup something gets executed and jumps into the debugger.
And when I close any of those four windows, Safari quits.


This is the primary error (without any double clicking, just PF’s launch). Sometimes there is none, the four windows still come up.
I think that this may have got to do with the calculate extension, but toggeling off and on does not give really conclusive results.
Safari does no longer startup and crash when it is not running when PF comes up.
I guess, you could search the code base for a symbol called “Beispiel” - otherwise I’d have no clue where this should come from.
BTW, these are my extensions:

Another BTW: Safari does not quit but crash when closing one of the console windows.
This is the crash report:

-------------------------------------
Translated Report (Full Report Below)
-------------------------------------

Process:               Safari [48561]
Path:                  /Volumes/VOLUME/*/Safari.app/Contents/MacOS/Safari
Identifier:            com.apple.Safari
Version:               26.0.1 (19622.1.22.118.4)
Build Info:            Safari-7622001022118004~7 (622A78)
Code Type:             X86-64 (Native)
Parent Process:        launchd [1]
User ID:               502

Date/Time:             2025-09-19 16:05:39.8628 +0200
OS Version:            macOS 14.8 (23J21)
Report Version:        12
Anonymous UUID:        AA7AD8BE-9B05-B5E0-B32B-F559F1B20ACD

Sleep/Wake UUID:       D0B9BA26-C52B-48B1-906D-97F57CCDD291

Time Awake Since Boot: 150000 seconds
Time Since Wake:       35167 seconds

System Integrity Protection: enabled

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

Exception Type:        EXC_BAD_ACCESS (SIGSEGV)
Exception Codes:       KERN_INVALID_ADDRESS at 0x0000629d587301a0
Exception Codes:       0x0000000000000001, 0x0000629d587301a0

Termination Reason:    Namespace SIGNAL, Code 11 Segmentation fault: 11
Terminating Process:   exc handler [48561]

VM Region Info: 0x629d587301a0 is not in any region.  Bytes after previous region: 2874280182177  Bytes before following region: 14717547331168
      REGION TYPE                    START - END         [ VSIZE] PRT/MAX SHRMOD  REGION DETAIL
      MALLOC_NANO              600000000000-600020000000 [512.0M] rw-/rwx SM=PRV  
--->  GAP OF 0xfffeaa14000 BYTES
      Stack Guard              70000aa14000-70000aa15000 [    4K] ---/rwx SM=NUL  

Thread 0 Crashed::  Dispatch queue: com.apple.main-thread
0   libobjc.A.dylib               	    0x7ff8100e46fe class_getMethodImplementation + 43
1   Foundation                    	    0x7ff8114f2b8e _NSKVONotifyingOriginalClassForIsa + 21
2   Foundation                    	    0x7ff8115131c9 _NSKeyValueObservationInfoGetObservances + 251
3   Foundation                    	    0x7ff811c391fc NSKeyValueWillChangeWithPerThreadPendingNotifications + 213
4   AppKit                        	    0x7ff814a8c2a1 __reusableDependencyContextForKey_block_invoke + 66
5   CoreFoundation                	    0x7ff81055364e __CFSetApplyFunction_block_invoke + 18
6   CoreFoundation                	    0x7ff8105534ae CFBasicHashApply + 123
7   CoreFoundation                	    0x7ff810553413 CFSetApplyFunction + 162
8   AppKit                        	    0x7ff814a8c2df __reusableDependencyContextForKey_block_invoke + 128
9   CoreFoundation                	    0x7ff81055364e __CFSetApplyFunction_block_invoke + 18
10  CoreFoundation                	    0x7ff8105534ae CFBasicHashApply + 123
11  CoreFoundation                	    0x7ff810553413 CFSetApplyFunction + 162
12  AppKit                        	    0x7ff813c1d1bf -[NSView _setSuperview:] + 1681
13  AppKit                        	    0x7ff813c41311 -[NSView removeFromSuperview] + 194
14  AppKit                        	    0x7ff813cb0d13 -[NSView removeFromSuperviewWithoutNeedingDisplay] + 36
15  AppKit                        	    0x7ff813c46427 -[NSView _finalize] + 910
16  AppKit                        	    0x7ff813c45f63 -[NSView dealloc] + 119
17  AppKit                        	    0x7ff813ee3454 -[NSFrameView dealloc] + 177
18  AppKit                        	    0x7ff813ee339c -[NSTitledFrame dealloc] + 62
19  AppKit                        	    0x7ff813ee3337 -[NSThemeFrame dealloc] + 973
20  Foundation                    	    0x7ff811c39f2c _NSKVOPerformWithDeallocatingObservable + 151
21  Foundation                    	    0x7ff811550fe4 NSKVODeallocate + 150
22  AppKit                        	    0x7ff813e4c347 -[NSWindow dealloc] + 1289
23  Foundation                    	    0x7ff811c39f2c _NSKVOPerformWithDeallocatingObservable + 151
24  Foundation                    	    0x7ff811550fe4 NSKVODeallocate + 150
25  libobjc.A.dylib               	    0x7ff8100e4c87 AutoreleasePoolPage::releaseUntil(objc_object**) + 185
26  libobjc.A.dylib               	    0x7ff8100e2060 objc_autoreleasePoolPop + 235
27  CoreFoundation                	    0x7ff81058af77 __CFRUNLOOP_IS_CALLING_OUT_TO_A_SOURCE0_PERFORM_FUNCTION__ + 17
28  CoreFoundation                	    0x7ff81058af19 __CFRunLoopDoSource0 + 157
29  CoreFoundation                	    0x7ff81058ace4 __CFRunLoopDoSources0 + 215
30  CoreFoundation                	    0x7ff810589961 __CFRunLoopRun + 919
31  CoreFoundation                	    0x7ff810589002 CFRunLoopRunSpecific + 557
32  HIToolbox                     	    0x7ff81afaaa09 RunCurrentEventLoopInMode + 292
33  HIToolbox                     	    0x7ff81afaa816 ReceiveNextEventCommon + 665
34  HIToolbox                     	    0x7ff81afaa561 _BlockUntilNextEventMatchingListInModeWithFilter + 66
35  AppKit                        	    0x7ff813bfd1c1 _DPSNextEvent + 880
36  AppKit                        	    0x7ff814511bd0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1273
37  Safari                        	       0x10ae273bc -[BrowserApplication nextEventMatchingMask:untilDate:inMode:dequeue:] + 217
38  AppKit                        	    0x7ff813bee5d5 -[NSApplication run] + 603
39  AppKit                        	    0x7ff813bc2553 NSApplicationMain + 816
40  Safari                        	       0x10b231aa1 SafariMain + 523
41  dyld                          	    0x7ff810121345 start + 1909

Thread 1:: JavaScriptCore libpas scavenger
0   libsystem_kernel.dylib        	    0x7ff81046fc1a __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8104ad687 _pthread_cond_wait + 1211
2   JavaScriptCore                	       0x11298822b scavenger_thread_main + 1739
3   libsystem_pthread.dylib       	    0x7ff8104ad11f _pthread_start + 99
4   libsystem_pthread.dylib       	    0x7ff8104a8ac3 thread_start + 15

Thread 2:: com.apple.NSEventThread
0   libsystem_kernel.dylib        	    0x7ff81046d06e mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff81047b858 mach_msg2_internal + 84
2   libsystem_kernel.dylib        	    0x7ff810474158 mach_msg_overwrite + 653
3   libsystem_kernel.dylib        	    0x7ff81046d35d mach_msg + 19
4   CoreFoundation                	    0x7ff81058b0b5 __CFRunLoopServiceMachPort + 143
5   CoreFoundation                	    0x7ff810589b25 __CFRunLoopRun + 1371
6   CoreFoundation                	    0x7ff810589002 CFRunLoopRunSpecific + 557
7   AppKit                        	    0x7ff813d5b30c _NSEventThread + 122
8   libsystem_pthread.dylib       	    0x7ff8104ad11f _pthread_start + 99
9   libsystem_pthread.dylib       	    0x7ff8104a8ac3 thread_start + 15

Thread 3::  Dispatch queue: com.apple.WebInspector.RWIManager.mobileDeviceNotificationQueue
0   libsystem_kernel.dylib        	    0x7ff81046d06e mach_msg2_trap + 10
1   libsystem_kernel.dylib        	    0x7ff81047b858 mach_msg2_internal + 84
2   libsystem_kernel.dylib        	    0x7ff810474158 mach_msg_overwrite + 653
3   libsystem_kernel.dylib        	    0x7ff81046d35d mach_msg + 19
4   CoreFoundation                	    0x7ff81058b0b5 __CFRunLoopServiceMachPort + 143
5   CoreFoundation                	    0x7ff810589b25 __CFRunLoopRun + 1371
6   CoreFoundation                	    0x7ff810589002 CFRunLoopRunSpecific + 557
7   CoreFoundation                	    0x7ff810604a8e CFRunLoopRun + 40
8   WebInspector                  	       0x108e3122f -[RWIManager _startMobileDeviceNotificationQueueRunLoop] + 194
9   libdispatch.dylib             	    0x7ff81030aac6 _dispatch_call_block_and_release + 12
10  libdispatch.dylib             	    0x7ff81030bdbc _dispatch_client_callout + 8
11  libdispatch.dylib             	    0x7ff810311eff _dispatch_lane_serial_drain + 800
12  libdispatch.dylib             	    0x7ff810312997 _dispatch_lane_invoke + 377
13  libdispatch.dylib             	    0x7ff81031c414 _dispatch_root_queue_drain_deferred_wlh + 271
14  libdispatch.dylib             	    0x7ff81031bd2a _dispatch_workloop_worker_thread + 451
15  libsystem_pthread.dylib       	    0x7ff8104a9b18 _pthread_wqthread + 327
16  libsystem_pthread.dylib       	    0x7ff8104a8aaf start_wqthread + 15

Thread 4:: com.apple.CFSocket.private
0   libsystem_kernel.dylib        	    0x7ff810475f12 __select + 10
1   CoreFoundation                	    0x7ff8105b3108 __CFSocketManager + 641
2   libsystem_pthread.dylib       	    0x7ff8104ad11f _pthread_start + 99
3   libsystem_pthread.dylib       	    0x7ff8104a8ac3 thread_start + 15

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

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

Thread 7:
0   libsystem_pthread.dylib       	    0x7ff8104a8aa0 start_wqthread + 0

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

Thread 9:: CVDisplayLink
0   libsystem_kernel.dylib        	    0x7ff81046fc1a __psynch_cvwait + 10
1   libsystem_pthread.dylib       	    0x7ff8104ad6b8 _pthread_cond_wait + 1260
2   CoreVideo                     	    0x7ff819343bb9 CVDisplayLink::waitUntil(unsigned long long) + 379
3   CoreVideo                     	    0x7ff819342b30 CVDisplayLink::runIOThread() + 526
4   libsystem_pthread.dylib       	    0x7ff8104ad11f _pthread_start + 99
5   libsystem_pthread.dylib       	    0x7ff8104a8ac3 thread_start + 15


Thread 0 crashed with X86 Thread State (64-bit):
  rax: 0x0f007ffffffffff8  rbx: 0x0000629d58730180  rcx: 0x00007ff7b7fcd780  rdx: 0x00007ff7b7fcd720
  rdi: 0x0000629d58730180  rsi: 0x00007ff8304dfa66  rbp: 0x00007ff7b7fcd6f0  rsp: 0x00007ff7b7fcd6e0
   r8: 0x0000000000000001   r9: 0x0000000000000141  r10: 0x00007ff853a012a0  r11: 0x00007ff810579ad7
  r12: 0x0000000000000001  r13: 0x00007ff7b7fcd720  r14: 0x00007ff8304dfa66  r15: 0x00007ff83050e142
  rip: 0x00007ff8100e46fe  rfl: 0x0000000000010206  cr2: 0x0000629d587301a0
  
Logical CPU:     1
Error Code:      0x00000004 (no mapping for user data read)
Trap Number:     14

Thread 0 instruction stream:
  0f 48 8d 0d da 5d 90 43-48 8b 04 c1 48 8d 0d a7  .H...].CH...H...
  5c 90 43 48 39 c8 74 01-c3 48 d1 ef 81 e7 f8 07  \.CH9.t..H......
  00 00 48 8d 05 39 5e 90-43 48 8b 04 38 c3 90 90  ..H..9^.CH..8...
  90 90 90 90 90 55 48 89-e5 41 56 53 31 c0 48 85  .....UH..AVS1.H.
  ff 0f 84 8f 00 00 00 49-89 f6 48 85 f6 0f 84 83  .......I..H.....
  00 00 00 48 89 fb 48 b8-f8 ff ff ff ff 7f 00 0f  ...H..H.........
 [48]8b 4f 20 48 21 c1 8b-09 f6 c1 01 75 13 48 b9  H.O H!......u.H.	<==
  f8 ff ff ff ff 7f 00 00-48 23 0b 48 23 41 20 8b  ........H#.H#A .
  08 0f ba e1 1d 73 31 48-89 df 4c 89 f6 31 d2 e8  .....s1H..L..1..
  be a9 ff ff 48 85 c0 74-12 48 89 c1 31 c0 48 3b  ....H..t.H..1.H;
  0d 45 ca f8 3f 48 0f 45-c1 eb 1f 31 ff 4c 89 f6  .E..?H.E...1.L..
  48 89 da 90 0f 1f 40 00-31 ff 4c 89 f6 48 89 da  H.....@.1.L..H..

Rebooted the machine - no change.
With the 26.0.1 version of Safari, Safari has to be running when PC starts to see the console windows.

I’m wondering if this behaviour could be tied to a particular extension you have on that machine.

Try deleting JavaScript extensions (not just uncheck but delete from PopClip menu) and see if it still does it?

Note the extension packages are not deleted, so you can re-add them later from ~/Library/Application Support/PopClip/Extensions

Also it look a like you have breakpoints enabled for ”Debugger-Statements” - what if you turn those off?

Where? How? I wouldn’t even know how to enable them in this context.

OK, found out how to do it in the Safari console windows, so I disabled both breakpoints and debugger statements - and surprisingly, they stay off on the next launch. But no change at all otherwise.

I compressed the Extensions folder in the same folder and deleted it, but left the zip archive in the same location.

Very interesting behavior:
• if Safari is quit, PC crashes on launch
• if Safari is running, I see one Console (PC JavaScript Context), then both PC and Safari crash.


Translated Report (Full Report Below)

Process: PopClip [17972]
Path: /Applications/PopClip.app/Contents/MacOS/PopClip
Identifier: com.pilotmoon.popclip
Version: 2025.9.1 (5132)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 502

Date/Time: 2025-09-21 16:21:56.3910 +0200
OS Version: macOS 14.8 (23J21)
Report Version: 12
Anonymous UUID: AA7AD8BE-9B05-B5E0-B32B-F559F1B20ACD

Sleep/Wake UUID: 9F1CFE40-D9AA-4E4E-8D38-C0C4A8E32D50

Time Awake Since Boot: 16000 seconds
Time Since Wake: 574 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: PopClip [17972]

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff816e96d96 __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff816ecfe51 pthread_kill + 262
2 libsystem_c.dylib 0x7ff816df5a69 abort + 126
3 libc++abi.dylib 0x7ff816e88922 abort_message + 241
4 libc++abi.dylib 0x7ff816e7b12a demangling_terminate_handler() + 266
5 libobjc.A.dylib 0x7ff816b17b4a _objc_terminate() + 96
6 libc++abi.dylib 0x7ff816e87d7b std::__terminate(void (*)()) + 6
7 libc++abi.dylib 0x7ff816e87d36 std::terminate() + 54
8 libdispatch.dylib 0x7ff816d2edd0 _dispatch_client_callout + 28
9 libdispatch.dylib 0x7ff816d3191c _dispatch_continuation_pop + 511
10 libdispatch.dylib 0x7ff816d41f0d _dispatch_source_invoke + 2076
11 libdispatch.dylib 0x7ff816d3b0f0 _dispatch_main_queue_drain + 745
12 libdispatch.dylib 0x7ff816d3adf9 _dispatch_main_queue_callback_4CF + 31
13 CoreFoundation 0x7ff816fedd36 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
14 CoreFoundation 0x7ff816facf65 __CFRunLoopRun + 2459
15 CoreFoundation 0x7ff816fac002 CFRunLoopRunSpecific + 557
16 HIToolbox 0x7ff8219cda09 RunCurrentEventLoopInMode + 292
17 HIToolbox 0x7ff8219cd816 ReceiveNextEventCommon + 665
18 HIToolbox 0x7ff8219cd561 _BlockUntilNextEventMatchingListInModeWithFilter + 66
19 AppKit 0x7ff81a6201c1 _DPSNextEvent + 880
20 AppKit 0x7ff81af34bd0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1273
21 AppKit 0x7ff81a6115d5 -[NSApplication run] + 603
22 AppKit 0x7ff81a5e5553 NSApplicationMain + 816
23 PopClip 0x10b46d347 0x10b461000 + 49991
24 dyld 0x7ff816b44345 start + 1909

Thread 1:
0 libsystem_pthread.dylib 0x7ff816ecbaa0 start_wqthread + 0

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

Thread 3:
0 libsystem_pthread.dylib 0x7ff816ecbaa0 start_wqthread + 0

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

Thread 5:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x7ff816e9006e mach_msg2_trap + 10
1 libsystem_kernel.dylib 0x7ff816e9e858 mach_msg2_internal + 84
2 libsystem_kernel.dylib 0x7ff816e97158 mach_msg_overwrite + 653
3 libsystem_kernel.dylib 0x7ff816e9035d mach_msg + 19
4 CoreFoundation 0x7ff816fae0b5 __CFRunLoopServiceMachPort + 143
5 CoreFoundation 0x7ff816facb25 __CFRunLoopRun + 1371
6 CoreFoundation 0x7ff816fac002 CFRunLoopRunSpecific + 557
7 AppKit 0x7ff81a77e30c _NSEventThread + 122
8 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
9 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 6:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x7ff816e98f12 __select + 10
1 CoreFoundation 0x7ff816fd6108 __CFSocketManager + 641
2 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
3 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 7:: JavaScriptCore libpas scavenger
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff8358924d7 scavenger_thread_main + 1799
3 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
4 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 8:: JIT Worklist Helper Thread
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff834136944 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 212
3 JavaScriptCore 0x7ff83410c49e WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 3198
4 JavaScriptCore 0x7ff8340ccc06 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 534
5 JavaScriptCore 0x7ff8341338fd WTF::thread::entryPoint(WTF::thread::NewThreadContext*) + 237
6 JavaScriptCore 0x7ff833f17fb9 WTF::wtfThreadEntryPoint(void*) + 9
7 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 9:: JIT Worklist Helper Thread
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff834136944 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 212
3 JavaScriptCore 0x7ff83410c49e WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 3198
4 JavaScriptCore 0x7ff8340ccc06 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 534
5 JavaScriptCore 0x7ff8341338fd WTF::thread::entryPoint(WTF::thread::NewThreadContext*) + 237
6 JavaScriptCore 0x7ff833f17fb9 WTF::wtfThreadEntryPoint(void*) + 9
7 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 10:: JIT Worklist Helper Thread
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff834136944 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 212
3 JavaScriptCore 0x7ff83410c49e WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 3198
4 JavaScriptCore 0x7ff8340ccc06 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 534
5 JavaScriptCore 0x7ff8341338fd WTF::thread::entryPoint(WTF::thread::NewThreadContext*) + 237
6 JavaScriptCore 0x7ff833f17fb9 WTF::wtfThreadEntryPoint(void*) + 9
7 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 11:: Heap Helper Thread
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff834136944 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 212
3 JavaScriptCore 0x7ff83410c49e WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 3198
4 JavaScriptCore 0x7ff8340ccc06 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 534
5 JavaScriptCore 0x7ff8341338fd WTF::thread::entryPoint(WTF::thread::NewThreadContext*) + 237
6 JavaScriptCore 0x7ff833f17fb9 WTF::wtfThreadEntryPoint(void*) + 9
7 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 12:: Heap Helper Thread
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff834136944 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 212
3 JavaScriptCore 0x7ff83410c49e WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 3198
4 JavaScriptCore 0x7ff8340ccc06 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 534
5 JavaScriptCore 0x7ff8341338fd WTF::thread::entryPoint(WTF::thread::NewThreadContext*) + 237
6 JavaScriptCore 0x7ff833f17fb9 WTF::wtfThreadEntryPoint(void*) + 9
7 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007ff7b4a9ce18 rdx: 0x0000000000000000
rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x00007ff7b4a9ce40 rsp: 0x00007ff7b4a9ce18
r8: 0x00007ff7b4a9cce0 r9: 0x00007ff7b4a9cf40 r10: 0x0000000000000000 r11: 0x0000000000000246
r12: 0x0000000000000103 r13: 0x0000003000000008 r14: 0x00007ff85a410340 r15: 0x0000000000000016
rip: 0x00007ff816e96d96 rfl: 0x0000000000000246 cr2: 0x0000000000000000

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

Tried to restore the previous Extensions folder by uncompressing it.
But now, my PC installation is completely f*cked up, no matter what I do, PC crashes, sometimes showing up to four console windows in Safari, sometimes not.

What should I do?

Translated Report (Full Report Below)

Process: PopClip [18217]
Path: /Applications/PopClip.app/Contents/MacOS/PopClip
Identifier: com.pilotmoon.popclip
Version: 2025.9.1 (5132)
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 502

Date/Time: 2025-09-21 16:26:40.6107 +0200
OS Version: macOS 14.8 (23J21)
Report Version: 12
Anonymous UUID: AA7AD8BE-9B05-B5E0-B32B-F559F1B20ACD

Sleep/Wake UUID: 9F1CFE40-D9AA-4E4E-8D38-C0C4A8E32D50

Time Awake Since Boot: 16000 seconds
Time Since Wake: 858 seconds

System Integrity Protection: enabled

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

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000

Termination Reason: Namespace SIGNAL, Code 6 Abort trap: 6
Terminating Process: PopClip [18217]

Application Specific Information:
abort() called

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x7ff816e96d96 __pthread_kill + 10
1 libsystem_pthread.dylib 0x7ff816ecfe51 pthread_kill + 262
2 libsystem_c.dylib 0x7ff816df5a69 abort + 126
3 libc++abi.dylib 0x7ff816e88922 abort_message + 241
4 libc++abi.dylib 0x7ff816e7b12a demangling_terminate_handler() + 266
5 libobjc.A.dylib 0x7ff816b17b4a _objc_terminate() + 96
6 libc++abi.dylib 0x7ff816e87d7b std::__terminate(void (*)()) + 6
7 libc++abi.dylib 0x7ff816e87d36 std::terminate() + 54
8 libdispatch.dylib 0x7ff816d2edd0 _dispatch_client_callout + 28
9 libdispatch.dylib 0x7ff816d3191c _dispatch_continuation_pop + 511
10 libdispatch.dylib 0x7ff816d41f0d _dispatch_source_invoke + 2076
11 libdispatch.dylib 0x7ff816d3b0f0 _dispatch_main_queue_drain + 745
12 libdispatch.dylib 0x7ff816d3adf9 _dispatch_main_queue_callback_4CF + 31
13 CoreFoundation 0x7ff816fedd36 CFRUNLOOP_IS_SERVICING_THE_MAIN_DISPATCH_QUEUE + 9
14 CoreFoundation 0x7ff816facf65 __CFRunLoopRun + 2459
15 CoreFoundation 0x7ff816fac002 CFRunLoopRunSpecific + 557
16 HIToolbox 0x7ff8219cda09 RunCurrentEventLoopInMode + 292
17 HIToolbox 0x7ff8219cd816 ReceiveNextEventCommon + 665
18 HIToolbox 0x7ff8219cd561 _BlockUntilNextEventMatchingListInModeWithFilter + 66
19 AppKit 0x7ff81a6201c1 _DPSNextEvent + 880
20 AppKit 0x7ff81af34bd0 -[NSApplication(NSEventRouting) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1273
21 AppKit 0x7ff81a6115d5 -[NSApplication run] + 603
22 AppKit 0x7ff81a5e5553 NSApplicationMain + 816
23 PopClip 0x109fe7347 0x109fdb000 + 49991
24 dyld 0x7ff816b44345 start + 1909

Thread 1:
0 libsystem_pthread.dylib 0x7ff816ecbaa0 start_wqthread + 0

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

Thread 3:
0 libsystem_pthread.dylib 0x7ff816ecbaa0 start_wqthread + 0

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

Thread 5:: com.apple.NSEventThread
0 libsystem_kernel.dylib 0x7ff816e9006e mach_msg2_trap + 10
1 libsystem_kernel.dylib 0x7ff816e9e858 mach_msg2_internal + 84
2 libsystem_kernel.dylib 0x7ff816e97158 mach_msg_overwrite + 653
3 libsystem_kernel.dylib 0x7ff816e9035d mach_msg + 19
4 CoreFoundation 0x7ff816fae0b5 __CFRunLoopServiceMachPort + 143
5 CoreFoundation 0x7ff816facb25 __CFRunLoopRun + 1371
6 CoreFoundation 0x7ff816fac002 CFRunLoopRunSpecific + 557
7 AppKit 0x7ff81a77e30c _NSEventThread + 122
8 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
9 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 6:: com.apple.CFSocket.private
0 libsystem_kernel.dylib 0x7ff816e98f12 __select + 10
1 CoreFoundation 0x7ff816fd6108 __CFSocketManager + 641
2 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
3 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 7:: JavaScriptCore libpas scavenger
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff8358924d7 scavenger_thread_main + 1799
3 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
4 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 8:: JIT Worklist Helper Thread
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff834136944 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 212
3 JavaScriptCore 0x7ff83410c49e WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 3198
4 JavaScriptCore 0x7ff8340ccc06 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 534
5 JavaScriptCore 0x7ff8341338fd WTF::thread::entryPoint(WTF::thread::NewThreadContext*) + 237
6 JavaScriptCore 0x7ff833f17fb9 WTF::wtfThreadEntryPoint(void*) + 9
7 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 9:: JIT Worklist Helper Thread
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff834136944 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 212
3 JavaScriptCore 0x7ff83410c49e WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 3198
4 JavaScriptCore 0x7ff8340ccc06 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 534
5 JavaScriptCore 0x7ff8341338fd WTF::thread::entryPoint(WTF::thread::NewThreadContext*) + 237
6 JavaScriptCore 0x7ff833f17fb9 WTF::wtfThreadEntryPoint(void*) + 9
7 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 10:: JIT Worklist Helper Thread
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff834136944 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 212
3 JavaScriptCore 0x7ff83410c49e WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 3198
4 JavaScriptCore 0x7ff8340ccc06 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 534
5 JavaScriptCore 0x7ff8341338fd WTF::thread::entryPoint(WTF::thread::NewThreadContext*) + 237
6 JavaScriptCore 0x7ff833f17fb9 WTF::wtfThreadEntryPoint(void*) + 9
7 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 11:: Heap Helper Thread
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff834136944 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 212
3 JavaScriptCore 0x7ff83410c49e WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 3198
4 JavaScriptCore 0x7ff8340ccc06 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 534
5 JavaScriptCore 0x7ff8341338fd WTF::thread::entryPoint(WTF::thread::NewThreadContext*) + 237
6 JavaScriptCore 0x7ff833f17fb9 WTF::wtfThreadEntryPoint(void*) + 9
7 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 12:: Heap Helper Thread
0 libsystem_kernel.dylib 0x7ff816e92c1a __psynch_cvwait + 10
1 libsystem_pthread.dylib 0x7ff816ed0687 _pthread_cond_wait + 1211
2 JavaScriptCore 0x7ff834136944 WTF::ThreadCondition::timedWait(WTF::Mutex&, WTF::WallTime) + 212
3 JavaScriptCore 0x7ff83410c49e WTF::ParkingLot::parkConditionallyImpl(void const*, WTF::ScopedLambda<bool ()> const&, WTF::ScopedLambda<void ()> const&, WTF::TimeWithDynamicClockType const&) + 3198
4 JavaScriptCore 0x7ff8340ccc06 WTF::Detail::CallableWrapper<WTF::AutomaticThread::start(WTF::AbstractLocker const&)::$_0, void>::call() + 534
5 JavaScriptCore 0x7ff8341338fd WTF::thread::entryPoint(WTF::thread::NewThreadContext*) + 237
6 JavaScriptCore 0x7ff833f17fb9 WTF::wtfThreadEntryPoint(void*) + 9
7 libsystem_pthread.dylib 0x7ff816ed011f _pthread_start + 99
8 libsystem_pthread.dylib 0x7ff816ecbac3 thread_start + 15

Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000000000006 rcx: 0x00007ff7b5f22e18 rdx: 0x0000000000000000
rdi: 0x0000000000000103 rsi: 0x0000000000000006 rbp: 0x00007ff7b5f22e40 rsp: 0x00007ff7b5f22e18
r8: 0x00007ff7b5f22ce0 r9: 0x00007ff7b5f22f40 r10: 0x0000000000000000 r11: 0x0000000000000246
r12: 0x0000000000000103 r13: 0x0000003000000008 r14: 0x00007ff85a410340 r15: 0x0000000000000016
rip: 0x00007ff816e96d96 rfl: 0x0000000000000246 cr2: 0x0000000000000000

Logical CPU: 0
Error Code: 0x02000148
Trap Number: 133

OK, tried to delete PC’s caches and preferences at various stages, but PC crashes until I delete all subsidiary files using AppCleaner.
Only then I am able to avoid a PC crash.
But still, if PC in its default state is launched while Safari is running, I get a console for PopClip Internal Utils, debugger statements andB breakpoints both off.

So it seems that no non-default extension should be the culprit. I am seeing this with a default installation.

I should add that I am constantly using a whole slew of JXA scripts containing safariApp.doJavaScript() to retrive URLs, data and images etc. from various websites in Safari without any issues.
And PC (at least before the wipe out) worked as expected otherwise.

I’ve released a new beta (Build 5135) which disables Safari JS inspection by default. I think this should eliminate all such problems. Please give it a try and see if it works!