Вот кусок strace:
Код: Выделить всё
16447 ioctl(5, SNDCTL_TMR_TIMEBASE, 0xbfffde00) = -1 ENOTTY (Inappropriate ioctl for device)
16447 _llseek(5, 0, [0], SEEK_CUR) = 0
16447 read(5, "# NOTE: Derived from blib/lib/St"..., 4096) = 703
16447 read(5, "", 4096) = 0
16447 close(5) = 0
16447 brk(0) = 0x8623000
16447 brk(0x8628000) = 0x8628000
16447 fcntl64(3, F_SETFL, O_RDWR|O_NONBLOCK) = 0
16447 read(3, 0x822db08, 8192) = -1 EAGAIN (Resource temporarily unavailable)
16447 fcntl64(3, F_SETFL, O_RDWR) = 0
16447 write(3, "\20\1\0\0\3UPDATE sh_sessions SET `dat"..., 276) = 276
16447 read(3, ",\0\0\1", 4) = 4
16447 read(3, "\0\1\0(Rows matched: 1 Changed: 1 "..., 44) = 44
16447 --- SIGSEGV (Segmentation fault) @ 0 (0) ---
15879 <... select resumed> ) = 1 (in [7])
15879 read(7, "", 8192) = 0
15879 close(7) = 0
15879 read(9, "", 4096) = 0
15879 close(9) = 0
15879 select(4, [3], NULL, NULL, {0, 0}) = 0 (Timeout)
Собственно что за беда и как лечить?