[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#315529: marked as done (cupsys: infinite loop in hpgltops)



Your message dated Sun, 15 Jul 2007 23:03:20 +0900
with message-id <20070715140304.99BA11A77CD@mail.topstudio.co.jp>
and subject line [Pkg-cups-devel] Bug#315529: still reproducible in etch
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: cupsys
Version: 1.1.23-10
Severity: normal

Steps to reproduce:
1. perl -e 'exec { "/usr/lib/cups/filter/hpgltops" } "a","148","b","c","1","","d00141-001";'

The testcase is available at http://iki.fi/lindi/d00141-001 -- how should I attach it to the bug report?

Expected results:
1. hpgltops should either print error message or proper postscript.

Actual results:
1. hpgltops loops infinitely.

Backtrace:
(gdb) attach 10802
Attaching to program: /home/lindi/debian/debian-cupsys/cupsys-1.1.23/filter/hpgltops, process 10802
Reading symbols from /usr/lib/libcups.so.2...done.
Loaded symbols for /usr/lib/libcups.so.2
Reading symbols from /lib/libnsl.so.1...done.
Loaded symbols for /lib/libnsl.so.1
Reading symbols from /lib/libcrypt.so.1...done.
Loaded symbols for /lib/libcrypt.so.1
Reading symbols from /lib/libm.so.6...done.
Loaded symbols for /lib/libm.so.6
Reading symbols from /lib/libc.so.6...done.
Loaded symbols for /lib/libc.so.6
Reading symbols from /usr/lib/libgnutls.so.11...done.
Loaded symbols for /usr/lib/libgnutls.so.11
Reading symbols from /lib/ld-linux.so.2...done.
Loaded symbols for /lib/ld-linux.so.2
Reading symbols from /usr/lib/libtasn1.so.2...done.
Loaded symbols for /usr/lib/libtasn1.so.2
Reading symbols from /usr/lib/libgcrypt.so.11...done.
Loaded symbols for /usr/lib/libgcrypt.so.11
Reading symbols from /usr/lib/libgpg-error.so.0...done.
Loaded symbols for /usr/lib/libgpg-error.so.0
Reading symbols from /usr/lib/libz.so.1...done.
Loaded symbols for /usr/lib/libz.so.1
0x40175d98 in read () from /lib/libc.so.6
(gdb) bt
#0  0x40175d98 in read () from /lib/libc.so.6
#1  0x401db880 in ?? () from /lib/libc.so.6
#2  0x401173cb in _IO_file_read () from /lib/libc.so.6
#3  0x4011616b in _IO_file_underflow () from /lib/libc.so.6
#4  0x4011849d in _IO_default_uflow () from /lib/libc.so.6
#5  0x401182ce in __uflow () from /lib/libc.so.6
#6  0x40112a88 in getc () from /lib/libc.so.6
#7  0x0804e009 in ParseCommand (fp=0x80789c0, name=0xbffffa58 "pe", params=0xbffffa64) at hpgl-input.c:169
#8  0x0804bdbf in main (argc=7, argv=0xbffffad4) at hpgl-main.c:227
(gdb) frame 7
#7  0x0804e009 in ParseCommand (fp=0x80789c0, name=0xbffffa58 "pe", params=0xbffffa64) at hpgl-input.c:169
169         while ((ch = getc(fp)) != ';')
(gdb) l
164         }
165       }
166       else if (strcasecmp(name, "PE") == 0)
167       {
168         bufptr = buf;
169         while ((ch = getc(fp)) != ';')
170           if (bufptr < (buf + sizeof(buf) - 1))
171             *bufptr++ = ch;
172         *bufptr = '\0';
173


-- System Information
Debian Release: 3.1
Architecture: i386
Kernel: Linux phoenix 2.4.29met2 #1 SMP Fri Jan 21 08:46:57 UTC 2005 i686 GNU/Linux
Locale: LANG=C, LC_CTYPE=fi_FI



--- End Message ---
--- Begin Message ---
Version: 1.2.12-1
thanks

At Sun, 15 Jul 2007 13:51:36 +0300,
Timo Lindfors wrote:
> just tested, the bug is still reproducible in etch.

It seems like:
http://www.cups.org/str.php?L2423

Upstream and Debian fixed it in 1.2.12.

Thanks,
-- 
Kenshi Muto
kmuto@debian.org

--- End Message ---

Reply to: