After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 794155 - v4l2: v4l2object: fix mmap on 32 bit systems
v4l2: v4l2object: fix mmap on 32 bit systems
Status: RESOLVED DUPLICATE of bug 793103
Product: GStreamer
Classification: Platform
Component: gst-plugins-good
git master
Other Linux
: Normal major
: git master
Assigned To: GStreamer Maintainers
GStreamer Maintainers
Depends on:
Blocks:
 
 
Reported: 2018-03-07 15:43 UTC by Michael Tretter
Modified: 2018-03-07 16:40 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-v4l2-v4l2object-fix-mmap-on-32-bit-systems.patch (1.73 KB, patch)
2018-03-07 15:43 UTC, Michael Tretter
rejected Details | Review

Description Michael Tretter 2018-03-07 15:43:38 UTC
Created attachment 369408 [details] [review]
0001-v4l2-v4l2object-fix-mmap-on-32-bit-systems.patch

The declaration of the function pointer to mmap in V4l2Object uses gint64 instead of off_t for the last argument. However, off_t is 32 bit on 32 bit systems and mmap fails with -EINVAL on such systems.
Comment 1 Nicolas Dufresne (ndufresne) 2018-03-07 16:39:56 UTC
It's not the right solution, this signature is from libv4l2, I cannot change it.

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