On Sat, Dec 03, 2005 at 01:52:30PM +0100, Friedrich Delgado Friedrichs wrote:
> Hiho!
> 
> As I suspected the bug occured again after I updated my system with aptitude.

Strange..

> At 13:45:01 cron tried to start the cronjob and the child process received
> a segmentation fault.

The segmentation fault is preceded by this:

[pid 19008] chdir("/home/friedel")      = 0
[pid 19008] --- SIGSEGV (Segmentation fault) @ 0 (0) ---

Can you attach to the children cron process with gdb, run it and then 
show me the output of running 'bt' from gdb?

The way to do this is: 

- monitor when cron launches its children (pid A)
- send kill -SIGSTOP to pid A as soon as you see it
- run 'gdb /usr/sbin/cron A'
- send 'kill -SIGCONT A' and 'run' in gdb.
- when you get the sigsegv in the cron job run 'bt'

Thanks

Javier

Attachment: signature.asc
Description: Digital signature

Reply via email to