[php-maint] Bug#493045: Bug#493045: Segmentation Fault in cron console PHP Job

Raphael Geissert atomo64 at gmail.com
Thu Jul 31 02:56:30 UTC 2008


tag 493045 moreinfo
thanks

On Wednesday 30 July 2008, Timo Kirst wrote:
> Package: php5
> Version: 5.2.6-2
>
> Hi there,
>
> exactly since we upgraded to this package we get intermittent
> Segmentation Faults from two cron jobs each running a php skript every 5
> minutes.
>
> During the last 7 days this happened 20 times. The scripts have not
> changed for months now and they ran without any problem at all.
>
> One example (content of the cron status mail):
>
> /bin/sh: line 1: 13954 Segmentation fault      /sbin/mailbox_watcher
> >>/var/log/mailbox_watcher.log
>
...
>
> I am simply not able to reproduce it. Although it keeps happening.

What do you mean by that? you can not reproduce it in a separate environment, 
or when manually running the cronjob, or what?

Could you please provide any or both scripts? if you can't: do they use 
time/date functions? what version of the libmysqlclient15off package do you 
have? 

Could you please install php5-dbg and run the script under gdb.

>
> Any thoughts on that? If you see any procedure, logs, etc I could try to
> narrow the problem down with, pls let me know.
>
> One word about the complexity of the two skripts. They are totally
> different. The one is just a "dirty" procedural code, the other is
> more object oriented with a class defined.
>
> See the first lines of this skript below:
...
>
> Ok, and here the first lines of the mailbox_watcher
>
...

Those lines are actually useless.

>
> Thanks in advance for all your efforts!!

Regards,
-- 
Atomo64 - Raphael

Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: This is a digitally signed message part.
Url : http://lists.alioth.debian.org/pipermail/pkg-php-maint/attachments/20080730/0b3726ac/attachment.pgp 


More information about the pkg-php-maint mailing list