Package: approx
Version: 2.8.0
Severity: important

When I edit the /etc/approx/approx.conf file and define an interface to
listen to, approx fails with a segfault on startup.  In my case
I set the interface key to eth0.

This is reported in /var/log/messages:

Jan 29 07:48:22 hades kernel: approx[3814]: segfault at 000000000f533440 rip 
00000000004cabf0 rsp 00007fff9b5abdb8 error 4

If I run approx -f from the command line, here is the output:

hades:~# approx -f
Version: approx 2.8.0
Config file: /etc/approx/approx.conf
Interface: eth0
Port: 8124
Cache: /var/cache/approx
Interval: 12 hours
Max wait: 10
Debug: false
Segmentation fault

When I run an strace, it seems to fail right after it reads the
configuration file at the 
"# The following are the defaults, so there is no need" line.

This only happens when I uncomment the interface key in the
config.  Or if I set it to all, approx -f returns:

hades:~# approx -f
Version: approx 2.8.0
Config file: /etc/approx/approx.conf
Interface: all
Port: 8124
Cache: /var/cache/approx
Interval: 12 hours
Max wait: 10
Debug: false
Not_found

Once the interface key is commented out, it runs perfectly fine.

-- System Information:
Debian Release: 4.0
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-3-amd64
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)

Versions of packages approx depends on:
ii  adduser                     3.102        Add and remove users and groups
ii  bzip2                       1.0.3-6      high-quality block-sorting file co
ii  curl                        7.15.5-1     Get a file from an HTTP, HTTPS, FT
ii  libc6                       2.3.6.ds1-10 GNU C Library: Shared libraries
ii  libpcre3                    6.7-1        Perl 5 Compatible Regular Expressi
ii  lsb-base                    3.1-23       Linux Standard Base 3.1 init scrip

approx recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to