Bug 1136232

Summary: [abrt] cockpit: cockpit_resource_finalize(): cockpit-agent killed by SIGABRT
Product: [Fedora] Fedora Reporter: Ondrej Hudlicky <ohudlick>
Component: cockpitAssignee: Patrick Uiterwijk <puiterwijk>
Status: CLOSED CURRENTRELEASE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 21CC: puiterwijk, stefw
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
URL: https://retrace.fedoraproject.org/faf/reports/bthash/129fbc8ba845aacb24a37cc8ea18e7ee029d65e1
Whiteboard: abrt_hash:73ac54907fc0b9e96415c2f0e59d1bd6e5bb656b
Fixed In Version: cockpit-0.22-1.fc22 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-09-18 12:46:18 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: proc_pid_status
none
File: var_log_messages none

Description Ondrej Hudlicky 2014-09-02 08:22:23 UTC
Description of problem:
# service cockpit start
then opening firefox http://localhost:9090 and loging as root caused the crash

Version-Release number of selected component:
cockpit-0.21-1.fc21

Additional info:
reporter:       libreport-2.2.3
backtrace_rating: 4
cmdline:        /usr/libexec/cockpit-agent
crash_function: cockpit_resource_finalize
executable:     /usr/libexec/cockpit-agent
kernel:         3.16.1-301.fc21.x86_64
open_fds:       
runlevel:       N 5
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (10 frames)
 #4 cockpit_resource_finalize at src/agent/cockpitresource.c:516
 #8 ffi_call_unix64 at ../src/x86/unix64.S:76
 #9 ffi_call at ../src/x86/ffi64.c:525
 #10 g_cclosure_marshal_generic at gclosure.c:1448
 #15 cockpit_transport_emit_closed at src/common/cockpittransport.c:171
 #16 on_pipe_close at src/common/cockpitpipetransport.c:167
 #17 g_cclosure_marshal_VOID__STRINGv at gmarshal.c:1004
 #18 _g_closure_invoke_va at gclosure.c:831
 #21 dispatch_input at src/common/cockpitpipe.c:272
 #25 g_main_context_iteration at gmain.c:3795

Comment 1 Ondrej Hudlicky 2014-09-02 08:22:26 UTC
Created attachment 933640 [details]
File: backtrace

Comment 2 Ondrej Hudlicky 2014-09-02 08:22:28 UTC
Created attachment 933641 [details]
File: cgroup

Comment 3 Ondrej Hudlicky 2014-09-02 08:22:30 UTC
Created attachment 933642 [details]
File: core_backtrace

Comment 4 Ondrej Hudlicky 2014-09-02 08:22:31 UTC
Created attachment 933643 [details]
File: dso_list

Comment 5 Ondrej Hudlicky 2014-09-02 08:22:32 UTC
Created attachment 933644 [details]
File: environ

Comment 6 Ondrej Hudlicky 2014-09-02 08:22:33 UTC
Created attachment 933645 [details]
File: limits

Comment 7 Ondrej Hudlicky 2014-09-02 08:22:35 UTC
Created attachment 933646 [details]
File: maps

Comment 8 Ondrej Hudlicky 2014-09-02 08:22:36 UTC
Created attachment 933647 [details]
File: proc_pid_status

Comment 9 Ondrej Hudlicky 2014-09-02 08:22:37 UTC
Created attachment 933648 [details]
File: var_log_messages

Comment 10 Stef Walter 2014-09-02 08:27:08 UTC
Sep 02 04:03:19 localhost cockpit-agent[3175]: cockpit-agent:ERROR:src/agent/cockpitresource.c:516:cockpit_resource_finalize: assertion failed: (self->idler == 0)

Comment 11 Stef Walter 2014-09-02 09:43:06 UTC
Patch here which should fix the problem: https://github.com/cockpit-project/cockpit/pull/1105

Comment 12 Stef Walter 2014-09-03 15:45:45 UTC
Fixed in rawhide, currently freeze for Fedora 21