[Catalyst] Hangs in RenderView in "end"

kakimoto at tpg.com.au kakimoto at tpg.com.au
Thu Jul 16 00:25:57 GMT 2009


hello, t0m,

 Good morning.

1)Does using the Prefork engine work, or does it exhibit the same  behavior?

 I am sorry as I can't tell you. This is because I have not tried it yet.
 Been developing and noticed this strange problem. I m pretty stuck
halfway now with a Catalyst application that works fine sometimes on
firefox MAC Os X but works fine always on any non-firefox 3.5 on mac os X.
Good news is that the windows people running IE, Safari and FF would be
able to use the application without a problem whilst us Mac folks using
Firefox 3/3.5 will not be able to (and also hang my server) :(


2)  I have tried this on Mac OS X Leopard and Tiger  (both running
Firefox 3/3.5) . Problem comes up sometimes only. This is very sporadic
because I tried the replicate the problem at another interval and
Firefox was able to handle it.

Tried it the next hour or evening and it jams up. Then, after restarted
the catalyst application process, I use safari to perform the same tasks
and no problems are observed.

3) Here is an extract of the strace. Thank you :)


accept(5, {sa_family=AF_INET, sin_port=htons(50067),
sin_addr=inet_addr("123.243.50.59")}, [10647353952623919120]) = 6
ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff4c95dea0) = -1 EINVAL
(Invalid argument)
lseek(6, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek) 
ioctl(6, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff4c95dea0) = -1 EINVAL
(Invalid argument)
lseek(6, 0, SEEK_CUR)                   = -1 ESPIPE (Illegal seek)
fcntl(6, F_SETFD, FD_CLOEXEC)           = 0   fcntl(6, F_GETFL)        
              = 0x2 (flags O_RDWR)read(6, "GET / HTTP/1.1\r\nHost:
www.myApp"..., 65536) = 514 getpeername(6, {sa_family=AF_INET,
sin_port=htons(50067), sin_addr=inet_addr("123.243.50.59")},
[6788732235563401232]) = 0getsockname(6, {sa_family=AF_INET,
sin_port=htons(3000), sin_addr=inet_addr("125.214.64.65")},
[6788732235563401232]) = 0
open("/etc/hosts", O_RDONLY|0x80000 /* O_??? */) = 9fcntl(9, F_GETFD)  
                    = 0   
fcntl(9, F_SETFD, FD_CLOEXEC)           = 0   fstat(9,
{st_mode=S_IFREG|0644, st_size=170, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0)
= 0x2b0f67b6b000read(9, "127.0.0.1 localhost.localdomain "..., 4096) = 170 
close(9)                                = 0   munmap(0x2b0f67b6b000,
4096)            = 0   
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0rt_sigaction(SIGCHLD,
{SIG_DFL}, {SIG_IGN}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0rt_sigprocmask(SIG_BLOCK,
[CHLD], [], 8) = 0rt_sigaction(SIGCHLD, {SIG_DFL}, {SIG_DFL}, 8) =
0rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
stat("/etc/localtime", {st_mode=S_IFREG|0644, st_size=2183, ...}) =
0fcntl(6, F_GETFL)                       = 0x2 (flags O_RDWR)
fcntl(6, F_SETFL, O_RDWR|O_NONBLOCK)    = 0   alarm(10)                
              = 0   
fcntl(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=3932160,
len=65536}) = 0
alarm(0)                                = 10  fcntl(3, F_SETLKW,
{type=F_UNLCK, whence=SEEK_SET, start=3932160, len=65536}) = 0
alarm(10)                               = 0   fcntl(3, F_SETLKW,
{type=F_WRLCK, whence=SEEK_SET, start=2359296, len=65536}) = 0alarm(0) 
                              = 10  fcntl(3, F_SETLKW, {type=F_UNLCK,
whence=SEEK_SET, start=2359296, len=65536}) =
0stat("/home/kakimoto/projects/myApp/root/src/index.tt2",
{st_mode=S_IFREG|0755, st_size=248, ...}) =
0stat("/home/kakimoto/projects/myApp/root/src/config/main", 0x70fcc0) =
-1 ENOENT (No such file or
directory)stat("/home/kakimoto/projects/myApp/root/lib/config/main",
{st_mode=S_IFREG|0755, st_size=803, ...}) = 0
stat("/home/kakimoto/projects/myApp/root/src/config/col", 0x70fcc0) = -1
ENOENT (No such file or directory)
stat("/home/kakimoto/projects/myApp/root/lib/config/col",
{st_mode=S_IFREG|0755, st_size=449, ...}) = 0
stat("/home/kakimoto/projects/myApp/root/src/config/url", 0x70fcc0) = -1
ENOENT (No such file or direc
tory)
stat("/home/kakimoto/projects/myApp/root/lib/config/url",
{st_mode=S_IFREG|0755, st_size=139, ...}) = 
0
stat("/home/kakimoto/projects/myApp/root/src/menu.tt2",
{st_mode=S_IFREG|0755, st_size=502, ...}) = 0
write(8, "SELECT me.id, me.password, me.fi"..., 276) = 276
rt_sigprocmask(SIG_BLOCK, [PIPE], [], 8) = 0
sendto(7, "B\0\0\0!\0dbdpg_p18331_2\0\0\0\0\1\0\0\0\0013\0\1"..., 56, 0,
NULL, 0) = 56rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
poll([{fd=7, events=POLLIN|POLLERR, revents=POLLIN}], 1, -1) = 1
recvfrom(7,
"2\0\0\0\4T\0\0\1\320\0\20id\0\0\0cN\0\1\0\0\0\27\0\4\377"..., 16384, 0,
NULL, NULL) = 745
stat("/home/kakimoto/projects/myApp/root/src/listings/search.tt2",
{st_mode=S_IFREG|0755, st_size=1861
, ...}) = 0
open("/home/kakimoto/projects/myApp/root/src/listings/search.tt2",
O_RDONLY) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff4c95ecf0) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(9, 0, SEEK_CUR)                   = 0
fstat(9, {st_mode=S_IFREG|0755, st_size=1861, ...}) = 0
fcntl(9, F_SETFD, FD_CLOEXEC)           = 0fstat(9,
{st_mode=S_IFREG|0755, st_size=1861, ...}) = 0
read(9, "[%  USE Dumper(Indent=1) -%]\n\n[%"..., 4096) = 1861
read(9, "", 4096)                       =
0stat("/home/kakimoto/projects/myApp/root/src/listings/search.tt2",
{st_mode=S_IFREG|0755, st_size=1861
, ...}) = 0close(9)                                = 0
stat("/home/kakimoto/projects/myApp/root/src/listings/search.tt2",
{st_mode=S_IFREG|0755, st_size=1861, ...}) = 0
stat("/home/kakimoto/projects/myApp/script/../lib/Template/Plugin/Dumper.pmc",
0x7fff4c95ef90) = -1 ENOENT (No such file or directory)
stat("/home/kakimoto/projects/myApp/script/../lib/Template/Plugin/Dumper.pm",
0x7fff4c95ee60) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/perl5/5.8.9/x86_64-linux/Template/Plugin/Dumper.pmc",
0x7fff4c95ef90) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/perl5/5.8.9/x86_64-linux/Template/Plugin/Dumper.pm", 0x7fff4c95ee60)
= -1 ENOENT (No such file or directory)
stat("/usr/local/lib/perl5/5.8.9/Template/Plugin/Dumper.pmc",
0x7fff4c95ef90) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/perl5/5.8.9/Template/Plugin/Dumper.pm",
0x7fff4c95ee60) = -1 ENOENT (No such file or directory)
stat("/usr/local/lib/perl5/site_perl/5.8.9/x86_64-linux/Template/Plugin/Dumper.pmc",
0x7fff4c95ef90) =
 -1 ENOENT (No such file or directory)
stat("/usr/local/lib/perl5/site_perl/5.8.9/x86_64-linux/Template/Plugin/Dumper.pm",
{st_mode=S_IFREG|0
444, st_size=3598, ...}) = 0
open("/usr/local/lib/perl5/site_perl/5.8.9/x86_64-linux/Template/Plugin/Dumper.pm",
O_RDONLY) = 9
ioctl(9, SNDCTL_TMR_TIMEBASE or TCGETS, 0x7fff4c95ec50) = -1 ENOTTY
(Inappropriate ioctl for device)
lseek(9, 0, SEEK_CUR)                   = 0
read(9, "#==============================="..., 4096) = 3598lseek(9,
1911, SEEK_SET)                = 1911
lseek(9, 0, SEEK_CUR)                   = 1911close(9)               
stat("/home/kakimoto/projects/myApp/root/src/site/wrapper", 0x70fcc0) =
-1 ENOENT (No such file or directory)
stat("/home/kakimoto/projects/myApp/root/lib/site/wrapper",
{st_mode=S_IFREG|0755, st_size=3356, ...}) = 0
stat("/home/kakimoto/projects/myApp/root/src/ttsite.css",
{st_mode=S_IFREG|0755, st_size=10770, ...}) = 0
stat("/home/kakimoto/projects/myApp/root/src/site/header", 0x70fcc0) =
-1 ENOENT (No such file or directory)
stat("/home/kakimoto/projects/myApp/root/lib/site/header",
{st_mode=S_IFREG|0755, st_size=3245, ...}) = 0
stat("/home/kakimoto/projects/myApp/root/src/sidebar.tt2",
{st_mode=S_IFREG|0755, st_size=817, ...}) = 0
stat("/home/kakimoto/projects/myApp/root/src/site/footer", 0x70fcc0) =
-1 ENOENT (No such file or directory)
stat("/home/kakimoto/projects/myApp/root/lib/site/footer",
{st_mode=S_IFREG|0755, st_size=1003, ...}) = 0
brk(0x1d0a1000)                         = 0x1d0a1000
brk(0x1d099000)                         = 0x1d099000
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=3932160,
len=65536}) = 0
alarm(0)                                = 10
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=3932160,
len=65536}) = 0
alarm(10)                               = 0
fcntl(3, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=2359296,
len=65536}) = 0
alarm(0)                                = 10
fcntl(3, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=2359296,
len=65536}) = 0
write(6, "HTTP/1.0 200 OK\r\nConnection: clo"..., 18555) = 11520
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "splay: inline;}\r\n#footer a {colo"..., 7035) = 1440
write(6, "     <!-- menu [start] -->\n     "..., 5595) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "     <!-- menu [start] -->\n     "..., 5595) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "     <!-- menu [start] -->\n     "..., 5595) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "     <!-- menu [start] -->\n     "..., 5595) = -1 EAGAIN
(Resource temporarily unavailable)
write(6, "     <!-- menu [start] -->\n     "..., 5595) = -1 EAGAIN
(Resource temporarily unavailable)
                                                                         






On Thu, Jul 16th, 2009 at 7:08 AM, Tomas Doran <bobtfish at bobtfish.net>
wrote:

> 






More information about the Catalyst mailing list