[php-maint] Bug#400269: strace of "select getdate()"
Ivan Sergio Borgonovo
ivan.s.b at gmail.com
Fri Feb 2 14:21:42 CET 2007
If it can help anyway this is a strace of
what happens after a
select getdate();
go
rt_sigprocmask(SIG_BLOCK, [INT], [], 8) = 0
ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS, {B38400 opost isig -icanon
-echo ...}) = 0 ioctl(0, SNDCTL_TMR_STOP or TCSETSW, {B38400 opost
isig icanon echo ...}) = 0 ioctl(0, SNDCTL_TMR_TIMEBASE or TCGETS,
{B38400 opost isig icanon echo ...}) = 0 rt_sigprocmask(SIG_SETMASK,
[], NULL, 8) = 0 rt_sigaction(SIGINT, {0x8064ce0, [], 0},
{0x403158c0, [], 0}, 8) = 0 rt_sigaction(SIGTERM, {SIG_DFL},
{0x403158c0, [], 0}, 8) = 0 rt_sigaction(SIGQUIT, {SIG_DFL},
{0x403158c0, [], 0}, 8) = 0 rt_sigaction(SIGALRM, {SIG_DFL},
{0x403158c0, [], 0}, 8) = 0 rt_sigaction(SIGTSTP, {SIG_DFL},
{0x403158c0, [], 0}, 8) = 0 rt_sigaction(SIGTTOU, {SIG_DFL},
{0x403158c0, [], 0}, 8) = 0 rt_sigaction(SIGTTIN, {SIG_DFL},
{0x403158c0, [], 0}, 8) = 0 rt_sigaction(SIGWINCH, {0x8064ce0, [],
0}, {0x40315990, [], 0}, 8) = 0
time(NULL) = 1170418098
rt_sigprocmask(SIG_BLOCK, NULL, [], 8) = 0 rt_sigaction(SIGPIPE,
NULL, {SIG_DFL}, 8) = 0 rt_sigaction(SIGPIPE, {0x8064ce0, [PIPE],
SA_RESTART}, NULL, 8) = 0 time(NULL) =
1170418098 rt_sigaction(SIGPIPE, {SIG_IGN}, {0x8064ce0, [PIPE],
SA_RESTART}, 8) = 0 select(4, NULL, [3], NULL, NULL) = 1 (out
[3]) write(3, "\1\1\0\32\0\0\0\0select getdate();\n", 26) = 26
rt_sigaction(SIGPIPE, {0x8064ce0, [PIPE], SA_RESTART}, {SIG_IGN}, 8)
= 0 select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\4\1\0&\0@\1\0", 8) = 8
select(4, [3], NULL, NULL, NULL) = 1 (in [3])
read(3, "\240\1\0\0\241\5\0\f\0\0\0=\321\311\230\0\0P\250\331\0"...,
30) = 30 open("/etc/localtime", O_RDONLY) = 4
fstat64(4, {st_mode=S_IFREG|0644, st_size=951, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS,
-1, 0) = 0x40607000 read(4,
"TZif\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\6\0\0\0\6\0"..., 4096) =
951 close(4) = 0 munmap(0x40607000,
4096) = 0 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
+++ killed by SIGSEGV +++
--
Ivan Sergio Borgonovo
http://www.webthatworks.it
More information about the pkg-php-maint
mailing list