[Bug 576531] Re: netdiscovery: relocation error & segfault
Kevin Turner, thank you for reporting this and helping make Ubuntu better. As per https://wiki.ubuntu.com/Releases your release is EOL. If you have an issue in a supported release (ex. 16.04) please file a new report, and feel free to subscribe me to it. ** Changed in: xsane (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576531 Title: netdiscovery: relocation error & segfault To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/576531/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
Today's update of my Lucid installation also updated the Samsung driver package: this also repaired network scanning for my CLX-3175FN. I never tried the workarounds mentioned above. package: http://www.bchemnet.com/suldr/index.html forum post: http://ubuntuforums.org/showpost.php?p=11082189postcount=737 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576531 Title: netdiscovery: relocation error segfault To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/xsane/+bug/576531/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
Yesterday was trying to execute the Wolf Geldmacher's comment (#12), but for an accident the solution was stopped in the middle, before the step that recovers libs from the backup folder. The result was that the PC was not able to reboot anymore, neither in normal boot nor in recovery mode. The only way to fix the problem was to use a live CD, to mount the hard-disk containing the malfunctioning Ubuntu and to move the libs using last commands from comment #12 : cd /lib mv backup/* . After that the PC was able to reboot again ! -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576531 Title: netdiscovery: relocation error segfault -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
Well, more than reporting on how to fix the workaround I would like to make prossure on people here in order to recompile those libraries with the needed stuff inside: http://www.gnu.org/software/hello/manual/gnulib/rawmemchr.html. Then any workaround (and workaround's workaround) will be unneeded. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576531 Title: netdiscovery: relocation error segfault -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
That trick is not working with my SCX4623F, which is attached to a USB port. The netdiscovery output is actually empty, apart of the three commented lines. Any further idea? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576531 Title: netdiscovery: relocation error segfault -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
Instead, the USB-ID trick mentioned above worked fine (with xsane and skanlite) but at a maximum of 600DPI. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576531 Title: netdiscovery: relocation error segfault -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
Yeah! cool! :) This works for my CLX-3175N. Thank you for this workaround, Wolf! I hope it will hold on to the next libs and links updates. i was bored to remove my libnss_files.so.2 after the ubuntu update... i will try to write to Samsung about this issue (even if i know that they don't care) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576531 Title: netdiscovery: relocation error segfault -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
Thanks, Wolf! This works for the Samsung SCX-3205W too. For users of the 3200 series without the network features: Sane supports the scanner device with the xerox_mfp backend. This requires to add the usb id (get it with lsusb) to /etc/sane.d/xerox_mfp.conf and /lib/udev/rules.d/40-libsane.rules. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576531 Title: netdiscovery: relocation error segfault -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
As a workaround to get the scanner working on lucid (until Samsung gets around to fixing this): I found that performing the renaming game for the libnss_* libraries above and then casting the result into a replacement netdiscovery shell procedure, followed by restoring the (no longer needed) libnss_* libraries to their original state works fine for my (static!) configuration (CLX-3185FW) i.e. (as root, after having installed the MFP software) cd /opt/Samsung/mfp/bin mv netdiscovery netdiscovery.orig cd /lib mkdir backup mv libnss_* backup cd /opt/Samsung/mfp/bin ./netdiscovery --all --scanner /tmp/output (In my case this resulted in: # Network printers discovery utility # Legend: ip: address slp: detected,ipp,lpr,raw_tcp snmp: detected,devtype,description ip: 192.168.192.3 slp: 0,0,0,0 snmp: 0,0,0 dsc: Samsung CLX-3180 a8 00 43 10 53 61 6d 73 75 6e 67 20 53 61 6d 73 75 6e 67 20 43 4c 58 2d 33 31 38 30 20 53 65 72 69 65 73 20 19 33 86 2b 00 00 27 d8 00 00 41 a0 00 01 51 00 00 01 00 00 00 00 41 a0 00 00 36 d8 00 00 05 05 19 00 # Total 1 scanners found, 5s elapsed ) Edit /tmp/output to contain (replacing the text between '' by the output of the command above!): #!/bin/sh echo '# Network printers discovery utility' echo '# Legend: ip: address slp: detected,ipp,lpr,raw_tcp snmp: detected,devtype,description' echo 'ip: 192.168.192.3 slp: 0,0,0,0 snmp: 0,0,0 dsc: Samsung CLX-3180' echo 'a8 00 43 10 53 61 6d 73 75 6e 67 20 53 61 6d 73' echo '75 6e 67 20 43 4c 58 2d 33 31 38 30 20 53 65 72' echo '69 65 73 20 19 33 86 2b 00 00 27 d8 00 00 41 a0' echo '00 01 51 00 00 01 00 00 00 00 41 a0 00 00 36 d8' echo '00 00 05 05 19 00' echo '# Total 1 scanners found, 5s elapsed' mv /tmp/output netdiscovery chmod 755 netdiscovery cd /lib mv backup/* . rmdir backup YMMV. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576531 Title: netdiscovery: relocation error segfault -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
Small error above: Need to call ./netdiscovery.orig --all --scanner /tmp/output as renaming has happened before. Sorry. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/576531 Title: netdiscovery: relocation error segfault -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
Maybe that bug is caused by a static linking with the libc. I find this bug report on the debian list : http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589143#10 The error appears in a same manner and the explanation seems to be clear. (i've found it by reading this bug report : https://bugs.launchpad.net/ubuntu/+source/eglibc/+bug/574726) So, could the binaires provided by Samsung or by tweedledee (http://www.bchemnet.com/suldr/) provide the needed libc version ?? This bug seems to affect many persons. The thread in the ubuntuforums has more than 50 pages ! http://ubuntuforums.org/showthread.php?t=341621 ** Bug watch added: Debian Bug tracker #589143 http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=589143 -- netdiscovery: relocation error segfault https://bugs.launchpad.net/bugs/576531 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
This bug also affects me, below is the output when starting xsane from a terminal. netdiscovery: relocation error: /lib/tls/i686/cmov/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference I am using a 32-bit Lucid installation Ubuntu 10.04.1 Using the solution posted by Rutger Hendriks I can use the scanner but xsane still shows an error message as follows: netdiscovery: relocation error: /lib/libnss_mdns4_minimal.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference The scanner shows with the correct IP address in the Samsung Configurator, simple-scan works as does scanning through OpenOffice and Picassa. -- netdiscovery: relocation error segfault https://bugs.launchpad.net/bugs/576531 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
I have a 32-bit Lucid installation here. My solution was to rename /lib/libnss_files.so.2 and /lib/tls/i686/cmov/libnss_files.so.2 Now I can use the scanner, but I do get one more error: netdiscovery: relocation error: /lib/tls/i686/cmov/libresolv.so.2: symbol strlen, version GLIBC_2.0 not defined in file libc.so.6 with link time reference Details follow: # uname -a Linux biser 2.6.32-24-generic #41-Ubuntu SMP Thu Aug 19 01:12:52 UTC 2010 i686 GNU/Linux # cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=10.04 DISTRIB_CODENAME=lucid DISTRIB_DESCRIPTION=Ubuntu 10.04.1 LTS # /opt/Samsung/mfp/bin/Configurator QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory netdiscovery: relocation error: /lib/tls/i686/cmov/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference netdiscovery: relocation error: /lib/tls/i686/cmov/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference # cd /lib/tls/i686/cmov/ # mv libnss_files.so.2 libnss_files.so.2.bkp # /opt/Samsung/mfp/bin/Configurator QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory netdiscovery: relocation error: /lib/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference netdiscovery: relocation error: /lib/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference # cd /lib # mv libnss_files.so.2 libnss_files.so.2.bkp # /opt/Samsung/mfp/bin/Configurator QInotifyFileSystemWatcherEngine::addPaths: inotify_add_watch failed: No such file or directory netdiscovery: relocation error: /lib/tls/i686/cmov/libresolv.so.2: symbol strlen, version GLIBC_2.0 not defined in file libc.so.6 with link time reference (now I can actually see and use the scanner!!!) -- netdiscovery: relocation error segfault https://bugs.launchpad.net/bugs/576531 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
I found part of the solution for the error netdiscovery: relocation error: /lib/libnss_files.so.2: symbol __rawmemchr, version GLIBC_2.2.5 not defined in file libc.so.6 with link time reference I renamed the file /lib/libnss_files.so.2 like so: cd /lib mv libnss_files.so.2 libnss_files.so.2-64bit and created a link to the 32-bit version: cd /lib ln -s ../lib32/libnss_files.so.2 . Now I don't have a problem running the Samsung scanner. I'm guessing I will have problems now with other programs that do require the 64-bit version of libnss_files.so.2 So probably someone can come up with a solution to simply use the 32bit version for /lib32 without remove the 64-bit version. Please let us know! -- netdiscovery: relocation error segfault https://bugs.launchpad.net/bugs/576531 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
Sigh, this bug also affects me, below is the output when starting xscanimage or xsane from a terminal in Ubuntu Lucid Lynx : netdiscovery: relocation error: /lib/tls/i686/cmov/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference I might add that this worked flawlessy with Karmic over the local network. I have tried re-installing the official Samsung drivers, and network enabled printing configuration works fine, the printer is detected and configured correctly and printing works (as it did in any case before the driver re-installation). However, the scanner list that is called up via the Samsung utility shows no network scanner any longer). I am in a professional office environment where I used to scan all incoming mail documents over the network, so the fact that this has ceased to function with the upgrade to Lucid Lynx is a major issue for me. Alex Thurgood -- netdiscovery: relocation error segfault https://bugs.launchpad.net/bugs/576531 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
Forgot to mention the MFP is Samsung CLX-3175FN. -- netdiscovery: relocation error segfault https://bugs.launchpad.net/bugs/576531 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
I also get the exact same error output on Lucid with my CLX-3175FN connected via LAN. When I connect with USB, Karmic installs another printer and after that XSANE recognizes the scanner and scanning works. So USB connection works for me, but fails when connected via LAN. Also mailed Samsung last week. -- netdiscovery: relocation error segfault https://bugs.launchpad.net/bugs/576531 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
Sorry, but I use Lucid (see my previous comment). -- netdiscovery: relocation error segfault https://bugs.launchpad.net/bugs/576531 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
I just did some extra testing. 1) I installed Ubuntu Karmic in a VirtualBox. 2) After that I installed the Samsung Drivers as mentioned in the initial bug description above. 3) I started the Samsung Unified Driver Configurator from the Graphics menu. 4) I made sure I disconnect the USB cable, so the Samsung is only connected to LAN 5) Next, added the LAN printer with the Samsung Configurator. This works fine. Printer is found, recognized and installed. 6) Then I choose the flatbed scanner icon in the Configurator. What do you know... the scanner is found over LAN connection! 7) Test scan with Xsane works perfectly. Conclusion: something was changed in Lucid compared to Karmic. In Karmic: when I run xsane from a terminal I see some, maybe, interesting output: (xsane:2191): Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated It could be that this deprecated code in Karmic, is actually no longer accepted in Lucid but the Xsane code still contains the use of this function? And this may prevent the scanner from being found in Lucid? ** Attachment added: screenshot2.png http://launchpadlibrarian.net/52826568/screenshot2.png -- netdiscovery: relocation error segfault https://bugs.launchpad.net/bugs/576531 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
** Attachment added: Dependencies.txt http://launchpadlibrarian.net/47948837/Dependencies.txt -- netdiscovery: relocation error segfault https://bugs.launchpad.net/bugs/576531 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 576531] Re: netdiscovery: relocation error segfault
I don't think it's problem with sane - simple-scan and Samsung utility will do the same. I have similar bug, with netdiscovery: relocation error: /lib/tls/i686/cmov/libnss_files.so.2: symbol strcmp, version GLIBC_2.0 not defined in file libc.so.6 with link time reference I also mailed Samsung tech support, so if i'll get any answer, i'll post it here -- netdiscovery: relocation error segfault https://bugs.launchpad.net/bugs/576531 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs