vala_ccode_array_module_append_initializer_list: assertion 'initializer_list != NULL' failed
When building four-in-a-row@2282edf8 with valac 0.42.3 and G_DEBUG=fatal-criticals
valac crashes with:
** (valac:19630): CRITICAL **: 21:16:02.315: vala_ccode_array_module_append_initializer_list: assertion 'initializer_list != NULL' failed
The failing command is:
/usr/bin/valac --pkg gtk+-3.0 --pkg libcanberra-gtk --pkg libcanberra -g -C ai.
Simple backtrace:
#0 0x00007f48fb153bca in _g_log_abort (breakpoint=breakpoint@entry=1)
at /home/mcatanzaro/Projects/glib/glib/gmessages.c:554
#1 0x00007f48fb154c9d in g_logv (log_domain=0x0,
log_level=G_LOG_LEVEL_CRITICAL, format=<optimized out>,
args=args@entry=0x7ffe28cf43c8)
at /home/mcatanzaro/Projects/glib/glib/gmessages.c:1371
#2 0x00007f48fb154e7b in g_log (log_domain=<optimized out>,
log_level=log_level@entry=G_LOG_LEVEL_CRITICAL,
format=format@entry=0x7f48fb1a2b54 "%s: assertion '%s' failed")
at /home/mcatanzaro/Projects/glib/glib/gmessages.c:1413
#3 0x00007f48fb15540d in g_return_if_fail_warning (
log_domain=<optimized out>, pretty_function=<optimized out>,
expression=<optimized out>)
at /home/mcatanzaro/Projects/glib/glib/gmessages.c:2764
#4 0x00007f48fb00d689 in vala_ccode_array_module_real_visit_array_creation_expression (base=0x5608f0d6e190, expr=0x5608f573de50) at valaccodearraymodule.c:366
#5 0x00007f48fb2bc006 in vala_array_creation_expression_real_emit (
base=0x5608f573de50, codegen=0x5608f0d6e190)
at valaarraycreationexpression.c:1213
#6 0x00007f48fb2bf9bf in vala_assignment_real_emit (base=0x5608f573df20,
codegen=0x5608f0d6e190) at valaassignment.c:2988
#7 0x00007f48fb2f0cc5 in vala_expression_statement_real_emit (
base=0x5608f57310f0, codegen=0x5608f0d6e190)
at valaexpressionstatement.c:203
#8 0x00007f48fb02f208 in vala_ccode_base_module_real_visit_block (
base=<optimized out>, b=0x5608f572df60) at valaccodebasemodule.c:12349
#9 0x00007f48fb05fd1c in vala_ccode_method_module_real_visit_method (
base=<optimized out>, m=m@entry=0x5608f56ac540)
at valaccodemethodmodule.c:4372
#10 0x00007f48fb090011 in vala_gtk_module_real_visit_method (
base=0x5608f0d6e190, m=0x5608f56ac540) at valagtkmodule.c:1797
#11 0x00007f48fb05aec2 in vala_ccode_method_module_real_visit_creation_method (
base=0x5608f0d6e190, m=0x5608f56ac540) at valaccodemethodmodule.c:7543
#12 0x00007f48fb2cd29a in vala_class_real_accept_children (
base=0x5608f5728300, visitor=0x5608f0d6e190) at valaclass.c:904
#13 0x00007f48fb0a608b in vala_gtype_module_real_visit_class (
base=0x5608f0d6e190, cl=cl@entry=0x5608f5728300) at valagtypemodule.c:4130
#14 0x00007f48fb08ce26 in vala_gobject_module_real_visit_class (
base=0x5608f0d6e190, cl=cl@entry=0x5608f5728300) at valagobjectmodule.c:135
#15 0x00007f48fb076e14 in vala_gd_bus_module_real_visit_class (
base=0x5608f0d6e190, cl=0x5608f5728300) at valagdbusmodule.c:3483
#16 0x00007f48fb080094 in vala_gd_bus_server_module_real_visit_class (
base=0x5608f0d6e190, cl=0x5608f5728300) at valagdbusservermodule.c:6464
#17 0x00007f48fb397ab9 in vala_source_file_accept_children (
self=self@entry=0x5608f0d73890, visitor=visitor@entry=0x5608f0d6e190)
at valasourcefile.c:355
#18 0x00007f48fb021d28 in vala_ccode_base_module_real_visit_source_file (
base=0x5608f0d6e190, source_file=0x5608f0d73890)
at valaccodebasemodule.c:2878
#19 0x00007f48fb01f553 in vala_ccode_base_module_real_emit (
base=0x5608f0d6e190, context=0x5608f0d4f220) at valaccodebasemodule.c:1716
#20 0x00005608ef30f088 in vala_compiler_run (self=0x5608f0d4c210)
at valacompiler.c:1640
#21 0x00005608ef30d80e in vala_compiler_main (args_length1=<optimized out>,
args=<optimized out>) at valacompiler.c:2631
#22 main (argc=<optimized out>, argv=<optimized out>) at valacompiler.c:2622
Full backtrace: gdb.txt