Announcement: Upgrade to macOS Mojave

With features like Dark Mode, Stacks, and four new built-in apps, macOS Mojave helps you get more out of every click. 
Find out how to upgrade to macOS Mojave > https://support.apple.com/macos/mojave

Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

Question:

Question: Has anyone had this issue with CUPS-PDF after update to Yosemite?

It states the PDF is getting made but have looked and no file ever gets created. The printer Queue shows a file but it always pauses the queue and even after resume it does not create a PDF file

MacBook Pro, OS X Yosemite (10.10)

Posted on

Reply
Question marked as Helpful

Oct 23, 2014 9:37 AM in response to John Blanchard1 In response to John Blanchard1

Hi, I have this issue too.


It looks like a sandbox issue : In the system log, I can read, just after trying to print something, with no file created (cups-pdf is intended to create a PDF file) :


23/10/2014 18:30:20,797 sandboxd[13941]: ([15034]) sh(15034) deny file-read-data /

23/10/2014 18:30:22,400 sandboxd[13941]: ([15034]) pstopdf(15034) deny file-write-create /private/tmp/PSNormalizer.9AjHkb

(Full reports below)


I tried to uninstall and re-install several times, changed configuration (where to create the PDF files), chmod 777 folders and executables, reseted PRAM and SMC… no effect. Did not made the permission check yet.


Full report for the first line is :

sh(15034) deny file-read-data /

Process: sh [15034]

Path: /bin/sh

Load Address: 0x108af4000

Identifier: sh

Version: ??? (???)

Code Type: x86_64 (Native)

Parent Process: cups-pdf [15033]

Date/Time: 2014-10-23 18:30:20.103 +0200

OS Version: Mac OS X 10.10 (14A389)

Report Version: 8

Thread 0:

0 libsystem_kernel.dylib 0x00007fff9239800e __open_nocancel + 10

1 libsystem_c.dylib 0x00007fff8bd25076 __private_getcwd + 139

2 sh 0x0000000108b02897

3 sh 0x0000000108b3e99c

4 sh 0x0000000108b3dcf0

5 sh 0x0000000108af5782

6 libdyld.dylib 0x00007fff972ae5c9 start + 1

Binary Images:

0x108af4000 - 0x108b79fff sh (94.1.2) <4763ef88-b313-3c6e-af1d-e1dd23d0fa55> /bin/sh

0x7fff8bcfb000 - 0x7fff8bd87fff libsystem_c.dylib (1044.1.2) <c185e862-7424-3210-b528-6b822577a4b8> /usr/lib/system/libsystem_c.dylib

0x7fff92382000 - 0x7fff9239ffff libsystem_kernel.dylib (2782.1.97) <93e0e0a9-75b6-3904-bb4e-4bc7c05f4b6b> /usr/lib/system/libsystem_kernel.dylib

0x7fff972ab000 - 0x7fff972aeff7 libdyld.dylib (353.2.1) <19faf435-c165-3374-9def-d7bba7d61db6> /usr/lib/system/libdyld.dylib


And for the second line :

pstopdf(15034) deny file-write-create /private/tmp/PSNormalizer.9AjHkb

Process: pstopdf [15034]

Path: /usr/bin/pstopdf

Load Address: 0x1067c8000

Identifier: pstopdf

Version: ??? (???)

Code Type: x86_64 (Native)

Parent Process: cups-pdf [15033]

Date/Time: 2014-10-23 18:30:20.969 +0200

OS Version: Mac OS X 10.10 (14A389)

Report Version: 8

Thread 0:

0 libsystem_kernel.dylib 0x00007fff9239937e mkdir + 10

1 libsystem_c.dylib 0x00007fff8bd3acd3 mkdtemp + 27

2 PSNormalizer 0x00000001067d5f13 doNormalizeWithMutex + 1356

3 PSNormalizer 0x00000001067d6d14 normalize + 203

4 PSNormalizer 0x00000001067d6c2e PSNormalizeFromFile + 94

5 pstopdf 0x00000001067c984e

6 libdyld.dylib 0x00007fff972ae5c9 start + 1

Thread 1:

0 libsystem_kernel.dylib 0x00007fff9239922e kevent64 + 10

1 libdispatch.dylib 0x00007fff8cf11a6a _dispatch_mgr_init + 0

Thread 2:

0 libsystem_kernel.dylib 0x00007fff92398946 __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff8f5414a1 start_wqthread + 13

Thread 3:

0 libsystem_kernel.dylib 0x00007fff92398946 __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff8f5414a1 start_wqthread + 13

Binary Images:

0x1067c8000 - 0x1067c9fff pstopdf (13) <2b2b83ec-30d9-34b3-b789-47097101630f> /usr/bin/pstopdf

0x1067d4000 - 0x1067d7fff com.apple.normalizer.privateframework (10.0 - 13) <d1667dfe-f272-3840-b747-82897f1ed590> /System/Library/PrivateFrameworks/PSNormalizer.framework/Versions/A/PSNormalize r

0x7fff8bcfb000 - 0x7fff8bd87fff libsystem_c.dylib (1044.1.2) <c185e862-7424-3210-b528-6b822577a4b8> /usr/lib/system/libsystem_c.dylib

0x7fff8cf0d000 - 0x7fff8cf37ff7 libdispatch.dylib (442.1.4) <502cf32b-669b-3709-8862-08188225e4f0> /usr/lib/system/libdispatch.dylib

0x7fff8f540000 - 0x7fff8f549fff libsystem_pthread.dylib (105.1.4) <26b1897f-0cd3-30f3-b55a-37cb45062d73> /usr/lib/system/libsystem_pthread.dylib

0x7fff92382000 - 0x7fff9239ffff libsystem_kernel.dylib (2782.1.97) <93e0e0a9-75b6-3904-bb4e-4bc7c05f4b6b> /usr/lib/system/libsystem_kernel.dylib

0x7fff972ab000 - 0x7fff972aeff7 libdyld.dylib (353.2.1) <19faf435-c165-3374-9def-d7bba7d61db6> /usr/lib/system/libdyld.dylib

There’s more to the conversation

Read all replies

Page content loaded

Oct 22, 2014 1:13 PM in response to Eugene289 In response to Eugene289

More details please. Are you saving to pdf or printing a pdf? If you are printing a pdf, what printer are you using? Are there any message in /var/log/cups/error_log in /Utilities/Console? Why do mention cups-pdf?

Oct 22, 2014 1:13 PM

Reply Helpful
Question marked as Helpful

Oct 23, 2014 9:37 AM in response to John Blanchard1 In response to John Blanchard1

Hi, I have this issue too.


It looks like a sandbox issue : In the system log, I can read, just after trying to print something, with no file created (cups-pdf is intended to create a PDF file) :


23/10/2014 18:30:20,797 sandboxd[13941]: ([15034]) sh(15034) deny file-read-data /

23/10/2014 18:30:22,400 sandboxd[13941]: ([15034]) pstopdf(15034) deny file-write-create /private/tmp/PSNormalizer.9AjHkb

(Full reports below)


I tried to uninstall and re-install several times, changed configuration (where to create the PDF files), chmod 777 folders and executables, reseted PRAM and SMC… no effect. Did not made the permission check yet.


Full report for the first line is :

sh(15034) deny file-read-data /

Process: sh [15034]

Path: /bin/sh

Load Address: 0x108af4000

Identifier: sh

Version: ??? (???)

Code Type: x86_64 (Native)

Parent Process: cups-pdf [15033]

Date/Time: 2014-10-23 18:30:20.103 +0200

OS Version: Mac OS X 10.10 (14A389)

Report Version: 8

Thread 0:

0 libsystem_kernel.dylib 0x00007fff9239800e __open_nocancel + 10

1 libsystem_c.dylib 0x00007fff8bd25076 __private_getcwd + 139

2 sh 0x0000000108b02897

3 sh 0x0000000108b3e99c

4 sh 0x0000000108b3dcf0

5 sh 0x0000000108af5782

6 libdyld.dylib 0x00007fff972ae5c9 start + 1

Binary Images:

0x108af4000 - 0x108b79fff sh (94.1.2) <4763ef88-b313-3c6e-af1d-e1dd23d0fa55> /bin/sh

0x7fff8bcfb000 - 0x7fff8bd87fff libsystem_c.dylib (1044.1.2) <c185e862-7424-3210-b528-6b822577a4b8> /usr/lib/system/libsystem_c.dylib

0x7fff92382000 - 0x7fff9239ffff libsystem_kernel.dylib (2782.1.97) <93e0e0a9-75b6-3904-bb4e-4bc7c05f4b6b> /usr/lib/system/libsystem_kernel.dylib

0x7fff972ab000 - 0x7fff972aeff7 libdyld.dylib (353.2.1) <19faf435-c165-3374-9def-d7bba7d61db6> /usr/lib/system/libdyld.dylib


And for the second line :

pstopdf(15034) deny file-write-create /private/tmp/PSNormalizer.9AjHkb

Process: pstopdf [15034]

Path: /usr/bin/pstopdf

Load Address: 0x1067c8000

Identifier: pstopdf

Version: ??? (???)

Code Type: x86_64 (Native)

Parent Process: cups-pdf [15033]

Date/Time: 2014-10-23 18:30:20.969 +0200

OS Version: Mac OS X 10.10 (14A389)

Report Version: 8

Thread 0:

0 libsystem_kernel.dylib 0x00007fff9239937e mkdir + 10

1 libsystem_c.dylib 0x00007fff8bd3acd3 mkdtemp + 27

2 PSNormalizer 0x00000001067d5f13 doNormalizeWithMutex + 1356

3 PSNormalizer 0x00000001067d6d14 normalize + 203

4 PSNormalizer 0x00000001067d6c2e PSNormalizeFromFile + 94

5 pstopdf 0x00000001067c984e

6 libdyld.dylib 0x00007fff972ae5c9 start + 1

Thread 1:

0 libsystem_kernel.dylib 0x00007fff9239922e kevent64 + 10

1 libdispatch.dylib 0x00007fff8cf11a6a _dispatch_mgr_init + 0

Thread 2:

0 libsystem_kernel.dylib 0x00007fff92398946 __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff8f5414a1 start_wqthread + 13

Thread 3:

0 libsystem_kernel.dylib 0x00007fff92398946 __workq_kernreturn + 10

1 libsystem_pthread.dylib 0x00007fff8f5414a1 start_wqthread + 13

Binary Images:

0x1067c8000 - 0x1067c9fff pstopdf (13) <2b2b83ec-30d9-34b3-b789-47097101630f> /usr/bin/pstopdf

0x1067d4000 - 0x1067d7fff com.apple.normalizer.privateframework (10.0 - 13) <d1667dfe-f272-3840-b747-82897f1ed590> /System/Library/PrivateFrameworks/PSNormalizer.framework/Versions/A/PSNormalize r

0x7fff8bcfb000 - 0x7fff8bd87fff libsystem_c.dylib (1044.1.2) <c185e862-7424-3210-b528-6b822577a4b8> /usr/lib/system/libsystem_c.dylib

0x7fff8cf0d000 - 0x7fff8cf37ff7 libdispatch.dylib (442.1.4) <502cf32b-669b-3709-8862-08188225e4f0> /usr/lib/system/libdispatch.dylib

0x7fff8f540000 - 0x7fff8f549fff libsystem_pthread.dylib (105.1.4) <26b1897f-0cd3-30f3-b55a-37cb45062d73> /usr/lib/system/libsystem_pthread.dylib

0x7fff92382000 - 0x7fff9239ffff libsystem_kernel.dylib (2782.1.97) <93e0e0a9-75b6-3904-bb4e-4bc7c05f4b6b> /usr/lib/system/libsystem_kernel.dylib

0x7fff972ab000 - 0x7fff972aeff7 libdyld.dylib (353.2.1) <19faf435-c165-3374-9def-d7bba7d61db6> /usr/lib/system/libdyld.dylib

Oct 23, 2014 9:37 AM

Reply Helpful (1)

Oct 23, 2014 12:05 PM in response to mayaahh In response to mayaahh

This cups-pdf developer needs to make sure that the cups-pdf script isn't resetting the TMPDIR environment variable, and that any temporary files it creates are using TMPDIR. This is probably a result of Yosemite security changes, and you should contact the driver manufacturer.

Hope this helps.

Oct 23, 2014 12:05 PM

Reply Helpful
User profile for user: Eugene289

Question: Has anyone had this issue with CUPS-PDF after update to Yosemite?