Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 312417 - <media-libs/gegl-0.3.4 fails tests ("imp_cmp failed", segmentation fault)
Summary: <media-libs/gegl-0.3.4 fails tests ("imp_cmp failed", segmentation fault)
Status: RESOLVED OBSOLETE
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Sergey Torokhov
URL:
Whiteboard:
Keywords: TESTFAILURE
: 506400 (view as bug list)
Depends on: 591618
Blocks:
  Show dependency tree
 
Reported: 2010-03-31 14:55 UTC by Diego Elio Pettenò (RETIRED)
Modified: 2020-09-02 22:28 UTC (History)
4 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Build log (gegl-0.1.2:20100331-022001.log,265.90 KB, text/plain)
2010-03-31 14:56 UTC, Diego Elio Pettenò (RETIRED)
Details
Build log (build.log,118.03 KB, text/plain)
2011-04-09 01:47 UTC, Sebastian Kühn
Details
Build log (build.log,127.76 KB, text/plain)
2011-04-10 07:32 UTC, Hans de Graaff
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-31 14:55:37 UTC
Portage 2.1.8.3 (default/linux/x86/10.0, gcc-4.4.3-asneeded, glibc-2.11-r1, 2.6.33.1 i686)
=================================================================
System uname: Linux-2.6.33.1-i686-Quad-Core_AMD_Opteron-tm-_Processor_2350-with-gentoo-2.0.1
Timestamp of tree: Wed, 31 Mar 2010 12:30:01 +0000
ccache version 2.4 [disabled]
app-shells/bash:     4.1_p2-r1
dev-java/java-config: 1.3.7-r1, 2.1.10
dev-lang/python:     2.6.5-r1, 3.1.2-r1
dev-python/pycrypto: 2.1.0
dev-util/ccache:     2.4-r8
dev-util/cmake:      2.8.1
sys-apps/baselayout: 2.0.1
sys-apps/openrc:     0.6.1-r1
sys-apps/sandbox:    2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.4_p6-r1, 1.5-r1, 1.6.3-r1, 1.7.9-r2, 1.8.5-r4, 1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1
sys-devel/gcc:       4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.33
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="*"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /opt/openfire/resources/security/ /opt/openjms/config /usr/share/X11/xkb /usr/share/bufrtables /usr/share/config /usr/share/qpsmtpd/plugins /var/bind /var/lib/hsqldb /var/phxd /var/vpopmail/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/eselect/postgresql /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/splash /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c"
CXXFLAGS="-O2 -pipe"
DISTDIR="/var/cache/distfiles"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch protect-owned sandbox sfperms split-log strict test test-fail-continue unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="http://ftp.uni-erlangen.de/pub/mirrors/gentoo"
INSTALL_MASK="  /usr/share/doc  /usr/share/info"
LANG="en_US.utf8"
LDFLAGS="-Wl,-O1"
MAKEOPTS="-j14"
PKGDIR="/var/spool/portage/packages"
PORTAGE_COMPRESS=""
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/var/cache/portage/tree-tinderbox"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="acl berkdb bzip2 cli cracklib crypt cups cxx dri fortran gdbm gpm iconv ipv6 java5 java6 modules mudflap ncurses nls nostatic nptl nptlonly openmp pam pcre perl pppd python qt3support readline reflection ruby session spl ssl sysfs tcpd unicode x86 xorg zlib" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest" ELIBC="glibc" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" RUBY_TARGETS="ruby18 jruby ruby19" USERLAND="GNU" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, FFLAGS, LC_ALL, LINGUAS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS, PORTDIR_OVERLAY
Comment 1 Diego Elio Pettenò (RETIRED) gentoo-dev 2010-03-31 14:56:04 UTC
Created attachment 225953 [details]
Build log
Comment 2 Howard B. Golden 2010-05-15 22:38:46 UTC
(In reply to comment #1)
> Created an attachment (id=225953) [details]
> Build log

In the build log, the verify-results.sh test probably fails due to the same problem as shown in bug 302107. It may be necessary to preload the nvidia libGL.so for the test to pass.
Comment 3 Tomáš Chvátal (RETIRED) gentoo-dev 2011-04-04 19:23:08 UTC
Could you test lastest 0.1.6 please and report back?
Comment 4 Sebastian Kühn 2011-04-09 01:46:17 UTC
Tests fail with gegl-0.1.6:

../../tests/simple/test-exp-combine.hdr and ../../tests/compositions/data/parliament.hdr differ
  wrong pixels   : 31646/31680 (99.89%)
  max ?e         : 45.375
  avg ?e (wrong) : 1.718(wrong) 1.716(total)
imp_cmp failed (we need to fix the test so it passes on many architectures), see parliament-diff.png
FAIL: test-exp-combine.sh

emerge --info:
Portage 2.2.0_alpha29 (default/linux/amd64/10.0/desktop/kde, gcc-4.5.2, glibc-2.12.2-r0, 2.6.38 x86_64)
=================================================================
System uname: Linux-2.6.38-x86_64-Intel-R-_Core-TM-2_Duo_CPU_E8400_@_3.00GHz-with-gentoo-2.0.2
Timestamp of tree: Fri, 08 Apr 2011 13:45:01 +0000
app-shells/bash:     4.2_p8
dev-java/java-config: 2.1.11-r3
dev-lang/python:     2.7.1-r1
dev-util/cmake:      2.8.4
sys-apps/baselayout: 2.0.2
sys-apps/openrc:     0.8.0
sys-apps/sandbox:    2.5
sys-devel/autoconf:  2.68
sys-devel/automake:  1.9.6-r3, 1.10.3, 1.11.1
sys-devel/binutils:  2.20.1-r1
sys-devel/gcc:       4.2.4-r1, 4.5.2
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.4-r1
sys-devel/make:      3.82
virtual/os-headers:  2.6.38 (sys-kernel/linux-headers)
Repositories: gentoo perl-experimental sunrise ramaloke kde
Installed sets: @dev-omnet, @ramaloke-development, @ramaloke-kde, @ramaloke-latex, @ramaloke-multimedia, @ramaloke-office, @ramaloke-scylla, @ramaloke-system, @ramaloke-web, @system
ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="* -@EULA"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=core2 -ggdb -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/config /usr/share/themes/oxygen-gtk/gtk-2.0"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /etc/init.d/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo /etc/texmf/language.dat.d /etc/texmf/language.def.d /etc/texmf/updmap.d /etc/texmf/web2c /sbin/rc /usr/share/X11/xkb/"
CXXFLAGS="-march=core2 -ggdb -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs collision-protect distlocks fixlafiles fixpackages news parallel-fetch preserve-libs protect-owned sandbox sfperms splitdebug strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv"
FFLAGS=""
GENTOO_MIRRORS="http://distfiles.gentoo.org"
LANG="de_DE.UTF-8"
LC_ALL="C"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="de en_GB en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/perl-experimental /usr/portage/local/layman/sunrise /usr/portage/local/layman/ramaloke /usr/portage/local/layman/kde"
SYNC="rsync://proxy/gentoo-portage"
USE="X a52 aac aalib accessibility acl acpi alsa amd64 audiofile bash-completion berkdb bluetooth bzip2 cairo caps cdr cli consolekit cracklib crypt css cups curl cxx dbus dga dri dts dvd dvdr dvdread emboss encode exif fam ffmpeg flac gd gdu gif git gphoto2 gpm graphviz gstreamer handbook iconv icq icu idn imagemagick inotify jabber java6 jpeg jpeg2k kde ladspa lcms libcaca libnotify lm_sensors lzma mad mikmod mjpeg mmap mmx mmxext mng modplug mp3 mp4 mpeg mudflap multilib ncurses nls nptl nptlonly ogg openal openexr opengl openmp pam pango pcre pdf pic plasma png policykit postgres ppds pppd qt qt3 qt3support qt4 quicktime readline rss samba sasl sdl semantic-desktop session speex spell sse sse2 sse4 ssl ssse3 startup-notification subversion svg sysfs system-sqlite tcpd theora threads tiff truetype udev unicode usb vcd vorbis wmf x264 xattr xcb xcomposite xinerama xml xmp xorg xulrunner xv xvid zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias" CAMERAS="canon ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ubx" INPUT_DEVICES="evdev keyboard mouse wacom" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="de en_GB en" PHP_TARGETS="php5-3" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby18" USERLAND="GNU" VIDEO_CARDS="radeon" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account" 
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment 5 Sebastian Kühn 2011-04-09 01:47:17 UTC
Created attachment 269097 [details]
Build log
Comment 6 Hans de Graaff gentoo-dev Security 2011-04-10 07:29:46 UTC
For me the compositions tests fail with segmentation faults:

./run-upsmoothtest.xml.sh: line 3:  2896 Segmentation fault      GEGL_SWAP=RAM GEGL_PATH=../../operations ../../bin/gegl /var/tmp/portage/media-libs/gegl-0.1.6/work/gegl-0.1.6/tests/compositions/upsmoothtest.xml -o /var/tmp/portage/media-libs/gegl-0.1.6/work/gegl-0.1.6/tests/compositions/output/upsmoothtest.png
./run-upsmoothtest.xml.sh: line 4:  2911 Segmentation fault      GEGL_SWAP=RAM GEGL_PATH=../../operations ../../tools/img_cmp /var/tmp/portage/media-libs/gegl-0.1.6/work/gegl-0.1.6/tests/compositions/reference/upsmoothtest.png /var/tmp/portage/media-libs/gegl-0.1.6/work/gegl-0.1.6/tests/compositions/output/upsmoothtest.png &>/dev/null
FAIL: run-upsmoothtest.xml.sh
=====================
20 of 20 tests failed
=====================
Comment 7 Hans de Graaff gentoo-dev Security 2011-04-10 07:32:31 UTC
Created attachment 269253 [details]
Build log
Comment 8 Sebastian Pipping gentoo-dev 2013-04-28 17:06:59 UTC
Comment on attachment 225953 [details]
Build log

gegl 0.1.2 no longer in tree, marking related log as obsolete
Comment 9 eroen 2014-03-31 23:35:31 UTC
*** Bug 506400 has been marked as a duplicate of this bug. ***
Comment 10 Kent Fredric (IRC: kent\n) (RETIRED) gentoo-dev 2017-09-09 15:29:49 UTC
the segfaults mentioned in 2011 are still occurring for me on my (nvidia-less) chroot.

[516070.593366] traps: gegl[481701] general protection ip:7f6c95aef2ff sp:7ffe8b0430c0 error:0
[516070.593371]  in libgegl-0.2.so.0.199.1[7f6c95aaf000+6d000]
[516070.738199] traps: img_cmp[481716] general protection ip:7fe7d0ab32ff sp:7fff53e86070 error:0
[516070.738204]  in libgegl-0.2.so.0.199.1[7fe7d0a73000+6d000]
[516070.904237] traps: gegl[481737] general protection ip:7ff3540252ff sp:7ffe79cd62f0 error:0
[516070.904242]  in libgegl-0.2.so.0.199.1[7ff353fe5000+6d000]
[516071.052906] traps: img_cmp[481752] general protection ip:7f50abc722ff sp:7fff71925320 error:0
[516071.052913]  in libgegl-0.2.so.0.199.1[7f50abc32000+6d000]
[516071.215603] traps: gegl[481781] general protection ip:7f1411a352ff sp:7ffc79d093b0 error:0
[516071.215609]  in libgegl-0.2.so.0.199.1[7f14119f5000+6d000]
[516071.311541] traps: img_cmp[481798] general protection ip:7f0d5b7b02ff sp:7fff7d64faa0 error:0
[516071.311546]  in libgegl-0.2.so.0.199.1[7f0d5b770000+6d000]
[516071.419977] traps: gegl[481821] general protection ip:7f7afb5882ff sp:7fff2b22ae90 error:0
[516071.419983]  in libgegl-0.2.so.0.199.1[7f7afb548000+6d000]
[516071.510785] traps: img_cmp[481838] general protection ip:7f9939e322ff sp:7ffc6c598d50 error:0
[516071.510791]  in libgegl-0.2.so.0.199.1[7f9939df2000+6d000]
[516072.155292] traps: img_cmp[481876] general protection ip:7f449c49c2ff sp:7ffe95c690e0 error:0
[516072.155297]  in libgegl-0.2.so.0.199.1[7f449c45c000+6d000]
[516072.260335] traps: gegl[481899] general protection ip:7f5e3de132ff sp:7ffd9d1b79d0 error:0
[516072.260340]  in libgegl-0.2.so.0.199.1[7f5e3ddd3000+6d000]
[516075.688284] do_general_protection: 15 callbacks suppressed
[516075.688286] traps: gegl[482347] general protection ip:7fd8e09c02ff sp:7ffff2797610 error:0
[516075.688291]  in libgegl-0.2.so.0.199.1[7fd8e0980000+6d000]
[516075.815471] traps: img_cmp[482365] general protection ip:7ff3f818e2ff sp:7ffc72d71770 error:0
[516075.815476]  in libgegl-0.2.so.0.199.1[7ff3f814e000+6d000]
[516462.965584] traps: gegl[511787] general protection ip:7fdf75fa94df sp:7fffea79ffe0 error:0


Sadly:

- this version seems to be the same version currently used by stable gimp
- 0.3.0 is segfaults as well
- 0.3.4 has no segfaults, but fails test-image-compare ( bug #595332 )
- >0.3.4 is fine though, it seems to be due to tests being disabled.
Comment 11 Sergey Torokhov 2020-09-02 22:28:38 UTC
Old versions of media-libs/gegl was dropped: https://gitweb.gentoo.org/repo/gentoo.git/commit/media-libs/gegl?id=b98449cc7eb273b489dbf0c2ca4a07be861077af