[Bug 1344869] Re: simple-scan consumes 100% cpu and fills disk with logs attempting to scan wirelessly with Brother MFC-7860DW

2014-07-22 Thread James Hunt
Yes, I confirm that the issue is resolved with 3.13.4.2-0ubuntu1.

Not relevant to this bug, but I do notice that the scan speed is quit
slow using simple-scan. Comparing with xsane at the same resolution
(300dpi):

- xsane: 23 seconds
- simple-scan: 2 minutes.

Thanks very much for the fast turn-around!

** Changed in: simple-scan (Ubuntu)
   Status: Incomplete = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1344869

Title:
  simple-scan consumes 100% cpu and fills disk with logs attempting to
  scan wirelessly with Brother MFC-7860DW

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/1344869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1344869] Re: simple-scan consumes 100% cpu and fills disk with logs attempting to scan wirelessly with Brother MFC-7860DW

2014-07-21 Thread James Hunt
Hi Robert,

Sorry to be vague, but I don't actually scan much so the last time I
recall doing it I was running trusty.

Yes, the proprietary brother drivers are required for wireless scanning
AIUI.

$ dpkg -l | grep brscan
ii  brscan-skey   0.2.4-1   
 amd64Brother Linux scanner S-KEY tool
ii  brscan4   0.4.2-3   
 amd64Brother Scanner Driver

Gah - I've just got an updated simple-scan package (3.13.4-0ubuntu1).
The behaviour with this version is different; simple-scan tellms me
there is no scanner connected, yet if I click scan, it clearly is
talking to the scanner (which I can hear whirring in the background).
So, although I no longer get ENOSPC, the scanned image never appears in
simple-scan. When I quit simple-scan, it seems a command is sent to the
scanner to reset since it sounds like it is resetting itself.

Updated simple-scan debug log attached.






** Attachment added: 'simple-scan --debug' log
   
https://bugs.launchpad.net/ubuntu/+source/simple-scan/+bug/1344869/+attachment/4158766/+files/simple-scan-21july2014.log.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1344869

Title:
  simple-scan consumes 100% cpu and fills disk with logs attempting to
  scan wirelessly with Brother MFC-7860DW

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/1344869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1344869] Re: simple-scan consumes 100% cpu and fills disk with logs attempting to scan wirelessly with Brother MFC-7860DW

2014-07-21 Thread James Hunt
'ltrace -o /tmp/bug-1344869-ltrace-xsane.log -s 1024 -fl libsane.so.1
xsane' log from a successful wireless scan using xsane.


** Attachment added: ltrace -o /tmp/bug-1344869-ltrace-xsane.log -s 1024 -fl 
libsane.so.1 xsane
   
https://bugs.launchpad.net/ubuntu/+source/simple-scan/+bug/1344869/+attachment/4158767/+files/bug-1344869-ltrace-xsane.log.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1344869

Title:
  simple-scan consumes 100% cpu and fills disk with logs attempting to
  scan wirelessly with Brother MFC-7860DW

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/1344869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1344869] Re: simple-scan consumes 100% cpu and fills disk with logs attempting to scan wirelessly with Brother MFC-7860DW

2014-07-21 Thread Robert Ancell
I think this is fixed in simple-scan 3.13.4.2, please re-test.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1344869

Title:
  simple-scan consumes 100% cpu and fills disk with logs attempting to
  scan wirelessly with Brother MFC-7860DW

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/1344869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1344869] Re: simple-scan consumes 100% cpu and fills disk with logs attempting to scan wirelessly with Brother MFC-7860DW

2014-07-20 Thread Robert Ancell
When did this used to work?

I'm assuming you have the Brother proprietary drivers installed, can you
check the versions of the 'brscan', 'brscan2', 'brscan3' and 'brscan4'
packages?

Can you get a log containing the calls leading up to the loop (the attached log 
is from a fresh start where no scanning was started). You can get the log from 
simple-scan with:
$ simple-scan --debug
if that is easier to capture it.

You can also get the equivalent from xsane by running:
$ ltrace -l libsane.so.1 xsane

The particular response from the driver is in fact valid, we are
correctly waiting for SANE_STATUS_EOF before stopping the sane_reads. So
this might be a buggy driver that's triggered by the options that
simple-scan sets.


** Changed in: simple-scan (Ubuntu)
   Status: New = Incomplete

** Changed in: simple-scan (Ubuntu)
   Importance: Undecided = Medium

** Also affects: simple-scan
   Importance: Undecided
   Status: New

** Changed in: simple-scan
   Status: New = Incomplete

** Changed in: simple-scan
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1344869

Title:
  simple-scan consumes 100% cpu and fills disk with logs attempting to
  scan wirelessly with Brother MFC-7860DW

To manage notifications about this bug go to:
https://bugs.launchpad.net/simple-scan/+bug/1344869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1344869] Re: simple-scan consumes 100% cpu and fills disk with logs attempting to scan wirelessly with Brother MFC-7860DW

2014-07-19 Thread James Hunt
When simple-scan is spinning, the following entry is added to the log
repeatedly until ENOSPC:

[+15,29s] DEBUG: scanner.vala:1310: sane_read (0) - (SANE_STATUS_GOOD,
0)

Further details:

$ cat /proc/$(pidof simple-scan)/stack  

 
[] poll_schedule_timeout+0x49/0x70
[] do_sys_poll+0x422/0x540
[] SyS_poll+0x65/0x100
[] tracesys+0xe1/0xe6
[] 0x


** Attachment added: ~/.cache/simple-scan/simple-scan.log from startup to 
start of 100% CPU logging activity
   
https://bugs.launchpad.net/ubuntu/+source/simple-scan/+bug/1344869/+attachment/4156868/+files/bug-1344869.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1344869

Title:
  simple-scan consumes 100% cpu and fills disk with logs attempting to
  scan wirelessly with Brother MFC-7860DW

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simple-scan/+bug/1344869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1344869] Re: simple-scan consumes 100% cpu and fills disk with logs attempting to scan wirelessly with Brother MFC-7860DW

2014-07-19 Thread James Hunt
** Attachment added: strace snapshot of simple-scan consuming 100% CPU
   
https://bugs.launchpad.net/ubuntu/+source/simple-scan/+bug/1344869/+attachment/4156869/+files/bug-1344869-strace.txt.gz

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1344869

Title:
  simple-scan consumes 100% cpu and fills disk with logs attempting to
  scan wirelessly with Brother MFC-7860DW

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/simple-scan/+bug/1344869/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs