On 2006-01-23, at 21:36, Zack Weinberg wrote:

Also, if you have access to valgrind (I can't remember if it works on x86-64 yet?) you could run both programs under it and report what it says, since this seems
to be a bad-memory-access issue.

Inside genautomata.c there is a function gen_regexp_el(). It's allocating
a regexp_t by calling create_node(). However the code looks like:

  else if (strcmp (str, NOTHING_NAME) == 0)
    {
      regexp = create_node (sizeof (struct decl));
      regexp->mode = rm_nothing;
    }
  else
    {
      regexp = create_node (sizeof (struct decl));
      regexp->mode = rm_unit;
      REGEXP_UNIT (regexp)->name = str;
    }

This looks at last dubious.

Reply via email to