ID: 34435
Updated by: [EMAIL PROTECTED]
Reported By: voxus at mail dot ru
Status: Feedback
Bug Type: Reproducible crash
Operating System: Gentoo Linux
PHP Version: 5.0.5
New Comment:
Thanks.
Is it possible to get an account with minimal privileges at this
server?
Previous Comments:
------------------------------------------------------------------------
[2005-09-09 10:52:59] m at aptual dot fi
I'm guessing you meant p class_name:
(gdb) p buf
$3 = (smart_str *) 0x7fbfffce40
(gdb) p class_name
$4 = 0x7eede8 ""
(gdb) p name_len
$5 = 545460846595
------------------------------------------------------------------------
[2005-09-09 10:48:07] [EMAIL PROTECTED]
..and now please
gdb> p buf
gdb> p classname
gdb> p name_len
?
------------------------------------------------------------------------
[2005-09-09 10:42:51] m at aptual dot fi
(gdb) f 1
#1 0x00000000004ee11a in php_var_serialize_class_name
(buf=0x7fbfffce40, struc=0x7f00000013)
at /usr/src/php-5.0.5/ext/standard/var.c:519
519 smart_str_appendl(buf, class_name, name_len);
------------------------------------------------------------------------
[2005-09-09 10:33:57] [EMAIL PROTECTED]
That's much better.
And could you plz do:
gdb> f1
after "bt" to see what exactly happens there?
------------------------------------------------------------------------
[2005-09-09 10:23:16] m at aptual dot fi
I'm not sure if this was directed at me, but here's my 2 eurocents
anyway (using the same script):
My GDB output:
http://m.bytech.fi/dev/php505gdb.txt
And with Valgrind:
http://m.bytech.fi/dev/php505valgrind.txt
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/34435
--
Edit this bug report at http://bugs.php.net/?id=34435&edit=1