cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Digital Photo Profession 4.14.0: NSInternalInconsistencyException

dualeoo
Contributor

Hi!

 

Whenever I click the save button, the following error is thrown:

'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'

 

Pleae help!

 

Process:               Digital Photo Professional 4 [9929]
Path:                  /Applications/Canon Utilities/*/Digital Photo Professional 4.app/Contents/MacOS/Digital Photo Professional 4
Identifier:            com.canon.Digital-Photo-Professional-4
Version:               4.14.0 (4.14.0.0)
Code Type:             X86-64 (Translated)
Parent Process:        ??? [1]
Responsible:           Digital Photo Professional 4 [9929]
User ID:               502

Date/Time:             2021-04-19 10:57:49.166 +0700
OS Version:            macOS 11.1 (20C69)
Report Version:        12
Anonymous UUID:        FD376165-04AA-88F1-A646-61CF764499AF

Sleep/Wake UUID:       A1091782-5D96-427D-8508-1382804B668E

Time Awake Since Boot: 38000 seconds
Time Since Wake:       4700 seconds

System Integrity Protection: enabled

Crashed Thread:        28  Dispatch queue: com.apple.root.default-qos

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

Application Specific Information:
Performing @selector(saveOverwrite:) from sender NSMenuItem 0x600001b84e00
*** Terminating app due to uncaught exception 'NSInternalInconsistencyException', reason: 'NSWindow drag regions should only be invalidated on the Main Thread!'
terminating with uncaught exception of type NSException
abort() called

Application Specific Backtrace 1:
0   CoreFoundation                      0x00007fff20593083 __exceptionPreprocess + 242
1   libobjc.A.dylib                     0x00007fff202cb17c objc_exception_throw + 48
2   CoreFoundation                      0x00007fff205bb61a -[NSException raise] + 9
3   AppKit                              0x00007fff22c948a0 -[NSWindow(NSWindow_Theme) _postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 321
4   AppKit                              0x00007fff22c7f561 -[NSWindow _initContent:styleMask:backing:defer:contentView:] + 1375
5   AppKit                              0x00007fff22e417c7 -[NSPanel _initContent:styleMask:backing:defer:contentView:] + 50
6   AppKit                              0x00007fff22c7effb -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42
7   AppKit                              0x00007fff22e4177c -[NSPanel initWithContentRect:styleMask:backing:defer:] + 64
8   AppKit                              0x00007fff22c7d114 -[NSWindowTemplate nibInstantiate] + 393
9   AppKit                              0x00007fff22c48f75 -[NSIBObjectData instantiateObject:] + 238
10  AppKit                              0x00007fff22c486d4 -[NSIBObjectData nibInstantiateWithOwner:options:topLevelObjects:] + 484
11  AppKit                              0x00007fff22c3d128 loadNib + 392
12  AppKit                              0x00007fff22c3c730 +[NSBundle(NSNibLoading) _loadNibFile:nameTable:options:withZone:ownerBundle:] + 693
13  AppKit                              0x00007fff22c3c386 -[NSBundle(NSNibLoading) loadNibNamed:owner:topLevelObjects:] + 201
14  AppKit                              0x00007fff22fcfb4e -[NSAlert init] + 137
15  Digital Photo Professional 4        0x0000000100f3464e __41-[DAPSaveManager saveImages:includePair:]_block_invoke + 913
16  libdispatch.dylib                   0x00007fff202745dd _dispatch_call_block_and_release + 12
17  libdispatch.dylib                   0x00007fff202757c7 _dispatch_client_callout + 8
18  libdispatch.dylib                   0x00007fff20277e1c _dispatch_queue_override_invoke + 777
19  libdispatch.dylib                   0x00007fff20284857 _dispatch_root_queue_drain + 326
20  libdispatch.dylib                   0x00007fff20284fb8 _dispatch_worker_thread2 + 92
21  libsystem_pthread.dylib             0x00007fff2041e453 _pthread_wqthread + 244
22  libsystem_pthread.dylib             0x00007fff2041d467 start_wqthread + 15

Thread 0:: Dispatch queue: com.apple.main-thread
0   com.apple.Foundation          	0x00007fff2119446a NSRecordAllocationEvent + 0
1   com.apple.AppKit              	0x00007fff22c36a7b -[NSResponder _tryRetain] + 66
2   libobjc.A.dylib               	0x00007fff202c4f4c objc_loadWeakRetained + 343
3   libobjc.A.dylib               	0x00007fff202c7101 objc_loadWeak + 15
4   com.apple.AppKit              	0x00007fff234f8c3b NSViewGetTransformToBacking + 478
5   com.apple.AppKit              	0x00007fff234f8499 NSViewAlignRect + 55
6   com.apple.AppKit              	0x00007fff22c9df84 -[NSView backingAlignedRect:options:] + 45
7   com.apple.AppKit              	0x00007fff22ef235f -[NSSliderCell knobValueRangeRect:] + 152
8   com.apple.AppKit              	0x00007fff22fe3d5c -[NSSliderCell rectOfTickMarkAtIndex:] + 268
9   com.apple.AppKit              	0x00007fff2339f212 -[NSSlider rectOfTickMarkAtIndex:] + 149
10  com.apple.AppKit              	0x00007fff22ef7cba -[NSSliderTickMarks drawRect:] + 2213
11  com.apple.AppKit              	0x00007fff22dd9e63 _NSViewDrawRect + 139
12  com.apple.AppKit              	0x00007fff23505536 -[NSView _recursive:displayRectIgnoringOpacity:inContext:stopAtLayerBackedViews:] + 2115
13  com.apple.AppKit              	0x00007fff22dd9489 -[NSView(NSLayerKitGlue) _drawViewBackingLayer:inContext:drawingHandler:] + 967
14  com.apple.QuartzCore          	0x00007fff26f1a101 CABackingStoreUpdate_ + 190
15  com.apple.QuartzCore          	0x00007fff26f7f279 invocation function for block in CA::Layer::display_() + 53
16  com.apple.QuartzCore          	0x00007fff26f1966c -[CALayer _display] + 2183
17  com.apple.AppKit              	0x00007fff22dd9001 -[_NSBackingLayer display] + 475
18  com.apple.AppKit              	0x00007fff22d44535 -[_NSViewBackingLayer display] + 555
19  com.apple.QuartzCore          	0x00007fff26f18660 CA::Layer::display_if_needed(CA::Transaction*) + 874
20  com.apple.QuartzCore          	0x00007fff2705873b CA::Context::commit_transaction(CA::Transaction*, double, double*) + 517
21  com.apple.QuartzCore          	0x00007fff26ef9fd5 CA::Transaction::commit() + 783
22  com.apple.AppKit              	0x00007fff22dee272 __62+[CATransaction(NSCATransaction) NS_setFlushesWithDisplayLink]_block_invoke + 285
23  com.apple.AppKit              	0x00007fff2353d085 ___NSRunLoopObserverCreateWithHandler_block_invoke + 41
24  com.apple.CoreFoundation      	0x00007fff205186d9 __CFRUNLOOP_IS_CALLING_OUT_TO_AN_OBSERVER_CALLBACK_FUNCTION__ + 23
25  com.apple.CoreFoundation      	0x00007fff20518575 __CFRunLoopDoObservers + 549
26  com.apple.CoreFoundation      	0x00007fff20517a19 __CFRunLoopRun + 842
27  com.apple.CoreFoundation      	0x00007fff20516fe2 CFRunLoopRunSpecific + 567
28  com.apple.HIToolbox           	0x00007fff289e26d0 RunCurrentEventLoopInMode + 292
29  com.apple.HIToolbox           	0x00007fff289e2322 ReceiveNextEventCommon + 283
30  com.apple.HIToolbox           	0x00007fff289e21ef _BlockUntilNextEventMatchingListInModeWithFilter + 64
31  com.apple.AppKit              	0x00007fff22c69de9 _DPSNextEvent + 883
32  com.apple.AppKit              	0x00007fff22c685af -[NSApplication(NSEvent) _nextEventMatchingEventMask:untilDate:inMode:dequeue:] + 1366
33  com.apple.AppKit              	0x00007fff22f40de9 -[NSApplication _doModalLoop:peek:] + 303
34  com.apple.AppKit              	0x00007fff22f3fba8 __35-[NSApplication runModalForWindow:]_block_invoke_2 + 64
35  com.apple.AppKit              	0x00007fff22f3fb55 __35-[NSApplication runModalForWindow:]_block_invoke + 70
36  com.apple.AppKit              	0x00007fff22f3f3a3 _NSTryRunModal + 100
37  com.apple.AppKit              	0x00007fff22f3f288 -[NSApplication runModalForWindow:] + 128
38  com.canon.Digital-Photo-Professional-4	0x0000000100f3424c -[DAPSaveManager saveImages:includePair:] + 668
39  com.canon.Digital-Photo-Professional-4	0x0000000100e7efad -[DAPMainWindowController saveOverwrite:] + 141
40  com.apple.AppKit              	0x00007fff22e8ac4e -[NSApplication(NSResponder) sendAction:to:from:] + 283
41  com.apple.AppKit              	0x00007fff22f8da61 -[NSMenuItem _corePerformAction] + 413
42  com.apple.AppKit              	0x00007fff22f8d780 -[NSCarbonMenuImpl performActionWithHighlightingForItemAtIndex:] + 95
43  com.apple.AppKit              	0x00007fff22f8c7e5 -[NSMenu performKeyEquivalent:] + 412
44  com.apple.AppKit              	0x00007fff233df910 routeKeyEquivalent + 521
45  com.apple.AppKit              	0x00007fff22df1af7 -[NSApplication(NSEvent) sendEvent:] + 1155
46  com.apple.AppKit              	0x00007fff230ca36e -[NSApplication _handleEvent:] + 65
47  com.apple.AppKit              	0x00007fff22c5ab2f -[NSApplication run] + 623
48  com.apple.AppKit              	0x00007fff22c2edf2 NSApplicationMain + 816
49  libdyld.dylib                 	0x00007fff2043c621 start + 1

Thread 1:: com.apple.rosetta.exceptionserver
0   runtime                       	0x00007ffdffd71a98 0x7ffdffd6f000 + 10904
1   runtime                       	0x00007ffdffd7ae98 0x7ffdffd6f000 + 48792
2   runtime                       	0x00007ffdffd7c8e8 0x7ffdffd6f000 + 55528

Thread 2:
0   runtime                       	0x00007ffdffdc9914 0x7ffdffd6f000 + 370964

Thread 3:
0   runtime                       	0x00007ffdffdc9914 0x7ffdffd6f000 + 370964

Thread 4:
0   runtime                       	0x00007ffdffdc9914 0x7ffdffd6f000 + 370964

Thread 5:
0   ???                           	0x00007ffe963f6a30 ???
1   libsystem_kernel.dylib        	0x00007fff203ef8e2 __psynch_cvwait + 10
2   com.canon.DppMath             	0x0000000115f1b06f __kmp_launch_monitor(void*) + 585
3   libsystem_pthread.dylib       	0x00007fff20421950 _pthread_start + 224
4   libsystem_pthread.dylib       	0x00007fff2041d47b thread_start + 15

Thread 6:
0   ???                           	0x00007ffe963f6a30 ???
1   libsystem_kernel.dylib        	0x00007fff203ef8e2 __psynch_cvwait + 10
2   com.canon.DppMWare            	0x0000000109bc6706 CBaseEvent::WaitCondition() + 20
3   com.canon.DppMWare            	0x0000000109bc67b8 CSimpleEvent::Wait() + 24
4   com.canon.DppMWare            	0x0000000109c4338e CDppThumbnailCacheManager::ManageCachesOnDiskCore() + 122
5   com.canon.DppMWare            	0x0000000109c40dd7 CDppThumbnailCacheManager::ManageCachesOnDisk(void*) + 9
6   libsystem_pthread.dylib       	0x00007fff20421950 _pthread_start + 224
7   libsystem_pthread.dylib       	0x00007fff2041d47b thread_start + 15

Thread 7:
0   ???                           	0x00007ffe963f6a30 ???
1   libsystem_kernel.dylib        	0x00007fff203ef8e2 __psynch_cvwait + 10
2   com.canon.DppMWare            	0x0000000109bc6706 CBaseEvent::WaitCondition() + 20
3   com.canon.DppMWare            	0x0000000109bc67b8 CSimpleEvent::Wait() + 24
4   com.canon.DppMWare            	0x0000000109c0f329 CDppImageFactoryThread::executeOrderCore() + 105
5   com.canon.DppMWare            	0x0000000109c0f16b CDppImageFactoryThread::executeOrder(void*) + 9
6   libsystem_pthread.dylib       	0x00007fff20421950 _pthread_start + 224
7   libsystem_pthread.dylib       	0x00007fff2041d47b thread_start + 15

Thread 8:
0   ???                           	0x00007ffe963f6a30 ???
1   libsystem_kernel.dylib        	0x00007fff203ef8e2 __psynch_cvwait + 10
2   com.canon.DppMWare            	0x0000000109bc6706 CBaseEvent::WaitCondition() + 20
3   com.canon.DppMWare            	0x0000000109bc67b8 CSimpleEvent::Wait() + 24
4   com.canon.DppMWare            	0x0000000109c0f329 CDppImageFactoryThread::executeOrderCore() + 105
5   com.canon.DppMWare            	0x0000000109c0f16b CDppImageFactoryThread::executeOrder(void*) + 9
6   libsystem_pthread.dylib       	0x00007fff20421950 _pthread_start + 224
7   libsystem_pthread.dylib       	0x00007fff2041d47b thread_start + 15

Thread 9:
0   ???                           	0x00007ffe963f6a30 ???
1   libsystem_kernel.dylib        	0x00007fff203ef8e2 __psynch_cvwait + 10
2   com.canon.DppMWare            	0x0000000109bc6706 CBaseEvent::WaitCondition() + 20
3   com.canon.DppMWare            	0x0000000109bc67b8 CSimpleEvent::Wait() + 24
4   com.canon.DppMWare            	0x0000000109c0f329 CDppImageFactoryThread::executeOrderCore() + 105
5   com.canon.DppMWare            	0x0000000109c0f16b CDppImageFactoryThread::executeOrder(void*) + 9
6   libsystem_pthread.dylib       	0x00007fff20421950 _pthread_start + 224
7   libsystem_pthread.dylib       	0x00007fff2041d47b thread_start + 15

Thread 10:
0   ???                           	0x00007ffe963f6a30 ???
1   libsystem_kernel.dylib        	0x00007fff203ef8e2 __psynch_cvwait + 10
2   com.canon.DppMWare            	0x0000000109bc6706 CBaseEvent::WaitCondition() + 20
3   com.canon.DppMWare            	0x0000000109bc67b8 CSimpleEvent::Wait() + 24
4   com.canon.DppMWare            	0x0000000109c0f329 CDppImageFactoryThread::executeOrderCore() + 105
5   com.canon.DppMWare            	0x0000000109c0f16b CDppImageFactoryThread::executeOrder(void*) + 9
6   libsystem_pthread.dylib       	0x00007fff20421950 _pthread_start + 224
7   libsystem_pthread.dylib       	0x00007fff2041d47b thread_start + 15


Binary Images:
       0x100e76000 -        0x100fb3fff +com.canon.Digital-Photo-Professional-4 (4.14.0 - 4.14.0.0) <2402E19C-F3BE-3907-A4C7-CC402A5857AF> /Applications/Canon Utilities/*/Digital Photo Professional 4.app/Contents/MacOS/Digital Photo Professional 4
       0x109739000 -        0x10977afff +com.canon.DppServiceFramework (4.14.0 - 4.14.0.0) <1CCBED0A-80FC-372A-887C-60640B5F6E19> /Applications/Canon Utilities/*/Digital Photo Professional 4.app/Contents/Frameworks/DppServiceFramework.framework/Versions/A/DppServiceFramework
       0x109856000 -        0x109920fff +com.canon.DppCommonFramework (4.14.0 - 4.14.0.0) <D3C3329B-104F-3AFE-BFB6-F53FC0ED5BA1> /Applications/Canon Utilities/*/Digital Photo Professional 4.app/Contents/Frameworks/DppCommonFramework.framework/Versions/A/DppCommonFramework
       0x109b6e000 -        0x109cc3fff +com.canon.DppMWare (4.14.0 - 4.14.0.0) <80F92EED-1FBF-323E-A4AC-69AEB07D9A31> /Applications/Canon Utilities/*/Digital Photo Professional 4.app/Contents/Frameworks/DppMWare.framework/Versions/A/DppMWare
       0x10a16c000 -        0x10a4fefff +libswiftCore.dylib (4.2.1 - 1000.11.42) <D0C86227-BFC8-30D7-93B8-9F228E0F15BA> /Applications/Canon Utilities/*/Digital Photo Professional 4.app/Contents/Frameworks/libswiftCore.dylib
       0x10b072000 -        0x10b075fff +libswiftCoreFoundation.dylib (4.2.1 - 1000.11.42) <801E1416-6C23-3C48-BF46-2349B9F36C9E> /Applications/Canon Utilities/*/Digital Photo Professional 4.app/Contents/Frameworks/libswiftCoreFoundation.dylib
       0x10b085000 -        0x10b094fff +libswiftCoreGraphics.dylib (4.2.1 - 1000.11.42) <579D172D-0873-33EB-A529-742D5D70BD74> /Applications/Canon Utilities/*/Digital Photo Professional 4.app/Contents/Frameworks/libswiftCoreGraphics.dylib

Translated Code Information:
  tmp0: 0xffffffffffffffff tmp1: 0x00007ffe963f6a04 tmp2: 0x00007fff203f3458


External Modification Summary:
  Calls made by other processes targeting this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by this process:
    task_for_pid: 0
    thread_create: 0
    thread_set_state: 0
  Calls made by all processes on this machine:
    task_for_pid: 26129
    thread_create: 0
    thread_set_state: 0

VM Region Summary:
ReadOnly portion of Libraries: Total=922.0M resident=0K(0%) swapped_out_or_unallocated=922.0M(100%)
Writable regions: Total=3.4G written=0K(0%) resident=0K(0%) swapped_out=0K(0%) unallocated=3.4G(100%)
 
                                VIRTUAL   REGION 
REGION TYPE                        SIZE    COUNT (non-coalesced) 
===========                     =======  ======= 
Accelerate framework               640K        5 
Activity Tracing                   256K        1 
CG backing stores                 3264K        6 
CG image                          18.1M      198 
CoreAnimation                    173.6M      420 
CoreGraphics                        12K        2 
CoreImage                          848K       25 
CoreUI image data                 2932K       25 
Foundation                          16K        1 
Image IO                          1492K      168 
Kernel Alloc Once                    8K        1 
MALLOC                             2.1G      139 
MALLOC guard page                  192K        8 
MALLOC_MEDIUM (reserved)         736.0M        8         reserved VM address space (unallocated)
MALLOC_NANO (reserved)           256.0M        1         reserved VM address space (unallocated)
Rosetta Arena                     2048K        1 
Rosetta Generic                    996K      245 
Rosetta IndirectBranch            1024K        1 
Rosetta JIT                      128.0M        1 
Rosetta Return Stack               760K       76 
Rosetta Thread Context             760K       76 
STACK GUARD                         28K        7 
Stack                             26.9M       39 
Stack Guard                       56.1M       32 
VM_ALLOCATE                       1148K       69 
VM_ALLOCATE (reserved)              60K       10         reserved VM address space (unallocated)
__CTF                               759        1 
__DATA                            35.5M      454 
__DATA_CONST                      19.6M      243 
__DATA_DIRTY                      1259K      149 
__FONT_DATA                          4K        1 
__GLSLBUILTINS                    5176K        1 
__LINKEDIT                       522.2M       53 
__OBJC_RO                         60.5M        1 
__OBJC_RW                         2451K        2 
__TEXT                           399.9M      443 
__UNICODE                          588K        1 
mapped file                        3.9G     1319 
shared memory                       64K        4 
unshared pmap                     10.3M        6 
===========                     =======  ======= 
TOTAL                              8.5G     4243 
TOTAL, minus reserved VM space     7.5G     4243 

Model: MacBookAir10,1, BootROM 6723.61.3, proc 8:4:4 processors, 8 GB, SMC 
Graphics: kHW_AppleM1Item, Apple M1, spdisplays_builtin
Memory Module: lp_ddr4
AirPort: spairport_wireless_card_type_airport_extreme, wl0: Oct 20 2020 12:49:54 version 18.20.222.14.7.8.100 FWID 01-ba327c2d
Bluetooth: Version 8.0.2f9, 3 services, 27 devices, 1 incoming serial ports
Network Service: Wi-Fi, AirPort, en0
USB Device: USB 3.1 Bus
USB Device: USB 3.1 Bus
Thunderbolt Bus: MacBook Air, Apple Inc., 0.0
Thunderbolt Bus: MacBook Air, Apple Inc., 0.0
4 REPLIES 4

Mark35mmF2
Product Expert
Product Expert

Hi there,

 

That's a lot of information about the computer. Unfortuantely I'm not saavy enough to see if anything specific is indicated in here aside from a crash due to an unexpected operation. The first thing I would try is reinstalling Digital Photo Professional from a fresh download. That should realign any odd scripts in the program in case that is what's causing this.

 

https://www.usa.canon.com/internet/portal/us/home/support/drivers-downloads 

Hi Mark35mmF2!

Thank you for reaching out!

Sorry for the long-listing of coding =( I am a software developer so I thought this would help the guy who built the software fix the error.

Btw, I have tried to reinstall from a fresh download but it didn't work.

Do you have any other suggestions?

Thank you!

Minh


@dualeoo wrote:
Hi Mark35mmF2!

Thank you for reaching out!

Sorry for the long-listing of coding =( I am a software developer so I thought this would help the guy who built the software fix the error.

Btw, I have tried to reinstall from a fresh download but it didn't work.

Do you have any other suggestions?

Thank you!

Minh

Are you trying to save your edits?  Or, are you trying to export the edits to a new file?  If the latter case, then it might be trying to overwrite the file that you have open for editing.  I have not used DPP for several years, but DPP3 would try to do that.

--------------------------------------------------------
"The right mouse button is your friend."

dualeoo
Contributor
>Are you trying to save your edits

Yes. Whenever I click save, DPP4 throws that error

>export the edits to a new file? If the latter case, then it might be trying to overwrite the file that you have open for editing.

Ah no 😢 I didn't export the file. So the file is not overwritten.

> I have not used DPP for several years, but DPP3 would try to do that.

I am using DPP4

=> do you have any other suggestion? Thank you!
Avatar
Announcements