ID: 20284 User updated by: [EMAIL PROTECTED] Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Session related Operating System: Linux (RH-7.3) PHP Version: 4.3.0-dev New Comment:
s/reconstruct/reproduce/ :) Previous Comments: ------------------------------------------------------------------------ [2002-11-12 12:52:18] [EMAIL PROTECTED] --- Use this Script to reconstruct this error: <?php ini_set('session.save_handler', 'user'); ?> --- ------------------------------------------------------------------------ [2002-11-07 17:33:07] [EMAIL PROTECTED] Please add a short but complete example script which we can use to reproduce this. ------------------------------------------------------------------------ [2002-11-06 13:22:03] [EMAIL PROTECTED] Just installed cvs version 200211030600 .. doesn't work either. ------------------------------------------------------------------------ [2002-11-06 10:30:29] [EMAIL PROTECTED] Please try using this CVS snapshot: http://snaps.php.net/php4-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-latest.zip I believe this bug may have been solved in the CVS. ------------------------------------------------------------------------ [2002-11-06 10:21:39] [EMAIL PROTECTED] when executing "ini_set('session.save_handler', 'user') which is in my case done by postnuke-0.7.2.1 (default- installation) apache's errorlog says: [Wed Nov 6 16:49:17 2002] [notice] child pid 16682 exit signal Segmentation fault (11) configure line of php: ------------------------ ./configure' '--prefix=/usr/devel' '--libexecdir=/usr/devel/usr/lib/apache' '--sysconfdir=/usr/devel/etc/httpd/conf' '--libdir=/usr/devel/lib' '--with-apxs=/usr/devel/bin/apxs' '--enable-sigchild' '--enable-magic-quotes' '--enable-libgcc' '--with-openssl' '--with-curl' '--enable-ftp' '--with-mysql' '--with-kerberos' '--enable-shared' '--enable-static' '--enable-fast-install' '--enable-debug' '--with-gnu-ld' '--with-config-file-path=/usr/devel/etc/httpd/conf/php_devel' gdb backtrace: --------------- Program received signal SIGSEGV, Segmentation fault. 0x40311854 in call_user_function_ex (function_table=0x80fb4e0, object_pp=0x0, function_name=0x11, retval_ptr_ptr=0xbfffd0fc, param_count=2, params=0x83f22b4, no_separation=1, symbol_table=0x0) at zend_execute_API.c:400 400 if (function_name->type==IS_ARRAY) { /* assume array($obj, $name) couple */ (gdb) bt #0 0x40311854 in call_user_function_ex (function_table=0x80fb4e0, object_pp=0x0, function_name=0x11, retval_ptr_ptr=0xbfffd0fc, param_count=2, params=0x83f22b4, no_separation=1, symbol_table=0x0) at zend_execute_API.c:400 #1 0x40311770 in call_user_function (function_table=0x80fb4e0, object_pp=0x0, function_name=0x11, retval_ptr=0x845e324, param_count=2, params=0xbfffd188) at zend_execute_API.c:373 #2 0x4037d859 in ps_call_handler (func=0x11, argc=2, argv=0xbfffd188) at mod_user.c:60 #3 0x4037dd9f in ps_write_user (mod_data=0x4044bf10, key=0x8163f3c "acee6bd11bac2f5f40f65396b0985536", val=0x849b914 "PNSVrand|i:1388284347;PNSVlang|s:3:\"eng\";", vallen=41) at mod_user.c:148 #4 0x40379d85 in php_session_save_current_state () at session.c:589 #5 0x4037cb20 in php_session_flush () at session.c:1457 #6 0x4037cb3f in zif_session_write_close (ht=0, return_value=0x83cad3c, this_ptr=0x0, return_value_used=0) at session.c:1466 #7 0x4030ba59 in execute (op_array=0x8166d9c) at ./zend_execute.c:1598 #8 0x4031c760 in zend_execute_scripts (type=8, retval=0x0, file_count=3) at zend.c:812 #9 0x4032f08e in php_execute_script (primary_file=0xbffff680) at main.c:1383 #10 0x40329a3e in apache_php_module_main (r=0x80de734, display_source_mode=0) at sapi_apache.c:90 #11 0x4032a8ac in send_php (r=0x80de734, display_source_mode=0, filename=0x80deebc "/websites/www.handybo.de/web/index.php") at mod_php4.c:575 #12 0x4032a919 in send_parsed_php (r=0x80de734) at mod_php4.c:590 #13 0x0806290f in ap_invoke_handler () at eval.c:41 #14 0x080778f7 in process_request_internal () at eval.c:41 #15 0x08077d1f in ap_internal_redirect () at eval.c:41 #16 0x0805a200 in handle_dir () at eval.c:41 #17 0x0806290f in ap_invoke_handler () at eval.c:41 #18 0x080778f7 in process_request_internal () at eval.c:41 #19 0x08077958 in ap_process_request () at eval.c:41 #20 0x0806e735 in child_main () at eval.c:41 #21 0x0806e8e0 in make_child () at eval.c:41 #22 0x0806ea54 in startup_children () at eval.c:41 #23 0x0806f0d0 in standalone_main () at eval.c:41 #24 0x0806f93f in main () at eval.c:41 #25 0x40164177 in __libc_start_main (main=0x806f590 <main>, argc=2, ubp_av=0xbffffb84, init=0x804e574 <_init>, fini=0x808d3e0 <_fini>, rtld_fini=0x4000d3c4 <_dl_fini>, stack_end=0xbffffb7c) at ../sysdeps/generic/libc-start.c:129 ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=20284&edit=1