Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 713834 - net-print/cups-filters-2.3.1: cups-browsed crashes shorty after startup
Summary: net-print/cups-filters-2.3.1: cups-browsed crashes shorty after startup
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Printing Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-03-21 18:41 UTC by Niko E
Modified: 2020-03-21 23:45 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Niko E 2020-03-21 18:41:15 UTC
cups-browsed crashes shorty after startup, breaking driverless / ipp everywhere printers from working correctly.

Reproducible: Always

Steps to Reproduce:
1. gdb /usr/sbin/cups-browsed 
2. run
3. wait a few seconds
Actual Results:  
Thread 1 "cups-browsed" received signal SIGSEGV, Segmentation fault.
__strncasecmp_l_avx () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:199
199     ../sysdeps/x86_64/multiarch/strcmp-sse42.S: No such file or directory.
(gdb) bt
#0  __strncasecmp_l_avx () at ../sysdeps/x86_64/multiarch/strcmp-sse42.S:199
#1  0x0000555555572259 in is_local_hostname (host_name=0x0)
    at utils/cups-browsed.c:9140
#2  0x0000555555573e81 in resolve_callback
    (r=0x5555556217c0, interface=3, protocol=<optimized out>, event=AVAHI_RESOLVER_FAILURE, name=0x7fffe800aa40 "Brother HL-3152CDW series", type=0x55555563da80 "_ipp._tcp", domain=0x55555563f890 "local", host_name=0x0, address=0x0, port=0, txt=0x0, flags=(unknown: 0), userdata=0x5555555f51b0)
    at utils/cups-browsed.c:9991
#3  0x00007ffff7eeb605 in avahi_service_resolver_event
    (client=client@entry=0x5555555f51b0, event=event@entry=AVAHI_RESOLVER_FAILURE, message=message@entry=0x555555621250) at resolver.c:165
#4  0x00007ffff7ee6fc8 in filter_func
    (bus=<optimized out>, message=0x555555621250, userdata=0x5555555f51b0)
    at client.c:258
#5  0x00007ffff7583bcd in dbus_connection_dispatch
    (connection=0x55555561eac0)
    at /var/tmp/portage/sys-apps/dbus-1.12.16/work/dbus-1.12.16/dbus/dbus-connection.c:4704
#6  dbus_connection_dispatch (connection=0x55555561eac0)
    at /var/tmp/portage/sys-apps/dbus-1.12.16/work/dbus-1.12.16/dbus/dbus-connection.c:4576
#7  0x00007ffff7eed757 in dispatch_timeout_callback
    (t=<optimized out>, userdata=0x5555556005e0)
    at ../avahi-common/dbus-watch-glue.c:105
#8  0x00007ffff7edccd8 in start_timeout_callback (t=0x55555561f0a0)
    at glib-watch.c:252
#9  dispatch_func
    (source=0x55555561cfe0, callback=<optimized out>, userdata=<optimized out>) at glib-watch.c:331
#10 0x00007ffff7bc1c37 in g_main_dispatch (context=0x55555560cd40)
    at ../glib-2.62.5/glib/gmain.c:3216
#11 g_main_context_dispatch (context=context@entry=0x55555560cd40)
    at ../glib-2.62.5/glib/gmain.c:3881
#12 0x00007ffff7bc1ed0 in g_main_context_iterate
    (context=0x55555560cd40, block=block@entry=1, dispatch=dispatch@entry=1, self=<optimized out>) at ../glib-2.62.5/glib/gmain.c:3954
#13 0x00007ffff7bc21b3 in g_main_loop_run (loop=0x5555555e0dd0)
    at ../glib-2.62.5/glib/gmain.c:4148
#14 0x000055555555dbfd in main (argc=1, argv=<optimized out>)
    at utils/cups-browsed.c:12337


Expected Results:  
should not crash

# emerge --info
Portage 2.3.94 (python 3.6.10-final-0, default/linux/amd64/17.1/no-multilib, gcc-9.3.0, glibc-2.30-r5, 5.5.9-gentoo-x86_64 x86_64)
=================================================================
System uname: Linux-5.5.9-gentoo-x86_64-x86_64-Intel-R-_Core-TM-_i7-8565U_CPU_@_1.80GHz-with-gentoo-2.7
KiB Mem:    16200664 total,  11525856 free
KiB Swap:    5242876 total,   5242876 free
Timestamp of repository gentoo: Sun, 15 Mar 2020 14:30:01 +0000
Head commit of repository gentoo: 959cf0a3b9fbb0de4181bb128a9c484d9f0153f1
sh bash 5.0_p16
ld GNU ld (Gentoo 2.34 p1) 2.34.0
app-shells/bash:          5.0_p16::gentoo
dev-java/java-config:     2.2.0-r4::gentoo
dev-lang/perl:            5.30.1::gentoo
dev-lang/python:          2.7.17-r1::gentoo, 3.6.10::gentoo, 3.7.7::gentoo, 3.8.2::gentoo
dev-util/cmake:           3.16.5::gentoo
sys-apps/baselayout:      2.7::gentoo
sys-apps/openrc:          0.42.1::gentoo
sys-apps/sandbox:         2.18::gentoo
sys-devel/autoconf:       2.69-r5::gentoo
sys-devel/automake:       1.16.1-r2::gentoo
sys-devel/binutils:       2.34::gentoo
sys-devel/gcc:            9.3.0::gentoo
sys-devel/gcc-config:     2.2.1::gentoo
sys-devel/libtool:        2.4.6-r6::gentoo
sys-devel/make:           4.3::gentoo
sys-kernel/linux-headers: 5.5::gentoo (virtual/os-headers)
sys-libs/glibc:           2.30-r5::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

nefthy
    location: /usr/local/portage
    masters: gentoo
    priority: 0

ACCEPT_KEYWORDS="amd64 ~amd64"
ACCEPT_LICENSE="*"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-march=skylake -O3 -pipe -g"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /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.4/ext-active/ /etc/php/cgi-php7.4/ext-active/ /etc/php/cli-php7.4/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O3 -pipe -g"
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="-O3 -pipe -g"
FEATURES="assume-digests binpkg-docompress binpkg-dostrip binpkg-logs buildpkg cgroup clean-logs compressdebug config-protect-if-modified distlocks downgrade-backup ebuild-locks fail-clean fixlafiles ipc-sandbox merge-sync multilib-strict network-sandbox news parallel-fetch pid-sandbox preserve-libs protect-owned qa-unresolved-soname-deps sfperms splitdebug strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync xattr"
FFLAGS="-O3 -pipe -g"
GENTOO_MIRRORS="http://ftp-stud.hs-esslingen.de/pub/Mirrors/gentoo/ http://mirror.netcologne.de/gentoo/ ftp://ftp.halifax.rwth-aachen.de/gentoo/"
LANG="en_US.UTF-8"
LC_ALL="en_US.UTF-8"
LDFLAGS="-Wl,-O1 -Wl,--as-needed"
LINGUAS="en"
MAKEOPTS="-j4"
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 aac acl aio alsa amd64 berkdb bzip2 cairo cli crypt cups cxx dbus device-mapper dri exif ffmpeg flac fluidsynth fontconfig ftp gd gdbm gif gimp gpm gtk hddtemp http iconv initramfs ipv6 jack jpeg jpeg2k lame libatomic libnotify libsamplerate libtirpc lm_sensors lv2 lzma matroska mp3 ncurses nls nptl ogg opengl openmp pam pcre pdf png postscript raw readline seccomp sftp sndfile spell split-usr ssl svg tcpd theora tiff tremor truetype udev unicode v4l v4l2 vim-syntax vorbis wav wavpack webp wifi x264 x265 xattr xinerama zeroconf zlib" ABI_X86="64" ADA_TARGET="gnat_2018" ALSA_CARDS="hda-intel" APACHE2_MODULES="proxy proxy_fcgi authn_core authz_core socache_shmcb unixd 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" 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" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock greis isync itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf skytraq superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="libinput synaptics keyboard mouse evdev joystick" KERNEL="linux" L10N="en-US" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" NGINX_MODULES_HTTP="fancyindex gzip_static headers_more autoindex browser charset fastcgi gzip proxy rewrite upload_progress" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php7-4" POSTGRES_TARGETS="postgres11" PYTHON_SINGLE_TARGET="python3_6" PYTHON_TARGETS="python2_7 python3_6" RUBY_TARGETS="ruby24 ruby25" USERLAND="GNU" VIDEO_CARDS="intel i965 v4l 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, PORTAGE_BINHOST, PORTAGE_BUNZIP2_COMMAND, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS