Bug #67694 [Csd]: Regression in session_regenerate_id()

From: Date: Mon, 01 Sep 2014 07:33:17 +0000
Subject: Bug #67694 [Csd]: Regression in session_regenerate_id()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-187362@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67694&edit=1

 ID:                 67694
 Updated by:         yohgaki@php.net
 Reported by:        atze at fem dot tu-ilmenau dot de
 Summary:            Regression in session_regenerate_id()
 Status:             Closed
 Type:               Bug
 Package:            Session related
 Operating System:   GNU/Linux i386
 PHP Version:        5.6.0RC2
 Assigned To:        yohgaki
 Block user comment: N
 Private report:     N

 New Comment:

I didn't notice the notification mails, sorry.
If there is any leftover, please let me know.


Previous Comments:
------------------------------------------------------------------------
[2014-08-27 03:17:46] tyrael@php.net

Automatic comment on behalf of datibbaw
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e60d39581a8fb7e0d8cabd5c2d44d35e01d2969c
Log: Fixed #67694: Regression in session_regenerate_id()

------------------------------------------------------------------------
[2014-08-24 16:09:44] atze at fem dot tu-ilmenau dot de

Oh never mind, I also screwed up :)

------------------------------------------------------------------------
[2014-08-24 16:03:01] atze at fem dot tu-ilmenau dot de

This is the backtrace... can anyone reproduce this?

Program received signal SIGSEGV, Segmentation fault.
php_sprintf (s=0x8771af7 "%s|%s", format=0xb74c9830
"1crisadvoi8p7pv7r833mn2qr3") at /usr/src/php/php5-5.6.0RC4/main/php_sprintf.c:37
37        s[0] = '\0';
(gdb) bt
#0  php_sprintf (s=0x8771af7 "%s|%s", format=0xb74c9830
"1crisadvoi8p7pv7r833mn2qr3") at /usr/src/php/php5-5.6.0RC4/main/php_sprintf.c:37
#1  0x081bfebf in php_session_initialize () at /usr/src/php/php5-5.6.0RC4/ext/session/session.c:522
#2  0x081c0730 in php_session_start () at /usr/src/php/php5-5.6.0RC4/ext/session/session.c:1618
#3  0x081c1619 in zif_session_start (ht=0, return_value=0xb74c948c, return_value_ptr=0xb74ae088,
this_ptr=0x0, return_value_used=0)
    at /usr/src/php/php5-5.6.0RC4/ext/session/session.c:2098
#4  0x083decb0 in execute_internal (execute_data_ptr=0xb74ae094, fci=0x0, return_value_used=0) at
/usr/src/php/php5-5.6.0RC4/Zend/zend_execute.c:1512

------------------------------------------------------------------------
[2014-08-24 11:08:46] atze at fem dot tu-ilmenau dot de

short testing yields this :(

[pid 11627] open("/var/lib/php5/sess_0q1md3dakrcv8g2cu083ef6835",
O_RDWR|O_CREAT|O_LARGEFILE|O_NOFOLLOW, 0600) = 6
[pid 11627] fstat64(6, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
[pid 11627] getuid32()                  = 33
[pid 11627] flock(6, LOCK_EX)           = 0
[pid 11627] fcntl64(6, F_SETFD, FD_CLOEXEC) = 0
[pid 11627] fstat64(6, {st_mode=S_IFREG|0600, st_size=0, ...}) = 0
[pid 11627] --- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_ACCERR, si_addr=0x8771af7} ---


But maybe I broke the build. Will test again, but that will take 2 days.

------------------------------------------------------------------------
[2014-08-23 14:22:33] tyrael@php.net

duh, dattibaw already fixed it, should have refreshed my browser since commenting yesterday. :/

------------------------------------------------------------------------


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

    https://bugs.php.net/bug.php?id=67694


--
Edit this bug report at https://bugs.php.net/bug.php?id=67694&edit=1


Thread (13 messages)

« previous php.bugs (#187362) next »