Hello,
now lpstat also segfaults as normal user and for some reason I've not
found out yet printing does not really work anymore (often nothing is
printed); I don't know if those two are related, just mentioning in
case.

I installed cups-dbg and ran lpstat within gdb. This is the output:
helge@sneo:~$ gdb /usr/bin/lpstat
GNU gdb (GDB) 7.3-debian
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "x86_64-linux-gnu".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/lpstat...Reading symbols from 
/usr/lib/debug/usr/bin/lpstat...done.
done.
(gdb) run
Starting program: /usr/bin/lpstat
warning: no loadable sections found in added symbol-file system-supplied DSO at 
0x3634a0e3000
[Thread debugging using libthread_db enabled]

Program received signal SIGSEGV, Segmentation fault.
match_list (name=<optimized out>, list=0x4fe86c7308 "helge") at lpstat.c:600
600     lpstat.c: Datei oder Verzeichnis nicht gefunden.
        in lpstat.c
(gdb) bt full
#0  match_list (name=<optimized out>, list=0x4fe86c7308 "helge") at lpstat.c:600
        nameptr = 0x0
#1  match_list (list=<optimized out>, name=0x0) at lpstat.c:570
No locals.
#2  0x0000004fe84bb8a1 in show_jobs (dests=0x0, users=0x4fe86c7308 "helge", 
long_status=0, ranking=0, which=<optimized out>) at lpstat.c:1425
        i = <optimized out>
        request = <optimized out>
        response = 0x4fe870e1a0
        attr = 0x0
        reasons = <optimized out>
        dest = <optimized out>
        username = 0x0
        title = 0x4fe84bc48f "no title"
        message = 0x4fe8711e34 "Waiting for printer to become available."
        rank = 0
        jobid = <optimized out>
        size = 861
        jobtime = 1330544355
        jobdate = <optimized out>
        temp = 
"\001\000\000\000\000\000\000\000p\325\001W\336\003\000\000\000\004\000\000\000\000\000\000`\256\306Ic\003\000\000\000\000\000\000\000\000\000\000\060\316o\350O\000\000\000@\275\306Ic\003\000\000\310F\vJc\003\000\000\350\003\000\000\000\000\000\000\354'\226Ic\003\000\000\220\322o\350O\000\000\000\r\352\224Ic\003\000\000\220\325\001W\336\003\000\000\260\002\252Fc\003\000\000p\325\001W\336\003\000\000\347\004\252Fc\003\000\000p\325\001W\336\003\000\000,\r\252Fc\003\000\000\350~l\350O\000\000\000\001\000\000\000c\003\000\000\000\000\001\000\001",
 '\000' <repeats 89 times>
        date = '\000' <repeats 72 times>"\350, 
\003\000\000\000\000\000\000<\037\243Ic\003\000\000\350\003\000\000\000\000\000\000\001\000\000\000\000\000\000\000@\275\306Ic\003\000\000\310F\vJc\003\000\000\000\004\000\000\000\000\000\000\060\316o\350O\000\000\000\020\v\231Ic\003\000\000\200\326\001W\336\003\000\000\210\326\001W\336\003\000\000\250\377\377\377\377\377\377\377\330\326\001W\336\003\000\000\200\f\252Fc\003\000\000\300~l\350O",
 '\000' <repeats 11 times>"\350, 
\003\000\000\000\000\000\000\330\326\001W\336\003\000\000X\330\001W\336\003\000\000\001",
 '\000' <repeats 23 times>, "\005\340\312Ic\003"
        jattrs = {0x4fe84bc275 "job-id", 0x4fe84bc4b4 "job-k-octets", 
0x4fe84bc516 "job-name", 0x4fe84bc4fc "job-originating-user-name", 0x4fe84bc4d2 
"job-printer-state-message",
          0x4fe84bc4ec "job-printer-uri", 0x4fe84bc51f "job-state-reasons", 
0x4fe84bc4c1 "time-at-creation"}
#3  0x0000004fe84b8947 in main (argc=1, argv=0x3de5701d858) at lpstat.c:463
        i = <optimized out>
        status = <optimized out>
        num_dests = 0
        dests = 0x0
        long_status = <optimized out>
        ranking = <optimized out>
        which = <optimized out>
        op = <optimized out>

While lpg tells me:
FS-1020D is ready and printing
Rank    Owner   Job     File(s)                         Total Size
active  (null)  203     untitled                        881664 bytes

If there is anything else I should/could check, do not hesitate to
ask me.

Thanks!

Greetings

            Helge
-- 
      Dr. Helge Kreutzmann                     [email protected]
           Dipl.-Phys.                   http://www.helgefjell.de/debian.php
        64bit GNU powered                     gpg signed mail preferred
           Help keep free software "libre": http://www.ffii.de/

Attachment: signature.asc
Description: Digital signature

Reply via email to