Index: dlg_search.c =================================================================== --- dlg_search.c (revision 35343) +++ dlg_search.c (revision 35344) @@ -309,7 +309,7 @@ gds_append_str(&e, qopt); gds_append(&e, '\n'); right = e.array + e.used; - res |= search_decompile_op(&e, nd->data.children->next, (w->rtype == RIGHT_COORD)); + res |= search_decompile_op(&e, nd->data.children->next, ((w != NULL) && (w->rtype == RIGHT_COORD))); if (res == 0) { rnd_hid_attr_val_t hv;