Bug 1079328 - [abrt] simple-scan: libusb_clear_halt(): simple-scan killed by SIGSEGV
Summary: [abrt] simple-scan: libusb_clear_halt(): simple-scan killed by SIGSEGV
Keywords:
Status: CLOSED EOL
Alias: None
Product: Fedora
Classification: Fedora
Component: simple-scan
Version: 20
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Simone Caronni
QA Contact: Fedora Extras Quality Assurance
URL: https://retrace.fedoraproject.org/faf...
Whiteboard: abrt_hash:a4658b264a2c0fef5f1f5be2b1e...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-03-21 12:40 UTC by Michal Nowak
Modified: 2015-06-29 19:37 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-06-29 19:37:24 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (39.88 KB, text/plain)
2014-03-21 12:40 UTC, Michal Nowak
no flags Details
File: cgroup (172 bytes, text/plain)
2014-03-21 12:40 UTC, Michal Nowak
no flags Details
File: core_backtrace (20.54 KB, text/plain)
2014-03-21 12:40 UTC, Michal Nowak
no flags Details
File: dso_list (19.96 KB, text/plain)
2014-03-21 12:40 UTC, Michal Nowak
no flags Details
File: environ (1.58 KB, text/plain)
2014-03-21 12:40 UTC, Michal Nowak
no flags Details
File: exploitable (82 bytes, text/plain)
2014-03-21 12:40 UTC, Michal Nowak
no flags Details
File: limits (1.29 KB, text/plain)
2014-03-21 12:40 UTC, Michal Nowak
no flags Details
File: maps (91.84 KB, text/plain)
2014-03-21 12:41 UTC, Michal Nowak
no flags Details
File: open_fds (1.35 KB, text/plain)
2014-03-21 12:41 UTC, Michal Nowak
no flags Details
File: proc_pid_status (955 bytes, text/plain)
2014-03-21 12:41 UTC, Michal Nowak
no flags Details
File: var_log_messages (190 bytes, text/plain)
2014-03-21 12:41 UTC, Michal Nowak
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1295779 0 None None None Never

Description Michal Nowak 2014-03-21 12:40:38 UTC
Description of problem:
Scanned, turned scanner off and on, scanned again -- got crash

Version-Release number of selected component:
simple-scan-3.10.2-1.fc20

Additional info:
reporter:       libreport-2.2.0
backtrace_rating: 4
cmdline:        simple-scan
crash_function: libusb_clear_halt
executable:     /usr/bin/simple-scan
kernel:         3.13.6-200.fc20.x86_64
runlevel:       N 5
type:           CCpp
uid:            1000

Truncated backtrace:
Thread no. 1 (10 frames)
 #0 libusb_clear_halt at core.c:1584
 #1 sanei_usb_clear_halt at sanei_usb.c:2203
 #2 usb_dev_close at xerox_mfp-usb.c:95
 #3 sane_dll_close at dll.c:1223
 #4 sane_close at dll-s.c:78
 #5 scanner_close_device at /home/bob/bzr/simple-scan/3.10/src/scanner.vala:766
 #6 scanner_fail_scan at /home/bob/bzr/simple-scan/3.10/src/scanner.vala:780
 #7 scanner_do_get_parameters at /home/bob/bzr/simple-scan/3.10/src/scanner.vala:1230
 #8 scanner_scan_thread at /home/bob/bzr/simple-scan/3.10/src/scanner.vala:1481
 #9 _scanner_scan_thread_gthread_func at scanner.c:12474

Comment 1 Michal Nowak 2014-03-21 12:40:44 UTC
Created attachment 877241 [details]
File: backtrace

Comment 2 Michal Nowak 2014-03-21 12:40:46 UTC
Created attachment 877242 [details]
File: cgroup

Comment 3 Michal Nowak 2014-03-21 12:40:48 UTC
Created attachment 877243 [details]
File: core_backtrace

Comment 4 Michal Nowak 2014-03-21 12:40:52 UTC
Created attachment 877244 [details]
File: dso_list

Comment 5 Michal Nowak 2014-03-21 12:40:54 UTC
Created attachment 877245 [details]
File: environ

Comment 6 Michal Nowak 2014-03-21 12:40:56 UTC
Created attachment 877246 [details]
File: exploitable

Comment 7 Michal Nowak 2014-03-21 12:40:59 UTC
Created attachment 877247 [details]
File: limits

Comment 8 Michal Nowak 2014-03-21 12:41:01 UTC
Created attachment 877248 [details]
File: maps

Comment 9 Michal Nowak 2014-03-21 12:41:03 UTC
Created attachment 877249 [details]
File: open_fds

Comment 10 Michal Nowak 2014-03-21 12:41:05 UTC
Created attachment 877250 [details]
File: proc_pid_status

Comment 11 Michal Nowak 2014-03-21 12:41:08 UTC
Created attachment 877251 [details]
File: var_log_messages

Comment 12 David King 2014-03-21 17:06:04 UTC
This seems like a crash in the SANE backend and not Simple Scan. Can you reproduce the crash with xsane and report back?

Comment 13 Michal Nowak 2014-03-21 17:46:03 UTC
Negative. Executing the scenario in XSane i got: "Failed to start scanner: Error during device I/O".

dmesg:

[18729.559996] usb 2-1.3.1: new high-speed USB device number 11 using ehci-pci
[18729.646699] usb 2-1.3.1: New USB device found, idVendor=04e8, idProduct=3441
[18729.646705] usb 2-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18729.646708] usb 2-1.3.1: Product: SCX-3200 Series
[18729.646710] usb 2-1.3.1: Manufacturer: Samsung Electronics Co., Ltd.
[18729.646712] usb 2-1.3.1: SerialNumber: Z5EXBFEB403272K
[18729.648153] usblp 2-1.3.1:1.1: usblp0: USB Bidirectional printer dev 11 if 1 alt 0 proto 2 vid 0x04E8 pid 0x3441
[18730.734715] usblp0: removed
[18730.736126] usblp 2-1.3.1:1.1: usblp0: USB Bidirectional printer dev 11 if 1 alt 0 proto 2 vid 0x04E8 pid 0x3441
[18750.423953] usb 2-1.3.1: usbfs: interface 1 claimed by usblp while 'xsane' sets config #1
[18754.476759] usb 2-1.3.1: usbfs: interface 1 claimed by usblp while 'xsane' sets config #1
[18785.674316] usb 2-1.3.1: USB disconnect, device number 11
[18785.674652] usblp0: removed
[18793.526859] usb 2-1.3.1: new high-speed USB device number 12 using ehci-pci
[18793.613493] usb 2-1.3.1: New USB device found, idVendor=04e8, idProduct=3441
[18793.613500] usb 2-1.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[18793.613503] usb 2-1.3.1: Product: SCX-3200 Series
[18793.613506] usb 2-1.3.1: Manufacturer: Samsung Electronics Co., Ltd.
[18793.613508] usb 2-1.3.1: SerialNumber: Z5EXBFEB403272K
[18793.614676] usblp 2-1.3.1:1.1: usblp0: USB Bidirectional printer dev 12 if 1 alt 0 proto 2 vid 0x04E8 pid 0x3441
[18794.656155] usblp0: removed
[18794.657370] usblp 2-1.3.1:1.1: usblp0: USB Bidirectional printer dev 12 if 1 alt 0 proto 2 vid 0x04E8 pid 0x3441

Comment 14 David King 2014-03-21 18:02:52 UTC
Thanks for the quick response. I guess that Simple Scan keeps the device open longer than it should, and have filed a bug upstream:

https://bugs.launchpad.net/fedora/+bug/1295779

Can you fill in any missing details, including the full name of the scanner and the debug output (by running "simple-scan --debug > simple-scan.log 2>&1")?

Comment 15 Fedora End Of Life 2015-05-29 11:19:48 UTC
This message is a reminder that Fedora 20 is nearing its end of life.
Approximately 4 (four) weeks from now Fedora will stop maintaining
and issuing updates for Fedora 20. It is Fedora's policy to close all
bug reports from releases that are no longer maintained. At that time
this bug will be closed as EOL if it remains open with a Fedora  'version'
of '20'.

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version' 
to a later Fedora version.

Thank you for reporting this issue and we are sorry that we were not 
able to fix it before Fedora 20 is end of life. If you would still like 
to see this bug fixed and are able to reproduce it against a later version 
of Fedora, you are encouraged  change the 'version' to a later Fedora 
version prior this bug is closed as described in the policy above.

Although we aim to fix as many bugs as possible during every release's 
lifetime, sometimes those efforts are overtaken by events. Often a 
more recent Fedora release includes newer upstream software that fixes 
bugs or makes them obsolete.

Comment 16 Fedora End Of Life 2015-06-29 19:37:24 UTC
Fedora 20 changed to end-of-life (EOL) status on 2015-06-23. Fedora 20 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.

If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
bug.

Thank you for reporting this bug and we are sorry it could not be fixed.


Note You need to log in before you can comment on or make changes to this bug.