Comments (8)
same error, any ideas on this?
from xhp-lib.
I'm seeing the same issue on my mac :(
from xhp-lib.
I installed all the dependencies(re2c, flex, bison etc...) through homebrew. I was thinking to try to install them through normal configure/make/make install but the homebrew recipes do that so it shouldn't matter. Some people say they got 1.3.7 to work so I may try that.
from xhp-lib.
I tried installing 1.3.7, and I guess not surprisingly it didn't work. So I'm still at a loss here.
from xhp-lib.
Using latest code on master:
commit dafff2c
Date: Wed Dec 1 22:24:06 2010 -0800
Running this:
$ php -r 'require "/Users/toby/foo/xhp/php-lib/init.php"; <a />;'
Segmentation fault
I see the same issue:
- OS X 10.6.7
- PHP 5.3.4
Backtrace below.
Process: php [14055]
Path: /usr/bin/php
Identifier: php
Version: ??? (???)
Code Type: X86-64 (Native)
Parent Process: bash [742]
Date/Time: 2011-06-27 12:41:47.062 -0400
OS Version: Mac OS X 10.6.7 (10J869)
Report Version: 6
Exception Type: EXC_BAD_ACCESS (SIGSEGV)
Exception Codes: KERN_INVALID_ADDRESS at 0x0000000000000000
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Thread 0 Crashed: Dispatch queue: com.apple.main-thread
0 php 0x000000010031626f _zend_mm_alloc_int + 1087
1 php 0x000000010033056a zend_stack_push + 101
2 php 0x00000001003198bd zend_do_begin_variable_parse + 50
3 php 0x0000000100306792 zendparse + 15722
4 php 0x000000010030fe8f compile_file + 238
5 xhp.so 0x0000000100ea7cbf xhp_compile_file(_zend_file_handle*, int) + 671 (ext.cpp:215)
6 apc.so 0x0000000100da01de apc_compile_cache_entry + 126
7 apc.so 0x0000000100da0b8a my_compile_file + 1834
8 php 0x0000000100190449 phar_compile_file + 848
9 xdebug.so 0x0000000100d52ddf xdebug_compile_file + 31
10 php 0x00000001003606c8 ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER + 572
11 php 0x00000001003522b9 execute + 585
12 xdebug.so 0x0000000100d529df xdebug_execute + 2982
13 php 0x0000000100360881 ZEND_INCLUDE_OR_EVAL_SPEC_CONST_HANDLER + 1013
14 php 0x00000001003522b9 execute + 585
15 xdebug.so 0x0000000100d529df xdebug_execute + 2982
16 php 0x0000000100326736 zend_eval_stringl + 330
17 php 0x000000010032684a zend_eval_stringl_ex + 17
18 php 0x00000001003adbf9 main + 4423
19 php 0x0000000100001224 start + 52
Thread 0 crashed with X86 Thread State (64-bit):
rax: 0x0000000000000000 rbx: 0x0000000100bd39f0 rcx: 0x0000000100bd39f0 rdx: 0x0000000100bc46f0
rdi: 0x0000000000000440 rsi: 0x0000000100bc7740 rbp: 0x00007fff5fbfb240 rsp: 0x00007fff5fbfb200
r8: 0x0000000000000000 r9: 0x0000000000000006 r10: 0x0000000000000000 r11: 0x0000000100bd6330
r12: 0x0000000100bc7710 r13: 0x0000000100bc7710 r14: 0x0000000101026800 r15: 0x0000000000000048
rip: 0x000000010031626f rfl: 0x0000000000010206 cr2: 0x0000000000000000
Binary Images:
0x100000000 - 0x1008b9fef +php ??? (???) <12BD5ADC-76DA-1AB0-32B7-1024BA4C52F7> /usr/bin/php
0x100a27000 - 0x100a34fe7 libexslt.0.dylib 9.13.0 (compatibility 9.0.0) <D9944F04-1F01-B9D1-A46F-96229CD19437> /usr/lib/libexslt.0.dylib
0x100a3a000 - 0x100a7dff7 libiodbc.2.dylib 4.18.0 (compatibility 4.0.0) <E8B6477A-E3BA-B781-6D7E-2C7118EA2ABD> /usr/lib/libiodbc.2.dylib
0x100a88000 - 0x100ab0ff7 libpcre.0.dylib 1.1.0 (compatibility 1.0.0) <61E04B84-398D-0E87-7125-A668E797DE77> /usr/lib/libpcre.0.dylib
0x100ab5000 - 0x100b2fff7 libnetsnmp.15.dylib 17.2.0 (compatibility 17.0.0) <2BE5579E-2ADF-2930-FA8E-02E9CBB101E3> /usr/lib/libnetsnmp.15.dylib
0x100bed000 - 0x100bf2fff mcrypt.so ??? (???) <B247F057-6423-4DF5-1C7A-3A53A017CA6B> /usr/lib/php/extensions/no-debug-non-zts-20090626/mcrypt.so
0x100d4f000 - 0x100d7cff7 xdebug.so ??? (???) <50B743E5-EE14-4DEC-BE7A-EC28AF3E0D72> /usr/lib/php/extensions/no-debug-non-zts-20090626/xdebug.so
0x100d93000 - 0x100dadff7 apc.so ??? (???) <F473D906-B8D8-509B-1C6C-AFBE862507B2> /usr/lib/php/extensions/no-debug-non-zts-20090626/apc.so
0x100dc7000 - 0x100debfe7 solr.so ??? (???) <6F1FE9CB-5F67-E5C7-112B-DB24CF03C819> /usr/lib/php/extensions/no-debug-non-zts-20090626/solr.so
0x100e0b000 - 0x100e30fef +libmcrypt.4.dylib 9.8.0 (compatibility 9.0.0) <49BE5383-EEAB-1C37-D5D4-D73D80BBE10E> /usr/local/lib/libmcrypt.4.dylib
0x100e51000 - 0x100e57fff libltdl.7.dylib 9.2.0 (compatibility 9.0.0) <C5E77ED6-E3F4-4FF7-4733-5352CA1290FA> /usr/lib/libltdl.7.dylib
0x100e5c000 - 0x100e63fff tidy.so ??? (???) <8021650B-3DBB-DE88-A048-1A7902A2022C> /usr/lib/php/extensions/no-debug-non-zts-20090626/tidy.so
0x100e6b000 - 0x100e77fff gearman.so ??? (???) <AAC51577-4661-8934-4EA4-464B1EAF3188> /usr/lib/php/extensions/no-debug-non-zts-20090626/gearman.so
0x100e8d000 - 0x100e9cfff +libgearman.4.dylib 6.1.0 (compatibility 6.0.0) <17A57A15-1388-0A7A-A698-1986EC368D8B> /usr/local/lib/libgearman.4.dylib
0x100ea6000 - 0x100f34fef xhp.so ??? (???) <B4855CAF-D721-2B92-2F07-6FDF39EA9FA3> /usr/lib/php/extensions/no-debug-non-zts-20090626/xhp.so
0x7fff5fc00000 - 0x7fff5fc3bdef dyld 132.1 (???) <69130DA3-7CB3-54C8-ABC5-423DECDD2AF7> /usr/lib/dyld
from xhp-lib.
Same with tag 1.3.9.
from xhp-lib.
This doesn't appear to be happening anymore. I just downloaded and installed XHP onto a Mountain Lion OS (with PHP 5.4 from Homebrew). If this still reproduces for anyone please let me know, otherwise I will close this task.
from xhp-lib.
I've now seen XHP installed on multiple machines with many different PHP configurations. Considering this fixed.
from xhp-lib.
Related Issues (20)
- Remove XHPRoot, seal `x:node`/composable-element to x:primitive and x:element HOT 5
- [ Todo ] When XHP version 4 is released, update the docs about runtime validation in user-documentation. HOT 2
- Remove class2element/element2class
- Audit all code that is not in namespaces HOT 1
- Do we want the HTML xhp classes to be final in v4?
- [ RFC ] Introduce a new exception class for modifying/rendering xhp after initial render HOT 1
- Remove string selectors from getFirstChild and friends
- Audit missing category declarations HOT 4
- Rewrite docs on user-documentation to use xhp 4 syntax and rules HOT 2
- Make a full list of changes from v3
- Write a migration guide for v3 -> v4
- better exception message when rendering parent with an already rendered child HOT 8
- Review and consider removing all 'deprecated' features HOT 1
- Update README to reflect xhp-4
- hhvm 4.97 issue: x\node should permit ?XHPChild children HOT 2
- Class Undefined xhp-lib v3 HOT 9
- Use of XHP at Facebook HOT 2
- Default values of aria- and data- attributes are ignored
- [Request] Custom special attributes HOT 4
- Status of the project HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from xhp-lib.