[Bug 909567] New: scangearmp2 produces segfault in libpthread-2.18.so
http://bugzilla.opensuse.org/show_bug.cgi?id=909567 Bug ID: 909567 Summary: scangearmp2 produces segfault in libpthread-2.18.so Classification: openSUSE Product: openSUSE 13.1 Version: Final Hardware: x86-64 OS: openSUSE 13.1 Status: NEW Severity: Normal Priority: P5 - None Component: Commercial Assignee: bnc-team-screening@forge.provo.novell.com Reporter: martin.gu@intergga.ch QA Contact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:34.0) Gecko/20100101 Firefox/34.0 Build Identifier: The application scangearmp2 is downloaded from http://de.canon.ch/Support/Consumer_Products/products/Fax__Multifunctionals/InkJet/PIXMA_MG_series/PIXMA_MG7550.aspx?type=download&language=&os=Linux Installation with YaST or install.sh does not produce any error. But a start results in a memory access error. dmesg shows scangearmp2[9080]: segfault at 30 ip 00007fa0cf0f1294 sp 00007ffff2277a20 error 4 in libpthread-2.18.so[7fa0cf0e7000+18000] This error occurres with or withour a Canon Pixma MG7550 attached / switched on. Reproducible: Always Steps to Reproduce: 1.install scangearmp2 2.run scangearmp2 3. Actual Results: Application crashes with error message "Speicherzugriffsfehler" (memory access error) Expected Results: The application should be up and running, allowing to scan images I reported the error to Canon but I was informed that this is an error of the distribution (in libpthread-2.18.so) and that I should get help there. Unfortunately SANE does not yet support the Canon pixma MG7550 -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=909567 Bernhard Wiedemann <bwiedemann@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jsmeix@suse.com, | |schwab@suse.com -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=909567 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |martin.gu@intergga.ch Flags| |needinfo?(martin.gu@intergg | |a.ch) --- Comment #1 from Johannes Meixner <jsmeix@suse.com> --- It seems the matching openSUSE forum thread is https://forums.opensuse.org/showthread.php/502422-scangearmp2-for-Canon-Pixm... Martin Gubser, please provide the full text of your error report to Canon and their full reply so that we know about Canon's reasoning why they think the root cause is in libpthread. With probability one (http://en.wikipedia.org/wiki/Almost_surely) when there is a segfault in a glibc library function the root cause is not in the library itself but at a higher level somewhere in the application that calls library functions in a wrong way (usually by calling a library function with an invalid pointer argumet - i.e. the caller provides an invalid argumet and that causes the segfault). Therefore we need to understand what debugging Canon did that leads to their conclusion that the issue is not in their scangearmp2 code but in libpthread. Only Canon can debug their application to prove that the issue is not in their application but in the library. -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=909567 Johannes Meixner <jsmeix@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Found By|--- |Community User -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=909567 --- Comment #5 from Johannes Meixner <jsmeix@suse.com> --- According to http://www.sane-project.org/cgi-bin/driver.pl?manu=&model=&bus=any&v=04a9&p=177c only the pixma backend included in the SANE development repository might support the Canon PIXMA MG7500 via USB (but it is untested). I made sane-backends version git20150108 RPMs for openSUSE 13.1 and 13.2 which is an unstable development source only for testing, without any guarantee or warranty, and without any support from openSUSE in my openSUSE build service home project "home:jsmeix". Please read https://build.opensuse.org/project/show?project=home:jsmeix You can get the packages in the "home:jsmeix" project for example for openSUSE 13.1 from this direct URL http://download.opensuse.org/repositories/home:/jsmeix/openSUSE_13.1/ When you like to upgrade an installed sane-backends 1.0.23 or 1.0.24 to sane-backends development version git20150108 you need to install version git20150108 with plain rpm using "--force" e.g. use a command like rpm -Uhv --force sane-backends-git20150108-2.1.x86_64.rpm because for rpm the version number git2015010 is lower than the installed version number 1.0.23 or 1.0.24. Perhaps you are a venturous openSUSE user who likes to try out if sane-backends development version git20150108 works for you? If yes, please report whether or not it works for you. Many thanks in advance for testing it and for your feedback! Caution: When you try it out and your scanner makes bad-sounding noises the usual reason is that the scanner's internal moving parts "do bad things" which means the scanner hardware could get damaged (for a current example see bug#897855). If there are issues with the pixma backend/driver: I do not have a scanner that uses the pixma backend so that I cannot do anything here (in particular I cannot debug it). We (i.e. openSUSE) distribute sane-backends from the SANE project but we do not develop scanner drivers. In particular I don't have any knowledge about the pixma driver. If there are issues with scanner drivers I recommend to report them directly to the driver authors at the SANE project http://www.sane-project.org so that there is a direct communication between you and the upstream authors. The best way is to post on the sane-devel mailing list so that the upstream authors plus interested users can notice the issue, see http://www.sane-project.org/mailing-lists.html -- You are receiving this mail because: You are on the CC list for the bug.
http://bugzilla.opensuse.org/show_bug.cgi?id=909567 http://bugzilla.opensuse.org/show_bug.cgi?id=909567#c7 Ralf Habacker <ralf.habacker@freenet.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |ralf.habacker@freenet.de --- Comment #7 from Ralf Habacker <ralf.habacker@freenet.de> --- (In reply to Johannes Meixner from comment #1)
With probability one (http://en.wikipedia.org/wiki/Almost_surely) when there is a segfault in a glibc library function the root cause is not in the library itself but at a higher level somewhere in the application that calls library functions in a wrong way (usually by calling a library function with an invalid pointer argumet - i.e. the caller provides an invalid argumet and that causes the segfault).
I can confirm this: the call to numdev = libusb_get_device_list(NULL, &g_devlist); does not use the predefined libusb context pointer and should be numdev = libusb_get_device_list(g_context, &g_devlist); which solves the issue. See https://github.com/Ordissimo/scangearmp2/issues/16 for more details -- You are receiving this mail because: You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com