Forums / General / runcronjobs.php - Segmentation fault

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

eZ debug

Timing: Jan 31 2025 11:05:37
Script start
Timing: Jan 31 2025 11:05:37
Module start 'content'
Timing: Jan 31 2025 11:05:37
Module end 'content'
Timing: Jan 31 2025 11:05:37
Script end

Main resources:

Total runtime0.1831 sec
Peak memory usage2,048.0000 KB
Database Queries141

Timing points:

CheckpointStart (sec)Duration (sec)Memory at start (KB)Memory used (KB)
Script start 0.00000.0064 589.0625180.8359
Module start 'content' 0.00650.0087 769.898497.9766
Module end 'content' 0.01510.1678 867.8750526.2969
Script end 0.1830  1,394.1719 

Time accumulators:

 Accumulator Duration (sec) Duration (%) Count Average (sec)
Ini load
Load cache0.00341.8336200.0002
Check MTime0.00130.7303200.0001
Mysql Total
Database connection0.00100.521010.0010
Mysqli_queries0.128470.11371410.0009
Looping result0.00110.59901390.0000
Template Total0.167591.510.1675
Template load0.00080.452810.0008
Template processing0.166691.004410.1666
Override
Cache load0.00060.307610.0006
Sytem overhead
Fetch class attribute can translate value0.00120.632510.0012
XML
Image XML parsing0.00020.125710.0002
General
dbfile0.01407.6677200.0007
String conversion0.00000.003330.0000
Note: percentages do not add up to 100% because some accumulators overlap

CSS/JS files loaded with "ezjscPacker" during request:

CacheTypePacklevelSourceFiles
CSS0extension/community/design/community/stylesheets/ext/jquery.autocomplete.css
extension/community_design/design/suncana/stylesheets/scrollbars.css
extension/community_design/design/suncana/stylesheets/tabs.css
extension/community_design/design/suncana/stylesheets/roadmap.css
extension/community_design/design/suncana/stylesheets/content.css
extension/community_design/design/suncana/stylesheets/star-rating.css
extension/community_design/design/suncana/stylesheets/syntax_and_custom_tags.css
extension/community_design/design/suncana/stylesheets/buttons.css
extension/community_design/design/suncana/stylesheets/tweetbox.css
extension/community_design/design/suncana/stylesheets/jquery.fancybox-1.3.4.css
extension/bcsmoothgallery/design/standard/stylesheets/magnific-popup.css
extension/sevenx/design/simple/stylesheets/star_rating.css
extension/sevenx/design/simple/stylesheets/libs/fontawesome/css/all.min.css
extension/sevenx/design/simple/stylesheets/main.v02.css
extension/sevenx/design/simple/stylesheets/main.v02.res.css
JS0extension/ezjscore/design/standard/lib/yui/3.17.2/build/yui/yui-min.js
extension/ezjscore/design/standard/javascript/jquery-3.7.0.min.js
extension/community_design/design/suncana/javascript/jquery.ui.core.min.js
extension/community_design/design/suncana/javascript/jquery.ui.widget.min.js
extension/community_design/design/suncana/javascript/jquery.easing.1.3.js
extension/community_design/design/suncana/javascript/jquery.ui.tabs.js
extension/community_design/design/suncana/javascript/jquery.hoverIntent.min.js
extension/community_design/design/suncana/javascript/jquery.popmenu.js
extension/community_design/design/suncana/javascript/jScrollPane.js
extension/community_design/design/suncana/javascript/jquery.mousewheel.js
extension/community_design/design/suncana/javascript/jquery.cycle.all.js
extension/sevenx/design/simple/javascript/jquery.scrollTo.js
extension/community_design/design/suncana/javascript/jquery.cookie.js
extension/community_design/design/suncana/javascript/ezstarrating_jquery.js
extension/community_design/design/suncana/javascript/jquery.initboxes.js
extension/community_design/design/suncana/javascript/app.js
extension/community_design/design/suncana/javascript/twitterwidget.js
extension/community_design/design/suncana/javascript/community.js
extension/community_design/design/suncana/javascript/roadmap.js
extension/community_design/design/suncana/javascript/ez.js
extension/community_design/design/suncana/javascript/ezshareevents.js
extension/sevenx/design/simple/javascript/main.js

Templates used to render the page:

UsageRequested templateTemplateTemplate loadedEditOverride
1pagelayout.tpl<No override>extension/sevenx/design/simple/templates/pagelayout.tplEdit templateOverride template
 Number of times templates used: 1
 Number of unique templates used: 1

Time used to render debug report: 0.0002 secs