# Cannot export P3D on iMac

**URL:** https://discourse.processing.org/t/cannot-export-p3d-on-imac/20098
**Category:** Processing
**Created:** [April 24, 2020, 2:43pm UTC](https://discourse.processing.org/t/cannot-export-p3d-on-imac/20098 "2020-04-24T14:43:01Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![jcdell](https://avatars.discourse-cdn.com/v4/letter/j/22d042/32.png) [@jcdell](https://discourse.processing.org/u/jcdell)
#### Post date: [April 24, 2020, 2:43pm UTC](https://discourse.processing.org/t/cannot-export-p3d-on-imac/20098/1 "2020-04-24T14:43:01Z")

</div>

**All P3D exported sketches crash with this reported Error.** This includes many examples that I have saved and then tried to export. Also, every time I run P3D sketch I get the following ( warning?) in the console window, which I am guessing is related. HELP!! I would really like to be able to share these sketches with others who are not running the IDE.

Running OS X 10.15.4

==============================  
Typical Console RED Warning:

> 0 AppKit 0x00007fff31b8c289 -[NSWindow(NSWindow\_Theme) \_postWindowNeedsToResetDragMarginsUnlessPostingDisabled] + 371  
> 1 AppKit 0x00007fff31b73cb2 -[NSWindow \_initContent:styleMask:backing:defer:contentView:] + 1416  
> 2 AppKit 0x00007fff31b73723 -[NSWindow initWithContentRect:styleMask:backing:defer:] + 42  
> 3 libnativewindow\_macosx.jnilib 0x00000001231113fe Java\_jogamp\_nativewindow\_macosx\_OSXUtil\_CreateNSWindow0 + 398  
> 4 ??? 0x0000000112b63a88 0x0 + 4608899720  
> )

=============================  
Export Crash: ( I did not include the entire crash report because it’s awfully long )

This is a Processing example, verbatim, “Orthographic”, saved and renamed so I could export it.

> Process: myOrthographic [963]  
> Path: /Users/USER/\*/myOrthographic.app/Contents/MacOS/myOrthographic  
> Identifier: myOrthographic  
> Version: 1 (1)  
> Code Type: X86-64 (Native)  
> Parent Process: ??? [1]  
> Responsible: myOrthographic [963]  
> User ID: 501
> 
> Date/Time: 2020-04-24 10:29:34.536 -0400  
> OS Version: Mac OS X 10.15.4 (19E287)  
> Report Version: 12  
> Anonymous UUID: 9E03BA3D-0BB8-995F-3C10-4FD9D57503B5
> 
> Time Awake Since Boot: 570 seconds
> 
> System Integrity Protection: enabled
> 
> Crashed Thread: 4
> 
> Exception Type: EXC\_BAD\_ACCESS (SIGABRT)  
> Exception Codes: KERN\_INVALID\_ADDRESS at 0x0000000000000000  
> Exception Note: EXC\_CORPSE\_NOTIFY
> 
> VM Regions Near 0:  
> →   
> \_\_TEXT 0000000108f71000-0000000108f74000 [12K] r-x/rwx SM=COW /Users/USER/\*/myOrthographic.app/Contents/MacOS/myOrthographic
> 
> Application Specific Information:  
> \*\*\* Terminating app due to uncaught exception ‘NSInternalInconsistencyException’, reason: ‘NSWindow drag regions should only be invalidated on the Main Thread!’  
> abort() called  
> terminating with uncaught exception of type NSException

---

<div class="post-metadata">

### Author: ![jeremydouglass](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.processing.org/jeremydouglass/32/20_2.png) [@jeremydouglass](https://discourse.processing.org/u/jeremydouglass)
#### Post date: [May 2, 2020, 5:08pm UTC](https://discourse.processing.org/t/cannot-export-p3d-on-imac/20098/2 "2020-05-02T17:08:30Z")

</div>

Hi @jcdell – were you able to resolve this issue?

Have you tried searching for related issues on

- [https://github.com/processing/processing/issues](https://github.com/processing/processing/issues)

…and opening your own if nothing similar is there?

Possibly related:

> <https://github.com/processing/processing/issues/5983>
>
> Description
> Using the Export Application function in the new Processing 3.5.4 seems to be broken when using P2D or P3D renderers. When...
