|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2012-01-25 15:41 UTC] mark dot guetter at fh-kempten dot de
Description: ------------ Radius module works fine until php 5.3.2 Since upgrading to Mac OS X Lion Server with php 5.3.8 i get segmentation faults from apache when "radius_create_request($res, RADIUS_ACCESS_REQUEST)" gets called. Apache/2.2.21 (Unix) mod_ssl/2.2.21 OpenSSL/0.9.8r DAV/2 PHP/5.3.8 with Suhosin- Patch 0.9.10 Actual result: -------------- Process: httpd [4348] Path: /usr/sbin/httpd Identifier: httpd Version: ??? (???) Code Type: X86-64 (Native) Parent Process: httpd [4336] Date/Time: 2012-01-19 13:36:25.426 +0100 OS Version: Mac OS X Server 10.7.3 (11D46) Report Version: 9 Crashed Thread: 1 Dispatch queue: com.apple.libdispatch-manager Exception Type: EXC_CRASH (SIGSEGV) Exception Codes: 0x0000000000000000, 0x0000000000000000 Application Specific Information: objc[4336]: garbage collection is OFF Thread 0:: Dispatch queue: com.apple.main-thread 0 libphp5.so 0x000000010a877e11 zend_do_fcall_common_helper_SPEC + 1091 1 libphp5.so 0x000000010a8784d9 execute + 594 2 libphp5.so 0x000000010a8138a5 zend_execute_scripts + 433 3 libphp5.so 0x000000010a7c432e php_execute_script + 722 4 libphp5.so 0x000000010a88cfd0 php_handler + 1062 5 httpd 0x000000010a0bb451 ap_run_handler + 97 6 httpd 0x000000010a0bbff6 ap_invoke_handler + 422 7 httpd 0x000000010a0f6b7d ap_process_request + 125 8 httpd 0x000000010a0f2773 ap_process_http_connection + 131 9 httpd 0x000000010a0d29a1 ap_run_process_connection + 97 10 httpd 0x000000010a0d2f81 ap_process_connection + 113 11 httpd 0x000000010a0ffdc3 child_main + 1699 12 httpd 0x000000010a100003 make_child + 435 13 httpd 0x000000010a10038f perform_idle_server_maintenance + 703 14 httpd 0x000000010a100abc ap_mpm_run + 1740 15 httpd 0x000000010a0c648d main + 4045 16 httpd 0x000000010a0ba794 start + 52 Patchesradius_long.patch (last revision 2013-03-12 14:52 UTC by thijs at debian dot org)Pull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 23:00:02 2025 UTC |
Got the the same problem on a 64bit linux-platform with php 5.3.10 After some testing , i found that this change stopped the segfaults for me in radius.c PHP_FUNCTION(radius_create_request) { int code; // --> change to : long code; My C is quite rusty, so not sure if this is proper fix, but i posted this here in case this helps someone (to make the proper fix :) (It's still typed as int in rad_create_request.)