Bug 1144765 - [abrt] sssd-common: dbus_watch_handle(): sssd killed by SIGSEGV
Summary: [abrt] sssd-common: dbus_watch_handle(): sssd killed by SIGSEGV
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: sssd
Version: 21
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jakub Hrozek
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:425e83249072a6341fa6bbc80f3...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-09-20 14:33 UTC by Dennis Gilmore
Modified: 2019-11-12 13:56 UTC (History)
10 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-10-14 06:54:44 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (13.04 KB, text/plain)
2014-09-20 14:33 UTC, Dennis Gilmore
no flags Details
File: cgroup (188 bytes, text/plain)
2014-09-20 14:33 UTC, Dennis Gilmore
no flags Details
File: core_backtrace (2.78 KB, text/plain)
2014-09-20 14:33 UTC, Dennis Gilmore
no flags Details
File: dso_list (5.50 KB, text/plain)
2014-09-20 14:33 UTC, Dennis Gilmore
no flags Details
File: environ (72 bytes, text/plain)
2014-09-20 14:33 UTC, Dennis Gilmore
no flags Details
File: exploitable (82 bytes, text/plain)
2014-09-20 14:33 UTC, Dennis Gilmore
no flags Details
File: limits (1.29 KB, text/plain)
2014-09-20 14:33 UTC, Dennis Gilmore
no flags Details
File: maps (26.39 KB, text/plain)
2014-09-20 14:33 UTC, Dennis Gilmore
no flags Details
File: open_fds (1.38 KB, text/plain)
2014-09-20 14:33 UTC, Dennis Gilmore
no flags Details
File: proc_pid_status (900 bytes, text/plain)
2014-09-20 14:33 UTC, Dennis Gilmore
no flags Details
File: var_log_messages (8.53 KB, text/plain)
2014-09-20 14:33 UTC, Dennis Gilmore
no flags Details

Description Dennis Gilmore 2014-09-20 14:33:04 UTC
Description of problem:
running sssd under normal conditions on my mail server it keeps crashing

Version-Release number of selected component:
sssd-common-1.12.0-7.fc21

Additional info:
reporter:       libreport-2.2.3
backtrace_rating: 4
cmdline:        /usr/sbin/sssd -D -f
crash_function: dbus_watch_handle
executable:     /usr/sbin/sssd
kernel:         3.16.2-301.fc21.x86_64
runlevel:       N 3
type:           CCpp
uid:            0

Truncated backtrace:
Thread no. 1 (9 frames)
 #0 dbus_watch_handle at dbus-watch.c:683
 #1 sbus_watch_handler at src/sbus/sssd_dbus_common.c:94
 #2 epoll_event_loop at ../tevent_epoll.c:728
 #3 epoll_event_loop_once at ../tevent_epoll.c:926
 #4 std_event_loop_once at ../tevent_standard.c:114
 #5 _tevent_loop_once at ../tevent.c:530
 #6 tevent_common_loop_wait at ../tevent.c:634
 #7 std_event_loop_wait at ../tevent_standard.c:140
 #8 server_loop at src/util/server.c:587

Comment 1 Dennis Gilmore 2014-09-20 14:33:07 UTC
Created attachment 939553 [details]
File: backtrace

Comment 2 Dennis Gilmore 2014-09-20 14:33:08 UTC
Created attachment 939554 [details]
File: cgroup

Comment 3 Dennis Gilmore 2014-09-20 14:33:09 UTC
Created attachment 939555 [details]
File: core_backtrace

Comment 4 Dennis Gilmore 2014-09-20 14:33:10 UTC
Created attachment 939556 [details]
File: dso_list

Comment 5 Dennis Gilmore 2014-09-20 14:33:11 UTC
Created attachment 939557 [details]
File: environ

Comment 6 Dennis Gilmore 2014-09-20 14:33:11 UTC
Created attachment 939558 [details]
File: exploitable

Comment 7 Dennis Gilmore 2014-09-20 14:33:12 UTC
Created attachment 939559 [details]
File: limits

Comment 8 Dennis Gilmore 2014-09-20 14:33:13 UTC
Created attachment 939560 [details]
File: maps

Comment 9 Dennis Gilmore 2014-09-20 14:33:14 UTC
Created attachment 939561 [details]
File: open_fds

Comment 10 Dennis Gilmore 2014-09-20 14:33:15 UTC
Created attachment 939562 [details]
File: proc_pid_status

Comment 11 Dennis Gilmore 2014-09-20 14:33:16 UTC
Created attachment 939563 [details]
File: var_log_messages

Comment 12 Lukas Slebodnik 2014-09-22 07:57:24 UTC
According to /var/log/mesages, the main process /usr/sbin/sssd crashed, which is really bad.
Sep 20 04:13:39 mail02.ausil.us sssd[649]: [46B blob data]
Sep 20 04:14:39 mail02.ausil.us sssd[649]: [64B blob data]
Sep 20 04:14:39 mail02.ausil.us kernel: sssd[649]: segfault at a4 ip 00007f55b2f7baa1 sp 00007fff693fe030 error 4 in libdbus-1.so.3.8.6[7f55b2f55000+47000]
Sep 20 04:14:39 mail02.ausil.us abrt-hook-ccpp[1759]: Saved core dump of pid 649 (/usr/sbin/sssd) to /var/tmp/abrt/ccpp-2014-09-20-04:14:39-649 (1933312 bytes)

The process crashed because pointer watch (of type DBusWatch *) has very low value. It can be uninitialized variable or use after free.
Thread 1 (LWP 649):
#0  dbus_watch_handle (watch=0xa0, flags=flags@entry=2) at dbus-watch.c:683
        __FUNCTION__ = "dbus_watch_handle"


Could you put "debug_level = 9" into sssd section and provide log files from directory /var/log/sssd?

You can also try to upgrade into sssd-1.12.1-2.fc21, which is in updates-testing.

Comment 13 Lukas Slebodnik 2015-10-14 06:54:44 UTC
The necessary information were not provided  in last year :-)

I believe this is the same case as in upstream ticket
https://fedorahosted.org/sssd/ticket/2525.
And it is already fixed in 1.12.4 and fedora 21 already contains sssd-1.12.5-3.fc21.

Comment 14 Lukas Slebodnik 2015-10-14 06:58:11 UTC
It is indirectly pr(In reply to Lukas Slebodnik from comment #13)
> The necessary information were not provided  in last year :-)
> 
> I believe this is the same case as in upstream ticket
> https://fedorahosted.org/sssd/ticket/2525.
> And it is already fixed in 1.12.4 and fedora 21 already contains
> sssd-1.12.5-3.fc21.

It might be indirectly proved by abrt report linked with this ticket.
https://retrace.fedoraproject.org/faf/reports/349418/
It only crashed with older version of sssd.
sssd-common 	        5
0:1.11.4-1.fc20 	3
0:1.12.0-7.fc21 	1
0:1.11.7-2.fc20 	1

Comment 15 Alexey Tikhonov 2019-11-12 13:56:32 UTC
For the record, it seems the reason of this ticket was the same as bz 1767159


Note You need to log in before you can comment on or make changes to this bug.