GNOME Bugzilla – Bug 698242
printf: abort() in custom printf with old printf extension specifiers
Last modified: 2013-04-17 23:48:45 UTC
sees to be caused by https://bugzilla.gnome.org/show_bug.cgi?id=697970 and happened reproducably with a partially updates gstreamer (updated core/base/good, but ugly/bad/ffmpeg where about a week old)
+ Trace 231808
Can reproduce: $ GST_CHECKS=info_old_printf_extensions make gst/gstinfo.check-norepeat Running suite(s): GstInfo 0%: Checks: 1, Failures: 0, Errors: 1 gst/gstinfo.c:281:E:info:info_old_printf_extensions:0: (after this point) Received signal 6 (Aborted) commit c398c842f50c605108e50408d265c58192e98552 Author: Tim-Philipp Müller <tim@centricular.net> Date: Thu Apr 18 00:28:00 2013 +0100 tests: add unit test for old printf extension specifiers To make sure we maintain binary compatibility with the old specifiers. https://bugzilla.gnome.org/show_bug.cgi?id=698242
commit e8a9f7acdf8ee5955415f4799c38dac7a944adaf Author: Tim-Philipp Müller <tim@centricular.net> Date: Thu Apr 18 00:44:32 2013 +0100 printf: fix handling of old printf extension specifiers for ABI compatibility Fixes abort when the old specifiers are used. Fix up the conversion specifier, it would get overwritten with 'c' below to the extension format char, which then later is unhandled, leading to the abort. Also fix up and enable unit test for this. https://bugzilla.gnome.org/process_bug.cgi (Yes, the bug URL was very clever, I know)