From owner-freebsd-questions@freebsd.org Sun Mar 22 14:24:35 2020 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 3FE1A262EB1 for ; Sun, 22 Mar 2020 14:24:35 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mout.kundenserver.de (mout.kundenserver.de [217.72.192.73]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "mout.kundenserver.de", Issuer "TeleSec ServerPass Class 2 CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 48lfsX56Czz3NjL for ; Sun, 22 Mar 2020 14:24:31 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r56.edvax.de ([178.5.94.224]) by mrelayeu.kundenserver.de (mreue108 [212.227.15.183]) with ESMTPA (Nemesis) id 1N5G5b-1jNThd0MdR-011DHt; Sun, 22 Mar 2020 15:24:24 +0100 Date: Sun, 22 Mar 2020 15:24:24 +0100 From: Polytropon To: "Vlad D. Markov" Cc: "Vlad D. Markov via freebsd-questions" Subject: Re: sane crashes Message-Id: <20200322152424.6fd38112.freebsd@edvax.de> In-Reply-To: <20200322093038.1f6933c3e68d6622c7d39427@aim.com> References: <20200321183703.9566f2b45dd4193a51381291.ref@aim.com> <20200321183703.9566f2b45dd4193a51381291@aim.com> <20200321184307.8fb232b54dd802ae8c0a11bb@aim.com> <20200322093038.1f6933c3e68d6622c7d39427@aim.com> Reply-To: Polytropon Organization: EDVAX X-Mailer: Sylpheed 3.1.1 (GTK+ 2.24.5; i386-portbld-freebsd8.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Provags-ID: V03:K1:x1HvftNq1hHyhamww0ufR90dpZiEbe5YL7xR60z7PbsJarxapYD 91BJCR9chk9As26U4KA80LzDWIkoydTf4bpK+QXvkluHz+U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X-Rspamd-Queue-Id: 48lfsX56Czz3NjL X-Spamd-Bar: ++++ Authentication-Results: mx1.freebsd.org; dkim=none; dmarc=none; spf=none (mx1.freebsd.org: domain of freebsd@edvax.de has no SPF policy when checking 217.72.192.73) smtp.mailfrom=freebsd@edvax.de X-Spamd-Result: default: False [4.94 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; HAS_REPLYTO(0.00)[freebsd@edvax.de]; MV_CASE(0.50)[]; HAS_ORG_HEADER(0.00)[]; TO_DN_ALL(0.00)[]; RCPT_COUNT_TWO(0.00)[2]; FREEMAIL_TO(0.00)[aim.com]; FROM_EQ_ENVFROM(0.00)[]; RCVD_TLS_LAST(0.00)[]; R_DKIM_NA(0.00)[]; ASN(0.00)[asn:8560, ipnet:217.72.192.0/20, country:DE]; MIME_TRACE(0.00)[0:+]; RECEIVED_SPAMHAUS_PBL(0.00)[224.94.5.178.khpj7ygk5idzvmvt5x4ziurxhy.zen.dq.spamhaus.net : 127.0.0.11]; ARC_NA(0.00)[]; REPLYTO_EQ_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; MIME_GOOD(-0.10)[text/plain]; DMARC_NA(0.00)[edvax.de]; AUTH_NA(1.00)[]; NEURAL_SPAM_MEDIUM(1.00)[0.999,0]; TO_MATCH_ENVRCPT_SOME(0.00)[]; NEURAL_SPAM_LONG(1.00)[1.000,0]; RCVD_IN_DNSWL_NONE(0.00)[73.192.72.217.list.dnswl.org : 127.0.5.0]; MID_CONTAINS_FROM(1.00)[]; R_SPF_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; IP_SCORE(0.54)[ip: (0.17), ipnet: 217.72.192.0/20(0.36), asn: 8560(2.17), country: DE(-0.02)] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Mar 2020 14:24:35 -0000 On Sun, 22 Mar 2020 09:30:38 -0400, Vlad D. Markov via freebsd-questions wrote: > On Sat, 21 Mar 2020 18:43:07 -0400 > "Vlad D. Markov via freebsd-questions" wrote: > > > On Sat, 21 Mar 2020 18:37:03 -0400 > > "Vlad D. Markov via freebsd-questions" wrote: > > > > > > > > I am having some problems using sane for scanning. > > > > > > My version of FreeBSD: > > > FreeBSD happy 12.1-RELEASE-p2 FreeBSD 12.1-RELEASE-p2 GENERIC amd64 > > > > > > My version of sane: > > > happy$ scanimage -V > > > scanimage (sane-backends) 1.0.29; backend version 1.0.29 > > > > > > I have tried multiple approaches to get things working: > > > > > > The scanner is an HP so I set the URI and tried: > > > > > > happy$ xsane "hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37" > > > Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171. > > > Abort trap (core dumped) > > > > > > Next try: > > > > > > happy$ scanimage -L > > > Assertion failed: (p), function avahi_threaded_poll_lock, file thread-watch.c, line 171. > > > Abort trap > > > > > > Recompile minus Avahi: > > > happy$ scanimage -L > > > device `hpaio:/net/OfficeJet_Pro_6970?ip=192.168.1.37' is a Hewlett-Packard OfficeJet_Pro_6970 all-in-one > > > > > > Maybe this will help the next person. > > > > > > Vlad > > > > > Jumped the gun here. The last method also has an issue when doing a scan: > > > > happy$ dbus[8796]: arguments to dbus_connection_send() were incorrect, assertion "connection != NULL" failed in file dbus-connection.c line 3311. > > This is normally a bug in some application using the D-Bus library. > > > > D-Bus not built with -rdynamic so unable to print a backtrace > > > > > > > > > avahi-daemon and dbusd weren't running. For some reason they didn't > start via rc.conf. Do you have dbus_enable="YES" in your /etc/rc.conf file? Do the system logs contain an error message about why DBus could not be started? (If you're using Gnome, the related _enable variable usually implies starting HAL and DBus.) Reacting to a non-running DBus by core dumping doesn't look very good... oh, and according to "man 8 avahi-daemon": Upon startup avahi-daemon interprets its configuration file /home/lennart/tmp/avahi/usr/local/etc/avahi/avahi-daemon.conf and reads XML fragments from /home/lennart/tmp/avahi/etc/avahi/services/*.service which may define static DNS-SD services. Because /home/lennart/tmp is a standard system configuration location present on every FreeBSD box... ;-) Source: https://www.freebsd.org/cgi/man.cgi?query=avahi-daemon -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...