Summary: | Acquire Images crashes when scanning a document | ||
---|---|---|---|
Product: | [Frameworks and Libraries] libksane | Reporter: | marsu1 |
Component: | general | Assignee: | Kåre Särs <kare.sars> |
Status: | RESOLVED WORKSFORME | ||
Severity: | crash | Keywords: | investigated, triaged |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
marsu1
2011-05-15 23:32:38 UTC
Hi, The actual crash is in the epson2 backend. Was it a one time event or can it be reproduced? If it is reproducible can you run scangui with the following command? SANE_DEBUG_EPSON2=16 scangui Attaching the console printouts could give some more information to forward the bug report to sane-devel. If reproducible, you could also try another frontend like scanimage or xsane. If they experience the same problem we can be sure it is the backend and not a corner case triggered by libksane /Kåre Am 16.05.2011 12:09, schrieb Kåre Särs : > https://bugs.kde.org/show_bug.cgi?id=273372 > > > Kåre Särs <kare.sars@iki.fi> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |NEEDSINFO > Resolution| |WAITINGFORINFO > > > > > --- Comment #1 from Kåre Särs <kare sars iki fi> 2011-05-16 12:09:21 --- > Hi, > > The actual crash is in the epson2 backend. > Was it a one time event or can it be reproduced? > > If it is reproducible can you run scangui with the following command? > > SANE_DEBUG_EPSON2=16 scangui > > Attaching the console printouts could give some more information to forward the > bug report to sane-devel. > > If reproducible, you could also try another frontend like scanimage or xsane. > If they experience the same problem we can be sure it is the backend and not a > corner case triggered by libksane > > / > Hello Kåre, The error is reproducible. This is the dump from your command: SANE_DEBUG_EPSON2=16 scangui KGlobal::locale::Warning your global KLocale is being recreated with a valid main component instead of a fake component, this usually means you tried to call i18n related functions before your main component was created. You should not do that since it most likely will not work QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: Datei oder Verzeichnis nicht gefunden QFileSystemWatcher: failed to add paths: /home/mausschubser/.config/ibus/bus Bus::open: Can not get ibus-daemon's address. IBusInputContext::createInputContext: no connection to ibus-daemon [sanei_debug] Setting debug level of epson2 to 16. [epson2] sane_epson2_init: sane-backends 1.0.21 [epson2] epson2 backend, version 1.0.124 [epson2] sane_epson2_get_devices [epson2] probe_devices [epson2] free_devices [epson2] attach_one_config: len = 10, line = scsi EPSON [epson2] attach_one_config: len = 3, line = usb [epson2] attach_one_usb: dev = libusb:001:004 [epson2] attach: devname = libusb:001:004, type = 3 [epson2] e2_dev_init [epson2] open_scanner: libusb:001:004 [epson2] scanner opened [epson2] found valid Epson scanner: 0x4b8/0x846 (vendorID/productID) [epson2] e2_set_model: model is 'generic' [epson2] esci_reset [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC @ [epson2] e2_recv: size = 1, buf = 0x7f85a9d618ff [epson2] e2_discover_capabilities [epson2] esci_request_identity [epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0x7f85a9d61888 [epson2] e2_send: size = 2, reply = 0 [epson2] e2_send: ESC I [epson2] e2_recv: size = 4, buf = 0x7f85a9d617a0 [epson2] e2_recv_info_block: payload length: 19 [epson2] e2_recv: size = 19, buf = 0x251a160 [epson2] e2_set_cmd_level: D7 [epson2] e2_add_resolution: add (dpi): 75 [epson2] e2_add_resolution: add (dpi): 300 [epson2] e2_add_resolution: add (dpi): 1200 [epson2] e2_add_resolution: add (dpi): 2400 [epson2] maximum scan area: 20400x28080 [epson2] e2_set_fbf_area: 0,000000,0,000000 215,899994,297,179993 2400 [mm] [epson2] esci_request_status [epson2] e2_send: size = 2, reply = 4 [epson2] e2_send: ESC F [epson2] e2_recv: size = 4, buf = 0x7f85a9d617f0 [epson2] status: 02 [epson2] ready [epson2] no option equipment installed [epson2] support extended commands [epson2] detection with request_extended_status [epson2] esci_request_extended_status [epson2] e2_cmd_info_block, params len = 2, reply len = 42, buf = 0x7f85a9d61838 [epson2] e2_send: size = 2, reply = 46 [epson2] e2_send: ESC f [epson2] e2_recv: size = 4, buf = 0x7f85a9d61780 [epson2] e2_recv_info_block: payload length: 42 [epson2] e2_recv: size = 42, buf = 0x26be1f0 [epson2] main = 01, ADF = 00, TPU = 00, main 2 = c0 [epson2] e2_set_model: model is 'Artisan 700' [epson2] push button detected [epson2] e2_set_fbf_area: 0,000000,0,000000 215,899994,297,179993 2400 [mm] [epson2] no command available to detect capabilities [epson2] esci_request_identity2 [epson2] e2_cmd_info_block, params len = 2, reply len = 0, buf = 0x7f85a9d61888 [epson2] e2_send: size = 2, reply = 0 [epson2] e2_send: ESC i [epson2] e2_recv: size = 4, buf = 0x7f85a9d61790 [epson2] e2_recv_info_block: payload length: 44 [epson2] e2_recv: size = 44, buf = 0x26be1f0 [epson2] discovering max depth, NAKs are expected [epson2] e2_esc_cmd: cmd = 0x44, val = 16 [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC D [epson2] e2_recv: size = 1, buf = 0x7f85a9d6181f [epson2] e2_cmd_simple: size = 1 [epson2] e2_send: size = 1, reply = 1 [epson2] e2_recv: size = 1, buf = 0x7f85a9d6181f [epson2] e2_cmd_simple: NAK [epson2] e2_esc_cmd: cmd = 0x44, val = 14 [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC D [epson2] e2_recv: size = 1, buf = 0x7f85a9d6181f [epson2] e2_cmd_simple: size = 1 [epson2] e2_send: size = 1, reply = 1 [epson2] e2_recv: size = 1, buf = 0x7f85a9d6181f [epson2] e2_cmd_simple: NAK [epson2] e2_esc_cmd: cmd = 0x44, val = 12 [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC D [epson2] e2_recv: size = 1, buf = 0x7f85a9d6181f [epson2] e2_cmd_simple: size = 1 [epson2] e2_send: size = 1, reply = 1 [epson2] e2_recv: size = 1, buf = 0x7f85a9d6181f [epson2] e2_cmd_simple: NAK [epson2] maximum supported color depth: 8 [epson2] esci_request_focus_position [epson2] setting focus is not supported [epson2] esci_request_scanner_status [epson2] e2_send: size = 2, reply = 16 [epson2] e2_send: FS F [epson2] e2_recv: size = 16, buf = 0x7f85a9d618a0 [epson2] global status : 0x01 [epson2] warmup can be cancelled [epson2] adf status : 0x00 [epson2] not installed [epson2] not enabled [epson2] tpu status : 0x00 [epson2] not installed [epson2] not enabled [epson2] device type : 0xc0 [epson2] main body status: 0x00 [epson2] e2_dev_post_init [epson2] CCT model id is 0x92, profile offset 80 [epson2] esci_reset [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC @ [epson2] e2_recv: size = 1, buf = 0x7f85a9d618ff [epson2] scanner model: Artisan 700 [epson2] close_scanner: fd = 0 [epson2] esci_request_extended_status [epson2] e2_cmd_info_block, params len = 2, reply len = 42, buf = 0x7f85a9d61988 [epson2] e2_send: size = 2, reply = 46 [epson2] e2_send: ESC f [epson2] e2_recv: size = 4, buf = 0x7f85a9d618d0 [epson2] e2_recv_info_block: payload length: 42 [epson2] e2_recv: size = 42, buf = 0x26be2d0 [epson2] main = 01, ADF = 00, TPU = 00, main 2 = c0 [epson2] attach_one_config: len = 17, line = net autodiscovery [epson2] e2_network_discovery, sent discovery packet [epson2] e2_network_discovery, end [epson2] sane_epson2_get_devices - results: [epson2] 0 (3): Artisan 700 [epson2] sane_epson2_open: name = libusb:001:004 [epson2] handle obtained [epson2] open_scanner: libusb:001:004 [epson2] scanner opened [epson2] esci_reset [epson2] e2_cmd_simple: size = 2 [epson2] e2_send: size = 2, reply = 1 [epson2] e2_send: ESC @ [epson2] e2_recv: size = 1, buf = 0x7fff2c0e524f I installed xsane, scanimage ist not in the repositories. I will try xsane but I wanted to send you the information before the system might crash again Denis Am 16.05.2011 12:09, schrieb Kåre Särs : > https://bugs.kde.org/show_bug.cgi?id=273372 > > > Kåre Särs <kare.sars@iki.fi> changed: > > What |Removed |Added > ---------------------------------------------------------------------------- > Status|UNCONFIRMED |NEEDSINFO > Resolution| |WAITINGFORINFO > > > > > --- Comment #1 from Kåre Särs <kare sars iki fi> 2011-05-16 12:09:21 --- > Hi, > > The actual crash is in the epson2 backend. > Was it a one time event or can it be reproduced? > > If it is reproducible can you run scangui with the following command? > > SANE_DEBUG_EPSON2=16 scangui > > Attaching the console printouts could give some more information to forward the > bug report to sane-devel. > > If reproducible, you could also try another frontend like scanimage or xsane. > If they experience the same problem we can be sure it is the backend and not a > corner case triggered by libksane > > /Kåre > Hello Kåre, I just tested Xsane and it runs fine. No problems at all. Greetings Denis Hello Denis, scanimage is found in sane-utils. You could also try Skanlite, but that is also using libksane so it should not mater. Did you try to scan when you started scangui with the debug enabled? I still believe it is a backend problem. Try changing color mode or bit depth to see if that has any effect. Can you install and try the epkowa backend from http://avasys.jp/eng/linux_driver/download/ /Kåre Am 16.05.2011 22:13, schrieb Kåre Särs : > https://bugs.kde.org/show_bug.cgi?id=273372 > > > > > > --- Comment #4 from Kåre Särs <kare sars iki fi> 2011-05-16 22:13:17 --- > Hello Denis, > > scanimage is found in sane-utils. > You could also try Skanlite, but that is also using libksane so it should not > mater. > > Did you try to scan when you started scangui with the debug enabled? > > I still believe it is a backend problem. Try changing color mode or bit depth > to see if that has any effect. > > Can you install and try the epkowa backend from > http://avasys.jp/eng/linux_driver/download/ > > /Kåre > Hello Kåre, when scanning with your command it's working! Without crashes or error messages! Does this help you? By the way, there is a problem with Umlaut when saving a scanned document into a file. It's not supported. The Umlaut get's replaced by a signe like this one: � Don't know the reason for it. Kind regards Denis Hi Dennis, > when scanning with your command it's working! Without crashes or error > messages! > > Does this help you? Unfortunately not :( Are you able to test Ubuntu 11.04 that contains a newer sane version? (I noticed that you have KDE SC 4.6.2 which are from PPA repositories in Ubuntu 10.10 :) > By the way, there is a problem with Umlaut when saving a scanned > document into a file. > It's not supported. The Umlaut get's replaced by a signe like this one: � > > Don't know the reason for it. That problem is a scangui/aquireimage problem. Do you get the same problem with Skanlite? Regards, Kåre Am 18.05.2011 14:57, schrieb Kåre Särs : > https://bugs.kde.org/show_bug.cgi?id=273372 > > > > > > --- Comment #6 from Kåre Särs <kare sars iki fi> 2011-05-18 14:57:05 --- > > That problem is a scangui/aquireimage problem. Do you get the same problem with > Skanlite? > No, Skanlite is fine. Seems like you have OCR implemented, in contrary to Acquire Image? I have 11.04 on a laptop. I will try Acquire Image with it and give you feedback. > Regards, > Kåre > Kind regards Denis On Wednesday 18 May 2011 16:09:30 marsu1@gmx.de wrote: > https://bugs.kde.org/show_bug.cgi?id=273372 > > > > > > --- Comment #7 from <marsu1 gmx de> 2011-05-18 15:09:28 --- > Am 18.05.2011 14:57, schrieb Kåre Särs : > > https://bugs.kde.org/show_bug.cgi?id=273372 > > > > > > > > > > > > --- Comment #6 from Kåre Särs <kare sars iki fi> 2011-05-18 14:57:05 --- > > > > That problem is a scangui/aquireimage problem. Do you get the same problem with > > Skanlite? > > > No, Skanlite is fine. Seems like you have OCR implemented, in contrary > to Acquire Image? No, no OCR (Optical Character Recognition). The difference is how the files are saved. > > I have 11.04 on a laptop. I will try Acquire Image with it and give you > feedback. Thanks :) /Kåre Hello Kåre , Am 18.05.2011 15:22, schrieb Kåre Särs : > No, no OCR (Optical Character Recognition). The difference is how the files > are saved. > Ok. What is the difference? Is yours better? Why does it show me several parts of the document to save or not to? >> I have 11.04 on a laptop. I will try Acquire Image with it and give you >> feedback. I have a problem. I know that on my PC i definitely installed the brother driver But on my laptop there is something different because I can't choose a device, there is only one. How can I find out what kind of driver I have on my laptop? I would like to install the brother driver on it to compare. Thanks in advance. Denis > > The difference is how the files are saved. > > > Ok. What is the difference? Is yours better? Skanlite uses Qt's save functionality (except for 16bit/color PNG), while Aquireimage/scangui uses libpng/.../.../ directly for saving the images. Aquireimage/scangui does save more meta-data in the file... > Why does it show me several parts of the document to save or not to? Do you mean the automatic selections? Those are meant to automatically select the area to scan, so that you would not have to do it manually. You can remove all the selections by right clicking and selecting "remove selections" if they are not accurate. > > >> I have 11.04 on a laptop. I will try Acquire Image with it and give you > >> feedback. > I have a problem. I know that on my PC i definitely installed the > brother driver > But on my laptop there is something different because I can't choose a > device, there is only one. > How can I find out what kind of driver I have on my laptop? > > I would like to install the brother driver on it to compare. I guess you mean the epkowa driver. The epkowa backend/driver is the backend provided by Epson. > > > Thanks in advance. NP /Kåre Hello Kåre, sorry for the late answer. Am 20.05.2011 08:35, schrieb Kåre Särs : > https://bugs.kde.org/show_bug.cgi?id=273372 > > > > > > --- Comment #10 from Kåre Särs <kare sars iki fi> 2011-05-20 08:35:12 --- >>> The difference is how the files are saved. >>> >> Ok. What is the difference? Is yours better? > Skanlite uses Qt's save functionality (except for 16bit/color PNG), while > Aquireimage/scangui uses libpng/.../.../ directly for saving the images. > > Aquireimage/scangui does save more meta-data in the file... > I see... >> Why does it show me several parts of the document to save or not to? > Do you mean the automatic selections? Those are meant to automatically select > the area to scan, so that you would not have to do it manually. You can remove > all the selections by right clicking and selecting "remove selections" if they > are not accurate. > ok, I added a screenshot so that you can see what was so "strange" for me. Honestly, somebody who doesn't know these things will have problems using Skanlite. How about a wizzard or an assistant? Will you also support saving as PDF? >>>> I have 11.04 on a laptop. I will try Acquire Image with it and give you >>>> feedback. >> I have a problem. I know that on my PC i definitely installed the >> brother driver >> But on my laptop there is something different because I can't choose a >> device, there is only one. >> How can I find out what kind of driver I have on my laptop? >> >> I would like to install the brother driver on it to compare. > I guess you mean the epkowa driver. The epkowa backend/driver is the backend > provided by Epson. > Yes, I meant this one but it is not installed. How can I find out what the system uses to scan? Regards Denis Attachment The attachement did not reach bugzilla... I can see how the automatic selection can be a problem... I'll have to think about alternatives. PDF... There is a great demand for that but I don't need it my self and my time is a bit limited. Checking what backend is available: scanimage -L /Kåre Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone! Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone! |