Jump to content
You must now use your email address to sign in [click for more info] ×

Hard crash when saving


robinp

Recommended Posts

I am trying to edit a series of PDFs to redact sensitive information.

Upon completing the edit of one file, I tried to save and not only did Designer crash, it crashed and restarted my whole machine without warning.

Connected to this, I am editing PDFs and then trying to save them back as PDF. It is REALLY annoying that it is not possible to edit and save the PDFs without Designer wanting to save as a AFDesigner file. All I am doing is opening, deleting and wanting to save. 

Instead, I have to open, edit, not save as work progresses and then export to overwrite the original file.

It was this clunky workflow that resulted in the aforementioned crash. I was editing the file, hit save and then remembered I needed to export, so I hit the escape key. Designer paused for a few seconds and then completely crashed my MacBook Pro.

Link to comment
Share on other sites

This is the crash report that macOS created:

 

panic(cpu 0 caller 0xffffff7f962d035a): "afpfs_getnewvnode: orphaned vnode (data)"@/BuildRoot/Library/Caches/com.apple.xbs/Sources/afpfs/afpfs-663.60.1/Sources/afpfs_vfsutils.c:178
Backtrace (CPU 0), Frame : Return Address
0xffffff8202a7ada0 : 0xffffff8011f3bb1b 
0xffffff8202a7adf0 : 0xffffff80120733e5 
0xffffff8202a7ae30 : 0xffffff8012064e5e 
0xffffff8202a7ae80 : 0xffffff8011ee2a40 
0xffffff8202a7aea0 : 0xffffff8011f3b207 
0xffffff8202a7afa0 : 0xffffff8011f3b5eb 
0xffffff8202a7aff0 : 0xffffff80126d24f9 
0xffffff8202a7b060 : 0xffffff7f962d035a 
0xffffff8202a7b070 : 0xffffff7f962b1937 
0xffffff8202a7b130 : 0xffffff7f962b860d 
0xffffff8202a7b1d0 : 0xffffff7f962c15d6 
0xffffff8202a7b260 : 0xffffff80121be989 
0xffffff8202a7b380 : 0xffffff801216c8ab 
0xffffff8202a7b6a0 : 0xffffff801216e956 
0xffffff8202a7bcc0 : 0xffffff8012171524 
0xffffff8202a7bee0 : 0xffffff80121713c8 
0xffffff8202a7bf40 : 0xffffff801259acba 
0xffffff8202a7bfa0 : 0xffffff8011ee3206 
      Kernel Extensions in backtrace:
         com.apple.filesystems.afpfs(11.2)[0B11E6EA-B995-3B1A-97E0-29810991763C]@0xffffff7f96299000->0xffffff7f962e8fff
            dependency: com.apple.filesystems.hfs.encodings.kext(1)[ADC2D814-3FCD-307F-8999-F8153470A160]@0xffffff7f93771000
            dependency: com.apple.security.SecureRemotePassword(1.0)[35E58F79-B1CE-3C18-9C8A-964E7C2D5249]@0xffffff7f96052000

BSD process name corresponding to current thread: com.apple.appkit
Boot args: chunklist-security-epoch=0 -chunklist-no-rev2-dev

Mac OS version:
19C57

Kernel version:
Darwin Kernel Version 19.2.0: Sat Nov  9 03:47:04 PST 2019; root:xnu-6153.61.1~20/RELEASE_X86_64
Kernel UUID: C3E7E405-C692-356B-88D3-C30041FD1E72
Kernel slide:     0x0000000011c00000
Kernel text base: 0xffffff8011e00000
__HIB  text base: 0xffffff8011d00000
System model name: MacBookPro15,2 (Mac-827FB448E656EC26)
System shutdown begun: NO

System uptime in nanoseconds: 63597623328065
last loaded kext at 63089411168031: @filesystems.smbfs    3.4 (addr 0xffffff7f96368000, size 446464)
last unloaded kext at 63250044277178: com.parallels.kext.hypervisor    15.1.2 47123 (addr 0xffffff7f9632b000, size 196608)
loaded kexts:
com.astro-hq.driver.LunaDisplay    1.0.1
@filesystems.smbfs    3.4
>AudioAUUC    1.70
>!A!II210Ethernet    2.3.1
>!AAHCIPort    341.0.2
@filesystems.afpfs    11.2
@nke.asp-tcp    8.1
>!AGraphicsDevicePolicy    4.5.21
@fileutil    20.036.15
@AGDCPluginDisplayMetrics    4.5.21
>!AHV    1
|IOUserEthernet    1.0.1
|IO!BSerialManager    7.0.2f4
>!AUpstreamUserClient    3.6.8
>pmtelemetry    1
>AGPM    111.4.1
>!APlatformEnabler    2.7.0d0
>X86PlatformShim    1.0.0
>!A!IKBLGraphics    14.0.3
@Dont_Steal_Mac_OS_X    7.0.0
>!AThunderboltIP    3.1.3
>BridgeAudioCommunication    6.60
>!ABacklight    180.1
>!ATopCaseHIDEventDriver    3420.1
>!AAVEBridge    6.1
>!AMCCSControl    1.13
>!ABridgeAudio!C    6.60
>!AGFXHDA    100.1.422
>!AHIDALSService    1
>!A!IPCHPMC    2.0.1
>!A!ICFLGraphicsFramebuffer    14.0.3
>!A!ISlowAdaptiveClocking    4.0.0
@filesystems.autofs    3.0
@filesystems.apfs    1412.61.1
>BCMWLANFirmware4355.Hashstore    1
>BCMWLANFirmware4364.Hashstore    1
>BCMWLANFirmware4377.Hashstore    1
@filesystems.hfs.kext    522.0.9
@BootCache    40
@!AFSCompression.!AFSCompressionTypeDataless    1.0.0d1
@!AFSCompression.!AFSCompressionTypeZlib    1.0.0
>!AVirtIO    1.0
>!ABCMWLANBusInterfacePCIe    1
@private.KextAudit    1.0
>!ASmartBatteryManager    161.0.0
>!AACPIButtons    6.1
>!ASMBIOS    2.1
>!AACPIEC    6.1
>!AAPIC    1.7
$!AImage4    1
@nke.applicationfirewall    303
$TMSafetyNet    8
@!ASystemPolicy    2.0.0
|EndpointSecurity    1
|IOAHCI!F    290.0.1
>!AThunderboltPCIUpAdapter    2.5.2
>!AThunderboltDPOutAdapter    6.2.4
>!UAudio    320.49
$SecureRemotePassword    1.0
>!AGraphicsControl    4.5.21
|IOAVB!F    800.17
>!ASSE    1.0
>!ABacklightExpert    1.1.0
@!AGPUWrangler    4.5.21
>!AHS!BDriver    3420.1
>IO!BHIDDriver    7.0.2f4
>!ASMBus!C    1.0.18d1
>!AActuatorDriver    3420.2
>!AMultitouchDriver    3420.2
>!AInputDeviceSupport    3420.4
|IONDRVSupport    569.3
>!AHIDKeyboard    209
|IO!BHost!CUARTTransport    7.0.2f4
|IO!BHost!CTransport    7.0.2f4
>!A!ILpssUARTv1    3.0.60
>!A!ILpssUARTCommon    3.0.60
>!AOnboardSerial    1.0
@!AGraphicsDeviceControl    4.5.21
|IOAccelerator!F2    438.2.8
|IOGraphics!F    569.3
|IOSlowAdaptiveClocking!F    1.0.0
>X86PlatformPlugin    1.0.0
>IOPlatformPlugin!F    6.0.0d8
@plugin.IOgPTPPlugin    800.14
@kext.triggers    1.0
>usb.cdc.ncm    5.0.0
>usb.cdc    5.0.0
>usb.networking    5.0.0
>usb.!UHostCompositeDevice    1.2
>usb.!UVHCIBCE    1.2
>usb.!UVHCI    1.2
>usb.!UVHCICommonBCE    1.0
>usb.!UVHCICommon    1.0
>!AEffaceableNOR    1.0
|IOBufferCopy!C    1.1.0
|IOBufferCopyEngine!F    1
|IONVMe!F    2.1.0
>!AThunderboltPCIDownAdapter    2.5.2
>!AThunderboltDPInAdapter    6.2.4
>!AThunderboltDPAdapter!F    6.2.4
>!AHPM    3.4.4
>!A!ILpssI2C!C    3.0.60
>!A!ILpssDmac    3.0.60
|IOSurface    269.6
@filesystems.hfs.encodings.kext    1
|IOAudio!F    300.2
@vecLib.kext    1.2.0
>!AThunderboltNHI    5.8.1
|IOThunderbolt!F    7.4.7
|IOEthernetAVB!C    1.1.0
>!ABCMWLANCore    1.0.0
>mDNSOffloadUserClient    1.0.1b8
>IOImageLoader    1.0.0
|IOSerial!F    11
|IO80211!FV2    1200.12.2b1
>corecapture    1.0.4
|IOSkywalk!F    1
|IOUSB!F    900.4.2
>!A!ILpssI2C    3.0.60
>usb.!UXHCIPCI    1.2
>usb.!UXHCI    1.2
>!AEFINVRAM    2.1
>!AEFIRuntime    2.1
>!ASMCRTC    1.0
|IOSMBus!F    1.1
|IOHID!F    2.0.0
$quarantine    4
$sandbox    300.0
@kext.!AMatch    1.0.0d1
>!AKeyStore    2
>!UTDM    489.60.3
|IOSCSIBlockCommandsDevice    422.0.2
>!ACredentialManager    1.0
>KernelRelayHost    1
>!ASEPManager    1.0.1
>IOSlaveProcessor    1
>!AFDEKeyStore    28.30
>!AEffaceable!S    1.0
>!AMobileFileIntegrity    1.0.5
@kext.CoreTrust    1
|CoreAnalytics!F    1
|IOTimeSync!F    800.14
|IONetworking!F    3.4
>DiskImages    493.0.0
|IO!B!F    7.0.2f4
|IO!BPacketLogger    7.0.2f4
|IOUSBMass!SDriver    157.40.7
|IOSCSIArchitectureModel!F    422.0.2
|IO!S!F    2.1
|IOUSBHost!F    1.2
>usb.!UCommon    1.0
>!UHostMergeProperties    1.2
>!ABusPower!C    1.0
|IOReport!F    47
>!AACPIPlatform    6.1
>!ASMC    3.1.9
>watchdog    1
|IOPCI!F    2.9
|IOACPI!F    1.4
@kec.pthread    1
@kec.corecrypto    1.0
@kec.Libm    1


 

Link to comment
Share on other sites

Not sure if it is connected or not, but there is another, softer crash that occurs when when opening PDFs by dragging them onto the designer window.

For example:

  1. Open a PDF via dragging it onto the designer icon, or via the open dialogue.
  2. Edit the file
  3. Export to save the file back to PDF
  4. Close file (but not designer)
  5. Drag a new PDF onto the designer window that is still visible despite there not being a file open

At this point nothing happens.

If you then try to open a file by, for example, dropping it on the designer app icon, it opens but then you cannot do anything.

My hunch is that the dialogue that appears when opening a PDF doesn't properly generate when opening via dragging a file onto the designer window. It is like it is waiting for an interaction but without any pop up window visible.

The only solution I've found is to force quit and start again.

Link to comment
Share on other sites

  • 3 weeks later...
  • Staff

Hi @robinp,

When you open/import a PDF, you cannot "Save" back to it, as we don't exacly open it, but actually interpret the PDF and "convert" it. Therefore, you would need to Export rather than save. This is not a bug, but by design. 

As for the crash, I could not replicate it. Can you attach a screen recording of your workflow? 

Link to comment
Share on other sites

2 hours ago, Gabe said:

Hi @robinp,

When you open/import a PDF, you cannot "Save" back to it, as we don't exacly open it, but actually interpret the PDF and "convert" it. Therefore, you would need to Export rather than save. This is not a bug, but by design. 

As for the crash, I could not replicate it. Can you attach a screen recording of your workflow? 

Hi @Gabe

Thanks for getting back to me but it was three weeks ago and I'm afraid I now cannot recall which files were causing the problems. I'll have a go again and see if I can recreate it but when I was doing it, it kept happening over and over again.

With regards to the opening vs converting, my point was that it would be much easier to give the user the option of using it as though it had been opened rather than converted. I don't think end users really worry about such subtleties, we just want it to work quickly and easily with the interface getting in the way as little as possible.

So whether the file is actually being opened or actually converted, I think it would be helpful to offer the option to open and save PDFs without going through this palaver.

While the current implementation may be by design, I struggle to see how it is of benefit to the user. It may make sense to a programmer writing the code behind it, but for the average user this differentiation is somewhat forced and just makes the workflow clunky.

Robin

 

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.