Comment 7 for bug 1224764

Revision history for this message
Tuomas Suutari (tuomas-suutari) wrote :

Same here. Kubuntu 13.10

Here's a backtrace:

Program received signal SIGSEGV, Segmentation fault.
[Switching to LWP 22748]
memchr () at ../sysdeps/x86_64/memchr.S:39
39 ../sysdeps/x86_64/memchr.S: No such file or directory.
(gdb) bt
#0 memchr () at ../sysdeps/x86_64/memchr.S:39
#1 0x00007ffff787a267 in __GI__IO_getline_info (fp=fp@entry=0x7fffe4001370, buf=buf@entry=0x7fffeb3898f0 "kazaa", n=n@entry=2047, delim=delim@entry=10, extract_delim=extract_delim@entry=1, eof=eof@entry=0x0) at iogetline.c:94
#2 0x00007ffff787a398 in __GI__IO_getline (fp=fp@entry=0x7fffe4001370, buf=buf@entry=0x7fffeb3898f0 "kazaa", n=n@entry=2047, delim=delim@entry=10, extract_delim=extract_delim@entry=1) at iogetline.c:38
#3 0x00007ffff787ecbc in __GI_fgets_unlocked (buf=buf@entry=0x7fffeb3898f0 "kazaa", n=n@entry=2048, fp=0x7fffe4001370) at iofgets_u.c:55
#4 0x00007fffea98265d in internal_getent (result=result@entry=0x7fffeb38a530, buffer=buffer@entry=0x7fffeb3898f0 "kazaa", buflen=buflen@entry=2048, errnop=errnop@entry=0x7fffeb38b680) at nss_files/files-XXX.c:207
#5 0x00007fffea982a44 in _nss_files_getservbyname_r (name=0x7fffeb9f8812 "sane-port", proto=0x7ffff798a03e <gaih_inet_typeproto+30> "tcp", result=0x7fffeb38a530, buffer=0x7fffeb3898f0 "kazaa", buflen=2048, errnop=0x7fffeb38b680) at nss_files/files-service.c:41
#6 0x00007ffff7920bc2 in __getservbyname_r (name=name@entry=0x7fffeb9f8812 "sane-port", proto=proto@entry=0x7ffff798a03e <gaih_inet_typeproto+30> "tcp", resbuf=resbuf@entry=0x7fffeb38a530, buffer=buffer@entry=0x7fffeb3898f0 "kazaa", buflen=buflen@entry=2048,
    result=result@entry=0x7fffeb38a520) at ../nss/getXXbyYY_r.c:266
#7 0x00007ffff78d62cb in gaih_inet_serv (servicename=0x7fffeb9f8812 "sane-port", tp=tp@entry=0x7ffff798a034 <gaih_inet_typeproto+20>, st=st@entry=0x7fffeb38a5b0, req=<optimised out>) at ../sysdeps/posix/getaddrinfo.c:164
#8 0x00007ffff78d6633 in gaih_inet (name=name@entry=0x7fffe4001138 "kuutio.local", service=0x7fffeb38a7f0, req=req@entry=0x7fffeb38a950, pai=pai@entry=0x7fffeb38a7b0, naddrs=naddrs@entry=0x7fffeb38a790) at ../sysdeps/posix/getaddrinfo.c:341
#9 0x00007ffff78da914 in __GI_getaddrinfo (name=0x7fffe4001138 "kuutio.local", service=<optimised out>, hints=0x7fffeb38a950, pai=0x7fffeb38a948) at ../sysdeps/posix/getaddrinfo.c:2473
#10 0x00007fffeb9f4c3c in ?? () from /usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1
#11 0x00007fffeb9f4f48 in ?? () from /usr/lib/x86_64-linux-gnu/sane/libsane-net.so.1
#12 0x00007fffeb5da5db in avahi_service_resolver_event () from /usr/lib/x86_64-linux-gnu/libavahi-client.so.3
#13 0x00007fffeb5d5ecc in ?? () from /usr/lib/x86_64-linux-gnu/libavahi-client.so.3
#14 0x00007fffeb39a9e6 in dbus_connection_dispatch () from /lib/x86_64-linux-gnu/libdbus-1.so.3
#15 0x00007fffeb5dc606 in ?? () from /usr/lib/x86_64-linux-gnu/libavahi-client.so.3
#16 0x00007fffeb7e9668 in avahi_simple_poll_dispatch () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#17 0x00007fffeb7e994d in avahi_simple_poll_loop () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#18 0x00007fffeb7e9a14 in ?? () from /usr/lib/x86_64-linux-gnu/libavahi-common.so.3
#19 0x00007ffff6ab1f6e in start_thread (arg=0x7fffeb38b700) at pthread_create.c:311
#20 0x00007ffff79049cd in clone () at ../sysdeps/unix/sysv/linux/x86_64/clone.S:113

Sane versions at the client:

tuomas@epsilon:~ $ dpkg -l | grep sane
ii libksane-data 4:4.11.2-0ubuntu1 all scanner library (data files)
ii libksane0 4:4.11.2-0ubuntu1 amd64 scanner library (runtime)
ii libsane:amd64 1.0.23-0ubuntu3 amd64 API library for scanners
ii libsane-common 1.0.23-0ubuntu3 amd64 API library for scanners -- documentation and support files
ii libsane-dev 1.0.23-0ubuntu3 amd64 API development library for scanners [development files]
ii libsane-hpaio 3.13.9-1ubuntu0.1 amd64 HP SANE backend for multi-function peripherals
ii sane-utils 1.0.23-0ubuntu3 amd64 API library for scanners -- utilities
ii xsane 0.998-5ubuntu1 amd64 featureful graphical frontend for SANE (Scanner Access Now Easy)
ii xsane-common 0.998-5ubuntu1 all featureful graphical frontend for SANE (Scanner Access Now Easy)

The Sane server is Debian Wheeze 7.5 with sane 1.0.22-7.4 and libsane-hpaio 3.12.6-3.1+deb7u1.