ID: 32514 Updated by: [EMAIL PROTECTED] Reported By: red at raven dot ch -Status: Open +Status: Feedback Bug Type: Session related Operating System: Fedora Core 3 PHP Version: 5.0.3 New Comment:
Thank you for this bug report. To properly diagnose the problem, we need a short but complete example script to be able to reproduce this bug ourselves. A proper reproducing script starts with <?php and ends with ?>, is max. 10-20 lines long and does not require any external resources such as databases, etc. If possible, make the script source available online and provide an URL to it here. Try to avoid embedding huge scripts into the report. Please try to reduce your reproduce script to reasonable size (~20 lines) or upload it somewhere and gives us the link. Also, please post _full_ backtrace instead of the last line. Previous Comments: ------------------------------------------------------------------------ [2005-03-31 11:06:39] red at raven dot ch Description: ------------ When I create a session and write some objects to it the server crashes with a segmentation fault on the next request. When searching in the bug database I found http://bugs.php.net/bug.php?id=31734 which seems to have similar behaviour on my machine. Reproduce code: --------------- This is the content of the session file: The code is a bit too complex to post here. VidaAuth|O:8:"VidaAuth":4:{s:14:"VidaAuthuser";N;s:18:"VidaAuthloggedIn";N;s:25: "VidaAuthuserEntityClass";s:4:"User";s:25:"VidaAuthuserObjectCache";O:4:"User":5 :{s:13:"*entityCore";N;s:14:"*tableScheme";O:13:"DBTableScheme":9:{s:20:"DBTable Schemetable";s:5:"users";s:21:"DBTableSchemefields";a:3:{i:0;s:8:"username";i:1; s:8:"password";i:2;s:5:"email";}s:20:"DBTableSchemetypes";a:3:{s:8:"username";s: 6:"string";s:8:"password";s:6:"string";s:5:"email";s:6:"string";}s:18:"DBTableSc hemekey";s:8:"username";s:19:"DBTableSchemenull";a:3:{s:8:"username";b:0;s:8:"pa ssword";b:0;s:5:"email";b:0;}s:29:"DBTableSchemeeffectiveTypes";a:3:{s:8:"userna me";s:7:"varchar";s:8:"password";s:7:"varchar";s:5:"email";s:7:"varchar";}s:21:" DBTableSchemelength";a:3:{s:8:"username";s:3:"255";s:8:"password";s:3:"255";s:5: "email";s:3:"255";}s:26:"DBTableSchemeforeignKeys";a:0:{}s:22:"DBTableSchemesetI nfo";a:0:{}}s:12:"*newValues";a:0:{}s:13:"*nullValues";a:0:{}s:8:"*state";i:0;}} FormManager|O:11:"FormManager":2:{s:7:"counter";i:2;s:5:"stock";a:2:{s:13:"VidaL oginForm";a:1:{i:1;O:15:"FormDataStorage":7:{s:6:"values";a:0:{}s:25:"FormDataSt orageinvalids";a:0:{}s:8:"messages";a:0:{}s:29:"FormDataStoragesystemValues";a:2 :{s:15:"controllerClass";s:11:"LoginAction";s:3:"url";O:7:"ThisURL":5:{s:11:"URL scheme";s:0:"";s:9:"URLhost";s:0:"";s:9:"URLpath";s:6:"/vita/";s:9:"URLfile";s:1 0:"index.php5";s:16:"URLqueryValues";a:0:{}}}s:23:"FormDataStorageparent";N;s:27 :"FormDataStorageidentifier";i:1;s:24:"FormDataStoragereferer";O:7:"Referer":5:{ s:11:"URLscheme";s:0:"";s:9:"URLhost";s:0:"";s:9:"URLpath";s:6:"/vita/";s:9:"URL file";s:10:"index.php5";s:16:"URLqueryValues";a:0:{}}}}s:13:"XmlModuleForm";a:1: {i:2;O:15:"FormDataStorage":7:{s:6:"values";a:0:{}s:25:"FormDataStorageinvalids" ;a:0:{}s:8:"messages";a:0:{}s:29:"FormDataStoragesystemValues";a:2:{s:15:"contro llerClass";s:15:"XmlModuleAction";s:3:"url";r:45;}s:23:"FormDataStorageparent";N ;s:27:"FormDataStorageidentifier";i:2;s:24:"FormDataStoragereferer";O:7:"Referer ":5:{s:11:"URLscheme";s:0:"";s:9:"URLhost";s:0:"";s:9:"URLpath";s:6:"/vita/";s:9 Expected result: ---------------- To load the session and create the Objects. Actual result: -------------- Program received signal SIGSEGV, Segmentation fault. [Switching to Thread -1208899904 (LWP 28088)] 0x012d7aaf in zend_do_fcall_common_helper (execute_data=0xbfe83c20, opline=0x99f46dc, op_array=0x99ef37c) at /usr/local/src/php-5.0.3/Zend/zend_execute.c:2656 2656 if (EX(function_state).function->common.fn_flags & ZEND_ACC_ABSTRACT) { ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=32514&edit=1
