[Brother DCP-J715W] core dumped executing scanimage -L

Bug #1645116 reported by Sylvain Viart
24
This bug affects 4 people
Affects Status Importance Assigned to Milestone
sane-backends (Ubuntu)
Invalid
Low
Unassigned

Bug Description

In Xubuntu 16.10 I get a core dump executing via a terminal:
scanimage -L
Erreur de segmentation (core dumped)

Errors report:
https://errors.ubuntu.com/oops/f494063a-bdc2-11e6-ad54-fa163e30221b

With Xubuntu 16.04 I don't have this problem:
scanimage -L
device `brother3:net1;dev0' is a Brother DCP-J715W DCP-J715W

The Brother DCP-J715W device is WiFi connected to my router. All the clients access the device via the network.

I installed the latest Brother software on the client from their website:
http://support.brother.com/g/b/downloadlist.aspx?c=fr&lang=fr&prod=dcpj715w_eu_as&os=128&flang=English

sudo dpkg -i brscan3-0.2.13-1.amd64.deb
sudo brsaneconfig3 -a name=scanner model=DCP-J715W ip=192.168.1.27
sudo brsaneconfig3 -p
cd /usr/lib64/
sudo cp -r . /usr/lib

ProblemType: Bug
DistroRelease: Ubuntu 16.10
Package: sane-utils 1.0.25+git20150528-1ubuntu2
ProcVersionSignature: Ubuntu 4.8.0-27.29-generic 4.8.1
Uname: Linux 4.8.0-27-generic x86_64
NonfreeKernelModules: wl
ApportVersion: 2.20.3-0ubuntu8
Architecture: amd64
CurrentDesktop: XFCE
Date: Sun Nov 27 18:13:36 2016
InstallationDate: Installed on 2016-11-22 (4 days ago)
InstallationMedia: Xubuntu 16.10 "Yakkety Yak" - Release amd64 (20161012.2)
SourcePackage: sane-backends
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Sylvain Viart (sylvain-viart) wrote :
description: updated
description: updated
penalvch (penalvch)
Changed in sane-backends (Ubuntu):
status: New → Invalid
Revision history for this message
Sylvain Viart (sylvain-viart) wrote :

Thanks for the details. Done.

It should be reported, I initially used command line bug creation tools.

How do I check, that my bug report has been correctly uploaded?

https://wiki.ubuntu.com/ErrorTracker mention "Choosing “Show Previous Reports” in the settings interface should open a Web page listing those reports" but it doesn't exists on xubuntu.

Regards,
Sylvain.

Revision history for this message
penalvch (penalvch) wrote :

Sylvain Viart, I am afraid I don't use Xubuntu, so I don't have any suggestions on that. However, in GNOME Flashback I go to System Tools > System Settings > Security & Privacy > Diagnostics > Show Previous Reports

Despite this, I want to first fully confirm your setup and how you installed the Brother scanner drivers. Hence, for the PC that has the core dump, is the Brother scanner connected via USB or a network?

Changed in sane-backends (Ubuntu):
importance: Undecided → Low
status: Invalid → Incomplete
tags: added: regression-release
description: updated
penalvch (penalvch)
summary: - core dump scanimage after installing brother DCP-J715W
+ [Brother DCP-J715W] core dumped executing scanimage -L
penalvch (penalvch)
description: updated
Revision history for this message
Sylvain Viart (sylvain-viart) wrote :

Hi,

I saw the "System Settings > Security & Privacy > Diagnostics > Show Previous Reports" in the doc, but I don't know yet how to reproduce it on xubuntu. If you got a URL or a command line to start it, it would be a great help. Not really important, but it could help, I will read the doc more deeper, I may found it.

For our bug here:

The brother multifunction is configured as a network device using wifi on the local wifi router as my laptop. I assigned it a fixed dhcp IP address. We have 5 computers using it, 1 ubuntu and 4 xubuntu, as printer as well as a scanner. I installed all computer following the same documentation.

I currently use a VM running xubuntu 16.04 on my laptop, in order to scan.

The following may not be part of the problem, but I don't know :

I also noticed some network change in xubuntu 16.10 which introduce some problems related to printer : /etc/nsswitch.conf : I can't use anymore detected netbios name published by the printer itself to setup the printer device in the printing area. It was not involved into scanning, as far as I now, because I always using IP to configure brscan3. Now I also need to use IP for the printer config, before it was : dnssd://Brother DCP-J715W._pdl-datastream._tcp.local/ now I use : socket://192.168.1.27

Back to the scanner, there's also a lib64/lib32 error/mistake in brother path install, I must copy the lib at the good emplacement.

Here's my own doc:

sudo brsaneconfig3 -a name=scanner model=DCP-J715W ip=192.168.1.27
sudo brsaneconfig3 -p
test scanner
ping 192.168.1.27 -w 10

PING 192.168.1.27 (192.168.1.27) 56(84) bytes of data.
OK

copy 64bits lib:

cd /usr/lib64/
sudo cp -r . /usr/lib

I recently installed 4 computers on xubuntu 16.04, they all worked, plus my own VM.

Hope that helps, tell me if I can produce more dump, or something.

penalvch (penalvch)
description: updated
description: updated
Revision history for this message
penalvch (penalvch) wrote :

Sylvain Viart:

1) Would printing via USB provide a WORKAROUND following http://support.brother.com/g/b/downloadhowto.aspx?c=fr&lang=fr&prod=dcpj715w_eu_as&os=128&dlid=dlf006642_000&flang=4&type3=566 ? You would first need to uninstall the brscan software on the 16.10 client so that it doesn't retain any of the network related configurations.

2) To clarify the networked client install instructions from https://bugs.launchpad.net/ubuntu/+source/sane-backends/+bug/1645116/comments/5 you first perform:
cd /usr/lib64/
sudo cp -r . /usr/lib

then you install the software via:
sudo dpkg -i brscan3-0.2.13-1.amd64.deb
sudo brsaneconfig3 -a name=scanner model=DCP-J715W ip=192.168.1.27

Revision history for this message
Sylvain Viart (sylvain-viart) wrote :

2) "To clarify the networked client install instructions from"

No. I first install the software from the package of course, because the copy command is intended to copy the lib installed to the expected place. Exactly in the order given in my comment.

The folder is only used by brother stuff

sylvain@lap40:/usr/lib64$ tree
.
├── libbrscandec3.so -> /usr/lib64/libbrscandec3.so.1
├── libbrscandec3.so.1 -> /usr/lib64/libbrscandec3.so.1.0.0
├── libbrscandec3.so.1.0.0
└── sane
    ├── libsane-brother3.so -> /usr/lib64/sane/libsane-brother3.so.1
    ├── libsane-brother3.so.1 -> /usr/lib64/sane/libsane-brother3.so.1.0.7
    └── libsane-brother3.so.1.0.7

I found this fix here some times ago: (a French topic)
https://forum.ubuntu-fr.org/viewtopic.php?pid=21496777#p21496777

1) "Would printing via USB provide a WORKAROUND"
As mentioned, I fixed network printing with IP address already. Also, my computers needs mobility, that's why I choose networked printer/scanner.

I already found my "scanner WORKAROUND" with a usage of a VirtualBoxed xubuntu 16.04 (which works fine) from my xubuntu 16.10.

But I may misunderstood your advise, would you like me to test brscan4 (I installed brscan3)?

Please also note, that I introduced the "network resolution change" in xubuntu 16.10, just as a hint. It is probably not related to our scanner problem, as it has always been accessed by IP.

Revision history for this message
penalvch (penalvch) wrote :

Sylvain Viart:

>"1) "Would printing via USB provide a WORKAROUND" As mentioned, I fixed network printing with IP address already. Also, my computers needs mobility, that's why I choose networked printer/scanner. I already found my "scanner WORKAROUND" with a usage of a VirtualBoxed xubuntu 16.04 (which works fine) from my xubuntu 16.10."

I already knew all of that. I asked you to test USB specifically to determine if the problem is network dependent. Please advise if the USB test provides different results.

>"But I may misunderstood your advise, would you like me to test brscan4 (I installed brscan3)?"

As per Brother's website, your device is a brscan3 model. The website does advise to use the version of brscan specific to your device. I'm not advising to do otherwise.

description: updated
Revision history for this message
Eduard Iten (eiten) wrote :

Hi Christopher,

as I got exactly the same problem with a DCP-7045N and Ubuntu Gnome 16.10, I'll reply as I tested this out:

Connecteted to USB, then scanimage -L: segmentation error
Then I removed the network scanner by brsaneconfig -r scanner. Again, a segmentation error.
Then I added the UDEV rules and restarted the system, resulting in a segmentation fault.
Then I removed the brscan3-libs (deleted the copied files from /usr/lib and /usr/lib/sane). Now I have no segmentation fault and everything seems to work, as I can find my HP B210 scanner.

Revision history for this message
Eduard Iten (eiten) wrote :

Christopher M. Penalver, thanks for your reply. Don't you think it's the same problem? To me it seems that the brother libraries are not compatible with the 16.10 version of sane, no matter what exact hardware you got.
Regards, Edi

Revision history for this message
penalvch (penalvch) wrote :

Eduard Iten, please disregard my last comment as apport doesn't work for sane-backends. I've requested this be addressed in https://bugs.launchpad.net/ubuntu/+source/apport/+bug/1656599.

Despite this, it's helpful initially to have separate reports for different hardware, and then merge if found a clear cut duplicate.

Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for sane-backends (Ubuntu) because there has been no activity for 60 days.]

Changed in sane-backends (Ubuntu):
status: Incomplete → Expired
penalvch (penalvch)
Changed in sane-backends (Ubuntu):
status: Expired → New
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in sane-backends (Ubuntu):
status: New → Confirmed
Revision history for this message
David Ward (dpward) wrote :

brscan is not part of Ubuntu. You will need to obtain support for it from Brother.

If there is currently an issue involving the built-in drivers from the sane-backends package, please change the status back.

Changed in sane-backends (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.