[Bug 802345] New: cronie crashes all the time
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c0 Summary: cronie crashes all the time Classification: openSUSE Product: openSUSE 12.3 Version: RC 1 Platform: Other OS/Version: Other Status: NEW Severity: Critical Priority: P5 - None Component: Basesystem AssignedTo: vdziewiecki@suse.com ReportedBy: coolo@suse.com QAContact: qa-bugs@suse.de Found By: --- Blocker: --- This is a 12.3 RC1 updated this morning: [ 586.127694] cron[8792]: segfault at 0 ip 00007ff51b16e6e1 sp 00007fff3b8a71c0 error 4 in libc-2.17.so[7ff51b0fb000+1a3000] [ 586.137704] cron[8793]: segfault at 0 ip 00007ff51b16e6e1 sp 00007fff3b8a71c0 error 4 in libc-2.17.so[7ff51b0fb000+1a3000] [ 586.143876] cron[8794]: segfault at 0 ip 00007ff51b16e6e1 sp 00007fff3b8a71c0 error 4 in libc-2.17.so[7ff51b0fb000+1a3000] [ 1186.181415] cron[15301]: segfault at 0 ip 00007ff51b16e6e1 sp 00007fff3b8a71c0 error 4 in libc-2.17.so[7ff51b0fb000+1a3000] [ 1186.186774] cron[15302]: segfault at 0 ip 00007ff51b16e6e1 sp 00007fff3b8a71c0 error 4 in libc-2.17.so[7ff51b0fb000+1a3000] desdemona:/suse/coolo # rpm -qf /usr/sbin/cron cronie-1.4.8-43.2.1.x86_64 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c1 Till Dörges <doerges@pre-sense.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |doerges@pre-sense.de --- Comment #1 from Till Dörges <doerges@pre-sense.de> 2013-02-06 20:09:58 UTC --- I can confirm this. Both on 32 (cronie-1.4.8-43.2.1.i586) and 64 (cronie-1.4.8-43.2.1.x86_64) bit. Error messages in syslog are similar: 2013-02-06T20:45:01.425430+01:00 box kernel: [12692.936390] cron[12897]: segfault at 0 ip 00007f689bcd66e1 sp 00007fff728896e0 error 4 in libc-2.17.so[7f689bc63000+1a3000] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c2 --- Comment #2 from Stephan Kulow <coolo@suse.com> 2013-02-07 10:07:41 CET --- I ran cron -n in a shell overnight and it did *not* crash. So it's something in the systemd environment. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c3 --- Comment #3 from Stephan Kulow <coolo@suse.com> 2013-02-07 11:38:45 CET --- no, I was wrong. cron did crash, just not the main daemon. its childs crash: Feb 07 06:20:01 desdemona kernel: cron[31483]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 06:20:01 desdemona kernel: cron[31484]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 06:30:01 desdemona kernel: cron[31543]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 06:30:02 desdemona kernel: cron[31542]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 06:30:02 desdemona kernel: cron[31541]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 06:40:01 desdemona kernel: cron[31596]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 06:40:01 desdemona kernel: cron[31597]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 06:45:01 desdemona kernel: cron[31624]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 06:50:01 desdemona kernel: cron[31661]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 06:50:01 desdemona kernel: cron[31660]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 07:00:01 desdemona kernel: cron[31704]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 07:00:01 desdemona kernel: cron[31703]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 07:00:01 desdemona kernel: cron[31705]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 07:10:01 desdemona kernel: cron[31757]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 07:20:01 desdemona kernel: cron[31915]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 07:30:01 desdemona kernel: cron[32188]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 07:40:01 desdemona kernel: cron[32225]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 07:40:01 desdemona kernel: cron[32224]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 07:45:01 desdemona kernel: cron[32252]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 07:50:01 desdemona kernel: cron[32291]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 08:00:01 desdemona kernel: cron[32347]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 08:30:01 desdemona kernel: cron[32482]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 08:40:01 desdemona kernel: cron[32515]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 08:40:01 desdemona kernel: cron[32516]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 09:00:01 desdemona kernel: cron[7111]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] Feb 07 09:00:01 desdemona kernel: cron[7110]: segfault at 0 ip 00007f169a0a76e1 sp 00007fff864a2f80 error 4 in libc-2.17.so[7f169a034000+1a3000] -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c4 --- Comment #4 from Stephan Kulow <coolo@suse.com> 2013-02-07 11:40:14 CET --- managed to get a core file: #0 _IO_getc (fp=fp@entry=0x0) at getc.c:39 #1 0x00007fa07a23bd66 in child_process (e=e@entry=0x7fa07bcdba40, jobenv=0x7fa07bce2af0, u=<optimized out>) at do_command.c:348 #2 0x00007fa07a23c83c in do_command (e=0x7fa07bcdba40, u=0x7fa07bcda470) at do_command.c:55 #3 0x00007fa07a23b8c8 in job_runqueue () at job.c:60 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c5 --- Comment #5 from Stephan Kulow <coolo@suse.com> 2013-02-07 11:47:47 CET --- Debug(DPROC, ("[%ld] child reading output from grandchild\n", (long) getpid())) /*local */ { FILE *in = fdopen(stdout_pipe[READ_PIPE], "r"); --> int ch = getc(in); How did it manage to get a 0 from that fdopen? ;( -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c6 --- Comment #6 from Stephan Kulow <coolo@suse.com> 2013-02-07 11:55:53 CET --- [23356] do_command( test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons
/dev/null 2>&1, (*system*,0,0)) [23356] main process returning to work [23356] Target time=1360238160, sec-to-wait=60 Minute-ly job. Recording time 1360234501 [23433] child_process(' test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons >/dev/null 2>&1') [23433] child continues, closing pipes [23433] child reading output from grandchild [23434] grandchild process fork()'ed debug DTEST is on, not exec'ing command. cmd=' test -x /usr/lib/cron/run-crons && /usr/lib/cron/run-crons /dev/null 2>&1' shell='/bin/sh' [23356] sigchld...pid #23433 died, stat=0 [23356] sigchld...no children
-- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c7 --- Comment #7 from Stephan Kulow <coolo@suse.com> 2013-02-07 12:20:52 CET --- the "fix" for #786096 closes the pipe it just created and then the child is suprised it can't read from a closed file descriptor. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c8 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Flag| |SHIP_STOPPER+ --- Comment #8 from Stephan Kulow <coolo@suse.com> 2013-02-07 12:31:28 CET --- ship stopper -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c9 --- Comment #9 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-02-07 14:00:26 CET --- This is an autogenerated message for OBS integration: This bug (802345) was mentioned in https://build.opensuse.org/request/show/151578 Factory / cronie -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c10 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |meissner@suse.com --- Comment #10 from Marcus Meissner <meissner@suse.com> 2013-02-07 13:58:07 UTC --- please try with above submit. I just merged over the patch we used in the second iteration for 12.2 of this fix-. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c11 Marcus Meissner <meissner@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |rmilasan@suse.com --- Comment #11 from Marcus Meissner <meissner@suse.com> 2013-02-07 15:52:58 UTC --- *** Bug 802600 has been marked as a duplicate of this bug. *** http://bugzilla.novell.com/show_bug.cgi?id=802600 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c12 --- Comment #12 from Bernhard Wiedemann <bwiedemann@suse.com> 2013-02-08 15:00:51 CET --- This is an autogenerated message for OBS integration: This bug (802345) was mentioned in https://build.opensuse.org/request/show/154915 Maintenance / -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=802345 https://bugzilla.novell.com/show_bug.cgi?id=802345#c13 Stephan Kulow <coolo@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #13 from Stephan Kulow <coolo@suse.com> 2013-02-15 13:34:03 CET --- fixed -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com