[Pkg-utopia-maintainers] Bug#522136: SEGV at startup

Mika Tiainen mikat at iki.fi
Sun Apr 12 19:45:38 UTC 2009


severity 522136 important
tags 522136 patch
thanks


Raising severity as this completely breaks HAL on affected machines. 

Attached is a patch against 0.5.12~git20090406.46dc48-1 that fixes the
segfault for me.

"hal_device_property_get_string (parent, "storage.drive_type")" returns
NULL for these partitioned md-devices, which is passed to strcmp() and
causes the segfault.

NOTE: I don't know whether the actual bug is that parent points to the
wrong place, but this atleast gets HAL working again.

There are already similar reports in Ubuntu and upstream bugzilla:

https://bugs.launchpad.net/ubuntu/+source/hal/+bug/353396
https://bugs.freedesktop.org/show_bug.cgi?id=19577

-- 
Mika Tiainen		Always be wary of any helpful item that
mikat at iki.fi		weighs less than its operating manual.
http://mikat.iki.fi	-- (Terry Pratchett, Jingo)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 20_fix_partitioned_md_raid.patch
Type: text/x-diff
Size: 1688 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-utopia-maintainers/attachments/20090412/1097220f/attachment.patch>


More information about the Pkg-utopia-maintainers mailing list