Bug 659120 - [abrt] gutenprint-5.2.6-1.fc14: stp_printer_get_defaults: Process /usr/bin/escputil was killed by signal 11 (SIGSEGV)
Summary: [abrt] gutenprint-5.2.6-1.fc14: stp_printer_get_defaults: Process /usr/bin/es...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Fedora
Classification: Fedora
Component: gutenprint
Version: 14
Hardware: x86_64
OS: Unspecified
low
medium
Target Milestone: ---
Assignee: Tim Waugh
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard: abrt_hash:57b742bf4089ea9ec6b6fc9983b...
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2010-12-01 23:26 UTC by dobs
Modified: 2011-01-03 19:57 UTC (History)
3 users (show)

Fixed In Version: gutenprint-5.2.6-2.fc13
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2011-01-03 19:56:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)
File: backtrace (5.26 KB, text/plain)
2010-12-01 23:26 UTC, dobs
no flags Details
patch (1.04 KB, patch)
2010-12-02 11:58 UTC, Jiri Popelka
no flags Details | Diff

Description dobs 2010-12-01 23:26:52 UTC
abrt version: 1.1.14
architecture: x86_64
Attached file: backtrace
cmdline: escputil -i -u -r /dev/usb/lp0
component: gutenprint
crash_function: stp_printer_get_defaults
executable: /usr/bin/escputil
kernel: 2.6.35.6-48.fc14.x86_64
package: gutenprint-5.2.6-1.fc14
rating: 4
reason: Process /usr/bin/escputil was killed by signal 11 (SIGSEGV)
release: Fedora release 14 (Laughlin)
time: 1291245954
uid: 500

comment
-----
escputil -i -u -r /dev/usb/lp0 
Escputil version 5.2.6, Copyright (C) 2000-2006 Robert Krawitz
Escputil comes with ABSOLUTELY NO WARRANTY; for details type 'escputil -l'
This is free software, and you are welcome to redistribute it
under certain conditions; type 'escputil -l' for details.

Unknown printer Stylus C67!
Ошибка сегментирования (core dumped)

How to reproduce
-----
1. chmod 666 /dev/usb/lp0
2. escputil -i -u -r /dev/usb/lp0

Comment 1 dobs 2010-12-01 23:26:55 UTC
Created attachment 464128 [details]
File: backtrace

Comment 2 Jiri Popelka 2010-12-02 11:58:49 UTC
Created attachment 464234 [details]
patch

Seems like null pointer access.

Please try this scratch-build
http://koji.fedoraproject.org/koji/taskinfo?taskID=2638984

Comment 3 dobs 2010-12-03 13:03:08 UTC
[root@wifi tmp]# rpm -U gutenprint-5.2.6-2.fc14.x86_64.rpm gutenprint-cups-5.2.6-2.fc14.x86_64.rpm 
[root@wifi tmp]# ls -lah /dev/usb/lp0 
crw-rw---- 1 root lp 180, 0 Дек  3 14:28 /dev/usb/lp0
[root@wifi tmp]# chmod 666 /dev/usb/lp0
[root@wifi tmp]# ls -lah /dev/usb/lp0 
crw-rw-rw- 1 root lp 180, 0 Дек  3 14:28 /dev/usb/lp0

[dobs@wifi ~]$ escputil -i -u -r /dev/usb/lp0
Escputil version 5.2.6, Copyright (C) 2000-2006 Robert Krawitz
Escputil comes with ABSOLUTELY NO WARRANTY; for details type 'escputil -l'
This is free software, and you are welcome to redistribute it
under certain conditions; type 'escputil -l' for details.

Cannot open /dev/usb/lp0 read/write: Отказано в доступе
[dobs@wifi ~]$ escputil -i -u -r /dev/usb/lp0
Escputil version 5.2.6, Copyright (C) 2000-2006 Robert Krawitz
Escputil comes with ABSOLUTELY NO WARRANTY; for details type 'escputil -l'
This is free software, and you are welcome to redistribute it
under certain conditions; type 'escputil -l' for details.

Unknown printer Stylus C67!
           Ink color       Percent remaining
    Черный (K)                      12
  Голубой (C)                      17
Пурпурный (M)                      28
    Желтый (Y)                      27
Ошибка сегментирования (core dumped)


Thanks it works, but in last line have segmentation error, in abrt no info...

Comment 4 Karel Klíč 2010-12-03 13:54:10 UTC
If you want ABRT to catch crashes in unsigned packages (such as scratch builds from koji), you must edit /etc/abrt/abrt.conf so it contains:

OpenGPGCheck = no

Comment 5 dobs 2010-12-06 23:29:25 UTC
Reboot PC help)
[dobs@wifi ~]$ escputil -i -u -r /dev/usb/lp0
Escputil version 5.2.6, Copyright (C) 2000-2006 Robert Krawitz
Escputil comes with ABSOLUTELY NO WARRANTY; for details type 'escputil -l'
This is free software, and you are welcome to redistribute it
under certain conditions; type 'escputil -l' for details.

Unknown printer Stylus C67!
           Ink color       Percent remaining
    Черный (K)                      12
  Голубой (C)                      17
Пурпурный (M)                      28
    Желтый (Y)                      27
[dobs@wifi ~]$ 



All OK. Thanks :)

Comment 6 Fedora Update System 2010-12-07 10:34:17 UTC
gutenprint-5.2.6-2.fc14 has been submitted as an update for Fedora 14.
https://admin.fedoraproject.org/updates/gutenprint-5.2.6-2.fc14

Comment 7 Fedora Update System 2010-12-07 10:35:24 UTC
gutenprint-5.2.6-2.fc13 has been submitted as an update for Fedora 13.
https://admin.fedoraproject.org/updates/gutenprint-5.2.6-2.fc13

Comment 8 Fedora Update System 2010-12-07 20:13:40 UTC
gutenprint-5.2.6-2.fc13 has been pushed to the Fedora 13 testing repository.  If problems still persist, please make note of it in this bug report.
 If you want to test the update, you can install it with 
 su -c 'yum --enablerepo=updates-testing update gutenprint'.  You can provide feedback for this update here: https://admin.fedoraproject.org/updates/gutenprint-5.2.6-2.fc13

Comment 9 Fedora Update System 2011-01-03 19:56:17 UTC
gutenprint-5.2.6-2.fc13 has been pushed to the Fedora 13 stable repository.  If problems still persist, please make note of it in this bug report.

Comment 10 Fedora Update System 2011-01-03 19:57:39 UTC
gutenprint-5.2.6-2.fc14 has been pushed to the Fedora 14 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.