[systemd-devel] systemd segfaulting after commit 877d54e9b09e093c2102f519a84e2a52637ae035
Allin Cottrell
cottrell at wfu.edu
Sun Sep 23 14:14:02 PDT 2012
On Sun, 23 Sep 2012, Colin Walters wrote:
> On Sat, 2012-09-22 at 16:34 -0700, Khem Raj wrote:
>
>> git bisect tells me that its happening due to
>>
>> commit 877d54e9b09e093c2102f519a84e2a52637ae035
>> Author: Lennart Poettering <lennart at poettering.net>
>> Date: Fri Aug 24 22:21:20 2012 +0200
>>
>> journal: generate structured journal messages for a number of events
>>
>>
>> I am using gcc 4.7.2 + glibc 2.16 + binutils 2.22 + kernel 3.4.10
>
> I get this too in GNOME-OSTree (fork of Poky edison, gcc 4.6, eglibc
> 2.13).
>
> I had been thinking it was
> http://gcc.gnu.org/bugzilla/show_bug.cgi?id=47025 [...]
I think it's
https://bugs.freedesktop.org/show_bug.cgi?id=55213
The reporter explains clearly that the new journald code
invokes undefined behavior in relation to vsnprintf() and
vasprintf(): it may work on some systems but in general cannot
be relied upon to work, and it segfaults on some systems. The
reporter also provides a patch.
--
Allin Cottrell
Department of Economics
Wake Forest University, NC
More information about the systemd-devel
mailing list