php - Why is APCu segfaulting inside a Docker container? -


i'm trying run php 5.5 (with fpm) apcu inside docker container. i'm using boot2docker on osx.

when try run php-fpm -i, segfaults.

running in gdb, following backtrace:

(gdb) run -i starting program: /usr/local/sbin/php-fpm -i [thread debugging using libthread_db enabled] using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".  program received signal sigsegv, segmentation fault. 0x00007ffff542474c in __pthread_rwlock_init (rwlock=rwlock@entry=0xffffffffffffffff, attr=attr@entry=0x7ffff1bda988 <apc_lock_attr>) @ pthread_rwlock_init.c:40 40  pthread_rwlock_init.c: no such file or directory. (gdb) bt #0  0x00007ffff542474c in __pthread_rwlock_init (rwlock=rwlock@entry=0xffffffffffffffff, attr=attr@entry=0x7ffff1bda988 <apc_lock_attr>) @ pthread_rwlock_init.c:40 #1  0x00007ffff19ca9d0 in apc_lock_create (lock=lock@entry=0xffffffffffffffff) @ /tmp/pear/temp/apcu/apc_lock.c:180 #2  0x00007ffff19d0135 in apc_sma_api_init (sma=0x7ffff1bda540 <apc_sma>, data=<optimized out>, expunge=<optimized out>, num=<optimized out>, size=<optimized out>, mask=<optimized out>) @ /tmp/pear/temp/apcu/apc_sma.c:323 #3  0x00007ffff19ccac9 in zm_startup_apcu (type=0, module_number=35) @ /tmp/pear/temp/apcu/php_apc.c:284 #4  0x00000000007198b6 in zend_startup_module_ex () #5  0x0000000000725565 in zend_hash_apply () #6  0x000000000071d32a in zend_startup_modules () #7  0x00000000006b9413 in php_module_startup () #8  0x00000000007d9da5 in ?? () #9  0x000000000042e684 in ?? () #10 0x00007ffff5657b45 in __libc_start_main (main=0x42de80, argc=2, argv=0x7fffffffec08, init=<optimized out>, fini=<optimized out>, rtld_fini=<optimized out>, stack_end=0x7fffffffebf8) @ libc-start.c:287 #11 0x000000000042f7fa in _start () (gdb)  

i thought might general problem phtreads in docker container, haven't been able find reports of kind of problem.

some questions:

  1. is known issue (and, so, trying fix through configuration fruitless)?
  2. what significance of 40 pthread_rwlock_init.c: no such file or directory.?


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -