Bug 713424

Summary: [abrt] hplip-3.11.5-1.fc14: ipConvert: Process /usr/bin/python was killed by signal 11 (SIGSEGV)
Product: [Fedora] Fedora Reporter: balustre <balustre>
Component: hplipAssignee: Tim Waugh <twaugh>
Status: CLOSED UPSTREAM QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 14CC: jpopelka, twaugh
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: abrt_hash:be683a5208cb53e1b62e8acdcde82d1eb7113249
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-06-30 09:49:37 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
File: backtrace none

Description balustre 2011-06-15 12:19:49 UTC
abrt version: 1.1.18
architecture: x86_64
Attached file: backtrace, 87337 bytes
cmdline: /usr/bin/python /usr/bin/hp-scan
component: hplip
Attached file: coredump, 23670784 bytes
crash_function: ipConvert
executable: /usr/bin/python
kernel: 2.6.35.13-92.fc14.x86_64
package: hplip-3.11.5-1.fc14
rating: 4
reason: Process /usr/bin/python was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1308226685
uid: 500

How to reproduce
-----
1. Try to scan with hp-scan
2. The printer responds but nothing happens
3. hplip bug

Comment 1 balustre 2011-06-15 12:19:53 UTC
Created attachment 504856 [details]
File: backtrace

Comment 2 Jiri Popelka 2011-06-29 11:06:44 UTC
Have no idea why the scanning doesn't work, but the crash is result of some race condition.

Thread 1 was trying to dereference hJob variable having 0 value in ipmain.c:ipConvert().

And Thread 2 was performing 'Cancel an in-progress scanning operation' (don't know the reason) and probably had zeroed the hJob before Thread 1 accessed it.

Comment 3 Tim Waugh 2011-06-30 09:49:37 UTC
Reported upstream.