Aaron J Albright wrote:
What distro are you using? What's the exact command you are running? In a terminal window run "tail -f /var/log/messages" and then try running the command and post the output from /var/log/messages.

Aaron

Andy Howell wrote:
Hello,

    I installed 0.9.11 and applied patch 2. When I run

hp-setup host


I get a core dump. Not sure how to debug python. strace gives this:

30147 fstat(6, {st_mode=S_IFREG|0644, st_size=2736, ...}) = 0
30147 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x2a9993e000
30147 read(6, "iso-8859-1\nOK\nCancel\nHelp\nQuit\nC"..., 4096) = 2736
30147 read(6, "", 4096)                 = 0
30147 close(6)                          = 0
30147 munmap(0x2a9993e000, 4096)        = 0
30147 sendto(5, "POST / HTTP/1.1\r\n", 17, 0, NULL, 0) = 17
30147 sendto(5, "Content-Length: 236\r\n", 21, 0, NULL, 0) = 21
30147 sendto(5, "Content-Type: application/ipp\r\n", 31, 0, NULL, 0) = 31
30147 sendto(5, "Host: localhost\r\n", 17, 0, NULL, 0) = 17
30147 sendto(5, "\r\n", 2, 0, NULL, 0)  = 2
30147 sendto(5, "[EMAIL PROTECTED]", 8, 0, NULL, 0) = 8
30147 sendto(5, "\1G\0\22attributes-charset\0\5utf-8", 29, 0, NULL, 0) = 29 30147 sendto(5, "H\0\33attributes-natural-language\0\5"..., 37, 0, NULL, 0) = 37 30147 sendto(5, "D\0\24requested-attributes\0\fprinter"..., 161, 0, NULL, 0) = 161
30147 sendto(5, "\3", 1, 0, NULL, 0)    = 1
30147 recvfrom(5, "HTTP/1.1 200 OK\r\nDate: Wed, 24 M"..., 2048, 0, NULL, NULL) = 424 30147 recvfrom(5, "!\0\22printer-state-time\0\4\0\0\0\0001\0\24pr"..., 89, 0, NULL, NULL) = 89
30147 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
30147 +++ killed by SIGSEGV (core dumped) +++


It looks like its requesting something from the printer and then chokes on the reply.

Any ideas?

Thanks,

    Andy


Just wanted to point out that the protocol in use here is IPP, which is only used indirectly by HPLIP.

Could you please run hp-setup in debug mode? (hp-setup -g)

Thanks,

Don



-------------------------------------------------------
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
_______________________________________________
HPLIP-Help mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/hplip-help

Reply via email to