[Bug 1760086] Re: simple-scan crashed with SIGSEGV in make_cache_block()

2019-02-16 Thread Forrest Voight
*** This bug is a duplicate of bug 1769126 ***
https://bugs.launchpad.net/bugs/1769126

(Reposted here because some people aren't subscribed to #1769126. Sorry
if you get a duplicate notification.)

I looked into this issue at length and posted a write-up here:
http://forre.st/brother_printer

The gist of it is that setting up a Brother printer with an invalid
model name (e.g. "MFCL5900DW" instead of "MFC-L5900DW") can cause
crashes in some cases (namely simple-scan in photo mode).

Fix:

* (optional) Check "/opt/brother/scanner/brscan4/brsanenetdevice4.cfg" to see 
if the configured device has an invalid model name (by cross-referencing with 
the output of "brsaneconfig4 -q")
* Delete /opt/brother/scanner/brscan4/brsanenetdevice4.cfg
* Re-add the scanner with a command similar to "brsaneconfig4 -a 
name=MFC-L5900DW model=MFC-L5900DW nodename=BRN3C2AF4738657"

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

Title:
  simple-scan crashed with SIGSEGV in make_cache_block()

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1760086/+subscriptions

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

[Bug 1769126] Re: SIMPLE-SCAN crashes when set to photo scanning

2019-02-16 Thread Forrest Voight
I looked into this issue at length and posted a write-up here:
http://forre.st/brother_printer

The gist of it is that setting up a Brother printer with an invalid
model name (e.g. "MFCL5900DW" instead of "MFC-L5900DW") can cause
crashes in some cases (namely simple-scan in photo mode).

Fix:

* (optional) Check "/opt/brother/scanner/brscan4/brsanenetdevice4.cfg" to see 
if the configured device has an invalid model name (by cross-referencing with 
the output of "brsaneconfig4 -q")
* Delete /opt/brother/scanner/brscan4/brsanenetdevice4.cfg
* Re-add the scanner with a command similar to "brsaneconfig4 -a 
name=MFC-L5900DW model=MFC-L5900DW nodename=BRN3C2AF4738657"

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

Title:
  SIMPLE-SCAN crashes when set to photo scanning

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

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

[Bug 1291359] Re: multiscreen spanning wallpaper does not span on lock screen

2017-11-11 Thread Forrest Voight
Ah, after running those commands just run "unity" to replace the running
unity with the patched one. No reboot or log out/in necessary.

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

Title:
  multiscreen spanning wallpaper does not span on lock screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1291359/+subscriptions

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

[Bug 1291359] Re: multiscreen spanning wallpaper does not span on lock screen

2017-11-11 Thread Forrest Voight
** Patch added: "first.diff"
   
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1291359/+attachment/5007544/+files/first.diff

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

Title:
  multiscreen spanning wallpaper does not span on lock screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1291359/+subscriptions

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

[Bug 1291359] Re: multiscreen spanning wallpaper does not span on lock screen

2017-11-11 Thread Forrest Voight
I've fixed this bug in the attached patches. The first solves the
problem with minimal changes, but is inefficient as it computes the
entire (multi-monitor) wallpaper once per monitor rather than computing
it just once, resulting in an added delay of a second or two with a
large multimonitor setup. The second patch fixes that inefficiency, but
touches a lot more of the code.

To apply this patch to your 16.04 system:

mkdir work && cd work
# get second.diff and put it here
sudo apt build-dep unity
apt source unity
cd unity-7.4.0+16.04.20160906/
patch -i ../second.diff -p1
DEB_BUILD_OPTIONS="nocheck" dpkg-buildpackage -us -uc -nc -j10
sudo dpkg -i ../*.deb

Henry/others: If you're feeling like a retroactive bounty, my Bitcoin
address is on http://forre.st/

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

Title:
  multiscreen spanning wallpaper does not span on lock screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1291359/+subscriptions

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

[Bug 1291359] Re: multiscreen spanning wallpaper does not span on lock screen

2017-11-11 Thread Forrest Voight
** Patch added: "second.diff"
   
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/1291359/+attachment/5007545/+files/second.diff

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

Title:
  multiscreen spanning wallpaper does not span on lock screen

To manage notifications about this bug go to:
https://bugs.launchpad.net/unity/+bug/1291359/+subscriptions

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