After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 673580 - g-ir-compiler segfaults when building babl introspection
g-ir-compiler segfaults when building babl introspection
Status: RESOLVED DUPLICATE of bug 675985
Product: gobject-introspection
Classification: Platform
Component: general
2.32.x
Other OpenBSD
: Normal normal
: ---
Assigned To: Default Gegl Component Owner
gobject-introspection Maintainer(s)
Depends on:
Blocks:
 
 
Reported: 2012-04-05 15:16 UTC by Antoine Jacoutot
Modified: 2015-02-07 16:44 UTC
See Also:
GNOME target: ---
GNOME version: 3.3/3.4



Description Antoine Jacoutot 2012-04-05 15:16:53 UTC
Hi.

Trying to compile babl-0.1.10 on OpenBSD with --enable-introspection, g-ir-compiler segfaults:

g-ir-scanner: Babl: warning: 1 warnings suppressed (use --warn-all to see them)
LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+$LD_LIBRARY_PATH:}. /usr/local/bin/g-ir-compiler \
        --includedir=. \
        --includedir=../babl \
         \
        Babl-0.1.gir -o Babl-0.1.typelib
**
ERROR:girepository/girnode.c:1031:find_entry_node: assertion failed: (strlen (name) > 0)
Abort trap (core dumped)
Comment 1 Øyvind Kolås (pippin) 2012-04-05 15:25:32 UTC

*** This bug has been marked as a duplicate of bug 666647 ***
Comment 2 Øyvind Kolås (pippin) 2012-04-05 15:57:24 UTC
Re-opening bug, though the bug should probably be against g-object-introspection and not babl/GEGL.
Comment 3 Sebastian Pipping 2012-04-11 16:57:04 UTC
Same problem here, affects babl 0.1.8 and babl 0.1.10 and therefore Gimp 2.8-RC1 (but not babl-0.1.6 as that one still shipped a .gir file with its tarball).

The g-ir-compiler of neither gobject-introspection 1.30.0 nor 1.32.0 can handle the .gir file generated by its own g-ir-scanner.

The babl developers must have some way of still compiling babl-0.1.10.  Can you share a .gir file for babl 0.1.10, that doesn't crash g-ir-compiler?
Comment 4 Sebastian Pipping 2012-04-11 16:59:27 UTC
PS: While the error is the same here, i.e.

ERROR:girepository/girnode.c:1031:find_entry_node: assertion failed: (strlen (name) > 0)

there is not report of a segfault over here.  I'm on Linux amd64.
Comment 5 Øyvind Kolås (pippin) 2012-04-11 21:49:21 UTC
(In reply to comment #3)
> The babl developers must have some way of still compiling babl-0.1.10.  Can you
> share a .gir file for babl 0.1.10, that doesn't crash g-ir-compiler?

The way this was dealt with for the release of babl-0.1.0 was to disable gobject introspection, this also had the side effect introspection being disabled in the build of GEGL-0.2.0.
Comment 6 Sebastian Pipping 2012-04-12 00:22:26 UTC
(In reply to comment #5)
> The way this was dealt with for the release of babl-0.1.0 was to disable
> gobject introspection, this also had the side effect introspection being
> disabled in the build of GEGL-0.2.0.

Thanks for these details.
Comment 7 Mike Auty 2012-07-29 12:04:59 UTC
Has there been any movement on this?  Can it be reassigned easily?

Also, this affects more than just OpenBSD.
Comment 8 Jon Nordby 2012-07-30 12:58:59 UTC
This should be fixed now by bug #675985. Marking as duplicate. See also the gegl/babl bug #673422

*** This bug has been marked as a duplicate of bug 675985 ***
Comment 9 André Klapper 2015-02-07 16:44:12 UTC
[Mass-moving gobject-introspection tickets to its own Bugzilla product - see bug 708029. Mass-filter your bugmail for this message: introspection20150207 ]