[texshop] Very strange bug while using TeXShop

Bruno Voisin bvoisin at icloud.com
Sat Nov 12 03:39:03 CET 2022


> On 12 Nov 2022, at 03:26, Bruno Voisin via texshop <texshop at tug.org> wrote:
> 
> I've no clue what may be happening. I'll try booting in Recovery mode and apply Disk First Aid to my drive, just to be sure the problem isn't there. And if that doesn't change things, erase all TeXShop prefs and related files I can find in ~/Library, see what happens.

If I try to close or save the TeXShop window, here's the kind of output that appears in Console.app. I've no idea what can be deduced from it.

Bruno


default	03:33:11.543060+0100	TeXShop	*** Assertion failure in -[NSTextFieldCell _objectValue:forString:errorDescription:], NSCell.m:1365
error	03:33:11.543313+0100	TeXShop	Invalid parameter not satisfying: aString != nil
error	03:33:11.546947+0100	TeXShop	(
	0   CoreFoundation                      0x00000001a81563f8 __exceptionPreprocess + 176
	1   libobjc.A.dylib                     0x00000001a7ca2ea8 objc_exception_throw + 60
	2   Foundation                          0x00000001a9096a60 -[NSCalendarDate initWithCoder:] + 0
	3   AppKit                              0x00000001ab38ca3c -[NSCell _objectValue:forString:errorDescription:] + 236
	4   AppKit                              0x00000001ab38c8c8 -[NSCell setStringValue:] + 48
	5   AppKit                              0x00000001ab3e8bbc -[NSControl setStringValue:] + 168
	6   TeXShop                             0x0000000104d59414 TeXShop + 660500
	7   AppKit                              0x00000001abddfedc __104-[NSDocument(NSDocumentSaving) _runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_invoke_2 + 328
	8   AppKit                              0x00000001ab641220 -[NSDocument _commitEditingThenContinue:] + 416
	9   AppKit                              0x00000001ab641074 -[NSDocument _commitEditingWithDelegate:didSomethingSelector:contextInfo:thenContinue:] + 104
	10  AppKit                              0x00000001abddfd80 __104-[NSDocument(NSDocumentSaving) _runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:]_block_invoke + 300
	11  AppKit                              0x00000001abddfc48 -[NSDocument(NSDocumentSaving) _runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:] + 108
	12  TeXShop                             0x0000000104d590b4 TeXShop + 659636
	13  AppKit                              0x00000001abdde14c __86-[NSDocument(NSDocumentSaving) _saveDocumentWithDelegate:didSaveSelector:contextInfo:]_block_invoke_3 + 152
	14  AppKit                              0x00000001ab85db54 -[NSDocument(NSDocumentSerializationAPIs) _continueActivityUsingBlock:] + 280
	15  AppKit                              0x00000001abdddf4c __86-[NSDocument(NSDocumentSaving) _saveDocumentWithDelegate:didSaveSelector:contextInfo:]_block_invoke_2 + 388
	16  AppKit                              0x00000001ab641220 -[NSDocument _commitEditingThenContinue:] + 416
	17  AppKit                              0x00000001ab641074 -[NSDocument _commitEditingWithDelegate:didSomethingSelector:contextInfo:thenContinue:] + 104
	18  AppKit                              0x00000001abddddb4 __86-[NSDocument(NSDocumentSaving) _saveDocumentWithDelegate:didSaveSelector:contextInfo:]_block_invoke + 300
	19  AppKit                              0x00000001abdddc7c -[NSDocument(NSDocumentSaving) _saveDocumentWithDelegate:didSaveSelector:contextInfo:] + 104
	20  AppKit                              0x00000001ab7d7a10 __75-[NSDocument canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:]_block_invoke_2.1309 + 148
	21  AppKit                              0x00000001ab85db54 -[NSDocument(NSDocumentSerializationAPIs) _continueActivityUsingBlock:] + 280
	22  AppKit                              0x00000001ab64046c __75-[NSDocument canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:]_block_invoke + 392
	23  AppKit                              0x00000001ab640288 -[NSDocument canCloseDocumentWithDelegate:shouldCloseSelector:contextInfo:] + 208
	24  AppKit                              0x00000001ab626224 -[NSWindow __close] + 256
	25  AppKit                              0x00000001ab502304 -[NSApplication(NSResponder) sendAction:to:from:] + 440
	26  AppKit                              0x00000001ab50211c -[NSControl sendAction:to:] + 72
	27  AppKit                              0x00000001ab502060 __26-[NSCell _sendActionFrom:]_block_invoke + 100
	28  AppKit                              0x00000001ab501f88 -[NSCell _sendActionFrom:] + 204
	29  AppKit                              0x00000001ab501eac -[NSButtonCell _sendActionFrom:] + 88
	30  AppKit                              0x00000001ab4ff470 NSControlTrackMouse + 1480
	31  AppKit                              0x00000001ab4fee7c -[NSCell trackMouse:inRect:ofView:untilMouseUp:] + 144
	32  AppKit                              0x00000001ab4fed34 -[NSButtonCell trackMouse:inRect:ofView:untilMouseUp:] + 488
	33  AppKit                              0x00000001ab4fe200 -[NSControl mouseDown:] + 448
	34  AppKit                              0x00000001ab4fccf4 -[NSWindow(NSEventRouting) _handleMouseDownEvent:isDelayedEvent:] + 3420
	35  AppKit                              0x00000001ab4868b8 -[NSWindow(NSEventRouting) _reallySendEvent:isDelayedEvent:] + 1984
	36  AppKit                              0x00000001ab485f24 -[NSWindow(NSEventRouting) sendEvent:] + 284
	37  TeXShop                             0x0000000104cbd630 TeXShop + 22064
	38  AppKit                              0x00000001ab48505c -[NSApplication(NSEvent) sendEvent:] + 1920
	39  TeXShop                             0x0000000104d943b8 TeXShop + 902072
	40  AppKit                              0x00000001ab6d7084 -[NSApplication _handleEvent:] + 60
	41  AppKit                              0x00000001ab34c8ac -[NSApplication run] + 500
	42  AppKit                              0x00000001ab323ccc NSApplicationMain + 880
	43  dyld                                0x00000001a7cd3e50 start + 2544
)
default	03:33:13.227725+0100	runningboardd	Assertion did invalidate due to timeout: 428-390-1471 (target:[app<application.TeXShop.131972377.131972388(501)>:2535])
default	03:33:13.438267+0100	runningboardd	Calculated state for app<application.TeXShop.131972377.131972388(501)>: running-active (role: UserInteractiveFocal)
default	03:33:13.441076+0100	runningboardd	[app<application.TeXShop.131972377.131972388(501)>:2535] Ignoring jetsam update because this process is not memory-managed
default	03:33:13.442334+0100	runningboardd	[app<application.TeXShop.131972377.131972388(501)>:2535] Ignoring suspend because this process is not lifecycle managed
default	03:33:13.442410+0100	runningboardd	[app<application.TeXShop.131972377.131972388(501)>:2535] Ignoring GPU update because this process is not GPU managed
default	03:33:13.442519+0100	runningboardd	[app<application.TeXShop.131972377.131972388(501)>:2535] Ignoring memory limit update because this process is not memory-managed
default	03:33:16.202534+0100	runningboardd	Invalidating assertion 428-390-1469 (target:[app<application.TeXShop.131972377.131972388(501)>:2535]) from originator [osservice<com.apple.coreservices.launchservicesd>:390]
default	03:33:16.202764+0100	runningboardd	Invalidating assertion 428-420-1470 (target:[app<application.TeXShop.131972377.131972388(501)>:2535]) from originator [osservice<com.apple.WindowServer(88)>:420]
default	03:33:16.203422+0100	TeXShop	0x11a034700 - [PID=0] WebProcessCache::setApplicationIsActive: (isActive=0)
default	03:33:16.203548+0100	TeXShop	0x11a008e80 - [PID=0] WebProcessCache::setApplicationIsActive: (isActive=0)
default	03:33:16.312944+0100	runningboardd	Calculated state for app<application.TeXShop.131972377.131972388(501)>: running-active (role: UserInteractiveNonFocal)
default	03:33:16.313051+0100	runningboardd	[app<application.TeXShop.131972377.131972388(501)>:2535] Ignoring jetsam update because this process is not memory-managed
default	03:33:16.313194+0100	runningboardd	[app<application.TeXShop.131972377.131972388(501)>:2535] Ignoring suspend because this process is not lifecycle managed
default	03:33:16.313325+0100	runningboardd	[app<application.TeXShop.131972377.131972388(501)>:2535] Set darwin role to: UserInteractiveNonFocal
default	03:33:16.313424+0100	runningboardd	[app<application.TeXShop.131972377.131972388(501)>:2535] Ignoring GPU update because this process is not GPU managed
default	03:33:16.313580+0100	runningboardd	[app<application.TeXShop.131972377.131972388(501)>:2535] Ignoring memory limit update because this process is not memory-managed




More information about the texshop mailing list.