[cups.bugs] [LOW] STR #1800: lprm crashes with segmentation fault
kmuto.debian
kmuto at debian.org
Fri Jun 23 22:43:45 PDT 2006
[STR New]
This bug is originally reported as Debian#375098,
lprm crashes when using the -h option.
It always crashes any hostnames (whether real or not)
except localhost.
$ lprm
lprm: No active jobs on printer! (is OK)
$ lprm -h localhost
lprm: No active jobs on printer! (is OK)
$ lprm -h myhostname.mydomain
lprm: Success
segmentation fault (core dumped)
$ lprm -h localhost2
lprm: Success
segmentation fault (core dumped)
$ gdb ./lprm
(gdb) run -h localhost2
Starting program: berkeley/lprm -h localhost2
[Thread debugging using libthread_db enabled]
[New Thread -1210898752 (LWP 9822)]
berkeley/lprm: Success
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread -1210898752 (LWP 9822)]
httpAddrFreeList (addrlist=0x6c617620) at http-addrlist.c:163
163 next = addrlist->next;
(gdb) bt
#0 httpAddrFreeList (addrlist=0x6c617620) at http-addrlist.c:163
#1 0xb7fb524c in httpClose (http=0x80810c8) at http.c:244
#2 0x0804905b in main (argc=3, argv=0xbfef7884) at lprm.c:259
Link: http://www.cups.org/str.php?L1800
Version: 1.2-current
More information about the cups
mailing list