Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

cups crashes when log options is empty #5309

Closed
psklenar opened this issue May 4, 2018 · 2 comments
Closed

cups crashes when log options is empty #5309

psklenar opened this issue May 4, 2018 · 2 comments
Assignees

Comments

@psklenar
Copy link

psklenar commented May 4, 2018

1, have a wrongly written directive for new way for logging:
#AccessLog syslog
AccessLog
^ no file after this option
2, cups cannot start, coredump

Process Core Dump (PID 21244/UID 0).
START pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=systemd-coredump@3-21244-0 comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=success'
ervice: Main process exited, code=dumped, status=11/SEGV
ervice: Failed with result 'core-dump'.
STOP pid=1 uid=0 auid=4294967295 ses=4294967295 subj=system_u:system_r:init_t:s0 msg='unit=cups comm="systemd" exe="/usr/lib/systemd/systemd" hostname=? addr=? terminal=? res=failed'
1245]: Process 21236 (cupsd) of user 0 dumped core.

   Stack trace of thread 21236:
   #0  0x000055bd6bbdd8ce cupsdLogRequest (cupsd)
   #1  0x000055bd6bbbf9a1 cupsdWriteClient (cupsd)
   #2  0x000055bd6bbe9c3b cupsdDoSelect (cupsd)
   #3  0x000055bd6bbb724b main (cupsd)
   #4  0x00007ff10863ef6a __libc_start_main (libc.so.6)
   #5  0x000055bd6bbb857a _start (cupsd)

it could say its wrongly used or something

@michaelrsweet michaelrsweet self-assigned this May 4, 2018
@michaelrsweet michaelrsweet added this to the CUPS 2.3.x milestone May 4, 2018
@michaelrsweet
Copy link
Collaborator

Confirmed.

@michaelrsweet
Copy link
Collaborator

[master 9dcb503] Fix crash when AccessLog is NULL (Issue #5309)

[branch-2.2 dfe5192] Fix crash when AccessLog is NULL (Issue #5309)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants