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

c_glib testserialization fails with glib assertion

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.10.0
    • Component/s: C glib - Compiler
    • Labels:
      None
    • Environment:

      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

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

              Dates

              • Created:
                Updated:
                Resolved: