« Return to Thread: Optware cups segfaults on TS-119

Re: Optware cups segfaults on TS-119

by phild_mande :: Rate this Message:

Reply to Author | View in Thread

--- In nslu2-linux@..., "Brian Zhou" <b88zhou@...> wrote:
>
> IIRC TS-x09 should use cs05q1armel feed (not cs05q3armel), there's no cups package in cs06q3armel feed. The cups compilation option change affect all platforms with gcc4. The segfault you're having maybe a different problem.
>
> -Brian
>
Hi Brian (with the good feed ....) I do a strace of cupsd on TS-109 if you have an idea for this seg. fault ....
I just put the strace after cupsd is waiting for connection, but I can provide a full one.
Please just have a look if you see something, but don't spend more time ...

Thanks Philippe.

epoll_wait(0x3, 0x607e8, 0x400, 0x3e8)  = 0
time(NULL)                              = 1246110900
time(NULL)                              = 1246110900
time(NULL)                              = 1246110900
time(NULL)                              = 1246110900
time(NULL)                              = 1246110900
write(5, "D [27/Jun/2009:15:55:00 +0200] R"..., 49) = 49
time(NULL)                              = 1246110900
write(5, "D [27/Jun/2009:15:55:00 +0200] R"..., 46) = 46
time(NULL)                              = 1246110900
write(5, "D [27/Jun/2009:15:55:00 +0200] R"..., 53) = 53
time(NULL)                              = 1246110900
write(5, "D [27/Jun/2009:15:55:00 +0200] R"..., 50) = 50
time(NULL)                              = 1246110900
write(5, "D [27/Jun/2009:15:55:00 +0200] R"..., 59) = 59
time(NULL)                              = 1246110900
write(5, "D [27/Jun/2009:15:55:00 +0200] R"..., 67) = 67
time(NULL)                              = 1246110900
write(5, "D [27/Jun/2009:15:55:00 +0200] R"..., 67) = 67
time(NULL)                              = 1246110900
write(5, "D [27/Jun/2009:15:55:00 +0200] R"..., 67) = 67
time(NULL)                              = 1246110900
epoll_wait(0x3, 0x607e8, 0x400, 0xffffffff) = 1
time(NULL)                              = 1246110922
accept(4, {sa_family=AF_INET, sin_port=htons(35423), sin_addr=inet_addr("127.0.0.1")}, [16]) = 11
time(NULL)                              = 1246110922
write(5, "D [27/Jun/2009:15:55:22 +0200] c"..., 79) = 79
getsockname(11, {sa_family=AF_INET, sin_port=htons(631), sin_addr=inet_addr("127.0.0.1")}, [16]) = 0
setsockopt(11, SOL_TCP, TCP_NODELAY, [1], 4) = 0
fcntl64(11, F_GETFD)                    = 0
fcntl64(11, F_SETFD, FD_CLOEXEC)        = 0
epoll_ctl(0x3, 0x1, 0xb, 0xbeffa008)    = 0
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
epoll_wait(0x3, 0x607e8, 0x400, 0x3e8)  = 2
recv(11, "G", 1, MSG_PEEK)              = 1
poll([{fd=11, events=POLLIN, revents=POLLIN}], 1, 10000) = 1
recv(11, "GET /images/top-left.gif HTTP/1."..., 2048, 0) = 431
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
write(5, "D [27/Jun/2009:15:55:22 +0200] c"..., 85) = 85
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
access("/opt/share/locale/fr/cups_fr.po", F_OK) = 0
open("/opt/share/locale/fr/cups_fr.po", O_RDONLY|O_LARGEFILE) = 12
fcntl64(12, F_GETFD)                    = 0
fcntl64(12, F_SETFD, FD_CLOEXEC)        = 0
read(12, "msgid \"\\t\\t(all)\\n\"\nmsgstr \"\\t\\t"..., 4096) = 4096
read(12, "      PASS    LanguageVersion\\n\""..., 4096) = 4096
read(12, "  ShortNickName required by PPD "..., 4096) = 4096
read(12, "r than 31 chars.\\n              "..., 4096) = 4096
read(12, "PSVersion\\n                REF: "..., 4096) = 4096
read(12, "**FAIL**  Unable to open PPD fil"..., 4096) = 4096
read(12, "\231option \302\253\302\240-o\302\240\302\273.\\n\"\nmsgid \"%s"..., 4096) = 4096
read(12, " ignored!\\n\"\nmsgstr \"%s: Attenti"..., 4096) = 4096
read(12, "mat \302\253 %s \302\273.\"\nmsgid \"Cover open"..., 4096) = 4096
read(12, "\"ERROR: l\342\200\231h\303\264te \303\240 distance n\342"..., 4096) = 4096
read(12, "R: Unknown format character \\\"%c"..., 4096) = 4096
read(12, " d\342\200\231impression...\\n\"\nmsgid \"INF"..., 4096) = 4096
read(12, " )\"\nmsgid \"Job #%d cannot be res"..., 4096) = 4096
read(12, " pointer\"\nmsgstr \"Pointeur de fi"..., 4096) = 4096
read(12, "\nmsgstr \"D\303\251finir les autorisati"..., 4096) = 4096
read(12, "ble to copy Windows 2000 printer"..., 4096) = 4096
read(12, "           [-r remove-class] [-v"..., 4096) = 4096
read(12, " [ options ] nom de fichier(s)\\n"..., 4096) = 4096
read(12, "a pas r\303\251pondu avec un octet d\342\200"..., 4096) = 4096
read(12, "\302\240\302\273.\"\nmsgid \"lpadmin: Class nam"..., 4096) = 4096
read(12, "to set the device URI:\\n        "..., 4096) = 4096
brk(0xc2000)                            = 0xc2000
read(12, "gid \"lppasswd: Unable to open pa"..., 4096) = 3186
read(12, "", 4096)                      = 0
close(12)                               = 0
time(NULL)                              = 1246110922
write(5, "D [27/Jun/2009:15:55:22 +0200] c"..., 80) = 80
stat64("/opt/share/doc/cups/fr/images/top-left.gif", 0xbefefac8) = -1 ENOENT (No such file or directory)
stat64("/opt/share/doc/cups/fr/images/top-left.gif", 0xbefefac8) = -1 ENOENT (No such file or directory)
stat64("/opt/share/doc/cups/images/top-left.gif", {st_mode=S_IFREG|0644, st_size=17592186044416, ...}) = 0
open("/opt/share/doc/cups/images/top-left.gif", O_RDONLY|O_LARGEFILE) = 12
fcntl64(12, F_GETFD)                    = 0
fcntl64(12, F_SETFD, FD_CLOEXEC)        = 0
read(12, "GIF87a\17\0P\0\245\"\0\0\0\0\f\f\t\31\31\22%%\03322$>>-K"..., 4096) = 473
read(12, "", 4096)                      = 0
_llseek(12, 0, [0], SEEK_SET)           = 0
read(12, "GIF87a\17\0P\0\245\"\0\0\0\0\f\f\t\31\31\22%%\03322$>>-K"..., 4096) = 473
read(12, "", 4096)                      = 0
_llseek(12, 0, [0], SEEK_SET)           = 0
read(12, "GIF87a\17\0P\0\245\"\0\0\0\0\f\f\t\31\31\22%%\03322$>>-K"..., 4096) = 473
read(12, "", 4096)                      = 0
_llseek(12, 0, [0], SEEK_SET)           = 0
read(12, "GIF87a\17\0P\0\245\"\0\0\0\0\f\f\t\31\31\22%%\03322$>>-K"..., 4096) = 473
read(12, "", 4096)                      = 0
close(12)                               = 0
open("/opt/share/doc/cups/images/top-left.gif", O_RDONLY|O_LARGEFILE) = 12
fcntl64(12, F_GETFD)                    = 0
fcntl64(12, F_SETFD, FD_CLOEXEC)        = 0
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
time(NULL)                              = 1246110922
send(11, "HTTP/1.1 200 OK\r\nDate: Sat, 27 J"..., 236, 0) = 236
epoll_ctl(0x3, 0x3, 0xb, 0xbefefb50)    = 0
--- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++

 « Return to Thread: Optware cups segfaults on TS-119