Bug 869974 - [abrt] xsane-0.998-12.fc17: get_interface: Process /usr/bin/xsane was killed by signal 11 (SIGSEGV)
Summary: [abrt] xsane-0.998-12.fc17: get_interface: Process /usr/bin/xsane was killed ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: hplip
Version: 17
Hardware: x86_64
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:802b5ea6d58bb0037e137a2cb6d...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2012-10-25 09:32 UTC by Yann Droneaud
Modified: 2012-12-21 11:58 UTC (History)
3 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2012-12-12 00:19:23 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: core_backtrace (4.33 KB, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details
File: environ (1.57 KB, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details
File: backtrace (58.52 KB, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details
File: limits (1.29 KB, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details
File: cgroup (132 bytes, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details
File: smolt_data (3.61 KB, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details
File: maps (83.88 KB, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details
File: dso_list (19.18 KB, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details
File: proc_pid_status (918 bytes, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details
File: build_ids (6.89 KB, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details
File: open_fds (840 bytes, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details
File: var_log_messages (604 bytes, text/plain)
2012-10-25 09:32 UTC, Yann Droneaud
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1073650 0 None None None 2012-10-31 17:12:26 UTC

Description Yann Droneaud 2012-10-25 09:32:29 UTC
Description of problem:
After trying to get a preview from the multipage loader of my HP OfficeJet Pro 8600 Pro, the scanner block and XSane report an I/O error.
I restarted the scanner (switch off/on), then retried to get a preview with no document in the feeder. Then XSane window disappeared.



Version-Release number of selected component:
xsane-0.998-12.fc17

Additional info:
libreport version: 2.0.16
abrt_version:   2.0.16
backtrace_rating: 4
cmdline:        xsane
crash_function: get_interface
kernel:         3.6.2-4.fc17.x86_64

truncated backtrace:
:Thread no. 1 (10 frames)
: #0 get_interface at io/hpmud/musb.c:407
: #1 musb_comp_channel_open at io/hpmud/musb.c:1540
: #2 musb_channel_open at io/hpmud/musb.c:1357
: #3 http_open at scan/sane/http.c:298
: #4 bb_is_paper_in_adf at scan/sane/bb_ledm.c:811
: #5 ledm_start at scan/sane/ledm.c:800
: #6 preview_scan_start at ../../src/xsane-preview.c:2000
: #7 preview_scan at ../../src/xsane-preview.c:5125
: #8 _g_closure_invoke_va at gclosure.c:840
: #11 gtk_real_button_released at gtkbutton.c:1725

Comment 1 Yann Droneaud 2012-10-25 09:32:32 UTC
Created attachment 633237 [details]
File: core_backtrace

Comment 2 Yann Droneaud 2012-10-25 09:32:34 UTC
Created attachment 633238 [details]
File: environ

Comment 3 Yann Droneaud 2012-10-25 09:32:36 UTC
Created attachment 633239 [details]
File: backtrace

Comment 4 Yann Droneaud 2012-10-25 09:32:38 UTC
Created attachment 633240 [details]
File: limits

Comment 5 Yann Droneaud 2012-10-25 09:32:39 UTC
Created attachment 633241 [details]
File: cgroup

Comment 6 Yann Droneaud 2012-10-25 09:32:41 UTC
Created attachment 633242 [details]
File: smolt_data

Comment 7 Yann Droneaud 2012-10-25 09:32:44 UTC
Created attachment 633243 [details]
File: maps

Comment 8 Yann Droneaud 2012-10-25 09:32:46 UTC
Created attachment 633244 [details]
File: dso_list

Comment 9 Yann Droneaud 2012-10-25 09:32:48 UTC
Created attachment 633245 [details]
File: proc_pid_status

Comment 10 Yann Droneaud 2012-10-25 09:32:50 UTC
Created attachment 633246 [details]
File: build_ids

Comment 11 Yann Droneaud 2012-10-25 09:32:52 UTC
Created attachment 633247 [details]
File: open_fds

Comment 12 Yann Droneaud 2012-10-25 09:32:53 UTC
Created attachment 633248 [details]
File: var_log_messages

Comment 13 Nils Philippsen 2012-10-26 09:49:51 UTC
The crash happens in libhpmud.so at io/hpmud/musb.c:407:

--- 8< ---
   libusb_get_device_descriptor (dev, &device_desc);
   for (conf = 0 ; conf < device_desc.bNumConfigurations; conf++)
   {
      libusb_get_config_descriptor(dev, conf, &confptr);
      for (iface = 0, ifaceptr = confptr->interface; iface < confptr->bNumInterfaces; iface++, ifaceptr++)
--- >8 ---

--> confptr which is NULL gets dereferenced. According to libusb API documentation[1], libusb_get_config_descriptor() doesn't write confptr if an error occurs which is indicated by a non-zero return code (which isn't checked, likewise for libusb_get_device_descriptor() 3 lines above).

Changing component to hplip.

[1]: http://libusb.sourceforge.net/api-1.0/group__desc.html

Comment 14 Jiri Popelka 2012-10-31 17:11:14 UTC
reported upstream as https://bugs.launchpad.net/hplip/+bug/1073650

Comment 15 Jiri Popelka 2012-11-02 08:33:07 UTC
Fix has been commited upstream.

Comment 16 Fedora Update System 2012-11-27 15:25:59 UTC
hplip-3.12.11-1.fc18 has been submitted as an update for Fedora 18.
https://admin.fedoraproject.org/updates/hplip-3.12.11-1.fc18

Comment 17 Fedora Update System 2012-11-27 15:27:12 UTC
hplip-3.12.11-1.fc17 has been submitted as an update for Fedora 17.
https://admin.fedoraproject.org/updates/hplip-3.12.11-1.fc17

Comment 18 Fedora Update System 2012-11-28 02:10:23 UTC
Package hplip-3.12.11-1.fc18:
* should fix your issue,
* was pushed to the Fedora 18 testing repository,
* should be available at your local mirror within two days.
Update it with:
# su -c 'yum update --enablerepo=updates-testing hplip-3.12.11-1.fc18'
as soon as you are able to.
Please go to the following url:
https://admin.fedoraproject.org/updates/FEDORA-2012-19173/hplip-3.12.11-1.fc18
then log in and leave karma (feedback).

Comment 19 Fedora Update System 2012-12-12 00:19:25 UTC
hplip-3.12.11-1.fc18 has been pushed to the Fedora 18 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 20 Fedora Update System 2012-12-21 11:58:47 UTC
hplip-3.12.11-1.fc17 has been pushed to the Fedora 17 stable repository.  If problems still persist, please make note of it in this bug report.


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