On Sat, 26 Nov 2011 18:55:43 +0100
Christoph Bartoschek
Am 26.11.2011 18:20, schrieb Rich Coe:
Can you check these values in the debugger when the problem occurs ?
p __printf_function_table p __printf_modifier_table p __printf_va_arg_table
Rich
(gdb) p __printf_function_table $4 = (printf_function **) 0x8124600 (gdb) p __printf_modifier_table $5 = (struct printf_modifier_record **) 0xc3c2cb0 (gdb) p __printf_va_arg_table $6 = (printf_va_arg_function **) 0x1911c190 (gdb)
I think I see the issue. The format string passed in has %% specifier, which is supposed to print a literal % instead of being a format specifier. In this case, the code does not recognize the '%%' construct, and fails. I think it should be easy to construct a test case that shows this. Rich -- Rich Coe rcoe@wi.rr.com -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org