Crash when udev detects my swap partition (only ?)

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

 



Hi,
I have a repeatable crash in udev when it tries to detect my swap
partition (and maybe in other cases that I didn't had the time to
investigate more)
With the udev-132 on frugalware, I get the following backtrace, when I:

udevadm test /block/hda/hda2

I get the following stack trace:

#0  0x08054150 in util_strlcat ()
#1  0x0804a8aa in udev_event_apply_format ()
#2  0x0804e2c6 in udev_rules_apply_to_event ()
#3  0x080497ae in udev_event_execute_rules ()
#4  0x0805b704 in udevadm_test ()
#5  0x08059b83 in run_command ()
#6  0x08059e24 in main ()

or  in valgrind

==21311== Invalid read of size 1
==21311==    at 0x8054150: util_strlcat (in /sbin/udevadm)
==21311==    by 0x804A8A9: udev_event_apply_format (in /sbin/udevadm)
==21311==    by 0x804E2C5: udev_rules_apply_to_event (in
/sbin/udevadm)
==21311==    by 0x80497AD: udev_event_execute_rules (in /sbin/udevadm)
==21311==    by 0x805B703: udevadm_test (in /sbin/udevadm)
==21311==    by 0x8059B82: run_command (in /sbin/udevadm)
==21311==    by 0x8059E23: main (in /sbin/udevadm)
==21311==  Address 0x5 is not stack'd, malloc'd or (recently) free'd

So it means a null pointer is used somewhere. Infortunatly I was not
able to produce the line numbers of the errors.
If needed I can try to investigate more with some indications.

Cheers,
    Michel
--
To unsubscribe from this list: send the line "unsubscribe linux-hotplug" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [Linux DVB]     [Asterisk Internet PBX]     [DCCP]     [Netdev]     [X.org]     [Util Linux NG]     [Fedora Women]     [ALSA Devel]     [Linux USB]

  Powered by Linux