On Mon, 11 Aug 2008, Chris Young wrote:

On Mon, 11 Aug 2008 00:41:30 +0100 (BST), John-Mark Bell wrote:

Think I've got it:

Breakpoint 1, form_successful_controls (form=0x67b58d20,
   submit_button=0x67b73968, successful_controls=0x67da67d8)
   at render/form.c:257
257                                     if (!value) {
(gdb) p value
$1 = 0x0

Ok.

Your other email suggests that form_encode_item is causing the problems.
If so, you could break on that, instead, and step through looking for
err != UTF8_CONVERT_OK. Given how often the charset conversion routines
are used, it's somewhat surprising that they're failing in this case..

Appears to be UTF8_CONVERT_OK all through that function AFAICT.

Well the only way for that to return NULL would be encountering UTF8_CONVERT_NOMEM or for the input parameters to be bad (namely item and charset being NULL). Given the gdb output above, it's clearly the charset conversion that's causing problems. I've still insufficient details to know why, though.


J.

Reply via email to