[MacPorts] #71191: gexiv2: malloc errors during the build, but the build still succeeds: malloc: *** error for object 0x175c034: Non-aligned pointer being freed

MacPorts noreply at macports.org
Tue Oct 29 06:43:16 UTC 2024


#71191: gexiv2: malloc errors during the build, but the build still succeeds:
malloc: *** error for object 0x175c034: Non-aligned pointer being freed
--------------------------+--------------------
 Reporter:  barracuda156  |      Owner:  (none)
     Type:  defect        |     Status:  new
 Priority:  Normal        |  Milestone:
Component:  ports         |    Version:  2.10.2
 Keywords:                |       Port:  gexiv2
--------------------------+--------------------
 {{{
 [15/21] /opt/local/bin/meson --internal symbolextractor
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build
 gexiv2/libgexiv2.2.dylib gexiv2/libgexiv2.2.dylib
 gexiv2/libgexiv2.2.dylib.p/libgexiv2.2.dylib.symbols
 [16/21] env
 PKG_CONFIG_PATH=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build
 /meson-uninstalled PKG_CONFIG=/opt/local/bin/pkg-config /opt/local/bin/g
 -ir-scanner --quiet --no-libtool --namespace=GExiv2 --nsversion=0.10
 --warn-all --output gexiv2/GExiv2-0.10.gir --c-include=gexiv2/gexiv2.h
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3/gexiv2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build/gexiv2
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3/gexiv2/..
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build/gexiv2/..
 --filelist=/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build/gexiv2/libgexiv2.2.dylib.p/GExiv2_0.10_gir_filelist
 --include=GObject-2.0 --include=Gio-2.0 --symbol-prefix=gexiv2
 --identifier-prefix=GExiv2 --pkg-export=gexiv2 --cflags-begin
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3/gexiv2/..
 -I/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build/gexiv2/..
 -I/opt/local/include/glib-2.0 -I/opt/local/lib/glib-2.0/include
 -I/opt/local/include/gobject-introspection-1.0 -I/opt/local/include
 --cflags-end --add-include-path=/opt/local/share/gir-1.0
 -L/opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build/gexiv2
 --library gexiv2 -L/opt/local/lib -L/opt/local/lib --extra-
 library=gobject-2.0 --extra-library=glib-2.0 --extra-library=intl --extra-
 library=exiv2 --extra-library=gio-2.0 --extra-library=girepository-1.0
 --sources-top-dirs
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/gexiv2-0.14.3/
 --sources-top-dirs
 /opt/local/var/macports/build/_opt_local_var_macports_sources_rsync.macports.org_macports_release_tarballs_ports_gnome_gexiv2/gexiv2/work/build/
 GExiv2-0.10(74000) malloc: *** error for object 0x175c034: Non-aligned
 pointer being freed
 *** set a breakpoint in malloc_error_break to debug
 GExiv2-0.10(74000) malloc: *** error for object 0x175c0a4: Non-aligned
 pointer being freed
 *** set a breakpoint in malloc_error_break to debug
 [17/21] /opt/local/bin/g-ir-compiler gexiv2/GExiv2-0.10.gir --output
 gexiv2/GExiv2-0.10.typelib --includedir=/opt/local/share/gir-1.0 --shared-
 library=/opt/local/lib/libgexiv2.2.dylib
 }}}

 The port still builds, however it is perhaps desirable to fix this
 somehow.
 (malloc errors as such are well-known, but they usually happen when
 running apps, and legacysupport wrappers more often than not help in such
 cases.)

-- 
Ticket URL: <https://trac.macports.org/ticket/71191>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list