27 Apr
2006
27 Apr
'06
12:20 p.m.
Sammy Spets wrote:
Hi everyone,
I've just run into a segfault situation during development of a form element. Basically, all I changed from a working system was add a new form element and accidentally left something off one of the child element definitions. Here is a code snippet you can drop into a module and see if you can reproduce it.
I am pretty sure I could. Your code omitted the key for the form element. form API doesn't like this (or wrong keys for that matter). No idea why php crashes because of this, but in any way: Your code is broken, fix it and it wont crash anymore. Cheers, Gerhard