Cups daemon dies on some time of inactivity

Juergen Schroeder js at turn.to
Tue Aug 31 04:32:40 PDT 2004


Michael Sweet <mike at easysw.com> wrote:

: You need to use the "-f" option for cupsd so that it runs in the
: foreground.

Did that, so I got the last messages in the truss output:

recvfrom(5, " 3 0 1 6   3   i p p : /".., 1540, 0, 0xFFBEADB0, 0xFFBE92AC) = 140
door_info(3, 0xFFBE7020)                        = 0
door_call(3, 0xFFBE7008)                        = 0
time()                                          = 1093869485
time()                                          = 1093869485
time()                                          = 1093869485
time()                                          = 1093869485
time()                                          = 1093869485
poll(0xFFBE91D0, 3, 1000)                       = 0
time()                                          = 1093869486
time()                                          = 1093869486
time()                                          = 1093869486
time()                                          = 1093869486
time()                                          = 1093869486
time()                                          = 1093869486
time()                                          = 1093869486
poll(0xFFBE91D0, 3, 29000)      (sleeping...)
signotifywait()                 (sleeping...)
door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
lwp_sema_wait(0xFEF0DE60)       (sleeping...)
poll(0xFFBE91D0, 3, 29000)                      = 1
recvfrom(5, " 3 0 1 6   3   i p p : /".., 1540, 0, 0xFFBEADB0, 0xFFBE92AC) = 137
door_info(3, 0xFFBE7020)                        = 0
door_call(3, 0xFFBE7008)                        = 0
time()                                          = 1093869489
time()                                          = 1093869489
time()                                          = 1093869489
time()                                          = 1093869489
time()                                          = 1093869489
time()                                          = 1093869489
time()                                          = 1093869489
time()                                          = 1093869489
poll(0xFFBE91D0, 3, 1000)                       = 0
time()                                          = 1093869490
time()                                          = 1093869490
time()                                          = 1093869490
time()                                          = 1093869490
time()                                          = 1093869490
time()                                          = 1093869490
time()                                          = 1093869490
poll(0xFFBE91D0, 3, 25000)      (sleeping...)
signotifywait()                 (sleeping...)
door_return(0x00000000, 0, 0x00000000, 0) (sleeping...)
lwp_sema_wait(0xFEF0DE60)       (sleeping...)
poll(0xFFBE91D0, 3, 25000)                      = 1
recvfrom(5, " 3 0 0 7   3   i p p : /".., 1540, 0, 0xFFBEADB0, 0xFFBE92AC) = 91
door_info(3, 0xFFBE7020)                        = 0
door_call(3, 0xFFBE7008)                        = 0
time()                                          = 1093869496
open("/etc/printcap", O_WRONLY|O_CREAT|O_TRUNC, 0644) = 8
write(8, " #   T h i s   f i l e  ".., 786)     = 786
close(8)                                        = 0
time()                                          = 1093869496
write(4, " I   [ 3 0 / A u g / 2 0".., 72)      = 72
time()                                          = 1093869496
brk(0x001969C8)                                 = 0
brk(0x001989C8)                                 = 0
brk(0x001989C8)                                 = 0
brk(0x001989C8)                                 = 0
brk(0x0019A9C8)                                 = 0
    Incurred fault #6, FLTBOUNDS  %pc = 0xFF0B3218
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
        *** process killed ***

---------
This is the time cupsd dies

$ ll /etc/cups/core /etc/cups/certs/0 /etc/printcap /tmp/cupsd.truss.7413
-r--r-----   1 root     sys            32 Aug 30 14:37 /etc/cups/certs/0
-rw-------   1 root     other     1817660 Aug 30 14:38 /etc/cups/core
-rw-r--r--   1 root     other         786 Aug 30 14:38 /etc/printcap
-rw-rw-r--   1 root     other     1545633 Aug 30 14:38 /tmp/cupsd.truss.7413

$ file core
core:           ELF 32-bit MSB core file SPARC Version 1, from 'cupsd'

Hope this helps

Juergen




More information about the cups-devel mailing list