IRRd-Discuss
Date Prev | Date Next |
Date Index |
Thread Index |
Author Index |
Historical
Re: irrd_rpsl_submit segmentation violation
- From: Gerald Andrew Winters
- Date: Wed Aug 09 09:25:57 2000
Lee,
Thanks for the bug report and sorry about the problem.
We do our developing in a solaris environment and
have not encountered this problem. My initial guess is
there is some difference in the 'opendir' syscall
between linux and solaris. I am currently rounding
up a linux box and will attempt to recreate the problem.
I'll report back to you as quickly as possible.
BTW, thanks for the very nice gdb output. It is very
helpful to see exactly where the problem occured on
your system. This makes it much easier for me to
locate the problem.
--jerry
>
> Greetings,
>
> I have installed irrd on linux ( red-hat 6.1) and when I
> run irrd_rpsl_submit e.g. irrd_rpsl_submit -v or
> irrd_rpsl_submit -f /etc/irrd.config there is a segment violation.
>
> My version of irrd is irrd2.0a-Aug1-2000.
>
> When running irr_rpsl_submit via gdb I get the following:
>
> gdb irr_rpsl_submit
> GNU gdb 4.18
> Copyright 1998 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-redhat-linux"...
> (gdb) run
> Starting program:
> /usr/local/src/irrd2.0a-Aug1-2000/src/programs/irr_submit/irr_rpsl_submit
>
> Program received signal SIGSEGV, Segmentation fault.
> 0x400e1168 in __opendir (name=0x0) at ../sysdeps/unix/opendir.c:79
> 79 ../sysdeps/unix/opendir.c: No such file or directory.
> (gdb) down
> Bottom (i.e., innermost) frame selected; you cannot go down.
> (gdb) up
> #1 0x8050acd in create_dir (dir=0x0) at read_conf.c:554
> 554 if ((dirp = opendir (dir)) != NULL) {
> (gdb)
>
> What am I missing?
>
> Thanks
> Lee
>
>
>
|