Re: mmap() being called instead of mmap2() on i686 Rawhide

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 12/17/22 17:12, devel@xxxxxxxxxxxxxxxxxxxxxxx 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                       orion@xxxxxxxx
Boulder, CO 80301                 https://www.nwra.com/

<<attachment: smime.p7s>>

_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
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/devel@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux