On Sat, Sep 20, 2003 at 05:16:05PM +0100, Giles Scott wrote: > item_str is NULL if no relation is specified, so the strcmp is failing. > > Attached is a patch. and a gdb backtrace of the issue before the fix.
Why not just do that check immediately after the "Get the relation to use, if any"? check? Also, can it ever legitimately be null? (E.g., are there cases where the relation list isn't made visible?)