http://bugzilla.novell.com/show_bug.cgi?id=535752 Summary: xsane crashed Classification: openSUSE Product: openSUSE 11.2 Version: Milestone 6 Platform: i686 OS/Version: SuSE Other Status: NEW Severity: Normal Priority: P5 - None Component: Other AssignedTo: bnc-team-screening@forge.provo.novell.com ReportedBy: 80classics@gmail.com QAContact: qa@suse.de Found By: --- Created an attachment (id=316068) --> (http://bugzilla.novell.com/attachment.cgi?id=316068) xsane crashed User-Agent: Mozilla/5.0 (X11; U; Linux i686; it; rv:1.9.1.2) Gecko/20090730 SUSE/3.5.2-2.4 Firefox/3.5.2 I've configured my HP Scanjet 3800 scanner using YAST. I've selected the right sane backend from YAST database and the configuration has been successfully saved. xsane has always crashed with the same error (more details below) Reproducible: Always Steps to Reproduce: 1. 2. 3. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c1 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |jsmeix@novell.com, | |lnussel@novell.com Info Provider| |80classics@gmail.com --- Comment #1 from Johannes Meixner <jsmeix@novell.com> 2009-09-09 00:55:15 MDT --- According to what I find in attachment #316068 you use /usr/lib/sane/libsane-hp3900.so.1.0.20 i.e. the hp3900 SANE driver which is the right one for a HP ScanJet 3800 but this driver provides only basic support which means that it works at least in the most important modes but quality is not perfect and has some limitations, see http://www.sane-project.org/cgi-bin/driver.pl?manu=Hewlett-Packard&model=Scanjet+3800&bus=usb&v=03f0&p=2605 ------------------------------------------------------------------- Works with resolutions equal and less than 600dpi ------------------------------------------------------------------- and thsi driver is ALPHA software, see http://www.sane-project.org/man/sane-hp3900.5.html For further analysis if the reason is this driver or if it is perhaps in xsane, we need special SANE debug logs, see "Trouble-Shooting (Debugging)" at http://en.opensuse.org/SDB:Configuring_Scanners_from_SUSE_LINUX_9.2 Please attach SANE debug logs to this bug as MIME type "text/plain". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User 80classics@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c2 --- Comment #2 from Aurelio Grego <80classics@gmail.com> 2009-09-10 15:52:42 MDT --- Created an attachment (id=317749) --> (http://bugzilla.novell.com/attachment.cgi?id=317749) Debug-messages of the various layers in SANE Actually I use openSuSE 11 and my scanner HP Scanjet 3800 works well. I've configured it using YAST. No problem with xsane and hp3900 backend. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 shuang qiu <sqiu@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW CC| |sqiu@novell.com Info Provider|80classics@gmail.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c3 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|bnc-team-screening@forge.pr |lnussel@novell.com |ovo.novell.com | --- Comment #3 from Johannes Meixner <jsmeix@novell.com> 2009-09-11 01:42:52 MDT --- Attachment #317749 shows that is also works "OK" with openSUSE 11.2 when using scanimage. Therefore the issue is in xsane (or in anything in xsane's environment e.g. whatever library). Therefore I assign it to the xsane maintainer for further analysis regarding xsane. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c4 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO Info Provider| |80classics@gmail.com --- Comment #4 from Johannes Meixner <jsmeix@novell.com> 2009-09-11 01:48:27 MDT --- Aurelio Grego, in your first attachment #316068 I cannot find the actual error message which is shown to you when xsane crashes. Please provide the exact error message(s) and descripe steps in xsane which you do until it crashes. Preferably provide additionally screenshots what you see on your desktop when xsane crashes e.g. popup messages of xsane or whatever else could be of interest for us so that we could better understand what exactly happens on your system. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User lnussel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c7 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |80classics@gmail.com --- Comment #7 from Ludwig Nussel <lnussel@novell.com> 2009-09-15 06:57:40 MDT --- could you generate a backtrace please? http://en.opensuse.org/Bugs:An_application_crashed -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User 80classics@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c8 --- Comment #8 from Aurelio Grego <80classics@gmail.com> 2009-09-15 07:59:14 MDT --- Created an attachment (id=318317) --> (http://bugzilla.novell.com/attachment.cgi?id=318317) xsane strace log -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User 80classics@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c9 --- Comment #9 from Aurelio Grego <80classics@gmail.com> 2009-09-15 08:04:20 MDT --- Created an attachment (id=318320) --> (http://bugzilla.novell.com/attachment.cgi?id=318320) xsane-debuinfo is missing -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 Aurelio Grego <80classics@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #318320|application/octet-stream |text/plain mime type| | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 Aurelio Grego <80classics@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #318317|text/x-log |text/plain mime type| | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User lnussel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c10 --- Comment #10 from Ludwig Nussel <lnussel@novell.com> 2009-09-15 08:16:17 MDT --- if the debuginfo repo is enabled try installing the package directly: zypper in xsane-debuginfo xsane-debugsource -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User 80classics@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c11 --- Comment #11 from Aurelio Grego <80classics@gmail.com> 2009-09-15 08:28:49 MDT --- I've only OSS and NON-OSS repositories in YAST. What is the debuginfo repo url? I can add it manually. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User lnussel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c12 --- Comment #12 from Ludwig Nussel <lnussel@novell.com> 2009-09-15 08:42:21 MDT --- according to the wiki page it's http://download.opensuse.org/factory/repo/debug/ but it gives me permission denied atm. Maybe fallout from the power outage. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 Aurelio Grego <80classics@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #318320|xsane-debuinfo is missing |xsane-debuginfo is missing description| | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User 80classics@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c13 Aurelio Grego <80classics@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Attachment #318320|0 |1 is obsolete| | --- Comment #13 from Aurelio Grego <80classics@gmail.com> 2009-09-16 07:15:14 MDT --- Created an attachment (id=318520) --> (http://bugzilla.novell.com/attachment.cgi?id=318520) Backtrace xsane -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User lnussel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c14 --- Comment #14 from Ludwig Nussel <lnussel@novell.com> 2009-09-23 06:15:13 MDT --- so it crashes due to free on invalid pointer. The pointer is malloc'd according to the size of a SANE_TYPE_STRING option. I could only imagine that sane_control_option corrupts that pointer. That call is passed down to the backend. So the backend could be at fault. Could you run xsane with SANE_DEBUG_DLL=4 exported as you did with xscanimage? Maybe we can find out which option causes the crash. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c15 --- Comment #15 from Johannes Meixner <jsmeix@novell.com> 2009-09-23 06:35:51 MDT --- FYI: "SANE_DEBUG_DLL=4" shows debugging information only of the dll meta-backend, see "Trouble-Shooting (Debugging)" at http://en.opensuse.org/SDB:Configuring_Scanners_from_SUSE_LINUX_9.2 but it does not show debugging information of the actual backend which talks to the scanner. To get the latter, use "export SANE_DEBUG_backend=128" (replace "backend" with the name of the respective backend) and see "man backend" (replace "backend" with the name of the respective backend) for possible values. The value 128 works usually but to be on the safe side, see your particular bakend's man page. In this particular case "man sane-hp3900" shows: --------------------------------------------------------------------- SANE_DEBUG_HP3900 .. Higher debug levels increase the verbosity of the output. Example: export SANE_DEBUG_HP3900=4 --------------------------------------------------------------------- Try out if "export SANE_DEBUG_HP3900=128" works at all and/or results more useful output or if it only results zillions of debug messages without any real benefit over "export SANE_DEBUG_HP3900=4". -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User lnussel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c16 --- Comment #16 from Ludwig Nussel <lnussel@novell.com> 2009-09-23 06:52:43 MDT --- (In reply to comment #15)
"SANE_DEBUG_DLL=4" shows debugging information only of the dll meta-backend, see "Trouble-Shooting (Debugging)" at http://en.opensuse.org/SDB:Configuring_Scanners_from_SUSE_LINUX_9.2 but it does not show debugging information of the actual backend which talks to the scanner.
Yes, that way I hope to get the last used sane_control_option() arguments before the crash. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c17 --- Comment #17 from Johannes Meixner <jsmeix@novell.com> 2009-09-23 07:06:30 MDT --- "SANE_DEBUG_DLL=4" info is already available in attachment #317749 Therefore I think SANE_DEBUG_HP3900 info could help to find the root cause. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c18 --- Comment #18 from Johannes Meixner <jsmeix@novell.com> 2009-09-23 07:17:06 MDT --- Sorry for causing confusion! I didn't read carefully. What Ludwig wants is "SANE_DEBUG_DLL=4" info while running "xsane". Therefore type in the following command in one single line including the leading and ending parenthesis: ( export SANE_DEBUG_DLL=4 ; exec 2>/tmp/sane.debug ; xsane ) and do in xsane what is needed until it crashes then attach /tmp/sane.debug to this bug. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User 80classics@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c19 --- Comment #19 from Aurelio Grego <80classics@gmail.com> 2009-09-23 07:38:28 MDT --- Created an attachment (id=319509) --> (http://bugzilla.novell.com/attachment.cgi?id=319509) sane.debug -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User 80classics@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c20 --- Comment #20 from Aurelio Grego <80classics@gmail.com> 2009-09-23 07:40:13 MDT --- I've followed your suggestions. With "export SANE_DEBUG_HP3900=4" or "export SANE_DEBUG_HP3900=128" I've got only millions of debug messages without benefits, so I've typed the following command: "( export SANE_DEBUG_DLL=4 ; exec 2>/tmp/sane.debug ; xsane )" and I've posted the attachment. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User lnussel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c21 Ludwig Nussel <lnussel@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW Info Provider|80classics@gmail.com | AssignedTo|lnussel@novell.com |jsmeix@novell.com --- Comment #21 from Ludwig Nussel <lnussel@novell.com> 2009-09-28 05:56:54 MDT --- as I suspected. option 25 is opt_chipid and the code for that looks fishy as the option size isn't set properly. IMO bug in backend, xsane just triggers the bug as it queries all options. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User lnussel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c22 --- Comment #22 from Ludwig Nussel <lnussel@novell.com> 2009-09-28 05:58:11 MDT --- Created an attachment (id=320086) --> (http://bugzilla.novell.com/attachment.cgi?id=320086) patch just a guess. untested as I don't have that scanner. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User 80classics@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c23 --- Comment #23 from Aurelio Grego <80classics@gmail.com> 2009-09-28 06:24:49 MDT --- Hi Ludwig, can you upload the new sane-backend version in the repository? I could test your patch with my scanner. Thanks -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User lnussel@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c24 --- Comment #24 from Ludwig Nussel <lnussel@novell.com> 2009-09-28 08:33:37 MDT --- home:lnussel:branches:graphics/sane-backends in the build service. It will take a while to build though. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c25 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P5 - None |P3 - Medium Status|NEW |ASSIGNED Platform|i686 |All Summary|xsane crashed |sane-backends hp3900 | |backend lets xsane crash --- Comment #25 from Johannes Meixner <jsmeix@novell.com> 2009-09-29 02:00:57 MDT --- Ludwig, very many thanks for the analysis and the patch! Aurelio Grego, please report if Ludwig's sane-backends package fises the issue (we do not have a scanner which needs the hp3900 backend). -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |NEEDINFO Info Provider| |80classics@gmail.com -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User 80classics@gmail.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c26 --- Comment #26 from Aurelio Grego <80classics@gmail.com> 2009-09-30 06:13:02 MDT --- Everything is OK. Your patch has solved the problem. -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |ASSIGNED Info Provider|80classics@gmail.com | -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c28 --- Comment #28 from Johannes Meixner <jsmeix@novell.com> 2009-09-30 07:09:15 MDT --- The upstream bug report is https://alioth.debian.org/tracker/index.php?func=detail&aid=311991&group_id=30186&atid=410366 -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 User jsmeix@novell.com added comment http://bugzilla.novell.com/show_bug.cgi?id=535752#c29 Johannes Meixner <jsmeix@novell.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|ASSIGNED |RESOLVED Resolution| |FIXED Target Milestone|--- |Factory --- Comment #29 from Johannes Meixner <jsmeix@novell.com> 2009-09-30 08:23:09 MDT --- Submitted to openSUSE:Factory: 21422 State:new Creator:jsmeix When:2009-09-30T16:18:01 submit: graphics/sane-backends -> openSUSE:Factory Comment: 'fix bnc#535752 (hp3900 scanner driver lets xsane crash) and bnc#542341 (adds a missing call to free)' -- Configure bugmail: http://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
http://bugzilla.novell.com/show_bug.cgi?id=535752 http://bugzilla.novell.com/show_bug.cgi?id=535752#c31 --- Comment #31 from Bernhard Wiedemann <bwiedemann@suse.com> --- This is an autogenerated message for OBS integration: This bug (535752) was mentioned in https://build.opensuse.org/request/show/21422 Factory / sane-backends -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com