[cups.bugs] [HIGH] STR #2307: cups 1.2.10 lprm core dumped

Alex Deiter tiamat at komi.mts.ru
Thu Mar 22 07:29:07 PDT 2007


DO NOT REPLY TO THIS MESSAGE.  INSTEAD, POST ANY RESPONSES TO THE LINK BELOW.

[STR New]

Solaris 9 sparc64, gcc 4.1.2.

cups 1.2.10 core dump on make check:

Creating directories for test...
Creating cupsd.conf for test...
Creating printers.conf for test...
Setting up environment variables for test...
Starting scheduler:
     ../scheduler/cupsd -c /tmp/cups-unknown/cupsd.conf -f
>/tmp/cups-unknown/log/debug_log 2>&1 &

Scheduler is PID 3185.

Running IPP compliance tests...
Performing 4.1-requests.test...
Performing 4.2-cups-printer-ops.test...
Test failed.
Performing 4.3-job-ops.test...
Test failed.
Performing 4.4-subscription-ops.test...
Test failed.

Running command tests...
Performing 5.1-lpadmin.sh...
Performing 5.2-lpc.sh...
Performing 5.3-lpq.sh...
Test failed.
Performing 5.4-lpstat.sh...
Performing 5.5-lp.sh...
Test failed.
Performing 5.6-lpr.sh...
Test failed.
Performing 5.7-lprm.sh...
Segmentation Fault - core dumped
Test failed.
Performing 5.8-cancel.sh...
Test failed.
Performing 5.9-lpinfo.sh...
cat: cannot open /tmp/cups-unknown/log/page_log

$ gdb cups-1.2.10/berkeley/lprm core
....
(gdb) bt
#0  0x7fffffff7e93d28c in strlen () from /usr/lib/64/libc.so.1
#1  0x7fffffff7e990308 in _doprnt () from /usr/lib/64/libc.so.1
#2  0x7fffffff7e9924c4 in vsnprintf () from /usr/lib/64/libc.so.1
#3  0x7fffffff7fa3129c in _cupsLangPrintf (fp=0x7fffffff7eabf688,
    message=0x100001f58 "%s: %s\n") at langprintf.c:75
#4  0x0000000100001cf8 in main (argc=1, argv=0xffffffff7ffff718) at
lprm.c:283

(gdb) p message
$1 = 0x100001f58 "%s: %s\n"
(gdb) p buffer
$2 = "../berkeley/lprm:
D▒▒▒▒▒\177▒▒\200\000\000\000\000\000\000\000@\177▒▒▒~▒\n�
�\177▒▒▒~\221p\v\000\000\000\001\000\000\000\000\000\000\000\001\000\020j�
��\000\000\000\001\000\020k", '\0' <repeats 89 times>,
"▒▒▒▒\000\000\000\000▒▒▒▒\177▒▒▒\177▒▒▒}▒\f",
'\0' <repeats 12 times>, "\002\000\000\000\006", '\0' <repeats 27 times>,
"\001\000\020j▒\177▒▒▒\177▒P\000\000\000\000\000\177▒P\000▒▒▒�
��\177▒▒\230▒▒▒▒\177▒▒T", '\0' <repeats 72 times>,
"\177▒▒▒\000\000\000\000▒▒▒▒\177▒▒1\177▒▒▒"...

P.S. cups-1.2.9 work fine for me

Thanks!

Link: http://www.cups.org/str.php?L2307
Version: 1.2.8
Attachment: http://www.cups.org/strfiles/2307/cups-str-1.2-2007-03-22-devel.html





More information about the cups mailing list