Ticket #207 (assigned defect)

Opened 2 years ago

Last modified 11 months ago

EA caching causes Segmentation fault

Reported by: bryce@bryce.net Assigned to: hans (accepted)
Priority: major Milestone: 0.9.6
Component: eAccelerator Version: 0.9.5
Keywords: Cc:

Description (Last modified by bart)

I have the following setup and eA cases seg faults when caching is enabled. If I turn off cachign, but leave the optimizer on in the control panel there are no problems.

pid 27200 (httpd), uid 80: exited on signal 11

PHP 5.2.0 with Suhosin-Patch 0.9.6.1 (cli) (built: Nov  8 2006 12:01:38) 
Copyright (c) 1997-2006 The PHP Group
Zend Engine v2.2.0, Copyright (c) 1998-2006 Zend Technologies
    with eAccelerator v0.9.5, Copyright (c) 2004-2006 eAccelerator, by eAccelerator

eAccelerator 0.9.5 [shm:mmap_anon sem:spinlock]
PHP 5.2.0 [ZE 2.2.0]
Using apache2handler on FreeBSD devel1.resercom.local 6.2-PRERELEASE FreeBSD 6.2-PRERELEASE #3: Tue Oct 10 21:49:23 CDT 2006 root@devel1.resercom.local:/usr/obj/usr/src/sys/GENERIC i386

From php -i:

eAccelerator

eAccelerator support => enabled
Version => 0.9.5
Caching Enabled => false
Optimizer Enabled => false

Directive => Local Value => Master Value
eaccelerator.allowed_admin_path => /usr/local/share/examples/eaccelerator => /usr/local/share/examples/eaccelerator
eaccelerator.cache_dir => /tmp/eaccelerator => /tmp/eaccelerator
eaccelerator.check_mtime => 1 => 1
eaccelerator.compress => 1 => 1
eaccelerator.compress_level => 9 => 9
eaccelerator.debug => 0 => 0
eaccelerator.enable => 1 => 1
eaccelerator.filter => no value => no value
eaccelerator.log_file => /var/log/httpd/eaccelerator_log => /var/log/httpd/eaccelerator_log
eaccelerator.name_space => no value => no value
eaccelerator.optimizer => 1 => 1
eaccelerator.sessions => shm_and_disk => shm_and_disk
eaccelerator.shm_max => 0 => 0
eaccelerator.shm_only => 0 => 0
eaccelerator.shm_prune_period => 0 => 0
eaccelerator.shm_size => 0 => 0
eaccelerator.shm_ttl => 0 => 0

Change History

11/20/06 15:26:40 changed by spil

Similar behaviour found running FreeBSD 6.1 / php 5.2.0 / roundcube mail

5.1.6_3 port works fine When I wanted to create a backtrace, the debug version of php that I had built did not segfault when opening roundcube mail

02/15/07 17:58:07 changed by bart

  • description changed.

08/14/07 17:04:33 changed by hans

  • owner changed from somebody to hans.
  • status changed from new to assigned.

Will test with roundcube and get back here soon.