[systemd-bugs] [Bug 58067] New: systemd-udevd and udevadm segfault on MSB platforms
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Sun Dec 9 21:32:00 PST 2012
https://bugs.freedesktop.org/show_bug.cgi?id=58067
Priority: medium
Bug ID: 58067
Assignee: systemd-bugs at lists.freedesktop.org
Summary: systemd-udevd and udevadm segfault on MSB platforms
QA Contact: systemd-bugs at lists.freedesktop.org
Severity: normal
Classification: Unclassified
OS: All
Reporter: eric at ecks.ca
Hardware: All
Status: NEW
Version: unspecified
Component: general
Product: systemd
Created attachment 71250
--> https://bugs.freedesktop.org/attachment.cgi?id=71250&action=edit
Patch to fix issue with hwdb on MSB platforms
I recently upgraded to udev-196-r1 (systemd-196) on Gentoo Linux on SPARC, and
observed (with USE=hwdb and the database created) systemd-udevd and udevadm to
be causing segfaults. Further investigation (tested on PowerPC) and some
debugging reveals this to be an endianness issue. The attached patch appears to
correct the issue, but may not be the most elegant fix.
Note that node->values_count is also referenced at libudev-hwdb.c:239, though
in my testing was not reached. It may be similarly affected.
--
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/systemd-bugs/attachments/20121210/1fd35a1b/attachment.html>
More information about the systemd-bugs
mailing list