This bug was fixed in the package udev - 161+git20100827-1
---
udev (161+git20100827-1) maverick; urgency=low
* Merge fixes from trunk:
- keymap: Fix Acer TravelMate 4720 (LP: #569815)
- gudev: fix crash if netlink is not available (LP: #581527)
- udev(7) manpage: Fix
** Branch linked: lp:~ubuntu-core-dev/ubuntu/maverick/udev/ubuntu
--
udev segfaults in udev_monitor_enable_receiving when netlink doesn't work
https://bugs.launchpad.net/bugs/581527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
Stephane, if this is important to you, please feel free to backport it
to lucid and reopen the lucid task. I don't object to it from an SRU
POV, but I won't do it myself.
--
udev segfaults in udev_monitor_enable_receiving when netlink doesn't work
https://bugs.launchpad.net/bugs/581527
You
The current code in udev is quite inconsistent, though -- about half of
the udev_monitor_*() functions return NULL if the passed monitor is
NULL, the other half will crash.
--
udev segfaults in udev_monitor_enable_receiving when netlink doesn't work
https://bugs.launchpad.net/bugs/581527
You
Looking at the stacktrace and rhythmbox code, it actually crashes in
g_udev_client_new(). This is actually a gudev bug.
** Changed in: rhythmbox (Ubuntu Maverick)
Status: New = Invalid
** Changed in: udev (Ubuntu Lucid)
Milestone: lucid-updates = None
** Changed in: udev (Ubuntu
http://git.kernel.org/?p=linux/hotplug/udev.git;a=commitdiff;h=e4dcdc4ab232bcbbe61a2026c16e647d9302cdd2
** Changed in: udev (Ubuntu Maverick)
Status: In Progress = Fix Committed
** Changed in: udev (Ubuntu Maverick)
Assignee: Martin Pitt (pitti) = (unassigned)
--
udev segfaults in
** Tags removed: patch
--
udev segfaults in udev_monitor_enable_receiving when netlink doesn't work
https://bugs.launchpad.net/bugs/581527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
** Tags added: lucid maverick patch
--
udev segfaults in udev_monitor_enable_receiving when netlink doesn't work
https://bugs.launchpad.net/bugs/581527
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
Sorry, I don't agree with this patch.
This should be an assertion, rather than a check
--
udev segfaults in udev_monitor_enable_receiving when netlink doesn't work
https://bugs.launchpad.net/bugs/581527
You received this bug notification because you are a member of Ubuntu
Bugs, which is
Note that the bug here is clearly in rhythmbox, libudev correctly
returns NULL for the monitor because there is no netlink socket - and
rhythmbox failed to check for that, and blindly passed that NULL around
assuming it was a valid object
** Changed in: udev (Ubuntu Lucid)
Status: New =
Won't Fix the lucid udev, the correct patch merely turns a segfault into
an assertion error and will still terminate the process. Will send
adding an assert in there upstream for maverick though
Opened the bug on rhythmbox for not checking the return value is not
NULL before blindly passing it
I know that using lucid in a container on top of an older kernel (in this case
Hardy's) is not recommended and is known to fail.
Most users doing that know that, though I believe that if something can be
fixed in udev to correctly fail rather than segfault, it's still worth fixing.
Please let
Ok, so that patch does the trick.
I haven't been looking at the definition of the return codes so -1 might not be
a good idea :)
** Patch added: Check if udev_monitor != NULL
http://launchpadlibrarian.net/48581043/libudev-monitor.c.diff
--
udev segfaults in udev_monitor_enable_receiving
Here's a debdiff for Lucid.
It seems like Debian isn't using any kind of patching system, so that's a patch
directly applied to upstream code + it's changelog entry targeted at
lucid-proposed.
As for maverick, I believe that this bug should be fixed upstream and
will then be pulled from a new
** Patch removed: debdiff for lucid-proposed
http://launchpadlibrarian.net/48582648/libudev-monitor.c.diff
** Patch added: debdiff for lucid-proposed
http://launchpadlibrarian.net/48585067/581527.debdiff
--
udev segfaults in udev_monitor_enable_receiving when netlink doesn't work
15 matches
Mail list logo