Package: yaz
Version: 4.2.30-4+b6
Severity: normal

While trying to connect to a Zebra server running on localhost via a UNIX
socket, yaz-client will segfault immediately after the "Connecting...OK."
bit. My exact command line and relevant output are as follows:

$ yaz-client -c /etc/koha/zebradb/ 
Segmentation fault

I can confirm that the Zebra server is indeed running by looking at the
output of `ps axuf`.

The file and socket used above look like this permissions-wise:

-rw-r--r-- 1 root     root     48547 Jan  3 13:18 
srw-rw-rw- 1 dev-koha dev-koha     0 Feb  4 18:06 /var/run/koha/dev/bibliosocket

/var/log/syslog contains these lines:

Feb  4 18:06:49 deb930 kernel: [  382.036203] traps: yaz-client[1641] general 
protection ip:7fb9fe262290 sp:7ffd6e82bfa8 error:0
Feb  4 18:06:49 deb930 kernel: [  382.036214]  in[7fb9fe20c000+18a000]

If I try to debug the program with gdb I get a reference to the
gnutls_certificate_type_get() function from the GNU TLS library:

$ gdb --args yaz-client -c /etc/koha/zebradb/ 
(gdb) run
Starting program: /usr/bin/yaz-client -c /etc/koha/zebradb/ 
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/".

Program received signal SIGSEGV, Segmentation fault.
0x00007ffff6295290 in gnutls_certificate_type_get ()
   from /usr/lib/x86_64-linux-gnu/

The installed libgnutls30 package is at version 3.5.8-5+deb9 if that helps.

Thanks for your time.

Kind regards,

-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 4.9.0-5-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), 
LANGUAGE=en_US:en (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages yaz depends on:
ii  libc6         2.24-11+deb9u1
ii  libreadline7  7.0-3
ii  libtinfo5     6.0+20161126-1+deb9u1
ii  libxml2       2.9.4+dfsg1-2.2+deb9u2
ii  libxslt1.1    1.1.29-2.1
ii  libyaz4       4.2.30-4+b6

yaz recommends no packages.

yaz suggests no packages.

-- no debconf information

Reply via email to