Re: PHP 4.0 Bug #2765 Updated: session file empty

From: Date: Tue, 23 Nov 1999 10:51:04 +0000
Subject: Re: PHP 4.0 Bug #2765 Updated: session file empty
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-12983@lists.php.net to get a copy of this message
anyway the truss result for the cgi version (that works) is this If you know how to truss the DSO tell me how... newkid [root] /www/sites/www.bago.org> truss php4 ./b.php syscall __sysctl(0xefbfdad4,0x2,0x40010198,0xefbfdadc,0x0,0x0) returns 0 (0x0) syscall mmap(0x0,32768,0x3,0x1002,-1,0x0) returns 672120832 (0x280fc000) syscall geteuid() returns 0 (0x0) syscall getuid() returns 0 (0x0) syscall getegid() returns 0 (0x0) syscall getgid() returns 0 (0x0) syscall access(0x280fd020,0x0) errno 2 'No such file or directory' syscall access(0x28100000,0x0) errno 2 'No such file or directory' syscall access(0x280fd020,0x0) errno 2 'No such file or directory' syscall access(0x28100000,0x0) errno 2 'No such file or directory' syscall open("/var/run/ld-elf.so.hints",0,010000176530) returns 3 (0x3) syscall read(0x3,0xefbfda88,0x80) returns 128 (0x80) syscall lseek(3,0x80,0) returns 128 (0x80) syscall read(0x3,0x28101000,0x69) returns 105 (0x69) syscall close(3) returns 0 (0x0) syscall access(0x280fd020,0x0) returns 0 (0x0) syscall open("/usr/lib/libm.so.2",0,010000176530) returns 3 (0x3) syscall read(0x3,0xefbfcb08,0x1000) returns 4096 (0x1000) syscall mmap(0x0,106496,0x5,0x2,3,0x0) returns 672153600 (0x28104000) syscall mmap(0x2811b000,12288,0x3,0x12,3,0x16000) returns 672247808 (0x2811b000) syscall close(3) returns 0 (0x0) syscall access(0x28100000,0x0) errno 2 'No such file or directory' syscall access(0x28100000,0x0) errno 2 'No such file or directory' syscall access(0x28100000,0x0) errno 2 'No such file or directory' syscall access(0x28100000,0x0) errno 2 'No such file or directory' syscall access(0x280fd040,0x0) returns 0 (0x0) syscall open("/usr/lib/libcrypt.so.2",0,010000176530) returns 3 (0x3) syscall read(0x3,0xefbfcb08,0x1000) returns 4096 (0x1000) syscall mmap(0x0,86016,0x5,0x2,3,0x0) returns 672260096 (0x2811e000) syscall mmap(0x28121000,4096,0x3,0x12,3,0x2000) returns 672272384 (0x28121000) syscall mmap(0x28122000,69632,0x3,0x1012,-1,0x0) returns 672276480 (0x28122000) syscall close(3) returns 0 (0x0) syscall access(0x280fd060,0x0) returns 0 (0x0) syscall open("/usr/local/lib/libttf.so.2",0,010000176530) returns 3 (0x3) syscall read(0x3,0xefbfcb08,0x1000) returns 4096 (0x1000) syscall mmap(0x0,77824,0x5,0x2,3,0x0) returns 672346112 (0x28133000) syscall mmap(0x28145000,4096,0x3,0x12,3,0x11000) returns 672419840 (0x28145000) syscall close(3) returns 0 (0x0) syscall access(0x28100000,0x0) errno 2 'No such file or directory' syscall access(0x28100000,0x0) returns 0 (0x0) syscall open("/usr/local/lib/mysql/libmysqlclient.so.6",0,010000176530) returns 3 (0x3) syscall read(0x3,0xefbfcb08,0x1000) returns 4096 (0x1000) syscall mmap(0x0,69632,0x5,0x2,3,0x0) returns 672423936 (0x28146000) syscall mmap(0x28155000,8192,0x3,0x12,3,0xe000) returns 672485376 (0x28155000) syscall close(3) returns 0 (0x0) syscall access(0x280fd080,0x0) errno 2 'No such file or directory' syscall access(0x28100040,0x0) errno 2 'No such file or directory' syscall access(0x280fd080,0x0) errno 2 'No such file or directory' syscall access(0x28100040,0x0) errno 2 'No such file or directory' syscall access(0x280fd080,0x0) returns 0 (0x0) syscall open("/usr/lib/libc.so.3",0,010000176530) returns 3 (0x3) syscall read(0x3,0xefbfcb08,0x1000) returns 4096 (0x1000) syscall mmap(0x0,524288,0x5,0x2,3,0x0) returns 672493568 (0x28157000) syscall mmap(0x281c3000,20480,0x3,0x12,3,0x6b000) returns 672935936 (0x281c3000) syscall mmap(0x281c8000,61440,0x3,0x1012,-1,0x0) returns 672956416 (0x281c8000) syscall close(3) returns 0 (0x0) syscall access(0x280fd0a0,0x0) returns 0 (0x0) syscall access(0x280fd0a0,0x0) returns 0 (0x0) syscall access(0x280fd0a0,0x0) returns 0 (0x0) syscall sigprocmask(0x1,0x0) returns 0 (0x0) syscall readlink("/etc/malloc.conf",0xefbfda80,63) errno 2 'No such file or directory' syscall mmap(0x0,4096,0x3,0x1002,-1,0x0) returns 673017856 (0x281d7000) syscall break(0x8146000) returns 0 (0x0) syscall break(0x8147000) returns 0 (0x0) syscall break(0x8148000) returns 0 (0x0) syscall break(0x8149000) returns 0 (0x0) syscall break(0x814a000) returns 0 (0x0) syscall break(0x814b000) returns 0 (0x0) syscall open("/usr/share/locale/it_IT.ISO_8859-1/LC_CTYPE",0,0666) returns 3 (0x3) syscall fstat(3,0xefbfd63c) returns 0 (0x0) syscall break(0x814c000) returns 0 (0x0) syscall fstat(3,0xefbfd4d4) returns 0 (0x0) syscall break(0x814e000) returns 0 (0x0) syscall lseek(3,0x0,1) returns 0 (0x0) syscall lseek(3,0x0,0) returns 0 (0x0) syscall read(0x3,0x814c000,0x2000) returns 3196 (0xc7c) syscall close(3) returns 0 (0x0) syscall madvise(0x814c000,0x2000,0x5) returns 0 (0x0) syscall open("./php.ini",0,0666) errno 2 'No such file or directory' syscall open("/php.ini",0,0666) errno 2 'No such file or directory' syscall open("/usr/local/etc//php.ini",0,0666) returns 3 (0x3) syscall break(0x8153000) returns 0 (0x0) syscall ioctl(3,TIOCGETA,0xefbfcedc) errno 25 'Inappropriate ioctl for device' syscall fstat(3,0xefbfce58) returns 0 (0x0) syscall read(0x3,0x814c000,0x2000) returns 8192 (0x2000) syscall break(0x8154000) returns 0 (0x0) syscall read(0x3,0x814c000,0x2000) returns 5697 (0x1641) syscall read(0x3,0x814c000,0x2000) returns 0 (0x0) syscall ioctl(3,TIOCGETA,0xefbfced0) errno 25 'Inappropriate ioctl for device' syscall close(3) returns 0 (0x0) syscall madvise(0x814c000,0x2000,0x5) returns 0 (0x0) syscall setitimer(0x2,0xefbfdab4,0x0) returns 0 (0x0) syscall sigaction(0x1b,0xefbfda8c,0xefbfda80) returns 0 (0x0) syscall setitimer(0x2,0xefbfdab4,0x0) returns 0 (0x0) syscall sigaction(0x1b,0xefbfda8c,0xefbfda80) returns 0 (0x0) syscall break(0x8155000) returns 0 (0x0) syscall break(0x8156000) returns 0 (0x0) syscall break(0x8157000) returns 0 (0x0) syscall getpid() returns 28104 (0x6dc8) syscall break(0x8158000) returns 0 (0x0) syscall break(0x8159000) returns 0 (0x0) syscall break(0x815a000) returns 0 (0x0) syscall break(0x815b000) returns 0 (0x0) syscall break(0x815c000) returns 0 (0x0) syscall break(0x815d000) returns 0 (0x0) syscall madvise(0x8158000,0x1000,0x5) returns 0 (0x0) syscall break(0x815e000) returns 0 (0x0) syscall break(0x815f000) returns 0 (0x0) syscall break(0x8160000) returns 0 (0x0) syscall open("/etc/services",0,0666) returns 3 (0x3) syscall fstat(3,0xefbfd990) returns 0 (0x0) syscall break(0x8162000) returns 0 (0x0) syscall read(0x3,0x8160000,0x2000) returns 8192 (0x2000) syscall read(0x3,0x8160000,0x2000) returns 8192 (0x2000) syscall read(0x3,0x8160000,0x2000) returns 8192 (0x2000) syscall read(0x3,0x8160000,0x2000) returns 8192 (0x2000) syscall read(0x3,0x8160000,0x2000) returns 8192 (0x2000) syscall read(0x3,0x8160000,0x2000) returns 8192 (0x2000) syscall read(0x3,0x8160000,0x2000) returns 8192 (0x2000) syscall read(0x3,0x8160000,0x2000) returns 8192 (0x2000) syscall read(0x3,0x8160000,0x2000) returns 6000 (0x1770) syscall read(0x3,0x8160000,0x2000) returns 0 (0x0) syscall close(3) returns 0 (0x0) syscall madvise(0x8160000,0x2000,0x5) returns 0 (0x0) syscall break(0x8163000) returns 0 (0x0) syscall open("./b.php",0,0666) returns 3 (0x3) syscall fstat(3,0xefbfdae0) returns 0 (0x0) syscall chdir(0x8161068) returns 0 (0x0) syscall fstat(3,0xefbfda74) returns 0 (0x0) syscall break(0x8165000) returns 0 (0x0) syscall read(0x3,0x8163000,0x2000) returns 105 (0x69) syscall lseek(3,0x0,1) returns 105 (0x69) syscall sigprocmask(0x1,0x0) returns 0 (0x0) syscall break(0x8167000) returns 0 (0x0) syscall break(0x816c000) returns 0 (0x0) syscall ioctl(3,TIOCGETA,0xefbfda3c) errno 25 'Inappropriate ioctl for device' syscall read(0x3,0x8163000,0x2000) returns 0 (0x0) syscall ioctl(3,TIOCGETA,0xefbfcaa4) errno 25 'Inappropriate ioctl for device' syscall close(3) returns 0 (0x0) syscall madvise(0x8163000,0x2000,0x5) returns 0 (0x0) syscall madvise(0x8167000,0x5000,0x5) returns 0 (0x0) syscall gettimeofday(0xefbfd618,0x0) returns 0 (0x0) syscall open("/tmp/sess_dd7de29da736d9c9a0a60fe5749b483c",2050,01005471450) errno 2 'No such file or directory' syscall open("/tmp/sess_dd7de29da736d9c9a0a60fe5749b483c",2562,0600) returns 3 (0x3) syscall fstat(3,0xefbfd70c) returns 0 (0x0) syscall lseek(3,0x0,0) returns 0 (0x0) syscall read(0x3,0x8164828,0x0) returns 0 (0x0) syscall gettimeofday(0xefbfd780,0x0) returns 0 (0x0) syscall fstat(1,0xefbfd614) returns 0 (0x0) syscall break(0x817c000) returns 0 (0x0) syscall ioctl(1,TIOCGETA,0xefbfd650) returns 0 (0x0) Content-Type: text/html syscall write(1,0x816c000,25) returns 25 (0x19) Set-cookie: PHPSESSID=dd7de29da736d9c9a0a60fe5749b483c syscall write(1,0x816c000,56) returns 56 (0x38) syscall write(1,0x816c000,2) returns 2 (0x2) syscall ftruncate(0x3,0x0,0x0,0x0) returns 0 (0x0) syscall lseek(3,0x0,0) returns 0 (0x0) syscall write(3,0x81648e8,6) returns 6 (0x6) syscall close(3) returns 0 (0x0) syscall madvise(0x8162000,0x1000,0x5) returns 0 (0x0) syscall madvise(0x8165000,0x2000,0x5) returns 0 (0x0) syscall sigaction(0xb,0xefbfdb04,0xefbfdaf8) returns 0 (0x0) syscall setitimer(0x2,0xefbfdb14,0x0) returns 0 (0x0) 3syscall write(1,0x816c000,1) returns 1 (0x1) syscall madvise(0x815b000,0x1000,0x5) returns 0 (0x0) syscall madvise(0x815d000,0x1000,0x5) returns 0 (0x0) syscall madvise(0x814a000,0x1000,0x5) returns 0 (0x0) syscall madvise(0x815c000,0x1000,0x5) returns 0 (0x0) syscall madvise(0x8153000,0x1000,0x5) returns 0 (0x0) syscall madvise(0x814c000,0x1000,0x5) returns 0 (0x0) syscall madvise(0x8149000,0x1000,0x5) returns 0 (0x0) syscall madvise(0x8167000,0x1000,0x5) returns 0 (0x0) syscall madvise(0x8164000,0x1000,0x5) returns 0 (0x0) syscall madvise(0x8163000,0x1000,0x5) returns 0 (0x0) syscall madvise(0x8161000,0x1000,0x5) returns 0 (0x0) syscall exit(0x0) process exit, rval = 0 - Stefano Bagnara (Data Sail S.r.l.) ----- Original Message ----- From: "Bug Database" <php-dev@lists.php.net> To: <bago@datasail.net> Sent: Tuesday, November 23, 1999 10:42 AM Subject: PHP 4.0 Bug #2765 Updated: session file empty > ID: 2765 > Updated by: sas > Reported By: bago@datasail.net > Status: Analyzed > Bug Type: Misbehaving function > Assigned To: > Comments: > > Can you send me a truss of that process? > > Full Bug description available at: > http://bugs.php.net/version4/?id=2765 > >

« previous php.dev (#12983) next »