|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2002-11-06 10:21 UTC] fatih dot gey at 2way dot de
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
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Dec 13 19:00:01 2025 UTC |
--- Use this Script to reconstruct this error: <?php ini_set('session.save_handler', 'user'); ?> ---Here is a sample script: <?PHP session_register ("test"); ini_set('session.save_handler', 'user'); ?> crashes apache.exe, while <?PHP session_register ("test"); session_write_close(); ini_set('session.save_handler', 'user'); ?> does not.still having problems to run postnuke v0.721: this time (snapshot 200211241830) this error occurs: Fatal error: Cannot redeclare unixdate() in /[..]web/pnadodb/adodb.inc.php on line 1477 --adodb.inc.php: from line 1471 till line 1486 /* * Also in ADORecordSet. * @param $v is a date string in YYYY-MM-DD format * * @return date in unix timestamp format, or 0 if before * TIMESTAMP_FIRST_YEAR, or false if invalid date format */ function UnixDate($v) { if (!preg_match( "|^([0-9]{4})[-/\.]?([0-9]{1,2})[-/\.]?([0-9]{1,2})|", ($v), $rr)) return false; if ($rr[1] <= TIMESTAMP_FIRST_YEAR) return 0; // h-m-s-MM-DD-YY return mktime(0,0,0,$rr[2],$rr[3],$rr[1]); } ---EOF config / compile reson, or was this cvs-snapshot broken? thx