Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-3632

c_glib testserialization fails with glib assertion

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 0.10.0
    • C glib - Compiler
    • None
    • ArchLinux
      GCC 5.3.0
      GLib-2.46.2

    Description

      Recently it suddenly started failing in my local environment, but no any of CI.
      As it's assertion failure, I suspect it's due to glib version.
      There were a few of them but adding some null check to generated code fixed the problem.

      (/home/x/proj/thrift/clean/lib/c_glib/test/.libs/lt-testserialization:24158): GLib-CRITICAL **: g_hash_table_size: assertion 'hash_table != NULL' failed
      /bin/sh: line 5: 24158 Trace/breakpoint trap   (core dumped) ${dir}$tst
      FAIL: testserialization
      

      Attachments

        Activity

          People

            nsuke Nobuaki Sukegawa
            nsuke Nobuaki Sukegawa
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: