Just got Piwik setup yesterday afternoon and all was working pretty well (thanks for an awesome product). I decided I would run the archive script nightly (as suggested) so I disable browser archiving and set “time_before_archive_considered_outdated” to 5 minutes. I tested the archive.sh script yesterday and it seemed to work fine (with almost no data). This morning I had an email from cron which I’ve included below. As you can see it resulted in a segmentation fault. I went ahead and tested running archive.sh on the command line as root and as the apache user, but I still get Segmentation fault immediately. Any idea what might be causing this?
/path/to/piwik/misc/cron/archive.sh: line 18: 31613 Segmentation fault $CMD