From nobody Sat Apr 01 13:07:15 2023 X-Original-To: ports-bugs@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4PpcrM3crQz43Ry9 for ; Sat, 1 Apr 2023 13:07:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4PpcrM2QY7z4P7C for ; Sat, 1 Apr 2023 13:07:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1680354435; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=4dgTNFFCQQN50tziVMbeCZW/qeYsfJQ7X8zaRoORTYY=; b=rrmSbSh/N/hlYgtrMniaPToO5u75xoECKT7oHkhPHYF7vy4Vs5c8pEEkjphOySBdtVptEm em36l/iImsa76gRL0VfzCMI7Ho2yBlAAzbjDkAGelHDpJ07LwrZ2Dq1i7TzRJ6PnMJ01ww Gc+TsHuttEuNeFghrLO87PD8PZB1MbDgrqovXUgw0rdYLcFU1I89pcRAekEF3C13gnWvFB fhGgtDaKPa3MOFosTsAbI5OicM/NJVj+/83xMDkY+YafoVSVdjoEpZ0yoEcB2qoF5eSp8b CnIG5APGKxOevDsMBd/Wmq55JQqhjAKkZZ62ucJKVdKK8sFNDwzRpfZiz/LZUQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1680354435; a=rsa-sha256; cv=none; b=iyyXZHdZDamPqHY1VP0axMHvG2AyDJdbwlmcyU8mCKj13E+y5JstTUMk5fTt8bHiSA+lJk SK60i9+0Dcmua1jhJpkVHyxVQyWnHNr/mljRCgEP1loECoWlWp/x6QC/eA4gM/p1Mw7ZGM M0eqEZhXQFIcZdmuwTZ4Wvqu0qYbApMK+cCesqJApzavrnKG8SCsWGHq8puFS0yy6J18D6 VgHU3QdfcO21/BKST3Ck1QiFPN0up2Ta/GUbhk97fyMcvrJWeXYicxcNK4bBchT8fjzZDf oeIOVbzquvsJiggeMBNeiYI8bH6RK0ejxbXW65FN8yoPPzSE955nt5ZucFtBxA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4PpcrM1NjfzcCL for ; Sat, 1 Apr 2023 13:07:15 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 331D7F28043757 for ; Sat, 1 Apr 2023 13:07:15 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 331D7FLw043756 for ports-bugs@FreeBSD.org; Sat, 1 Apr 2023 13:07:15 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 270579] graphics/epsonscan2: assertion failed when calling GetMaxScanSize Date: Sat, 01 Apr 2023 13:07:15 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Only Me X-Bugzilla-Who: kaltheat@gmail.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter cc flagtypes.name Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D270579 Bug ID: 270579 Summary: graphics/epsonscan2: assertion failed when calling GetMaxScanSize Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Only Me Priority: --- Component: Individual Port(s) Assignee: ports-bugs@FreeBSD.org Reporter: kaltheat@gmail.com CC: fbsd@opal.com CC: fbsd@opal.com Flags: maintainer-feedback?(fbsd@opal.com) Hi, I try to use an EPSON Perfection V600 scanner. After having installed graphics/epsonscan2 and doing the usual devd-fiddling xsane recognizes it: $ scanimage -L device `epsonscan2:Perfection V600/GT-X820:001:005:esci2:usb:ES00A1:314' is= a EPSON Perfection V600/GT-X820:001:005 flatbed scanner But I cannot use it $ env SANE_DEBUG_EPSON2=3D50 scanimage -A Output format is not set, using pnm as a default. [14:59:42.575203] [sanei_debug] Setting debug level of epson2 to 50. [14:59:42.575600] [epson2] sane_epson2_init: version 1.1.1 [14:59:42.576938] [epson2] sane_epson2_get_devices [14:59:42.576949] [epson2] probe_devices [14:59:42.576954] [epson2] free_devices [14:59:42.577002] [epson2] attach_one_config: len =3D 10, line =3D scsi EPS= ON [14:59:42.577126] [epson2] attach_one_config: len =3D 3, line =3D usb [14:59:42.577142] [epson2] attach_one_config: len =3D 17, line =3D net autodiscovery [14:59:42.577220] [epson2] e2_network_discovery, sent discovery packet [14:59:43.579188] [epson2] e2_network_discovery, end [14:59:43.579279] [epson2] sane_epson2_get_devices - results: Assertion failed: (un32BasicResolution > 0), function GetMaxScanSize, file /wrkdirs/usr/ports/graphics/epsonscan2/work/epsonscan2-6.6.40.0-1/src/ES2Co= mmand/Src/Command/ESCI/ESCIAccessor.cpp, line 1128. Abort (core dumped) Here is the backtrace: * thread #1, name =3D 'scanimage', stop reason =3D signal SIGABRT * frame #0: 0x0000000800519b8a libc.so.7`__sys_thr_kill + 10 frame #1: 0x0000000800517f54 libc.so.7`__raise + 52 frame #2: 0x0000000800490449 libc.so.7`abort + 73 frame #3: 0x0000000800507ec1 libc.so.7`__assert + 81 frame #4: 0x000000080450cb88 libes2command.so`CESCIAccessor::GetMaxScanSize() + 184 frame #5: 0x00000008044faf4a libes2command.so`CESScanner::GetMaxScanSizeCapability(std::__1::map, std::__1::allocator >, boost::any, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, boost::any>= > >&) + 42 frame #6: 0x00000008044f62f5 libes2command.so`CESScanner::GetCapabilityForKey(char const*, std::__1::map, std::__1::allocator >, boost::any, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, boost::any>= > >&) + 821 frame #7: 0x0000000804521cf3 libes2command.so`CESCIScanner::GetCapabilityForKey(char const*, std::__1::map, std::__1::allocator >, boost::any, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, boost::any>= > >&) + 611 frame #8: 0x00000008044e5a0d libes2command.so`CESScanner::GetTargetCapabilityForKey(char const*, char const*, std::__1::map, std::__1::allocator >, boost::any, std::__1::less, std::__1::allocator > >, std::__1::allocator, std::__1::allocator > const, boost::any>= > >&) + 93 frame #9: 0x000000080451f552 libes2command.so`CESCIScanner::GetValueForKey(char const*, boost::any&) + 3= 70 frame #10: 0x00000008044e7bff libes2command.so`CESScanner::GetValueForKey(char const*, IESResultString*) = + 63 frame #11: 0x0000000804157bba libepsonscan2.so`bool epsonscan::Engine::GetValueForKey >(char const*, stESSize&) + 90 frame #12: 0x0000000804157846 libepsonscan2.so`bool epsonscan::Scanner::GetValueForKey >(char const*, stESSize&, ESFunctionalUnitType) + 262 frame #13: 0x0000000804158a18 libepsonscan2.so`epsonscan::ScanWidthMax::GetValue(int&) + 296 frame #14: 0x000000080414beab libepsonscan2.so`epsonscan::Key::GetValue(SDIValueType, void*, int) + = 59 frame #15: 0x000000080413c96d libepsonscan2.so`epsonscan::KeyMgr::GetValue(std::__1::basic_string, std::__1::allocator > const&, SDIValueTy= pe, void*, int) + 77 frame #16: 0x00000008040f82c1 libepsonscan2.so`epsonscan::Controller::GetValue(std::__1::basic_string, std::__1::allocator > const&, SDIValueTy= pe, void*, int) + 97 frame #17: 0x00000008040f4105 libepsonscan2.so`SDIScannerDriver_GetValu= e + 197 frame #18: 0x0000000803f3d1d9 libsane-epsonscan2.so.1`Supervisor::Get_All_Value() + 3177 frame #19: 0x0000000803f3301b libsane-epsonscan2.so.1`epsonscan_open(ch= ar const*, void**) + 907 frame #20: 0x000000080026af48 libsane.so.1`sane_dll_open + 632 frame #21: 0x0000000000206957 scanimage`___lldb_unnamed_symbol191 + 1351 frame #22: 0x0000000000206220 scanimage`___lldb_unnamed_symbol188 + 256 Can you help with it? Maybe it's solved in a newer version? Saw that there is epsonscan2-6.7.43.0-1.src.tar.gz already ... Regards kaltheat --=20 You are receiving this mail because: You are the assignee for the bug.=