[systemd-devel] Clarification around a segmentation fault from an udevd worker
Daniel Mack
daniel at zonque.org
Wed Jul 29 04:05:19 PDT 2015
On 07/29/2015 10:06 AM, SF Markus Elfring wrote:
> Program received signal SIGSEGV, Segmentation fault.
> 0x00007ffff6fefc78 in vfprintf () from /lib64/libc.so.6
> (gdb) bt full
> #0 0x00007ffff6fefc78 in vfprintf () from /lib64/libc.so.6
> No symbol table info available.
> #1 0x00007ffff7016f39 in vsnprintf () from /lib64/libc.so.6
> No symbol table info available.
> #2 0x000055555559ac64 in log_internalv (level=7, error=0, file=0x5555556118a0 "/home/elfring/Projekte/systemd/lokal/src/libsystemd/sd-device/device-private.c",
> line=1080, func=0x5555556124c0 <__func__.9471> "device_update_db",
> format=0x555555611f40 "%s:%s:%d: created %s file '%s' for '%s'",
ap=0x7fffffffd760)
^^^^^^^^^
This is *very* strange. The 'format' parameter should not contain that
"%s:%s:%d" prefix at all, as this cannot work of course because the
argument list doesn't match. The source file and line are only added to
the journal entries via log_dispatch().
Also, "%s:%s:%d" does not appear anywhere in the source tree, and it
never did. ("git log -p | grep "%s:%s:%d" | wc -l").
Which version of systemd are you based on? Do you have *any* local
modifications in your tree?
*confused*
Daniel
More information about the systemd-devel
mailing list