Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:56754 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 36093 invoked from network); 4 Dec 2011 10:57:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 4 Dec 2011 10:57:24 -0000 Authentication-Results: pb1.pair.com header.from=yohgaki@gmail.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=yohgaki@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.213.42 as permitted sender) X-PHP-List-Original-Sender: yohgaki@gmail.com X-Host-Fingerprint: 209.85.213.42 mail-yw0-f42.google.com Received: from [209.85.213.42] ([209.85.213.42:52491] helo=mail-yw0-f42.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 7D/74-13454-4125BDE4 for ; Sun, 04 Dec 2011 05:57:24 -0500 Received: by ywt2 with SMTP id 2so4201336ywt.29 for ; Sun, 04 Dec 2011 02:57:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; bh=PPxYEldcTAwjERTOfDLtgzWCWTlEUfXoa1HD6vg6jZI=; b=qo7H0TcPtuvLlyRsodCK11QSVAxUX2uRX6gMfme8dHEYlAh+5E4oGQe0D2mpQU7+Pb KPkrl2Nvps8vW7ThqBjy5045JIzZ+guZVI9T6iFwxSb8/J/1NkuQI6WYmflTA67H4IUC 0ZsI8AlS3iZoJSBFDctV+bLQ3o/9DVWCn31qU= Received: by 10.236.155.36 with SMTP id i24mr6228300yhk.43.1322996242100; Sun, 04 Dec 2011 02:57:22 -0800 (PST) MIME-Version: 1.0 Sender: yohgaki@gmail.com Received: by 10.100.127.18 with HTTP; Sun, 4 Dec 2011 02:56:40 -0800 (PST) In-Reply-To: <4EDB43AA.7080105@sugarcrm.com> References: <4EBDC283.3040700@yahoo.co.jp> <4ED727FB.7030001@uw.no> <4EDA9788.5070901@sugarcrm.com> <4EDAEB9A.3050105@sugarcrm.com> <4EDB43AA.7080105@sugarcrm.com> Date: Sun, 4 Dec 2011 19:56:40 +0900 X-Google-Sender-Auth: bHYOa49HPpv7iCOXYchDk9Te2iQ Message-ID: To: Stas Malyshev Cc: "internals@lists.php.net" Content-Type: text/plain; charset=ISO-8859-1 Subject: Re: [PHP-DEV] Strict session? From: yohgaki@ohgaki.net (Yasuo Ohgaki) Hi Stats, 2011/12/4 Stas Malyshev : > Hi! > > >> Since it is just adding new separate structure to session module, but >> PHP itself checks API version number. So users cannot use the same >> binary module anyway. I should have said API, not ABI. >> >> Now it should compile with msession which uses >> PHP_MOD_SID/PS_MOD_FUNCS_SID. > > > That's the problem. All versions in 5.3.x and 5.4.x lines should be binary > compatible, means no changes that aren't binary compatible can go into 5.3 > or 5.4. Sounds fair. ===PHP 5.4-dev (php-src-5.4) compiled sqlite with PHP 5.5-dev (trunk)=== ------------------------------------------ [yohgaki@dev php-src]$ ./php -d extension=/home/yohgaki/svn/oss/php.net/pecl/sqlite/trunk/modules/sqlite.so -m [PHP Modules] sockets SPL SQLite <==== loaded standard sysvmsg sysvsem sysvshm tokenizer xml xmlreader xmlwriter zlib [Zend Modules] ------------------------------------------ It loads, but it's segfaulting for session tests. ------------------------------------------ ==24315== Process terminating with default action of signal 4 (SIGILL) ==24315== Illegal opcode at address 0x5BF56AA ==24315== at 0x5BF56AA: ??? (in /home/yohgaki/ext/svn/oss/php.net/pecl/sqlite/trunk/modules/sqlite.so) ==24315== by 0x556C26: php_session_initialize (session.c:485) ==24315== by 0x557304: php_session_start (session.c:1470) ==24315== by 0x5578E8: zif_session_start (session.c:1923) ==24315== by 0x6FF63B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:642) ==24315== by 0x6F3EDF: execute (zend_vm_execute.h:410) ==24315== by 0x68363E: zend_execute_scripts (zend.c:1272) ==24315== by 0x6276A6: php_execute_script (main.c:2414) ==24315== by 0x72DF44: do_cli (php_cli.c:983) ==24315== by 0x72E6B7: main (php_cli.c:1356) ------------------------------------------ Let's see what I can do for it. Please wait for a while. Regards, -- Yasuo Ohgaki yohgaki@ohgaki.net