Hello.
I found the cause for bug #24842. In function shutdown_executor(), the
"arg_types_stack" stack is
cleaned way too early, and later when some destructor calls a function like
printf(), the helper function
zend_do_fcall_handler() uses the "arg_types_stack", which is freed earlier,
thus overwri
In an attempt to run phpinfo after compiling the skeleton extension
(which compiled fine under VC++2003 with php 4.3.2 source and using
4.3.2 binaries on websrv), the webpage coughs up the message 'PHP
Warning: Unknown(). Unable to load dynamic library . The specified
module could not be found in U
Get more recent snapshot, it compiles just fine on win32
already.
--Jani
On Tue, 29 Jul 2003, David Brown wrote:
>Hi Everyone:
>
>The PCRE breakage on Windows referenced here:
> http://www.zend.com/lists/php-dev/200306/msg00781.html
>
>...appears to be back once again, but
Hi Everyone:
The PCRE breakage on Windows referenced here:
http://www.zend.com/lists/php-dev/200306/msg00781.html
...appears to be back once again, but this time on a regular Linux box
with GCC 3.2.2. I get:
ext/pcre/pcrelib/pcre.c: In function `pcre_config':
ext/pcre/pcrelib/pcre.c:611:
`PO
On Tue, 29 Jul 2003 13:52:39 +0200
Magnus Maatta <[EMAIL PROTECTED]> wrote:
> class a {
> var $items = array();
> function a() {
> }
>
> }
> class b {
> var $a;
> function b(&$a) {
> $this->a = &$a;
> }
> }
> $a = new a();
> for ($i = 0; $i <= 4; $i++) {
> $a-
Well I believe that I have the solution to the core dumping during the C
library wrap-up. If I link the top-level executable, in this case either
/usr/bin/php or httpd with the C++ compiler as the front end to the linker,
the segfault problem goes away.
I guess this should have been obvious .
Hello.
Yes. They are different sizes both != sizeof (void *) and second update is bigger than
first,
then memory block of first update will be reused, but it will not be big enough for
second update. Is it a valid scenario?
vesselin
> Just to make sure I understand what you're asking, are your
Just to make sure I understand what you're asking, are your first and
second updates of data with different sizes?
Andi
At 02:50 PM 7/29/2003 +0300, Vesselin Atanasov wrote:
Hello.
In PHP5, file zend_hash.c there is a macro
#define UPDATE_DATA(ht, p, pData, nDataSize)
\
if (nDataSize ==
On Tue, Jul 29, 2003 at 04:13:03PM +0100, Daniel Lorch wrote:
> > TSRMLS_*
>
> Thread Safe Resource Manager L.. S.. (?). See file comments.
Local Storage
--
Jon Parise ([EMAIL PROTECTED]) :: The PHP Project (http://www.php.net/)
--
PHP Internals - PHP Runtime Development Mailing List
To unsu
hi,
> Hello, I am presently trying to figure out the ZEND API, but am
> being thrown off a bit by some of the abbreviations.
>
> Is there any documentation out there that explains what the abbreviations
> mean?
>
> For example
>
> TSRMLS_*
Thread Safe Resource Manager L.. S.. (?). Se
On Tue, 29 Jul 2003 15:06:26 +0300 (EEST)
Jani Taskinen <[EMAIL PROTECTED]> wrote:
>
> Works fine for me. Maybe you haven't really updated your checkout,
> or you have some broken tools, like wrong bison version..
> Try with the snapshots, they work better.
yep, this can be a reason.
Works fine for me. Maybe you haven't really updated your checkout,
or you have some broken tools, like wrong bison version..
Try with the snapshots, they work better.
--Jani
On Tue, 29 Jul 2003, Antony Dovgal wrote:
>On Tue, 29 Jul 2003 14:08:35 +0300 (EEST)
>Jani Taski
I think I brought this up here before too.
I can't remember the outcome - would you mind looking through the archives?
--Wez.
> The macro is used to update a hash table element in
> zend_hash_add_or_update(). But it seems to me that if p->pData already
> points to a
> data block that hash size !=
a = &$a;
}
}
$a = new a();
for ($i = 0; $i <= 4; $i++) {
$a->items[] = new b($a);
}
print_r($a);
?>
With PHP5:
[4] => b Object
(
[a] => a Object
*RECURSION*
)
)
)
/opt/dev/php/php5/Zend/zend_hash.c(374) : Freeing
Hello.
In PHP5, file zend_hash.c there is a macro
#define UPDATE_DATA(ht, p, pData, nDataSize)
\
if (nDataSize == sizeof(void*))
{
\
if (!(p)->pDataPtr)
{
\
pefree((p)->pData, (ht)->persistent);
\
}
\
memcpy(&(p)->pDat
On Tue, 29 Jul 2003 14:08:35 +0300 (EEST)
Jani Taskinen <[EMAIL PROTECTED]> wrote:
> # ./cvsclean && ./buildconf && ./configure ..
ok, thanx.
# ./cvsclean && ./buildconf && ./configure --with-apxs=/usr/local/apache/apxs
helps.
but when I try to load libphp5 with Apache 1.3.27 I got segfault:
It's already committed and will be in 4.3.3.
--Jani
On Tue, 29 Jul 2003, Pete Dishman wrote:
>Excellent,
>
>If this does get committed, will it make it in to 4.3.3 ?
>
>Thanks,
>
>Pete Dishman
>
>"Ilia Alshanetsky" <[EMAIL PROTECTED]> wrote in message
>news:[EMAIL PROTECTED]
>> On J
# ./cvsclean && ./buildconf && ./configure ..
--Jani
On Tue, 29 Jul 2003, Antony Dovgal wrote:
>Hi, all.
>
>Recently I updated my local version of php-src and tried to build it.
>That's what I got at the end of build process:
>
>ext/dom/php_dom.lo: In function `zm_startup_d
Excellent,
If this does get committed, will it make it in to 4.3.3 ?
Thanks,
Pete Dishman
"Ilia Alshanetsky" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> On July 28, 2003 10:48 am, Pete Dishman wrote:
> > Hi,
> >
> > I'm currently developing an extension and believe I've found
Hi, all.
Recently I updated my local version of php-src and tried to build it.
That's what I got at the end of build process:
ext/dom/php_dom.lo: In function `zm_startup_dom':
/tony/CVS/php-src/ext/dom/php_dom.c:585: undefined reference to
`php_dom_xpath_class_functions'
/tony/CVS/php-src/ext/do
20 matches
Mail list logo