runcronjobs.php - Segmentation fault

Author Message

Michael Zeidler

Thursday 30 September 2004 12:04:33 am

Hello,

i have runcronjob.php in revision 8358 and everytime i start this it fails at the end with a segmentation fault which produces a core dump file in the ezroot directory. I also commented out the usual envoked scripts (./cronjobs/*) in ./settings/cronjob.ini. Then i added a ./cronjobs/test_dummy.php and also added it in the cronjob.ini. After running ./runcronjob.php a segmentation fault occurs again. So runcronjob.php itself must be the bugger.
Any ideas?

-------------------------------------------------------------------------------------------
join #ezpublish on irc.freenode.org

Jan Borsodi

Thursday 30 September 2004 12:15:20 am

eZ publish in itself cannot segfault, only PHP can do that.
If this happens I would guess there is some issues with your PHP version.
What is your PHP version?

Does the <i>runcronjobs.php</i> from 3.4 still work or is the problem only in trunk (rev. 8358)?
Note: I tried runcronjobs.php with that revision and didn't get a segfault.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Michael Zeidler

Thursday 30 September 2004 2:04:46 am

Hallo Amos,
of course this is only php related. I also realized that no other complaints where droped about it here in this forum.
It also cores down with the offcial 3.4.1 version, but no wonder look at this:

# php -v
PHP 4.3.4 (cli) (built: Jul 13 2004 20:39:44)
Copyright (c) 1997-2003 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2003 Zend Technologies
    with Turck MMCache v2.4.6, Copyright (c) 2002-2003 TurckSoft, St. Petersburg, by Dmitry Stogov
    with DBG v2.11.5, (C) 2000,2001,2002, by Dmitri Dmitrienko
zsh: segmentation fault (core dumped)  php -v

So I configured my php without dbg support and my problems vanished ;)

I had a broken php-dbg installation. You should delete this thread.
Thanks anyway.

mike

-------------------------------------------------------------------------------------------
join #ezpublish on irc.freenode.org

Jan Borsodi

Thursday 30 September 2004 6:44:20 am

Btw. If you want a PHP debugger/profiler I can recommend XDebug.
http://xdebug.org/
The latest version works pretty well with eZ publish.

--
Amos

Documentation: http://ez.no/ez_publish/documentation
FAQ: http://ez.no/ez_publish/documentation/faq

Powered by eZ Publish™ CMS Open Source Web Content Management. Copyright © 1999-2014 eZ Systems AS (except where otherwise noted). All rights reserved.