| Summary: | Skanlite crashed when I finished scanning. | ||
|---|---|---|---|
| Product: | [Applications] Skanlite | Reporter: | Carlos R. <pureacetone> |
| Component: | general | Assignee: | Kåre Särs <kare.sars> |
| Status: | RESOLVED FIXED | ||
| Severity: | crash | ||
| Priority: | NOR | ||
| Version First Reported In: | 0.7 | ||
| Target Milestone: | --- | ||
| Platform: | openSUSE | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Carlos R.
2011-11-26 18:36:37 UTC
Hi, It seems like this crash is a hpaio backend problem. Is it a reproducible problem? If yes, it would be good to run Skanlite with some SANE debugging. With this command line we might get more information. SANE_DEBUG_HPAIO=24 skanlite Then post the output here. (scan as little as possible to avoid too much extra data). Thanks, /Kåre Hi Kåre, Yes, It's a reproducible problem, it happens every time. I've executed as you said and I got the following from the command line: ------------------------------------------------------------------ Skanlite(12020): couldn't create slave: "Unable to create io-slave: klauncher said: Unknown protocol ''. " Skanlite(12020): couldn't create slave: "Unable to create io-slave: klauncher said: Unknown protocol ''. " Skanlite(12020): couldn't create slave: "Unable to create io-slave: klauncher said: Unknown protocol ''. " KCrash: Application 'skanlite' crashing... KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit sock_file=/home/skynet/.kde4/socket-titan/kdeinit4__0 ------------------------------------------------------------------ Have a nice day. OK, The backend is not HPAIO, it is actualy HP5590, so the proper debug command is probably: SANE_DEBUG_HP5590=24 skanlite Can you run this command? Thanks. Hi Kåre, I got the following: ---------------------------------------------------------------------- [sanei_debug] Setting debug level of hp5590 to 24. [hp5590] SANE backed for HP ScanJet 4500C/4570C/5500C/5550C/5590/7650 1.0.5 [hp5590] (c) Ilia Sotnikov <hostcc@gmail.com> [hp5590] attach_usb_device: Opening USB device [hp5590] attach_usb_device: USB device opened [hp5590] hp5590_init_scanner [hp5590] hp5590_cmd: USB-in-USB: command : 0012 [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification requested [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] hp5590_get_status [hp5590] attach_usb_device: found HP7650 scanner at 'libusb:002:012' [hp5590] attach_usb_device: Reading max scan count [hp5590] hp5590_read_max_scan_count [hp5590] Reading max scan count [hp5590] hp5590_read_eeprom [hp5590] Reading EEPROM: addr 0010, size 3 [hp5590] hp5590_cmd: USB-in-USB: command : 00f2 [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_control_msg: USB-in-USB: checking if data was accepted [hp5590] hp5590_get_ack [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification requested [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] hp5590_cmd: USB-in-USB: command : 0bf0 [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification requested [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] Max scan count 989700 [hp5590] attach_usb_device: Max Scanning count 989700 [hp5590] attach_usb_device: Reading scan count [hp5590] hp5590_read_scan_count [hp5590] Reading scan count [hp5590] hp5590_read_eeprom [hp5590] Reading EEPROM: addr 0000, size 4 [hp5590] hp5590_cmd: USB-in-USB: command : 00f2 [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_control_msg: USB-in-USB: checking if data was accepted [hp5590] hp5590_get_ack [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification requested [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] hp5590_cmd: USB-in-USB: command : 0bf0 [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification requested [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] Scan count 8412 [hp5590] attach_usb_device: Scanning count 8412 [hp5590] hp5590_read_part_number [hp5590] hp5590_read_eeprom [hp5590] Reading EEPROM: addr 001a, size 10 [hp5590] hp5590_cmd: USB-in-USB: command : 00f2 [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_control_msg: USB-in-USB: checking if data was accepted [hp5590] hp5590_get_ack [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification requested [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] hp5590_cmd: USB-in-USB: command : 0bf0 [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification requested [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] hp5590_stop_scan [hp5590] hp5590_cmd: USB-in-USB: command : 011b [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_control_msg: USB-in-USB: checking if data was accepted [hp5590] hp5590_get_ack [hp5590] hp5590_verify_last_cmd: USB-in-USB: command verification requested [hp5590] hp5590_control_msg: USB-in-USB: core data: no [hp5590] hp5590_get_ack [hp5590] hp5590_get_ack [hp5590] sane_hp5590_get_devices, local only: 0 [hp5590] Found 1 devices [hp5590] sane_hp5590_open: device name: libusb:002:012 [hp5590] sane_hp5590_get_option_descriptor, option: 0 [hp5590] sane_hp5590_control_option: get total number of options - 11 [hp5590] sane_hp5590_get_option_descriptor, option: 1 [hp5590] sane_hp5590_get_option_descriptor, option: 1 [hp5590] sane_hp5590_get_option_descriptor, option: 2 [hp5590] sane_hp5590_get_option_descriptor, option: 2 [hp5590] sane_hp5590_get_option_descriptor, option: 3 [hp5590] sane_hp5590_get_option_descriptor, option: 3 [hp5590] sane_hp5590_get_option_descriptor, option: 4 [hp5590] sane_hp5590_get_option_descriptor, option: 4 [hp5590] sane_hp5590_get_option_descriptor, option: 5 [hp5590] sane_hp5590_get_option_descriptor, option: 5 [hp5590] sane_hp5590_get_option_descriptor, option: 6 [hp5590] sane_hp5590_get_option_descriptor, option: 6 [hp5590] sane_hp5590_get_option_descriptor, option: 7 [hp5590] sane_hp5590_get_option_descriptor, option: 7 [hp5590] sane_hp5590_get_option_descriptor, option: 8 [hp5590] sane_hp5590_get_option_descriptor, option: 8 [hp5590] sane_hp5590_get_option_descriptor, option: 9 [hp5590] sane_hp5590_get_option_descriptor, option: 9 [hp5590] sane_hp5590_get_option_descriptor, option: 10 [hp5590] sane_hp5590_get_option_descriptor, option: 10 [hp5590] sane_hp5590_get_option_descriptor, option: 6 [hp5590] sane_hp5590_control_option: get option 'source' value [hp5590] sane_hp5590_get_option_descriptor, option: 5 [hp5590] sane_hp5590_control_option: get option 'mode' value [hp5590] sane_hp5590_get_option_descriptor, option: 7 [hp5590] sane_hp5590_control_option: get option 'resolution' value [hp5590] sane_hp5590_get_option_descriptor, option: 8 [hp5590] sane_hp5590_control_option: get option 'extend-lamp-timeout' value [hp5590] sane_hp5590_get_option_descriptor, option: 9 [hp5590] sane_hp5590_control_option: get option 'wait-for-button' value [hp5590] sane_hp5590_get_option_descriptor, option: 1 [hp5590] sane_hp5590_control_option: get option 'tl-x' value [hp5590] sane_hp5590_get_option_descriptor, option: 2 [hp5590] sane_hp5590_control_option: get option 'tl-y' value [hp5590] sane_hp5590_get_option_descriptor, option: 3 [hp5590] sane_hp5590_control_option: get option 'br-x' value [hp5590] sane_hp5590_get_option_descriptor, option: 4 [hp5590] sane_hp5590_control_option: get option 'br-y' value [hp5590] sane_hp5590_get_option_descriptor, option: 5 [hp5590] sane_hp5590_control_option: get option 'mode' value [hp5590] sane_hp5590_get_option_descriptor, option: 6 [hp5590] sane_hp5590_control_option: get option 'source' value [hp5590] sane_hp5590_get_option_descriptor, option: 7 [hp5590] sane_hp5590_control_option: get option 'resolution' value [hp5590] sane_hp5590_get_option_descriptor, option: 8 [hp5590] sane_hp5590_control_option: get option 'extend-lamp-timeout' value [hp5590] sane_hp5590_get_option_descriptor, option: 9 [hp5590] sane_hp5590_control_option: get option 'wait-for-button' value [hp5590] sane_hp5590_get_option_descriptor, option: 10 [hp5590] sane_hp5590_control_option: get option 'preview' value [hp5590] sane_hp5590_control_option: get option 'tl-x' value [hp5590] sane_hp5590_control_option: get option 'tl-y' value [hp5590] sane_hp5590_control_option: get option 'br-x' value [hp5590] sane_hp5590_control_option: get option 'br-y' value [hp5590] sane_hp5590_control_option: get option 'mode' value [hp5590] sane_hp5590_control_option: get option 'resolution' value [hp5590] sane_hp5590_control_option: get option 'tl-x' value [hp5590] sane_hp5590_control_option: get option 'tl-y' value [hp5590] sane_hp5590_control_option: get option 'br-x' value [hp5590] sane_hp5590_control_option: get option 'br-y' value [hp5590] sane_hp5590_control_option: get option 'mode' value [hp5590] sane_hp5590_control_option: get option 'source' value [hp5590] sane_hp5590_control_option: get option 'resolution' value [hp5590] sane_hp5590_control_option: get option 'extend-lamp-timeout' value [hp5590] sane_hp5590_control_option: get option 'wait-for-button' value [hp5590] sane_hp5590_control_option: get option 'preview' value [hp5590] sane_hp5590_close [hp5590] sane_hp5590_exit KCrash: Application 'skanlite' crashing... KCrash: Attempting to start /usr/lib64/kde4/libexec/drkonqi from kdeinit QSocketNotifier: Invalid socket 16 and type 'Read', disabling... ---------------------------------------------------------------------- I've noted that Skanlite crashes even if you don't scan anything, only with starting the program and closing it. Have a nice day. This bug doesn't happen anymore at least in: Qt: 4.8.5 KDE Development Platform: 4.10.5 "release 4" KDE Daemon: 4.10.5 "release 4" Thanks for closing the bug! Sorry for not answering earlier. I guess that you have updated also the sane backend. It looks to me like the crash was in the backend... I should have tried that lead... shame on me. Good that it is working now :) /Kåre Don't worry, that was my fault, I completely forgot the bug was still opened. Yes, the backend is a newer version: [hp5590] SANE backed for HP ScanJet 4500C/4570C/5500C/5550C/5590/7650 1.0.7 [hp5590] (c) Ilia Sotnikov [hp5590] attach_usb_device: Opening USB device [hp5590] attach_usb_device: USB device opened and I'm using skanlite 1.0. Kåre, I see in skanlite a tab labeled as "Scanner Specific Options" with two options: -Extend lamp timeout -Wait for button What are they intended for? If "Wait for button" is for starting the scan when a button in the scanner is pressed it doesn't seem to work. Thanks. The "Scanner Specific Options" tab contains options that skanlite does not know what they do. They are just provided by the backend. I _guess_ that "Wait for button" is an old feature that was used at some time, but is normally unused today. With the epson2 and epkowa backends the frontend would initiate the scan and the scan would only continue after the correct button was pressed on the scanner. I only have one (Epson) scanner so I can't be sure about what it's supposed to do with a hp scanner ;) Regards, Kåre |