hi,
i wonder if anybody out there already tried traits in more complex php
applications. i am currently trying to rewrite part of a somehow complex
application to use traits and i have the problem, that my scripts are
dying, as soon as i include the trait.
with the current php-5.4 beta my processes are dying, but with the lates
snapshot, not -- i still get the message:
2011-10-16 16:41:19: (mod_fastcgi.c.2462) unexpected end-of-file
(perhaps the fastcgi process died): pid: 18556 socket:
unix:/tmp/php-fastcgi.socket-3
2011-10-16 16:41:19: (mod_fastcgi.c.3254) response not received, request
sent: 1329 on socket: unix:/tmp/php-fastcgi.socket-3 for /index.php ,
closing connection
... in my logs, though.
the real problem now is that i seem to be unable to isolate the issue.
it seems to have something to do with properties in traits, but if i try
to reconstruct this with simple example scripts, there won't be any
crash.
my question is: is there anything i can do to track this problem down,
to get a useful backtrace / core dump or any other information, that
would count as useful information for filing a bug-report? as it is
know, i have nothing in my hands besides the info, that it's crashing ...
thanks in advance!
harald
hi,
i wonder if anybody out there already tried traits in more complex php
applications. i am currently trying to rewrite part of a somehow complex
application to use traits and i have the problem, that my scripts are dying,
as soon as i include the trait.with the current php-5.4 beta my processes are dying, but with the lates
snapshot, not -- i still get the message:2011-10-16 16:41:19: (mod_fastcgi.c.2462) unexpected end-of-file (perhaps
the fastcgi process died): pid: 18556 socket: unix:/tmp/php-fastcgi.socket-3
2011-10-16 16:41:19: (mod_fastcgi.c.3254) response not received, request
sent: 1329 on socket: unix:/tmp/php-fastcgi.socket-3 for /index.php ,
closing connection... in my logs, though.
the real problem now is that i seem to be unable to isolate the issue.
it seems to have something to do with properties in traits, but if i try to
reconstruct this with simple example scripts, there won't be any
crash.my question is: is there anything i can do to track this problem down, to
get a useful backtrace / core dump or any other information, that would
count as useful information for filing a bug-report? as it is know, i have
nothing in my hands besides the info, that it's crashing ...thanks in advance!
harald
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
Am 16.10.11 20:40, schrieb Ferenc Kovacs:
hi,
great! this seems to be the information, i was looking for. let's see if
i can get anything useful out of it :)
harald
Hi Harald:
with the current php-5.4 beta my processes are dying, but with the lates snapshot, not -- i still get the message:
There have been a number of bug fixes since the last beta.
The list is here:
https://bugs.php.net/search.php?search_for=trait&boolean=0&limit=30&order_by=&direction=DESC&cmd=display&status=All&bug_type=All&project=All&php_os=&phpver=&cve_id=&assign=&author_email=&bug_age=0&bug_updated=0
If it does not crash with the snapshots, that is what I understand from your sentence, then those fixed bugs might already be the ones you encounter.
my question is: is there anything i can do to track this problem down, to get a useful backtrace / core dump or any other information, that would count as useful information for filing a bug-report? as it is know, i have nothing in my hands besides the info, that it's crashing ...
Since you already suspect the traits implementation, how about your unit tests in that regard?
I would guess they might be run easily with the CLI version of PHP. That is at least the way I narrow down the origin of such crashes.
Best regards
Stefan
thanks in advance!
harald
--
--
Stefan Marr
Software Languages Lab
Vrije Universiteit Brussel
Pleinlaan 2 / B-1050 Brussels / Belgium
http://soft.vub.ac.be/~smarr
Phone: +32 2 629 2974
Fax: +32 2 629 3525
hi stefan,
Am 16.10.11 20:42, schrieb Stefan Marr:
Hi Harald:
with the current php-5.4 beta my processes are dying, but with the lates snapshot, not -- i still get the message:
There have been a number of bug fixes since the last beta.
The list is here:
https://bugs.php.net/search.php?search_for=trait&boolean=0&limit=30&order_by=&direction=DESC&cmd=display&status=All&bug_type=All&project=All&php_os=&phpver=&cve_id=&assign=&author_email=&bug_age=0&bug_updated=0If it does not crash with the snapshots, that is what I understand from your sentence, then those fixed bugs might already be the ones you encounter.
yes, i ment: with php-5.4 beta the PHP process was indeed dying, but
with the latest snapshot the PHP process is not dying, but the
application is still crashing.
my question is: is there anything i can do to track this problem down, to get a useful backtrace / core dump or any other information, that would count as useful information for filing a bug-report? as it is know, i have nothing in my hands besides the info, that it's crashing ...
Since you already suspect the traits implementation, how about your unit tests in that regard?
I would guess they might be run easily with the CLI version of PHP. That is at least the way I narrow down the origin of such crashes.
mmm ... i understand, and you are right, i should be able to run this
with the CLI version. i will try this next ...
best regards,
harald
hi Harald,
Please be sure to open a bug at bugs.php.net and attach the info there
too (backtrace, reproduce script, etc.).
Cheers,
hi stefan,
Am 16.10.11 20:42, schrieb Stefan Marr:
Hi Harald:
with the current php-5.4 beta my processes are dying, but with the lates
snapshot, not -- i still get the message:There have been a number of bug fixes since the last beta.
The list is here:If it does not crash with the snapshots, that is what I understand from
your sentence, then those fixed bugs might already be the ones you
encounter.yes, i ment: with php-5.4 beta the PHP process was indeed dying, but with
the latest snapshot the PHP process is not dying, but the application is
still crashing.my question is: is there anything i can do to track this problem down, to
get a useful backtrace / core dump or any other information, that would
count as useful information for filing a bug-report? as it is know, i have
nothing in my hands besides the info, that it's crashing ...Since you already suspect the traits implementation, how about your unit
tests in that regard?
I would guess they might be run easily with the CLI version of PHP. That
is at least the way I narrow down the origin of such crashes.mmm ... i understand, and you are right, i should be able to run this with
the CLI version. i will try this next ...best regards,
harald--
--
Pierre
@pierrejoye | http://blog.thepimp.net | http://www.libgd.org
hi pierre,
yes, i will try to collect as many as possible information and open a
bug, if i have something ... i still hope, that i manage to isolate the
problem that i am able to create the reproduce script.
best,
harald
Am 16.10.11 23:15, schrieb Pierre Joye:
hi Harald,
Please be sure to open a bug at bugs.php.net and attach the info there
too (backtrace, reproduce script, etc.).Cheers,
hi stefan,
Am 16.10.11 20:42, schrieb Stefan Marr:
Hi Harald:
with the current php-5.4 beta my processes are dying, but with the lates
snapshot, not -- i still get the message:There have been a number of bug fixes since the last beta.
The list is here:If it does not crash with the snapshots, that is what I understand from
your sentence, then those fixed bugs might already be the ones you
encounter.yes, i ment: with php-5.4 beta the PHP process was indeed dying, but with
the latest snapshot the PHP process is not dying, but the application is
still crashing.my question is: is there anything i can do to track this problem down, to
get a useful backtrace / core dump or any other information, that would
count as useful information for filing a bug-report? as it is know, i have
nothing in my hands besides the info, that it's crashing ...Since you already suspect the traits implementation, how about your unit
tests in that regard?
I would guess they might be run easily with the CLI version of PHP. That
is at least the way I narrow down the origin of such crashes.mmm ... i understand, and you are right, i should be able to run this with
the CLI version. i will try this next ...best regards,
harald