View Issue Details

IDProjectCategoryView StatusLast Update
0000138NixGeneralpublic2023-09-12 21:53
Reporterimmae Assigned Toimmae  
PrioritynormalSeveritycrashReproducibilityalways
Status closedResolutionfixed 
Summary0000138: Regular coredump from crond
Description
           PID: 2210491 (cron)
           UID: 0 (root)
           GID: 0 (root)
        Signal: 11 (SEGV)
     Timestamp: Fri 2023-09-08 12:25:07 UTC (2min 39s ago)
  Command Line: /nix/store/xgsszm2h0gg4s4xxv5rkymd3hk694sg4-cron-4.1/bin/cron -n                                                                                                                                                
    Executable: /nix/store/xgsszm2h0gg4s4xxv5rkymd3hk694sg4-cron-4.1/bin/cron
 Control Group: /system.slice/cron.service
          Unit: cron.service
         Slice: system.slice
       Boot ID: 99abf99496704aa4961154eba59b7d80
    Machine ID: dd90adf3c33a4e598e200d15d12c2a6f
      Hostname: eldiron
       Storage: /var/lib/systemd/coredump/core.cron.0.99abf99496704aa4961154eba59b7d80.2210491.1694175907000000.zst (present)
  Size on Disk: 26.2K
       Message: Process 2210491 (cron) of user 0 dumped core.

                Module cron without build-id.
                Stack trace of thread 2210491:
                #0  0x00007feac52591b1 _IO_putc (libc.so.6 + 0x7a1b1)
                0000001  0x0000556a66e6e212 child_process.constprop.0 (cron + 0x6212)                                                                                                                                                
                0000002  0x0000556a66e6e872 do_command (cron + 0x6872)
                0000003  0x0000556a66e6dd98 job_runqueue (cron + 0x5d98)
                0000004  0x0000556a66e6b94e main (cron + 0x394e)
                0000005  0x00007feac5202ace __libc_start_call_main (libc.so.6 + 0x23ace)
                0000006  0x00007feac5202b89 __libc_start_main@@GLIBC_2.34 (libc.so.6 + 0x23b89)
                0000007  0x0000556a66e6bc95 _start (cron + 0x3c95)
                ELF object binary architecture: AMD x86-64
Refusing to dump core to tty (use shell redirection or specify --output).
Tagssystem

Activities

immae

2023-09-12 21:45

administrator   ~0000045

Coredump seems related to the use of a "unsafe" character in the MAILTO variable ("+"). A patch was added to avoid that error and allow this kind of address.

sed -i -e "/static const char safe_delim/s/@/@+/" do_command.c

immae

2023-09-12 21:46

administrator   ~0000046

Workaround found

Issue History

Date Modified Username Field Change
2023-09-08 12:28 immae New Issue
2023-09-08 12:28 immae Tag Attached: system
2023-09-08 12:48 immae Assigned To => immae
2023-09-08 12:48 immae Status new => confirmed
2023-09-12 21:45 immae Note Added: 0000045
2023-09-12 21:46 immae Status confirmed => resolved
2023-09-12 21:46 immae Resolution open => fixed
2023-09-12 21:46 immae Note Added: 0000046
2023-09-12 21:53 immae Status resolved => closed