Bug 1222199

Summary: [abrt] systemd: ftruncate64(): systemd-journald killed by SIGABRT
Product: [Fedora] Fedora Reporter: Juan Orti Alcaine <jorti>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 22CC: bhurtelashish, eharney, geezuslucifer, htl10, johannbg, jones.peter.busi, jorti, jsynacek, lnykryn, msekleta, nidibelh, p.malishev, q2dg2b, s, systemd-maint, yajo.sk8, zbyszek
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/ef976506c3e8cd288c95aa44b715ba2400b90a3e
Whiteboard: abrt_hash:67da24b3f6cb29282b9b6cce7b3659ada6f8d61a
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-01-20 14:06:46 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
File: backtrace
none
File: cgroup
none
File: core_backtrace
none
File: dso_list
none
File: environ
none
File: limits
none
File: maps
none
File: mountinfo
none
File: namespaces
none
File: open_fds
none
File: proc_pid_status none

Description Juan Orti Alcaine 2015-05-16 08:50:20 UTC
Version-Release number of selected component:
systemd-219-14.fc22

Additional info:
reporter:       libreport-2.5.1
backtrace_rating: 4
cmdline:        /usr/lib/systemd/systemd-journald
crash_function: ftruncate64
executable:     /usr/lib/systemd/systemd-journald
global_pid:     511
kernel:         4.0.3-300.fc22.x86_64
runlevel:       N 5
type:           CCpp
uid:            0
var_log_messages: [System Logs]:\n-- Logs begin at mar 2015-03-24 22:06:44 CET, end at sáb 2015-05-16 03:31:15 CEST. --

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 ftruncate64 at ../sysdeps/unix/syscall-template.S:81
 #1 journal_file_post_change at ../src/journal/journal-file.c:1368
 #2 journal_file_append_entry.constprop.104 at ../src/journal/journal-file.c:1437
 #3 write_to_journal at ../src/journal/journald-server.c:512
 #4 dispatch_message_real.lto_priv.228 at ../src/journal/journald-server.c:819
 #5 server_dispatch_message at ../src/journal/journald-server.c:917
 #6 process_audit_string.lto_priv.222 at ../src/journal/journald-audit.c:412
 #7 server_process_audit_message at ../src/journal/journald-audit.c:466
 #8 server_process_datagram at ../src/journal/journald-server.c:1221
 #9 source_dispatch at ../src/libsystemd/sd-event/sd-event.c:2115

Comment 1 Juan Orti Alcaine 2015-05-16 08:50:24 UTC
Created attachment 1026167 [details]
File: backtrace

Comment 2 Juan Orti Alcaine 2015-05-16 08:50:26 UTC
Created attachment 1026168 [details]
File: cgroup

Comment 3 Juan Orti Alcaine 2015-05-16 08:50:27 UTC
Created attachment 1026169 [details]
File: core_backtrace

Comment 4 Juan Orti Alcaine 2015-05-16 08:50:29 UTC
Created attachment 1026170 [details]
File: dso_list

Comment 5 Juan Orti Alcaine 2015-05-16 08:50:30 UTC
Created attachment 1026171 [details]
File: environ

Comment 6 Juan Orti Alcaine 2015-05-16 08:50:31 UTC
Created attachment 1026172 [details]
File: limits

Comment 7 Juan Orti Alcaine 2015-05-16 08:50:33 UTC
Created attachment 1026173 [details]
File: maps

Comment 8 Juan Orti Alcaine 2015-05-16 08:50:35 UTC
Created attachment 1026174 [details]
File: mountinfo

Comment 9 Juan Orti Alcaine 2015-05-16 08:50:36 UTC
Created attachment 1026175 [details]
File: namespaces

Comment 10 Juan Orti Alcaine 2015-05-16 08:50:37 UTC
Created attachment 1026176 [details]
File: open_fds

Comment 11 Juan Orti Alcaine 2015-05-16 08:50:39 UTC
Created attachment 1026177 [details]
File: proc_pid_status

Comment 12 Hin-Tak Leung 2015-08-04 11:50:11 UTC
(gdb) bt
#0  0x00007fc72de22b97 in ftruncate64 () from /lib64/libc.so.6
#1  0x00007fc72f295bc7 in journal_file_post_change ()
#2  0x00007fc72f29d9dc in journal_file_append_entry.constprop ()
#3  0x00007fc72f28ac4b in dispatch_message_real.lto_priv ()
#4  0x00007fc72f2b255c in server_dispatch_message ()
#5  0x00007fc72f292f76 in stdout_stream_log ()
#6  0x00007fc72f2937bb in stdout_stream_line.lto_priv ()
#7  0x00007fc72f2a9bb8 in stdout_stream_scan ()
#8  0x00007fc72f2a9db1 in stdout_stream_process ()
#9  0x00007fc72f2a2500 in source_dispatch ()
#10 0x00007fc72f2a30b0 in sd_event_dispatch ()
#11 0x00007fc72f285d6e in main ()
(gdb) 

# abrt-cli list
id fe475f35d21d3fb7d059336808010a0503ccac5a
reason:         systemd-journald killed by SIGABRT
time:           Sun 26 Jul 2015 03:55:38 BST
cmdline:        /usr/lib/systemd/systemd-journald
uid:            0
Directory:      /var/spool/abrt/ccpp-2015-07-26-03:55:15-533.new


# rpm -qf /usr/lib/systemd/systemd-journald
systemd-219-19.fc22.x86_64

[134747.146941] abrt-hook-ccpp[20872]: segfault at 0 ip 00007efbf66fc0ba sp 00007ffbffff9b08 error 4 in libc-2.21.so[7efbf6671000+1b70
00]
[134747.147041] Process 20872(abrt-hook-ccpp) has RLIMIT_CORE set to 1

Jul 26 03:56:09 localhost journal: Permanent journal is using 2.1G (max allowed 4.0G, trying to leave 4.0G free of 479.3M available → 
current li
mit 2.1G).


Jul 26 03:56:09 localhost journal: Permanent journal is using 2.1G (max allowed 4.0G, trying to leave 4.0G free of 479.3M available → 
current limit 2.1G).

Jul 22 02:38:01 localhost journal: Journal started
Jul 22 02:38:01 localhost journal: Runtime journal is using 8.0M (max allowed 345.5M, trying to leave 518.3M free of 3.3G available → 
current limit 345.5M).
Jul 22 02:38:01 localhost journal: Runtime journal is using 8.0M (max allowed 345.5M, trying to leave 518.3M free of 3.3G available → 
current limit 345.5M).

It looks like journald was trying to grab a lot of disk space which I did not have, and abrt-hoop-ccpp also crashed because journald was too greedy.

Comment 13 Jan Synacek 2016-01-20 14:06:46 UTC

*** This bug has been marked as a duplicate of bug 1300212 ***