Opened 12 months ago

Closed 12 months ago

Last modified 11 months ago

#316 closed defect (invalid)

SEGV at _zend_hash_add_or_update

Reported by: kenorb Owned by: moo
Priority: major Milestone: black hole
Component: cacher Version: 1.3.2
Keywords: Cc:
Application: PHP Version: 5.3.20
Other Exts: SAPI: Irrelevant
Probability: Blocked By:
Blocking:

Description

$ XCACHE_TEST=1 php cron.php
Segmentation fault: 11
$ php -i | grep -i xcache

with XCache v1.3.2, Copyright (c) 2005-2011, by mOo

XCache
XCache Support => enabled
xcache.admin.enable_auth => On => On
xcache.cacher => On => On
xcache.coredump_directory => /Applications/MAMP/tmp/phpcore/ => /Applications/MAMP/tmp/phpcore/
xcache.count => 5 => 5
xcache.coveragedump_directory => no value => no value
xcache.coverager => Off => Off
xcache.gc_interval => 0 => 0
xcache.mmap_path => /Applications/MAMP/tmp/xcache => /Applications/MAMP/tmp/xcache
xcache.optimizer => On => On
xcache.readonly_protection => no value => no value
xcache.shm_scheme => mmap => mmap
xcache.size => 256M => 256M
xcache.slots => 16K => 16K
xcache.stat => On => On
xcache.test => no value => no value
xcache.ttl => 0 => 0
xcache.var_count => 1 => 1
xcache.var_gc_interval => 300 => 300
xcache.var_maxttl => 0 => 0
xcache.var_size => 128M => 128M
xcache.var_slots => 8K => 8K
xcache.var_ttl => 0 => 0

Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 php 0x000000010067b8f4 _zend_hash_add_or_update + 148
1 php 0x00000001006891d0 zend_alter_ini_entry_ex + 448
2 php 0x00000001005ef5c1 _php_import_environment_variables + 161
3 php 0x00000001005f1624 php_auto_globals_create_env + 292
4 php 0x00000001005f0940 php_hash_environment + 1008
5 php 0x00000001005d55b5 php_request_startup + 565
6 php 0x000000010079ea7c main + 5852
7 php 0x00000001000017b4 start + 52

Attachments (1)

php_2013-08-10-224850_kenorbs-MacBook-Air.crash (19.6 KB) - added by kenorb 12 months ago.
crash report

Download all attachments as: .zip

Change History (6)

Changed 12 months ago by kenorb

crash report

comment:1 Changed 12 months ago by kenorb

54321/0x1bd306: open("/tmp/.xcache.501.8.1458777923.lock\0", 0x202, 0x1B6) = 13 0
54321/0x1bd306: unlink("/tmp/.xcache.501.8.1458777923.lock\0", 0x102C00000, 0x8000) = 0 0
...
54321/0x1bd306: open_nocancel("cron.php\0", 0x0, 0x1B6) = 14 0
54321/0x1bd306: read_nocancel(0xE, "<?php\n\n/\n * @file
...
54321/0x1bd306: sigaction(0x19, 0x7FFF5FBFDEE8, 0x7FFF5FBFDF10) = 0 0
54321/0x1bd306: chdir("/Applications/MAMP/tmp/phpcore/\0", 0x7FFF5FBFDEE8, 0x0) = 0 0
54321/0x1bd306: kill(0xD431, 0xB, 0x1) = 0 0
54321/0x1bd306: sigreturn(0x7FFF5FBFE408, 0x1E, 0x0) = 0 Err#-2

Version 0, edited 12 months ago by kenorb (next)

comment:2 Changed 12 months ago by kenorb

Upgraded to 3.0.3, tested and it works.

comment:3 Changed 12 months ago by moo

  • Resolution set to invalid
  • Status changed from new to closed

comment:4 Changed 11 months ago by moo

  • Milestone changed from undecided to 3.0.4

comment:5 Changed 11 months ago by moo

  • Milestone changed from 3.0.4 to black hole
Note: See TracTickets for help on using tickets.