Aborts with ERROR:girepository/girparser.c:343:state_switch: assertion failed: (ctx->state != newstate)
@mcrha
Submitted by Milan Crha Link to original bug (#772459)
Description
Created attachment 336996 Camel-1.2.gir.xz
Using gobject-introspection-1.48.0-1.fc24.x86_64 and passing to it the attached Camel-1.2.gir causes a crash of:
$ g-ir-compiler --includedir=. --debug --verbose Camel-1.2.gir
-o Camel-1.2.typelib
with error:
ERROR:girepository/girparser.c:343:state_switch: assertion failed: (ctx->state != newstate)
with no hint what's going on. The command is run in the camel/ folder of the evolution-data-server checkout [1].
I'd like to fix the .gir file, or better the sources to not generate a .gir file which confuses the g-ir-compiler, but as there is absolutely no hint on the place, it's really hard to do it.
Note that building vala bindings from the same .gir file works.
[1] https://git.gnome.org/browse/evolution-data-server/tree/camel/
Attachment 336996, "Camel-1.2.gir.xz":
Camel-1.2.gir.xz