Comments (3)
Would it be possible to release a new version ?
libmustache 0.5.0 is released, but of course, this extension cannot be build against it.
from php-mustache.
(gdb) bt
#0 0x00007ffff47daf2b in raise () from /lib64/libc.so.6
#1 0x00007ffff47c5561 in abort () from /lib64/libc.so.6
#2 0x00007fffe6c06628 in std::__replacement_assert(char const*, int, char const*, char const*) () from /lib64/libmustache.so.4
#3 0x00007fffe6c0ce8f in mustache::CompilerState::next(unsigned char*, unsigned short*) () from /lib64/libmustache.so.4
#4 0x00007fffe6c0d176 in mustache::Compiler::print[abi:cxx11](std::vector<unsigned char, std::allocator<unsigned char> >*) () from /lib64/libmustache.so.4
#5 0x00007fffe6c0d31e in mustache::Compiler::print[abi:cxx11](unsigned char*, int) () from /lib64/libmustache.so.4
#6 0x00007fffe6e1fe00 in zim_MustacheCode_toReadableString () at /builddir/build/BUILD/php-pecl-mustache-0.7.4/NTS/mustache_code.cpp:102
#7 0x00005555558af554 in execute_ex ()
#8 0x00005555558b0546 in zend_execute ()
#9 0x00005555558098cb in zend_execute_scripts ()
#10 0x00005555557a5318 in php_execute_script ()
#11 0x00005555558b2b20 in do_cli ()
#12 0x000055555565f0a2 in main ()
So I think the issue is in libmustache... or GCC 8
from php-mustache.
@remicollet Thanks for letting me know. There are two implementations in libmustache: a simple interpreter that uses the mustache AST, and a compiler and virtual machine. Unfortunately, my VM implementation turned out to not be significantly faster which I suspect is due to the relative simplicity of the language and most of the time being spent doing map lookups, etc. I believe I might deprecate it.
from php-mustache.
Related Issues (18)
- What's licence for code
- Code coverage HOT 1
- Can't store MustacheTemplate in APC HOT 22
- PHP7: php-mustache do not pass "make test" (segfaults) HOT 12
- Segmentation fault when $data contains objects HOT 7
- Error when building HOT 1
- Strange error "free(): invalid pointer" HOT 6
- Allow ArrayAccess for partials HOT 5
- Improve install instructions HOT 4
- Question: Is it possible to extract or access comment data? HOT 7
- crash when HTML is inside tags HOT 3
- Error compiling on OS X HOT 2
- Deprecate and/or remove VM HOT 2
- pecl install error HOT 3
- PHP 7.4 support
- Memory Leak with PHP-CLI HOT 4
- Test against PHP7 HOT 1
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 php-mustache.