Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 628022 - dev-lua/lgi-0.9.0: segfault in test phase
Summary: dev-lua/lgi-0.9.0: segfault in test phase
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Robin Johnson
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-08-16 14:47 UTC by Michał Górny
Modified: 2020-09-19 16:40 UTC (History)
0 users

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


Attachments
dev-lua:lgi-0.9.0:20170816-144329.log (dev-lua:lgi-0.9.0:20170816-144329.log,33.05 KB, text/x-log)
2017-08-16 14:47 UTC, Michał Górny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michał Górny archtester Gentoo Infrastructure gentoo-dev Security 2017-08-16 14:47:29 UTC
Created attachment 489276 [details]
dev-lua:lgi-0.9.0:20170816-144329.log

gobject : 11:subclass_derive3                   FAIL
             tests/gobject.lua:174: failure
stack traceback:
	[C]: in function 'error'
	tests/test.lua:88: in function 'fail'
	tests/test.lua:91: in function 'check'
	tests/gobject.lua:174: in function <tests/gobject.lua:151>
	[C]: in function 'xpcall'
	tests/test.lua:50: in function 'runfunc'
	tests/test.lua:73: in function 'run'
	tests/test.lua:140: in main chunk
	[C]: ?

(lua:1937): Lgi-WARNING **: Error raised while calling 'lgi.cbk (function: 0x1fa87d0): GObject': ./lgi/class.lua:303: bad argument #2 to 'new' (number expected, got userdata)

(lua:1937): Lgi-WARNING **: Error raised while calling 'lgi.cbk (function: 0x1f99710): GObject': ./lgi/class.lua:370: bad argument #2 to 'new' (number expected, got userdata)
make[1]: *** [Makefile:55: check] Segmentation fault (core dumped)

---

Core was generated by `lua tests/test.lua'.
Program terminated with signal SIGSEGV, Segmentation fault.
#0  0x0000000000000000 in ?? ()
[Current thread is 1 (Thread 0x7f2674904700 (LWP 1937))]
(gdb) bt
#0  0x0000000000000000 in ?? ()
#1  0x00007f2672cbafce in ffi_call_unix64 () from /usr/lib64/libffi.so.6
#2  0x00007f2672cbaa4e in ffi_call () from /usr/lib64/libffi.so.6
#3  0x00007f2673867884 in ?? ()
#4  0x0000000000000000 in ?? ()

(sorry, no debug info in lua; if you can't repro, I will rebuild it and provide more details)

---

Portage 2.3.7 (python 3.5.3-final-0, default/linux/amd64/13.0/desktop, gcc-5.4.0, glibc-2.25-r3, 4.12.0-pf3-mgorny-amd64+ x86_64)
=================================================================
                         System Settings
=================================================================
System uname: Linux-4.12.0-pf3-mgorny-amd64+-x86_64-AMD_Athlon-tm-_64_X2_Dual_Core_Processor_3800+-with-gentoo-2.4.1
Head commit of repository gentoo: 6943dced0c6ac2d304ae45860c76ff550dd50b9a

sh bash 4.4_p12
ld GNU ld (Gentoo 2.28 p1.2) 2.28
distcc 3.2rc1 x86_64-pc-linux-gnu [enabled]
ccache version 3.3.4 [enabled]
app-shells/bash:          4.4_p12::gentoo
dev-java/java-config:     2.2.0-r3::gentoo
dev-lang/perl:            5.24.2::gentoo
dev-lang/python:          2.7.13::gentoo, 3.4.6::gentoo, 3.5.3::gentoo, 3.6.1-r1::gentoo
dev-util/ccache:          3.3.4-r1::gentoo
dev-util/cmake:           3.9.1::gentoo
dev-util/pkgconfig:       0.29.2::gentoo
sys-apps/baselayout:      2.4.1-r1::gentoo
sys-apps/openrc:          0.28::gentoo
sys-apps/sandbox:         2.10-r4::gentoo
sys-devel/autoconf:       2.13::gentoo, 2.69-r4::gentoo
sys-devel/automake:       1.11.6-r2::gentoo, 1.13.4-r1::gentoo, 1.14.1-r1::gentoo, 1.15.1::gentoo
sys-devel/binutils:       2.28-r2::gentoo, 2.28.1::gentoo
sys-devel/gcc:            5.4.0-r4::gentoo, 7.1.0-r1::gentoo
sys-devel/gcc-config:     1.8-r1::gentoo
sys-devel/libtool:        2.4.6-r4::gentoo
sys-devel/make:           4.2.1-r1::gentoo
sys-kernel/linux-headers: 4.10::gentoo (virtual/os-headers)
sys-libs/glibc:           2.25-r3::gentoo
Repositories:

gentoo
    location: /usr/src/gentoo
    sync-type: git
    sync-umask: 027
    sync-uri: https://github.com/gentoo-mirror/gentoo.git
    priority: -1000

python
    location: /home/mgorny/git/python-repo
    sync-umask: 027
    masters: gentoo

mgorny
    location: /home/mgorny/git/mgorny-repo
    sync-umask: 027
    masters: gentoo
    priority: 10000

Installed sets: @mg_depends_cb_agent, @mg_depends_qaweb
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="Ms-PL Zend-2.0 QPL BSD-4 CPAL-1.0 Apache-1.1 PSF-2.4 tanuki-community Ruby-BSD LGPL-2-with-linking-exception LGPL-2 GPL-2 GPL-2-with-font-exception Clarified-Artistic LGPL-2.1+ UoI-NCSA BSD-2 ECL-2.0 WTFPL-2 LGPL-2.1-with-linking-exception W3C PSF-2.3 AGPL-3+ PSF-2 LGPL-3+ OPENLDAP public-domain qwt SGI-B-2.0 AGPL-3 CeCILL-2 LGPL-2.1 LGPL-3 FTL libgcc Clear-BSD MIT Nokia-Qt-LGPL-Exception-1.1 ZLIB GPL-2-with-classpath-exception GPL-3 Transmission-OpenSSL-exception Unlicense GPL-1 metapackage PYTHON UPX-exception vim Ruby GPL-2-with-exceptions GPL-3+-with-cuda-exception ISC LGPL-2+ gcc-runtime-library-exception-3.1 MPL-2.0 Sleepycat libstdc++ LGPL-3-with-linking-exception GPL-2+ GPL-3-with-openssl-exception GPL-3-with-font-exception Boost-1.0 GPL-2-with-MySQL-FLOSS-exception GPL-3+-with-opencl-exception HPND GPL-3+-with-opencl-openssl-exception CC0-1.0 unicode GPL-3+ Artistic-2 GPL-1+ ZPL IJG PSF-2.2 BSD GPL-3+-with-cuda-openssl-exception Apache-2.0 GPL-2+-with-openssl-exception GPL-2-with-linking-exception EUPL-1.1 MPL-1.0 CPL-1.0 Apache-1.0 NPL-1.1 AFL-2.1 gnuplot QPL-1.0 IBM APSL-2 OSL-1.1 MPL-1.1 PHP-3.01 EPL-1.0 OSL-2.1 openssl AFL-3.0 CDDL LPPL-1.2 OSL-2.0 CNRI Ms-PL NOSA GPL-2 Watcom-1.0 OFL-1.1 LGPL-2.1+ UoI-NCSA QPL BSD-2 ECL-2.0 APL-1.0 W3C AGPL-3+ PSF-2 LGPL-3+ LPPL-1.3c AGPL-3 LGPL-2.1 LGPL-3 CPAL-1.0 nethack Apache-1.1 Artistic EUPL-1.1 MIT MPL-1.0 ZLIB GPL-3 CPL-1.0 ISC LGPL-2+ MPL-2.0 POSTGRESQL PHP-3 IBM Sleepycat wxWinLL-3 APSL-2 MPL-1.1 GPL-2+ HPND IPAfont Boost-1.0 EPL-1.0 PHP-3.01 OSL-2.1 Artistic-2 GPL-1+ ZPL AFL-3.0 CDDL BSD Apache-2.0 CNRI GPL-3+ XC JasPer2.0 rc PHP-2.02 xboing buddy the-Click-license xtrs ErlPL-1.1 Subversion symlinks icu totd matplotlib SNIA gd JOVE Time-Format psutils pngnq iASL canfep shrimp repoze otter SVFL tm-align NCSA-HDF ipadic inner-net Sendmail-Open-Source VTK PIZZA-WARE feh bea.ri.jsr173 UCAR-Unidata imagemagick SMAIL keynote ACE Openwall ZSH qmail-nelson CDDL-Schily FLTK libmng xvt JDOM NEWLIB Emacs IDPL eGenixPublic-1.1 CeCILL-C FVWM ngrep CMake Xdebug BEER-WARE TeX Ispell LIBGLOSS minpack photopc BSD-1 Info-ZIP DES SSLeay htmlc netcat wxWinLL-3.1 tcp_wrappers_license FastCGI ipx-utils alternate bufexplorer.vim MIT-with-advertising Mini-XML URT LambdaMOO File-MMagic BZIP2 boehm-gc yuuji mpich2 YaTeX openafs-krb5-a LLGPL-2.1 TeX-other-free scanlogd Crypt-IDEA x2x AMPAS lsof rwpng RSA dom4j PCRE Time-modules JNIC xbatt torque-2.5 libpng perforce flexmock CPL-0.5 libodialog Toyoda freetts FLEX HTML-Tidy Snd Princeton LPPL-1.3b freemarker regexp-UofT CAOSL Sendmail libtiff tcltk Allegro w3m BSD-with-attribution LPPL-1.3 mapm-4.9.5 docbook mm pngcrush CRACKLIB Flashpix ElementTree Old-MIT noweb tablelist Mail-Sendmail LLVM-Grant telegram gsm CC-BY-SA-4.0 CC-BY-2.0 FDL-1.1 GPL-2 OFL-1.1 CC-BY-SA-2.5 FDL-1.2+ OPL CC-BY-2.5 OFL CC-BY-4.0 Arphic CC-BY-SA-2.0 CC-BY-3.0 GPL-3 GPL-1 FDL-1.2 FDL-1.1+ CC-BY-SA-3.0 FreeArt GPL-2+ IPAfont FDL-1.3+ GPL-1+ FDL-1.3 GPL-3+ BitstreamVera man-pages-posix-2013 LDP-1 quake1-textures man-pages CC-PD Texinfo-manual Unicode_Fonts_for_Ancient_Scripts UbuntuFontLicense-1.0 vlgothic MaxMind2 wxWinFDL-3 man-pages-posix myspell-en_CA-KevinAtkinson CC-SA-1.0 mplus-fonts LDP-1a"
CBUILD="x86_64-pc-linux-gnu"
CC="x86_64-pc-linux-gnu-gcc-5.4.0"
CFLAGS="-march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/dconf /etc/env.d /etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release /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"
CXX="x86_64-pc-linux-gnu-g++-5.4.0"
CXXFLAGS="-march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches"
DISTDIR="/srv/nfs/common/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y --ask --keep-going --quiet-build=n --dynamic-deps=n"
FCFLAGS="-march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches"
FEATURES="assume-digests binpkg-logs binpkg-multi-instance buildpkg ccache cgroup collision-protect config-protect-if-modified distcc distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch preserve-libs protect-owned sandbox sfperms sign strict test unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync webrsync-gpg"
FFLAGS="-march=k8-sse3 -mcx16 -msahf --param l1-cache-size=64 --param l1-cache-line-size=64 --param l2-cache-size=512 -O2 -pipe -frecord-gcc-switches"
GENTOO_MIRRORS=" 	http://mirror.netcologne.de/gentoo/ 	http://gentoo.mirror.web4u.cz/ 	http://ftp.snt.utwente.nl/pub/os/linux/gentoo 	http://gd.tuwien.ac.at/opsys/linux/gentoo/ 	http://ftp.vectranet.pl/gentoo/ 	http://ftp.fi.muni.cz/pub/linux/gentoo/"
INSTALL_MASK="/test /usr/share/locale -/usr/share/locale/pl"
LANG="pl_PL.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed -Wl,--hash-style=gnu"
MAKEOPTS="-j3"
PKGDIR="/srv/nfs/common/packages/athlon64"
PORTAGE_COMPRESS="lzip"
PORTAGE_COMPRESS_FLAGS="-9"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --times --compress --force --whole-file --delete --stats --timeout=45 --exclude=/distfiles --exclude=/packages --exclude=/local --exclude=CVS --exclude=/metadata/cache --omit-dir-times"
PORTAGE_TMPDIR="/tmp"
USE="3dnow 3dnowext X a52 aac acl adns aio alsa amd64 ayatana bash-completion bluetooth branding btrfs bzip2 cairo caps cdda cdr cli crypt cups curl cxx dbus djvu dri dts dvb dvd dvdr egl emboss exif fftw firefox flac fontconfig fortran gd gif glamor gmp gnuplot gnutls gphoto2 gstreamer gtk iconv idn imagemagick ipv6 jpeg jpeg2k kate latex lcms libass libatomic liblockfile libnotify libproxy libsamplerate libsecret libtiger lz4 lzma lzo mad mmap mmxext mng modules mp3 mp4 mpeg mtp multilib ncurses nls nptl ogg openal opencl opengl openmp openvg opus osmesa pam pango pch pcre pcre-jit pdf plotutils png policykit postscript ppds pulseaudio qt3support readline sctp sdl seccomp session slang smp sndfile speex spell sse3 ssl startup-notification svg systemd t1lib tcpd threads tiff truetype udev udisks unicode upower usb v4l2 vaapi vhosts vim-syntax vorbis wavpack wayland webp wmf wxwidgets x264 xattr xcb xft xml xpm xv xvid xvmc zeroconf zlib zsh-completion" ABI_X86="64 32" ALSA_CARDS="hda-intel emu10k1 mpu401 pcsp virmidi" APACHE2_MODULES="socache_shmcb unixd actions alias deflate filter mime mime_magic negotiation rewrite" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext sse sse2 3dnow 3dnowext sse3" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="evdev" KERNEL="linux" L10N="pl" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="pl" LIRC_DEVICES="serial" LLVM_TARGETS="*" NGINX_MODULES_HTTP="gzip limit_conn limit_req rewrite spdy uwsgi" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-6" POSTGRES_TARGETS="postgres9_5" PYTHON_SINGLE_TARGET="python3_4" PYTHON_TARGETS="python2_7 python3_4 jython2_7 pypy pypy3 python3_5 python3_6" QEMU_SOFTMMU_TARGETS="aarch64 arm i386 ppc ppc64 ppc64abi32 x86_64" QEMU_USER_TARGETS="aarch64 arm ppc ppc64" RUBY_TARGETS="ruby23" SANE_BACKENDS="artec_eplus48u" USERLAND="GNU" VIDEO_CARDS="nouveau radeon vesa r600 s3" 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, LC_ALL, PORTAGE_BUNZIP2_COMMAND, PORTAGE_RSYNC_EXTRA_OPTS

=================================================================
                        Package Settings
=================================================================

dev-lang/lua-5.1.5-r4::gentoo was built with the following:
USE="deprecated readline -emacs -static" ABI_X86="32 64 -x32"
Comment 1 Larry the Git Cow gentoo-dev 2020-09-19 16:40:19 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=317c751501b149576272010d6efbab174953f07d

commit 317c751501b149576272010d6efbab174953f07d
Author:     Aaron Bauman <bman@gentoo.org>
AuthorDate: 2020-09-19 16:38:21 +0000
Commit:     Aaron Bauman <bman@gentoo.org>
CommitDate: 2020-09-19 16:40:11 +0000

    dev-lua/lgi: drop old EAPI=4 and unstable ebuild
    
    Closes: https://bugs.gentoo.org/704766
    Closes: https://bugs.gentoo.org/679862
    Closes: https://bugs.gentoo.org/628022
    Closes: https://bugs.gentoo.org/662790
    Signed-off-by: Aaron Bauman <bman@gentoo.org>

 dev-lua/lgi/Manifest            |  1 -
 dev-lua/lgi/lgi-0.9.0-r1.ebuild | 57 -----------------------------------------
 dev-lua/lgi/lgi-0.9.0.ebuild    | 54 --------------------------------------
 3 files changed, 112 deletions(-)