pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
pkg/51570: libreoffice+cups leak fds at a high rate (cupsd not running)
>Number: 51570
>Category: pkg
>Synopsis: libreoffice+cups leak fds at a high rate (cupsd not running)
>Confidential: no
>Severity: serious
>Priority: medium
>Responsible: pkg-manager
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sat Oct 22 14:15:00 +0000 2016
>Originator: coypu
>Release: pkgsrc-2016Q4, netbsd-7.99.39
>Organization:
>Environment:
NetBSD laptop.Home 7.99.39 NetBSD 7.99.39 (GENERIC) #1: Thu Oct 20 20:09:06 IDT 2016 fly%laptop.Home@localhost:/usr/src/sys/arch/amd64/compile/GENERIC amd64
>Description:
don't have anything to do with cups running in the background
run libreoffice
with cups-2.2.1 installed
watch the counter increasing:
% fstat -p `pgrep soffice` | wc -l
87
...
until the inevitable happens:
ls: tmp: Too many open files in system
(after leaving it running overnight - for one night)
from gdb:
(gdb) break connect
Breakpoint 1 at 0x7301b9c3dcf0 (2 locations)
(gdb) continue
Continuing.
[Switching to LWP 6]
Breakpoint 1, 0x00007301ba006cda in connect () from /usr/lib/libpthread.so.1
(gdb) delete 1
(gdb) continue
Continuing.
^C
Program received signal SIGINT, Interrupt.
0x00007301b9c3dada in poll () from /usr/lib/libc.so.12
(gdb) bt
#0 0x00007301b9c3dada in poll () from /usr/lib/libc.so.12
#1 0x00007301ba007153 in poll () from /usr/lib/libpthread.so.1
#2 0x00007301a7435677 in httpAddrConnect2 (addrlist=<optimized out>, sock=sock@entry=0x7301981df000, msec=msec@entry=30000,
cancel=cancel@entry=0x0) at http-addrlist.c:280
#3 0x00007301a74344de in httpReconnect2 (http=http@entry=0x7301981df000, msec=msec@entry=30000, cancel=cancel@entry=0x0)
at http.c:2413
#4 0x00007301a74579af in cupsSendRequest (http=http@entry=0x7301981df000, request=request@entry=0x730198151a20,
resource=resource@entry=0x7301a7463427 "/", length=length@entry=718) at request.c:715
#5 0x00007301a7457d2b in cupsDoIORequest (http=http@entry=0x7301981df000, request=request@entry=0x730198151a20,
resource=resource@entry=0x7301a7463427 "/", infile=infile@entry=-1, outfile=outfile@entry=-1) at request.c:211
#6 0x00007301a7458019 in cupsDoRequest (http=http@entry=0x7301981df000, request=request@entry=0x730198151a20,
resource=resource@entry=0x7301a7463427 "/") at request.c:301
#7 0x00007301a7427483 in _cupsGetDests (http=http@entry=0x7301981df000, op=op@entry=IPP_OP_CUPS_GET_PRINTERS, name=name@entry=0x0,
dests=dests@entry=0x73018dffff40, type=type@entry=0, mask=mask@entry=134217728) at dest.c:1633
#8 0x00007301a742852d in cupsGetDests2 (http=http@entry=0x7301981df000, dests=dests@entry=0x73018dffff40) at dest.c:1855
#9 0x00007301b2add975 in psp::CUPSManager::runDests (this=0x73019814b000)
at /usr/pkgsrc/misc/libreoffice/work/libreoffice-5.1.5.2/vcl/unx/generic/printer/cupsmgr.cxx:223
#10 0x00007301ba858a0b in osl_thread_start_Impl (pData=0x73019814f800)
at /usr/pkgsrc/misc/libreoffice/work/libreoffice-5.1.5.2/sal/osl/unx/thread.cxx:240
#11 0x00007301ba00b6c1 in ?? () from /usr/lib/libpthread.so.1
#12 0x00007301b9c89590 in ?? () from /usr/lib/libc.so.12
#13 0x00010102464c457f in ?? ()
#14 0x0000000000000000 in ?? ()
>How-To-Repeat:
>Fix:
Home |
Main Index |
Thread Index |
Old Index