<html>
    <head>
      <base href="https://bugs.freedesktop.org/" />
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - race condition issue?"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69845#c6">Comment # 6</a>
              on <a class="bz_bug_link 
          bz_status_NEW "
   title="NEW --- - race condition issue?"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=69845">bug 69845</a>
              from <span class="vcard"><a class="email" href="mailto:akira@tagoh.org" title="Akira TAGOH <akira@tagoh.org>"> <span class="fn">Akira TAGOH</span></a>
</span></b>
        <pre>I have no strong idea how to fix this yet. so I should bring this up to discuss
on the list perhaps.
Anyway, the attached test case can 100% reproduces this issue. additional
changes on my local tree to test it:

--- a/test/Makefile.am
+++ b/test/Makefile.am
@@ -16,7 +16,7 @@ TESTDATA=4x6.pcf 8x16.pcf out.expected fonts.conf.in

 AM_CPPFLAGS = -I$(top_srcdir) -I$(top_builddir)

-check_PROGRAMS = test-migration
+check_PROGRAMS = test-migration test-bz69845
 if HAVE_PTHREAD
 check_PROGRAMS += test-pthread
 test_pthread_LDADD = $(top_builddir)/src/libfontconfig.la
@@ -27,6 +27,8 @@ endif
 noinst_PROGRAMS = $(check_PROGRAMS)

 test_migration_LDADD = $(top_builddir)/src/libfontconfig.la
+test_bz69845_CFLAGS = -DSRCDIR="\"$(abs_srcdir)\""
+test_bz69845_LDADD = $(top_builddir)/src/libfontconfig.la

 EXTRA_DIST=$(check_SCRIPTS) $(TESTDATA)

and copy PCF file on test directory as bz69845.pcf

or I can just commit it into git for testing.</pre>
        </div>
      </p>
      <hr>
      <span>You are receiving this mail because:</span>
      
      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>