Am 12.03.2014 16:34, schrieb Lennart Poettering: > This should then run an break where the incorrect OOM happens. Then, get > me a backtracke please: > > bt full
Sending it inline, should be readable enough. It seems like udev_device_get_parent() fails in enumerate_partitions(). The device it fails on is 254:0 (/dev/dm-0), which is a device mapper device and has no parent (no idea why it even checks that). (gdb) bt full #0 log_oom_internal (file=0x40e480 "src/gpt-auto-generator/gpt-auto-generator.c", line=398, func=0x40eee0 <__func__.8740> "enumerate_partitions") at src/shared/log.c:737 No locals. #1 0x000000000040497a in enumerate_partitions (devnum=65024) at src/gpt-auto-generator/gpt-auto-generator.c:398 e = 0x0 d = 0x417010 b = 0x0 udev = 0x417250 home = 0x0 srv = 0x0 first = 0x1000 item = 0x2 parent = 0x0 node = 0x0 pttype = 0x40a0a8 <split+159> "I\211\006H\001\330H\211E" devtype = 0x41ed <error: Cannot access memory at address 0x41ed> home_nr = -1 srv_nr = -1 pl = 0x1000 r = 0 k = 0 pn = 0 __func__ = "enumerate_partitions" #2 0x00000000004059fb in add_mounts () at src/gpt-auto-generator/gpt-auto-generator.c:729 devno = 65024 r = 1 __func__ = "add_mounts" #3 0x0000000000405b4c in main (argc=4, argv=0x7fffffffe4b8) at src/gpt-auto-generator/gpt-auto-generator.c:768 k = 0 r = 0 __func__ = "main"
signature.asc
Description: OpenPGP digital signature
_______________________________________________ systemd-devel mailing list systemd-devel@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/systemd-devel