Created attachment 587786 [details] eix output For fresh gentoo instalation iscan-2.30.3.1 does not work: scan[15733]: segfault at fffffffffffffff8 ip 00007f3278c16a3b sp 00007ffdc3ea9bc0 error 5 in libsane-epkowa.so.1.0.15[7f3278c10000+29000] Aug 19 10:05:59 localhost kernel: Code: 7b 28 e9 7c ff ff ff 41 55 41 54 55 53 48 83 ec 08 41 89 fc 48 63 c7 48 8d 04 80 48 8d 2c c5 00 00 00 00 48 8b 15 d5 e0 03 00 <48> 83 7c c2 20 00 74 35 e8 d1 fe ff ff 49 89 ed 4c 03 2d be e0 03 (attached eix -I: eixI-segfault.zip). For older gentoo all is correct (attached eixI-older-ok.zip)
Created attachment 587788 [details] ok working for older gentoo
emerge --info Portage 2.3.71 (python 3.5.7-final-0, default/linux/amd64/17.0/desktop/plasma, gcc-8.2.0, glibc-2.29-r4, 5.2.9-gentoo x86_64) ================================================================= System uname: Linux-5.2.9-gentoo-x86_64-Intel-R-_Core-TM-_i7-6950X_CPU_@_3.00GHz-with-gentoo-2.6 KiB Mem: 65761524 total, 61513024 free KiB Swap: 1740796 total, 1740796 free Timestamp of repository gentoo: Mon, 19 Aug 2019 00:45:01 +0000 Head commit of repository gentoo: f2d7be935a4868310997c34f3fa4c7fb5909ff6a sh bash 5.0_p9 ld GNU ld (Gentoo 2.31.1 p7) 2.31.1 app-shells/bash: 5.0_p9::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.0::gentoo dev-lang/python: 2.7.16::gentoo, 3.5.7::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo dev-util/cmake: 3.15.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41.2::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r6::gentoo, 2.32-r1::gentoo sys-devel/gcc: 8.2.0-r6::gentoo, 8.3.0-r1::gentoo, 9.1.0::gentoo, 9.2.0::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.2::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-metamanifest: yes sync-rsync-extra-opts: sync-rsync-verify-max-age: 24 sync-rsync-verify-jobs: 1 x-portage location: /opt/portage masters: gentoo priority: 0 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="* intel-ucode freedist shmux sun-jlfgr unRAR bonnie bh-luxi ipw2100-fw ipw3945 JSON SmartLabs LSI-tw_cli NVIDIA-r1 MicroChip-SDCC qlogic-fibre-channel-firmware no-source-code CNRI CPL-1.0 MPL-1.1 ZPL PHP-3 QPL AGPL-3+ Artistic-2 GPL-2 BSD IPAfont Apache-1.1 GPL-3+ Watcom-1.0 LGPL-3+ ISC OFL-1.1 LGPL-3 Ms-PL EPL-2.0 LPPL-1.3c Sleepycat wxWinLL-3 GPL-3 PSF-2 NOSA EUPL-1.1 AGPL-3 ECL-2.0 UoI-NCSA GPL-1+ APSL-2 MPL-1.0 LGPL-2.1 nethack LGPL-2.1+ LGPL-2+ Apache-2.0 CPAL-1.0 CDDL HPND IBM Artistic PHP-3.01 OSL-2.1 BSD-2 Boost-1.0 APL-1.0 AFL-3.0 POSTGRESQL W3C GPL-2+ MPL-2.0 MIT ZLIB EPL-1.0 LPPL-1.3 Sendmail tcltk DES Time-modules LPPL-1.3b Time-Format symlinks YaTeX File-MMagic bufexplorer.vim NCSA-HDF Sendmail-Open-Source eGenixPublic-1.1 NEWLIB the-Click-license netcat Flashpix BEER-WARE inner-net Openwall Ispell CDDL-Schily BSD-with-attribution xboing SSLeay JDOM Mini-XML AMPAS mm Princeton ngrep shrimp PCRE pngnq yuuji Info-ZIP ZSH CAOSL ErlPL-1.1 CMake Toyoda CeCILL-C qmail-nelson xtrs BZIP2 rdisc PHP-2.02 DUMB-0.9.3 gsm UCAR-Unidata TeX URT lsof CRACKLIB gd Allegro FVWM ElementTree libmng Snd JOVE SMAIL mapm-4.9.5 Subversion LIBGLOSS FLTK MIT-with-advertising htmlc w3m freetts SVFL flexmock imagemagick xvt HTML-Tidy ipadic buddy icu otter tablelist x2x pngcrush IDPL matplotlib torque-2.5 SNIA docbook TeX-other-free regexp-UofT Mail-Sendmail CPL-0.5 totd iASL LLVM-Grant dom4j ipx-utils perforce psutils FastCGI bea.ri.jsr173 JasPer2.0 minpack Crypt-IDEA tm-align feh rc photopc XC rwpng alternate mpich2 libtiff xbatt canfep Emacs VTK libpng2 Old-MIT boehm-gc scanlogd openafs-krb5-a Xdebug JNIC BSD-1 libpng LambdaMOO tcp_wrappers_license RSA FLEX repoze CNRI CPL-1.0 MPL-1.1 openssl BSD-4 QPL Apache-1.1 Ms-PL EPL-2.0 EUPL-1.1 OSL-2.0 Apache-1.0 APSL-2 MPL-1.0 LPPL-1.2 AFL-2.1 OSL-1.1 CPAL-1.0 Zend-2.0 CDDL gnuplot IBM PHP-3.01 OSL-2.1 AFL-3.0 vim GPL-2+-with-openssl-exception ZPL Transmission-OpenSSL-exception AGPL-3+ GPL-2-with-linking-exception LGPL-2 Artistic-2 GPL-2 metapackage BSD GPL-3+-with-cuda-openssl-exception PSF-2.3 GPL-3+ LGPL-3+ ISC OPENLDAP LGPL-3 Sleepycat ZLIB SGI-B-2.0 GPL-3 PSF-2 AGPL-3 ECL-2.0 GPL-1 Ruby-BSD Apache-2.0-with-LLVM-exceptions GPL-1+ GPL-3-with-font-exception GPL-2-with-exceptions UoI-NCSA LGPL-2.1 UPX-exception WTFPL-2 GPL-2-with-classpath-exception IJG GPL-3-with-openssl-exception PSF-2.4 tanuki-community unicode Clarified-Artistic public-domain LGPL-2.1+ gcc-runtime-library-exception-3.1 GPL-2-with-MySQL-FLOSS-exception LGPL-2+ LGPL-3-with-linking-exception Apache-2.0 LGPL-2-with-linking-exception GPL-3+-with-opencl-exception LGPL-2.1-with-linking-exception HPND GPL-3+-with-opencl-openssl-exception libgcc Unlicense libstdc++ CC0-1.0 PYTHON wxWinLL-3.1 BSD-2 GPL-3+-with-cuda-exception Boost-1.0 GPL-2-with-font-exception Clear-BSD Ruby Nokia-Qt-LGPL-Exception-1.1 GPL-2+ MPL-2.0 FTL W3C MIT PSF-2.2 qwt CeCILL-2 NPL-1.1 QPL-1.0 EPL-1.0 CC-BY-SA-2.5 CC-BY-3.0 OFL CC-BY-SA-4.0 GPL-2 FDL-1.2+ FDL-1.3 IPAfont CC-BY-SA-2.0 GPL-3+ FreeArt OFL-1.1 Arphic GPL-3 CC-BY-4.0 CC-BY-SA-3.0 FDL-1.1 GPL-1 FDL-1.2 GPL-1+ FDL-1.1+ FDL-1.3+ CC-BY-2.5 GPL-2+ CC-BY-2.0 OPL man-pages-posix-2013 BitstreamVera man-pages UbuntuFontLicense-1.0 vlgothic CC-PD man-pages-posix LDP-1 Texinfo-manual mplus-fonts quake1-textures CC-BY-SA-1.0 LDP-1a myspell-en_CA-KevinAtkinson Unicode_Fonts_for_Ancient_Scripts wxWinFDL-3 MaxMind2 CC-SA-1.0 Broadcom linux-fw-redistributable ipw2200-fw Dina ISSL" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -mcx16 -msse4 -msahf -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /usr/lib64/libreoffice/program/sofficerc /usr/share/config /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" CXXFLAGS="-march=native -msse4 -O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en-GB en_GB en_US en de pl ru fr" MAKEOPTS="-j20" PKGDIR="/var/cache/binpkgs" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi activities alsa amd64 berkdb bluetooth branding bzip2 cairo cdda cdr cli consolekit crypt cups cxx dbus declarative dri dts dvd dvdr emboss encode exif fam flac fortran gdbm gif glamor gpm gtk iconv icu ipv6 jpeg kde kipi kwallet lcms ldap libnotify libtirpc mad mng mp3 mp4 mpeg multilib ncurses nls nptl ogg opengl openmp pam pango pcre pdf perl phonon plasma png policykit ppds python qml qt5 readline sdl seccomp semantic-desktop spell split-usr ssl startup-notification svg tcpd threads tiff truetype udev udisks unicode upower usb vorbis widgets wxwidgets x264 xattr xcb xcomposite xml xv xvid zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="log_forensic macro actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias access_compat asis auth_digest authn_dbd authz_dbd cache_disk cern_meta charset_lite dbd dumpio http2 ident imagemap lbmethod_bybusyness lbmethod_byrequests lbmethod_bytraffic lbmethod_heartbeat proxy proxy_ajp proxy_balancer proxy_connect proxy_fcgi proxy_ftp proxy_http proxy_scgi proxy_wstunnel ratelimit remoteip reqtimeout slotmem_shm substitute version" APACHE2_MPMS="worker" CALLIGRA_FEATURES="karbon sheets words" CAMERAS="canon fuji" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="mmx mmxext popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" 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" GRUB_PLATFORMS="coreboot multiboot pc efi-64" INPUT_DEVICES="evdev keyboard mouse synaptics tslib void" KERNEL="linux" L10N="en-GB de en fr pl ru" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" NETBEANS_MODULES="apisupport cnd groovy gsf harness ide identity j2ee java mobility nb php profiler soa visualweb webcommon websvccommon xml" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_5" PYTHON_TARGETS="python2_7 python3_5" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="dummy fbdev intel nouveau nv i915 i965 tseng vesa vmware" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Comment on attachment 587786 [details] eix output Your eix output is not useful. Please get a gdb backtrace[1] and attach its output instead. [1] https://wiki.gentoo.org/wiki/Project:Quality_Assurance/Backtraces
gdb output: (gdb) run Starting program: /usr/bin/iscan [Thread debugging using libthread_db enabled] Using host libthread_db library "/lib64/libthread_db.so.1". [New Thread 0x7ffff3168700 (LWP 6257)] Thread 1 "iscan" received signal SIGSEGV, Segmentation fault. 0x00007ffff4f5ba96 in ?? () from /usr/lib64/sane/libsane-epkowa.so.1 (gdb) backtrace[1] A syntax error in expression, near `[1]'. (gdb) backtrace 1 #0 0x00007ffff4f5ba96 in () at /usr/lib64/sane/libsane-epkowa.so.1 (More stack frames follow...) (gdb) backtrace #0 0x00007ffff4f5ba96 in () at /usr/lib64/sane/libsane-epkowa.so.1 #1 0x00007ffff4f7b121 in () at /usr/lib64/sane/libsane-epkowa.so.1 #2 0x00007ffff4f6fdf8 in () at /usr/lib64/sane/libsane-epkowa.so.1 #3 0x00007ffff4f6ff7c in () at /usr/lib64/sane/libsane-epkowa.so.1 #4 0x00007ffff4f5d584 in () at /usr/lib64/sane/libsane-epkowa.so.1 #5 0x00007ffff4f7001e in () at /usr/lib64/sane/libsane-epkowa.so.1 #6 0x00007ffff4f711cb in () at /usr/lib64/sane/libsane-epkowa.so.1 #7 0x00007ffff4f564c5 in sane_epkowa_get_devices () at /usr/lib64/sane/libsane-epkowa.so.1 #8 0x00007ffff74dfe30 in sane_dll_get_devices () at //usr/lib64/libsane.so.1 #9 0x000055555557dfd2 in () #10 0x000055555557e404 in () #11 0x000055555557f650 in () #12 0x000055555557fd63 in () #13 0x00005555555800a9 in () #14 0x0000555555570990 in () #15 0x0000555555570a7a in () #16 0x00007ffff7084ecb in __libc_start_main () at /lib64/libc.so.6 #17 0x000055555556960a in () (gdb)
when I copy /usr/lib64/sane/libsane-epkowa.so.1 (compiled on older gentoo, where all is ok) to the new (buggy) gentoo installation then all seems to be ok I cannot compile on the new gentoo - there is runtime segmentation fault (glibc? vdso?)
Can confirm having the exact same problem. [403462.585968] iscan[1725832]: segfault at fffffffffffffff8 ip 00007ff10ce08a41 sp 00007ffcb98a2b90 error 5 in libsane-epkowa.so.1.0.15[7ff10ce02000+29000] [403686.129842] gscan2pdf[1726042]: segfault at fffffffffffffff8 ip 00007f7d4d7eba41 sp 00007f7d4e7e6530 error 5 in libsane-epkowa.so.1.0.15[7f7d4d7e5000+29000] [404158.347958] scan-thread[1754022]: segfault at fffffffffffffff8 ip 00007f8120714a41 sp 00007f810a5b75f0 error 5 in libsane-epkowa.so.1.0.15[7f812070e000+29000] [404243.280936] scan-thread[1758971]: segfault at fffffffffffffff8 ip 00007f1a6d53ca41 sp 00007f1a6cea55f0 error 5 in libsane-epkowa.so.1.0.15[7f1a6d536000+29000] [404294.963985] scanimage[1761127]: segfault at fffffffffffffff8 ip 00007fcb8977fa41 sp 00007fffc7b1ace0 error 5 in libsane-epkowa.so.1.0.15[7fcb89779000+29000] Portage 2.3.73 (python 3.7.4-final-0, default/linux/amd64/17.1/desktop/gnome/systemd, gcc-9.2.0, glibc-2.29-r4, 5.2.8-gentoo x86_64) ================================================================= System uname: Linux-5.2.8-gentoo-x86_64-Intel-R-_Core-TM-_i7-4800MQ_CPU_@_2.70GHz-with-gentoo-2.6 KiB Mem: 32575996 total, 6991624 free KiB Swap: 3999740 total, 3835900 free Timestamp of repository gentoo: Sun, 25 Aug 2019 15:30:01 +0000 Head commit of repository gentoo: 086077afa79e55f21c9285dec27752f18a34833b sh bash 5.0_p9 ld GNU ld (Gentoo 2.32 p2) 2.32.0 app-shells/bash: 5.0_p9::gentoo dev-java/java-config: 2.2.0-r4::gentoo dev-lang/perl: 5.30.0::gentoo dev-lang/python: 2.7.16::gentoo, 3.5.7::gentoo, 3.6.9::gentoo, 3.7.4-r1::gentoo dev-util/cmake: 3.15.2::gentoo dev-util/pkgconfig: 0.29.2::gentoo sys-apps/baselayout: 2.6-r1::gentoo sys-apps/openrc: 0.41.2::gentoo sys-apps/sandbox: 2.18::gentoo sys-devel/autoconf: 2.13-r1::gentoo, 2.69-r4::gentoo sys-devel/automake: 1.10.3-r3::gentoo, 1.11.6-r3::gentoo, 1.12.6-r2::gentoo, 1.13.4-r2::gentoo, 1.14.1-r2::gentoo, 1.15.1-r2::gentoo, 1.16.1-r1::gentoo sys-devel/binutils: 2.31.1-r6::gentoo, 2.32-r1::gentoo sys-devel/gcc: 7.4.0-r2::gentoo, 8.2.0-r6::gentoo, 8.3.0-r1::gentoo, 9.1.0-r1::gentoo, 9.2.0::gentoo sys-devel/gcc-config: 2.0::gentoo sys-devel/libtool: 2.4.6-r5::gentoo sys-devel/make: 4.2.1-r4::gentoo sys-kernel/linux-headers: 5.2::gentoo (virtual/os-headers) sys-libs/glibc: 2.29-r4::gentoo Repositories: gentoo location: /usr/portage sync-type: rsync sync-uri: rsync://rsync.gentoo.org/gentoo-portage priority: -1000 sync-rsync-verify-jobs: 1 sync-rsync-verify-metamanifest: yes sync-rsync-verify-max-age: 24 sync-rsync-extra-opts: Local-Grotto location: /usr/local/portage masters: gentoo priority: 0 cg location: /var/lib/layman/cg masters: gentoo priority: 50 freeswitch location: /var/lib/layman/freeswitch masters: gentoo priority: 50 games-overlay location: /var/lib/layman/games-overlay masters: gentoo priority: 50 sirjaren location: /var/lib/layman/sirjaren masters: gentoo priority: 50 steam-overlay location: /var/lib/layman/steam-overlay masters: gentoo priority: 50 torbrowser location: /var/lib/layman/torbrowser masters: gentoo priority: 50 wine location: /var/lib/layman/wine masters: gentoo priority: 50 zugaina location: /var/lib/layman/zugaina masters: gentoo priority: 50 ACCEPT_KEYWORDS="amd64 ~amd64" ACCEPT_LICENSE="*" CBUILD="x86_64-pc-linux-gnu" CFLAGS="-march=native -O2 -pipe" CHOST="x86_64-pc-linux-gnu" CONFIG_PROTECT="/etc /etc/stunnel/stunnel.conf /usr/lib64/libreoffice/program/sofficerc /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/php/apache2-php7.2/ext-active/ /etc/php/apache2-php7.3/ext-active/ /etc/php/cgi-php7.2/ext-active/ /etc/php/cgi-php7.3/ext-active/ /etc/php/cli-php7.2/ext-active/ /etc/php/cli-php7.3/ext-active/ /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" CXXFLAGS="-march=native -O2 -pipe" DISTDIR="/usr/portage/distfiles" ENV_UNSET="DBUS_SESSION_BUS_ADDRESS DISPLAY GOBIN PERL5LIB PERL5OPT PERLPREFIX PERL_CORE PERL_MB_OPT PERL_MM_OPT XAUTHORITY XDG_CACHE_HOME XDG_CONFIG_HOME XDG_DATA_HOME XDG_RUNTIME_DIR" FCFLAGS="-O2 -pipe" FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr" FFLAGS="-O2 -pipe" GENTOO_MIRRORS="http://distfiles.gentoo.org" LANG="en_US.utf8" LDFLAGS="-Wl,-O1 -Wl,--as-needed" LINGUAS="en en_US" MAKEOPTS="-j12" PKGDIR="/usr/portage/packages" PORTAGE_CONFIGROOT="/" PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --omit-dir-times --compress --force --whole-file --delete --stats --human-readable --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages --exclude=/.git" PORTAGE_TMPDIR="/var/tmp" USE="X a52 aac acl acpi addc alsa amd64 ao apache2 appindicator archive atasmart awt berkdb bluetooth boto branding bzip2 cairo calendar caps cdda cddb cdr cgroup-hybrid chromium cli cluster colord context crypt cups curl cxx d3d9 dbus development device-mapper dhclient dia down-root dri drm dts dvd dvdr eds elfutils emboss encode epspdf evo exif extensions extra extraengine fam fdk ffmpge flac fortran fpm freerdp games gcj gd gdata gdbm geckodriver gentoo-vm gif gimp git glamor gles gles1 gltf gnome gnome-keyring gnome-online-accounts google gpg gpm graph graphics gstreamer gtk gtk3 hddtemp highlight http humanities hwaccel iconv icu imagemagick introspection iproute2 ipv6 jack javascript jemalloc jpeg jpeg2k json lcms ldap libkms libnotify libsecret libtirpc lm_sensors login lto lua lxc lz4 lzma mad matroska maxminddb mediaplayer mms mmx mmxext mng mod modplug mp3 mp4 mpeg mtp multilib music mysql mysqli mysqlnd nautilus ncat ncurses ndiff network networkmanager nfs nfsv4 nfsv41 nls notification nping nptl nvenc odf offensive ofx ogg omega opencl opengl openmp opus osmesa pam pango pcre pda pdf pdfannotextractor pdfimport pdo pgo php png policykit postgres postproc ppds printsupport profiling pstricks publishers pulseaudio qt5 raw readline redis rrdcgi s3tc samba science sdl seccomp sendto sensord slib soap sockets speex spell spice split-usr sqlite sse sse2 sse3 sse4.1 sse4.2 ssh ssl ssse3 staging startup-notification svc svg syntax-check system-ffmpeg system-harfbuzz system-icu system-jpeg system-libevent system-libvpx system-sqlite systemd systemtap sysv-utils sysvipc tcpd telepathy terminal tex4ht texi2html tfshark theora threads thunar tiff tokudb tools tor-hardening tproxy tray truetype udev udisks unicode update_drivedb upower usb user-session uvm v4l vaapi vdpau vim vim-syntax virtualbox visio vkd3d vlc vnc vorbis vpx vte vulkan wayland webp widevine winbind wireshark-plugins wxwidgets x264 x265 xa xattr xcb xcomposite xetex xface xinerama xml xmlwriter xrandr xsl xslt xv xvfb xvid xvmc zenmap zip zlib zsh-completion zsh-completions" ABI_X86="64 32" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation proxy proxy_balancer proxy_connect proxy_fdpass proxy_fcgi proxy_http proxy_scgi proxy_wstunnel ratelimit rewrite setenvif slotmem_shm socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias" APACHE2_MPMS="event" CALLIGRA_FEATURES="karbon sheets words" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" CPU_FLAGS_X86="aes avx avx2 f16c fma3 mmx mmxext pclmul popcnt sse sse2 sse3 sse4_1 sse4_2 ssse3" CURL_SSL="openssl" 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="mouse keyboard evdev synaptics" KERNEL="linux" L10N="en" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="nlpsolver scripting-beanshell scripting-javascript wiki-publisher" NETBEANS_MODULES="apisupport java javafx mobility php profiler websvccommon" NGINX_MODULES_HTTP="access auth_basic autoindex browser charset empty_gif fastcgi geo gzip limit_conn limit_req map memcached proxy referer rewrite scgi split_clients ssi upstream_ip_hash userid uwsgi gunzip gzip_static metrics mp4 naxsi security realip stub_status pcre-jit" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-2" POSTGRES_TARGETS="postgres10 postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6 python3_7" QEMU_SOFTMMU_TARGETS="i386 x86_64" QEMU_USER_TARGETS="i386 x86_64" RUBY_TARGETS="ruby25 ruby26" USERLAND="GNU" VIDEO_CARDS="intel nouveau i965 nvidia" 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: CC, CPPFLAGS, CTARGET, CXX, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LC_ALL, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
The same for: media-gfx/iscan-2.30.4.2 media-gfx/iscan-data-1.39.1.2 (from https://data.gpo.zugaina.org/stuff/media-gfx/). [ 1717.501403] usb 3-2: Product: Epson Perfection V800 [ 1717.501405] usb 3-2: Manufacturer: Epson [ 1782.112599] iscan[2700]: segfault at fffffffffffffff8 ip 00007f3b93b34a54 sp 00007ffeada65ad0 error 5 in libsane-epkowa.so.1.0.15[7f3b93b2e000+29000] [ 1782.112604] Code: c4 4c 8d 7b 28 eb 80 41 55 41 54 55 53 48 83 ec 08 41 89 fc 48 63 c7 48 8d 04 80 48 8d 2c c5 00 00 00 00 48 8b 05 bc e0 03 00 <48> 83 7c 28 20 00 74 35 e8 d4 fe ff ff 49 89 ed 4c 03 2d a5 e0 03
(In reply to z6b9j123 from comment #7) > The same for: > media-gfx/iscan-2.30.4.2 > media-gfx/iscan-data-1.39.1.2 > (from https://data.gpo.zugaina.org/stuff/media-gfx/). > > [ 1717.501403] usb 3-2: Product: Epson Perfection V800 > [ 1717.501405] usb 3-2: Manufacturer: Epson > [ 1782.112599] iscan[2700]: segfault at fffffffffffffff8 ip 00007f3b93b34a54 > sp 00007ffeada65ad0 error 5 in libsane-epkowa.so.1.0.15[7f3b93b2e000+29000] > [ 1782.112604] Code: c4 4c 8d 7b 28 eb 80 41 55 41 54 55 53 48 83 ec 08 41 > 89 fc 48 63 c7 48 8d 04 80 48 8d 2c c5 00 00 00 00 48 8b 05 bc e0 03 00 <48> > 83 7c 28 20 00 74 35 e8 d4 fe ff ff 49 89 ed 4c 03 2d a5 e0 03 Has this scanner ever worked for you? I see that the software bundle that can be downloaded at Epson comes with an iscan-network-nt-1.1.2-1.x86_64.rpm plugin. It's quite possible that if your scanner doesn't work at the moment, then you're going to need the iscan-network-nt-1.1.2-1.x86_64.rpm plugin. I would suggest you file an enhancement bug to create a new package for that plugin.
(In reply to Matthew Schultz from comment #8) > (In reply to z6b9j123 from comment #7) > > The same for: > > media-gfx/iscan-2.30.4.2 > > media-gfx/iscan-data-1.39.1.2 > > (from https://data.gpo.zugaina.org/stuff/media-gfx/). > > > > [ 1717.501403] usb 3-2: Product: Epson Perfection V800 > > [ 1717.501405] usb 3-2: Manufacturer: Epson > > [ 1782.112599] iscan[2700]: segfault at fffffffffffffff8 ip 00007f3b93b34a54 > > sp 00007ffeada65ad0 error 5 in libsane-epkowa.so.1.0.15[7f3b93b2e000+29000] > > [ 1782.112604] Code: c4 4c 8d 7b 28 eb 80 41 55 41 54 55 53 48 83 ec 08 41 > > 89 fc 48 63 c7 48 8d 04 80 48 8d 2c c5 00 00 00 00 48 8b 05 bc e0 03 00 <48> > > 83 7c 28 20 00 74 35 e8 d4 fe ff ff 49 89 ed 4c 03 2d a5 e0 03 > > Has this scanner ever worked for you? I see that the software bundle that > can be downloaded at Epson comes with an iscan-network-nt-1.1.2-1.x86_64.rpm > plugin. It's quite possible that if your scanner doesn't work at the > moment, then you're going to need the iscan-network-nt-1.1.2-1.x86_64.rpm > plugin. I would suggest you file an enhancement bug to create a new package > for that plugin. Never mind, looks like there already is a bug for it: bug 364129
My Epson DS-510 worked before on the same Gentoo system I currently have to segfaults with.
(In reply to Matt McAdoo from comment #10) > My Epson DS-510 worked before on the same Gentoo system I currently have to > segfaults with. Ok then try the bumped version with the patch I just mentioned.
Where's the patch you mentioned? Not seeing it attached to this bug report.
(In reply to Matt McAdoo from comment #12) > Where's the patch you mentioned? Not seeing it attached to this bug report. Sorry, here's the version bump ticket: bug 693994. The PR contains the ebuild and patch.
Created attachment 589796 [details] library from epson server
Always worked without any problems and plugins (only icsan and iscan-data was installed). For recent gentoo distribution there is segmentation fault in libsane-epkowa.so.1.0.15 Consider two gentoo installations: old, good, no segmentationn falt installed from portage-20190530 iscan was installed with gcc-8.2.0-r6 and glibc-2.28-r5 iscan ok (ie no issues, works like charm, excellent film copies ... etc) new installed from portage-20190822 iscan was installed with gcc-8.2.0-r6 and glibc-2.29-r2 iscan not ok, segmentation fault Both gentoo's (old and new ) use exactly the same kernel. However, if take libsane-epkowa.so.1.0.15 from old gentoo and copy it to the new gentoo then after ldconfig all is ok (ie works like a charm ...). I can take libsane-epkowa.so.1.0.15 from a .deb, .rpm and all is ok too. libsane-epkowa.so.1.0.15 now not on the epson server http://support.epson.net/linux/en/imagescanv3.php#ubuntu so I attache it (taken from iscan-bundle-2.30.4.x64.deb, epson server a few days ago)
I think that my problems are connected with profile 17.1 for "new gentoos" (no /lib32 directory). On new installations (17.1) ldd libsane-epkowa.so.1.0.15 shows no dependency on librt. I'm curious if following exactly https://www.gentoo.org/support/news-items/2019-06-05-amd64-17-1-profiles-are-now-stable.html steps and next emerging iscan will be successful.
(In reply to z6b9j123 from comment #16) > I think that my problems are connected with profile 17.1 for "new gentoos" > (no /lib32 directory). > On new installations (17.1) ldd libsane-epkowa.so.1.0.15 shows no > dependency on librt. > I'm curious if following exactly > https://www.gentoo.org/support/news-items/2019-06-05-amd64-17-1-profiles-are- > now-stable.html steps > and next emerging iscan will be successful. If you switched to 17.1 and didn't follow the instructions, then you would definitely have problems. It didn't go well for me on one my machines and I had to do emerge -e world to fix it. Also, make sure that you get the iscan I created a PR for since it also contains a patch which fixes problems with glibc since you mentioned you were using glibc 2.29.
The ebuild media-gfx/iscan/iscan-2.30.4.2.ebuild with media-gfx/iscan/files/iscan-2.30.4.2-sscanf.patch from https://github.com/gentoo/gentoo/pull/12901/files works excellent on profile 17.1 - thank you very much. (This working ebuild is really deeply hidden.) I think that most important is ebuild with sscanf patch, not transition to 17.1 (probably one of newest gentoo was installed from an autobuild with 17.1 profile build in - there was no need transition). By the way, the method how to switch from 17.0 to 17.1 is everywhere, but where to find detailed instruction how to switch from 17.1 to 17.0? (after that remain lib.backup.0000 and lib.backup.0001 links - what to do with it further?)
(In reply to z6b9j123 from comment #18) > The ebuild media-gfx/iscan/iscan-2.30.4.2.ebuild with > media-gfx/iscan/files/iscan-2.30.4.2-sscanf.patch > from https://github.com/gentoo/gentoo/pull/12901/files > works excellent on profile 17.1 - thank you very much. > > (This working ebuild is really deeply hidden.) > I think that most important is ebuild with > sscanf patch, not transition to 17.1 > (probably one of newest gentoo was installed from an autobuild with > 17.1 profile build in - there was no need transition). > By the way, > the method how to switch from 17.0 to 17.1 is everywhere, > but where to find detailed instruction > how to switch from 17.1 to 17.0? > (after that remain lib.backup.0000 and lib.backup.0001 links - > what to do with it further?) I'm glad that helped. So when this package is version bumped, then this bug can be closed. I don't know how you got lib.backup.0000 so I can't comment on that. For detailed info on switching to 17.1: eselect news list | grep "17.1 profiles" | awk '{print $1}' | tr -d '[]' | xargs eselect news read
My problems are resolved with your version (https://github.com/gentoo/gentoo/pull/12901/) Thank you very much again. (links lib.backup.000? are after switching 17.1 -> 17.0)
Had the same problem. Updating to 2.30.4.2 helped.