On 12/17/22 17:12, [email protected] wrote:
I *think* I may have found a bug in glibc in rawhide, but I'm not sure. I figured I would ask here first before filing a bug.

I'm trying to track down a shared memory issue in openmpi on i686 rawhide:

https://bugzilla.redhat.com/show_bug.cgi?id=2142304
https://github.com/open-mpi/ompi/issues/11065

and the oddity that I'm looking at now is that a strange mmap() system call is being made rather than mmap2() which appears to be standard on i686:

[pid    84] 19:38:24 mmap(NULL)         = -1 EFAULT (Bad address)

normally I see calls like:

[pid   157] mmap2(NULL, 62328, PROT_READ, MAP_PRIVATE|MAP_DENYWRITE, 24, 0) = 0xf5a74000


Now is there any way that the openmpi code could be affecting how mmap() is being called?  It basically does:

mmap(NULL, real_size, PROT_READ | PROT_WRITE, MAP_SHARED,                        seg_id, 0)


Well, it turns out that openmpi is intercepting the mmap call, so it seems to be an incompatibility with how it is doing that now. Still no idea what, but hopefully openmpi upstream will have some ideas.

--
Orion Poplawski
he/him/his  - surely the least important thing about me
IT Systems Manager                         720-772-5637
NWRA, Boulder/CoRA Office             FAX: 303-415-9702
3380 Mitchell Lane                       [email protected]
Boulder, CO 80301                 https://www.nwra.com/

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
devel mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

Reply via email to