<html><head></head><body><div class="ydp7e31f247yahoo-style-wrap" style="font-family:Helvetica Neue, Helvetica, Arial, sans-serif;font-size:13px;"><div></div>
        <div>Hello Olaf,</div><div><br></div><div> <span>Thank you very much for taking time for me.</span></div><div> <span><span id="ydpd5f2e10bresult_box" class="ydpd5f2e10bshort_text" lang="en"><span>Thank you too for your expertise and advices.</span></span></span></div><div><span><span id="ydpd5f2e10bresult_box" class="ydpd5f2e10bshort_text" lang="en"><span><br></span></span></span></div><div><span><span id="ydpd5f2e10bresult_box" class="ydpd5f2e10bshort_text" lang="en"><span>The only things I found with an ADS-2800W is located here <a href="https://bugs.launchpad.net/ubuntu/+source/sane-frontends/+bug/1789123" rel="nofollow" target="_blank">https://bugs.launchpad.net/ubuntu/+source/sane-frontends/+bug/1789123</a> but seems there is an error due to the Brother4 which is in fact Brother5. <br></span></span></span></div><div><span><span id="ydpd5f2e10bresult_box" class="ydpd5f2e10bshort_text" lang="en"><span><br></span></span></span></div><div> <span>I have not had a reply from Brother yet, just an incident number (<span>#181019-000232</span>).</span></div><div><span><span>I do not know how long it will take and even if Brother will answer but I hope.</span></span></div><div><span><span><br></span></span></div> <div><span>If so can I use your expertise with Brother ?</span></div><div><span><br></span></div><div><span>Kind Regards</span></div><div><span>Fabien<br></span></div><div><br></div>
        
        </div><div id="ydp54d2f937yahoo_quoted_0741269563" class="ydp54d2f937yahoo_quoted">
            <div style="font-family:'Helvetica Neue', Helvetica, Arial, sans-serif;font-size:13px;color:#26282a;">
                
                <div>
                    Le dimanche 28 octobre 2018 à 04:32:09 UTC+1, Olaf Meeuwissen <paddy-hack@member.fsf.org> a écrit :
                </div>
                <div><br></div>
                <div><br></div>
                <div><div dir="ltr">Hi,<br clear="none"><br clear="none">moo can writes:<br clear="none"><br clear="none">> Dear SANE Developers,<br clear="none">> I'm encountering some trouble with a Brother ADS-2800W (<a shape="rect" href="https://support.brother.com/g/b/spec.aspx?c=us&lang=en&prod=ads2800w_all" rel="nofollow" target="_blank">https://support.brother.com/g/b/spec.aspx?c=us⟨=en∏=ads2800w_all</a>). This scanner is using the brother5 driver (1.1.0-0 08/30/2018) provided by Brother.<br clear="none">><br clear="none">> The problem was revealed following the use of gscan2pdf. At launch of gscan2pdf I have the following error: "Error retreiving scanner options: error getting option 5: invalid argument". You can find the related bug thread (<a shape="rect" href="https://sourceforge.net/p/gscan2pdf/bugs/313/" rel="nofollow" target="_blank">https://sourceforge.net/p/gscan2pdf/bugs/313/</a>) that I have with Jeffrey Ratcliffe (The developer of gscan2pdf).<br clear="none"><br clear="none">I've scanned the bug thread and noted that you have contacted Brother.<br clear="none">Good!<br clear="none"><br clear="none">>  the problem is also revealed with scanimage. Using the following command line "scanimage -d 'brother5:net1:dev0' -h" which is ending with a [dll] sane_get_option_descriptor(handle=0x55e07b804410,option=5) Segmentation fault<br clear="none">> You can find some details in the following attachments:- sane-scanimage.help.dll128.trace.txt<br clear="none">> - sane-scanimage.gdb.backtrace.txt<br clear="none">> - sane-xscanimage.gdb.backtrace.txt- brsaneconfig5-diagnostics.txt<br clear="none">><br clear="none">> [... snip ...]<br clear="none">><br clear="none">> What is not working:- scanimage -d 'brother5:net1:dev0' -h => [dll] sane_get_option_descriptor(handle=0x55e07b804410,option=5) Segmentation fault- gscan2pdf => Error retreiving scanner options: error getting option 5: invalid argument<br clear="none">><br clear="none">>  I do not know what's behind this option 5.<br clear="none"><br clear="none">> <a shape="rect" href="mailto:sysadmin@eita" rel="nofollow" target="_blank">sysadmin@eita</a>:~$ SANE_DEBUG_DLL=128 scanimage -h -d 'brother5:net1:dev0'<br clear="none">> [sanei_debug] Setting debug level of dll to 128.<br clear="none">> [... snip ...]<br clear="none">> [dll] init: backend `brother5' is version 1.0.1<br clear="none">> [dll] sane_open: open successful<br clear="none">> [dll] sane_get_option_descriptor(handle=0x55ba52d24150,option=0)<br clear="none">> [dll] sane_control_option(handle=0x55ba52d24150,option=0,action=0,value=0x7fff70df7c7c,info=(nil))<br clear="none">> [dll] sane_get_option_descriptor(handle=0x55ba52d24150,option=0)<br clear="none">> [dll] sane_control_option(handle=0x55ba52d24150,option=0,action=0,value=0x7fff70df7b80,info=(nil))<br clear="none">> [dll] sane_get_option_descriptor(handle=0x55ba52d24150,option=1)<br clear="none">> [dll] sane_get_option_descriptor(handle=0x55ba52d24150,option=2)<br clear="none">> [dll] sane_get_option_descriptor(handle=0x55ba52d24150,option=3)<br clear="none">> [dll] sane_get_option_descriptor(handle=0x55ba52d24150,option=4)<br clear="none">> [dll] sane_get_option_descriptor(handle=0x55ba52d24150,option=5)<br clear="none">> [dll] sane_get_option_descriptor(handle=0x55ba52d24150,option=6)<br clear="none"><br clear="none">So sane_get_option_descriptor() with option=5 returns okay.<br clear="none"><br clear="none">> [...]<br clear="none">> [dll] sane_get_option_descriptor(handle=0x55ba52d24150,option=4)<br clear="none">> [dll] sane_control_option(handle=0x55ba52d24150,option=4,action=0,value=0x7fff70df7ad0,info=(nil))<br clear="none">>     --source Automatic Document Feeder(left aligned)|Automatic Document Feeder(center aligned)|Automatic Document Feeder(left aligned,Duplex)|Automatic Document Feeder(center aligned,Duplex) [Automatic Document Feeder(left aligned)]<br clear="none">>         Selects the scan source (such as a document-feeder).<br clear="none">> [dll] sane_get_option_descriptor(handle=0x55ba52d24150,option=5)<div class="ydp54d2f937yqt1988873409" id="ydp54d2f937yqtfd72878"><br clear="none">> Segmentation fault</div><br clear="none"><br clear="none">but trying to use its return value triggers a segfault.  The scanimage<br clear="none">code exits with an error if the return value is NULL.  For a non-NULL<br clear="none">value it starts accessing the SANE_Option_Descriptor fields.<br clear="none"><br clear="none">I am pretty sure that that's were the segfault happens.  If not, I'd<br clear="none">expect a sane_get_option_descriptor() call fro option=6 to be logged.<br clear="none">So, it very much looks like the third-party, non-free Brother backend<br clear="none">returns a bad SANE_Option_Descriptor.<br clear="none"><br clear="none">Perhaps you can check in the debugger what gets returned but this is<br clear="none">something that only Brother can fix for you.<br clear="none"><br clear="none">Hope this helps,<br clear="none">--<br clear="none">Olaf Meeuwissen, LPIC-2            FSF Associate Member since 2004-01-27<br clear="none"> GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13  F43E B8A4 A88A F84A 2DD9<br clear="none"> Support Free Software                        <a shape="rect" href="https://my.fsf.org/donate" rel="nofollow" target="_blank">https://my.fsf.org/donate</a><br clear="none"> Join the Free Software Foundation              <a shape="rect" href="https://my.fsf.org/join" rel="nofollow" target="_blank">https://my.fsf.org/join</a><div class="ydp54d2f937yqt1988873409" id="ydp54d2f937yqtfd17163"><br clear="none"></div></div></div>
            </div>
        </div></body></html>