nnrpd in the latest snapshots segfaults
kea at penti.org
Tue Dec 11 19:37:02 UTC 2001
> > I downloaded the inn-CURRENT-20011209. Ran "configure --with-perl ;
> > make", with no problems at all. Grabbed the binary for nnrpd. But
> > trying to run this binary, results in a segfault.
> Are you using the default install paths?
Yes, it's a default installation.
> (Hey people -- is anybody running the latest CURRENT? Maybe it's broken.)
> > - Checked the output from the compile, no errors.
> > - Did a strace, and nothing obvious.
> Can you run gdb and get a backtrace?
> (I don't know if you know gdb, this should start nnrpd, wait for the
> crash, and then get the backtrace. If you want to pass args to nnrpd,
> before run you can do "set args" inside gdb.
I know what gdb does, but that's about it. Anyway, here is the output from
Script started on Tue Dec 11 21:26:22 2001
news at news:~$ gdb src/inn-CURRENT-20011209/nnrpd/nnrpd
GNU gdb 5.0
Copyright 2000 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-slackware-linux"...
Starting program: /usr/local/news/src/inn-CURRENT-20011209/nnrpd/nnrpd
Program received signal SIGSEGV, Segmentation fault.
strcmp (p1=0x0, p2=0x81157e0 "hisv6") at ../sysdeps/generic/strcmp.c:38
38 ../sysdeps/generic/strcmp.c: No such file or directory.
#0 strcmp (p1=0x0, p2=0x81157e0 "hisv6") at ../sysdeps/generic/strcmp.c:38
#1 0x806e9c2 in HISopen (path=0x814adf0 "/usr/local/news/db/history",
method=0x0, flags=0) at his.c:137
#2 0x8066515 in SetupDaemon () at nnrpd.c:687
#3 0x8067076 in main (argc=1, argv=0xbfffee54) at nnrpd.c:1030
#4 0x400722eb in __libc_start_main (main=0x80666a8 <main>, argc=1,
ubp_av=0xbfffee54, init=0x805e8f4 <_init>, fini=0x811186c <_fini>,
rtld_fini=0x4000c130 <_dl_fini>, stack_end=0xbfffee4c)
The program is running. Exit anyway? (y or n) y
news at news:~$ exit
Script done on Tue Dec 11 21:26:50 2001
More information about the inn-bugs