Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.

Bug 1652766

Summary: SSSD crashes with talloc_chunk_from_ptr failure
Product: Red Hat Enterprise Linux 7 Reporter: Vinay Mishra <vmishra>
Component: sssdAssignee: SSSD Maintainers <sssd-maint>
Status: CLOSED DUPLICATE QA Contact: sssd-qe <sssd-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 7.5CC: grajaiya, jhrozek, lslebodn, mzidek, pbrezina, sbose, tscherf
Target Milestone: rc   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2019-03-13 22:23:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vinay Mishra 2018-11-23 00:49:04 UTC
(gdb) info threads 
  Id   Target Id         Frame 
* 1    Thread 0x7fd791749880 (LWP 50308) talloc_chunk_from_ptr (ptr=0x1) at ../talloc.c:521
(gdb) t 1
[Switching to thread 1 (Thread 0x7fd791749880 (LWP 50308))]
#0  talloc_chunk_from_ptr (ptr=0x1) at ../talloc.c:521
521		if (unlikely((tc->flags & (TALLOC_FLAG_FREE | ~TALLOC_FLAG_MASK)) != talloc_magic)) {

(gdb) bt full
#0  talloc_chunk_from_ptr (ptr=0x1) at ../talloc.c:521
        pp = 0x1 <Address 0x1 out of bounds>
        tc = <optimized out>
#1  __talloc_with_prefix (tc_ret=<synthetic pointer>, prefix_len=0, size=24, context=0x1) at ../talloc.c:743
        tc = 0x0
        limit = 0x0
        total_len = 120
        parent = 0x0
#2  __talloc (tc=<synthetic pointer>, size=24, context=0x1) at ../talloc.c:804
No locals.
#3  _talloc_named_const (name=0x7fd781255300 <Address 0x7fd781255300 out of bounds>, size=24, context=0x1) at ../talloc.c:961
        tc = <optimized out>
#4  talloc_named_const (context=<optimized out>, size=24, name=0x7fd781255300 <Address 0x7fd781255300 out of bounds>) at ../talloc.c:1728
No locals.
#5  0x00007fd781243dd0 in ?? ()
No symbol table info available.
#6  0x000055b88ed38ac0 in ?? ()
No symbol table info available.
#7  0x0000000000000000 in ?? ()
No symbol table info available.

(gdb) frame 1
#1  __talloc_with_prefix (tc_ret=<synthetic pointer>, prefix_len=0, size=24, context=0x1) at ../talloc.c:743
743			parent = talloc_chunk_from_ptr(context);

(gdb) set print pretty on
(gdb) p *talloc_chunk_from_ptr
$1 = {struct talloc_chunk *(const void *)} 0x7fd78d3bd6f0 <talloc_chunk_from_ptr>



# less package
sssd-common-1.16.2-13.el7

Comment 8 Jakub Hrozek 2019-03-13 22:23:21 UTC

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