🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
3 messages
3 total messages Started by chrisriggins Tue, 28 Sep 1999 00:00
nn/nnmaster segfault under Solaris 2.6
#9311
Author: chrisriggins
Date: Tue, 28 Sep 1999 00:00
131 lines
7061 bytes
     I've been trying to set up nn under Solaris 2.6.  Although it
compiles without any trouble, it dies when I run it.  I've built and
re-built it using both the NOV and nnmaster schemes, but it fails
identically under each.
     I've appended a truss run below.  I can't say how this lousy Deja
interface will scramble my post, so I apologize in advance for whatever
it does.  I appreciate any help you guys can provide, and I rather hope
I'm missing the obvious.

Chris

[0](criggins@brittania) /users/riggins> truss nn
execve("/usr/local/bin//nn", 0xEFFFF1F8, 0xEFFFF200)  argc = 1
open("/dev/zero", O_RDONLY)                     = 3
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3,
0) = 0xEF7C0000
open("/usr/lib/libnsl.so.1", O_RDONLY)          = 4
fstat(4, 0xEFFFEDA4)                            = 0
mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF7B0000
mmap(0x00000000, 577536, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF700000
munmap(0xEF76F000, 61440)                       = 0
mmap(0xEF77E000, 34244, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 450560) = 0xEF77E000
mmap(0xEF787000, 21408, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF787000
close(4)                                        = 0
open("/usr/lib/libsocket.so.1", O_RDONLY)       = 4
fstat(4, 0xEFFFEDA4)                            = 0
mmap(0xEF7B0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0)
= 0xEF7B0000
mmap(0x00000000, 102400, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF6E0000
munmap(0xEF6E8000, 61440)                       = 0
mmap(0xEF6F7000, 4089, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 28672) = 0xEF6F7000
mmap(0xEF6F8000, 388, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF6F8000
close(4)                                        = 0
open("/usr/lib/libc.so.1", O_RDONLY)            = 4
fstat(4, 0xEFFFEDA4)                            = 0
mmap(0xEF7B0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0)
= 0xEF7B0000
mmap(0x00000000, 696320, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF600000
munmap(0xEF693000, 61440)                       = 0
mmap(0xEF6A2000, 24744, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 598016) = 0xEF6A2000
mmap(0xEF6A9000, 3000, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 3, 0) = 0xEF6A9000
close(4)                                        = 0
open("/usr/lib/libdl.so.1", O_RDONLY)           = 4
fstat(4, 0xEFFFEDA4)                            = 0
mmap(0xEF7B0000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_FIXED, 4, 0)
= 0xEF7B0000
mmap(0x00000000, 4096, PROT_READ|PROT_WRITE|PROT_EXEC, MAP_PRIVATE, 3,
0) = 0xEF7A0000
close(4)                                        = 0
open("/usr/lib/libmp.so.2", O_RDONLY)           = 4
fstat(4, 0xEFFFEDA4)                            = 0
mmap(0x00000000, 4096, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF790000
mmap(0x00000000, 77824, PROT_READ|PROT_EXEC, MAP_PRIVATE, 4, 0) =
0xEF6C0000
munmap(0xEF6C3000, 61440)                       = 0
mmap(0xEF6D2000, 3581, PROT_READ|PROT_WRITE|PROT_EXEC,
MAP_PRIVATE|MAP_FIXED, 4, 8192) = 0xEF6D2000
close(4)                                        = 0
open("/usr/platform/SUNW,SPARCstation-20/lib/libc_psr.so.1", O_RDONLY)
Err#2 ENOENT
close(3)                                        = 0
munmap(0xEF790000, 4096)                        = 0
brk(0x0006CA48)                                 = 0
ioctl(0, TCGETA, 0xEFFFF114)                    = 0
sigaction(SIGTERM, 0xEFFFEFF8, 0xEFFFF078)      = 0
sigaction(SIGHUP, 0xEFFFEFF8, 0xEFFFF078)       = 0
sigaction(SIGPIPE, 0xEFFFEFF8, 0xEFFFF078)      = 0
sigaction(SIGALRM, 0xEFFFEFF8, 0xEFFFF078)      = 0
sigaction(SIGPWR, 0xEFFFEFF8, 0xEFFFF078)       = 0
getuid()                                        = 1001 [1001]
getgroups(16, 0x000639D0)                       = 2
getgid()                                        = 10 [10]
getuid()                                        = 1001 [1001]
getpid()                                        = 11384 [11383]
brk(0x0006CA48)                                 = 0
brk(0x0006EA48)                                 = 0
stat("/usr/spool/nn/DATA/0", 0x00063930)        = 0
sigaction(SIGINT, 0xEFFFEFF8, 0xEFFFF078)       = 0
sigaction(SIGQUIT, 0xEFFFEFF8, 0xEFFFF078)      = 0
sigaction(SIGTSTP, 0xEFFFEFF8, 0xEFFFF078)      = 0
stat("/users/riggins/.nn", 0x00063930)          = 0
open("/usr/local/lib/nntp_server", O_RDONLY)    = 3
fstat64(3, 0xEFFFEAD0)                          = 0
brk(0x0006EA48)                                 = 0
brk(0x00070A48)                                 = 0
ioctl(3, TCGETA, 0xEFFFEA5C)                    Err#25 ENOTTY
read(3, " n e w s . t u r n e r .".., 8192)     = 16
llseek(3, 0, SEEK_CUR)                          = 16
close(3)                                        = 0
uname(0xEFFFEB20)                               = 1
open("/etc/netconfig", O_RDONLY)                = 3
fstat64(3, 0xEFFFE990)                          = 0
ioctl(3, TCGETA, 0xEFFFE91C)                    Err#25 ENOTTY
read(3, " #\n #   T h e   " N e t".., 8192)     = 1064
read(3, 0x0006D7A4, 8192)                       = 0
llseek(3, 0, SEEK_CUR)                          = 1064
llseek(3, 0, SEEK_SET)                          = 0
read(3, " #\n #   T h e   " N e t".., 8192)     = 1064
brk(0x00070A48)                                 = 0
brk(0x00072A48)                                 = 0
read(3, 0x0006D7A4, 8192)                       = 0
llseek(3, 0, SEEK_CUR)                          = 1064
close(3)                                        = 0
open64("/etc/.name_service_door", O_RDONLY)     = 3
fcntl(3, F_SETFD, 0x00000001)                   = 0
door_info(3, 0xEF6A87E0)                        = 0
door_call(3, 0xEFFFCE60)                        = 0
door_info(3, 0xEFFFCE78)                        = 0
door_call(3, 0xEFFFCE60)                        = 0
    Incurred fault #6, FLTBOUNDS  %pc = 0x00019890
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
    Received signal #11, SIGSEGV [default]
      siginfo: SIGSEGV SEGV_MAPERR addr=0x00000000
        *** process killed ***


Sent via Deja.com http://www.deja.com/
Before you buy.

Re: nn/nnmaster segfault under Solaris 2.6
#9309
Author: Michael T Pins
Date: Tue, 28 Sep 1999 00:00
22 lines
1693 bytes
chrisriggins@mindspring.com writes:

>     I've been trying to set up nn under Solaris 2.6.  Although it
>compiles without any trouble, it dies when I run it.  I've built and
>re-built it using both the NOV and nnmaster schemes, but it fails
>identically under each.
>     I've appended a truss run below.  I can't say how this lousy Deja
>interface will scramble my post, so I apologize in advance for whatever
>it does.  I appreciate any help you guys can provide, and I rather hope
>I'm missing the obvious.

Is your /usr/local/lib/nntp_server (or whatever you defined it to be)
correct?   And can you ping that name?  There is a bug where if this is
wrong in a particular way nn will segfault.

--
**************************************************************************
*     Michael T Pins                 |          mtpins@visi.com          *
*     keeper of the nn sources       |      mtpins@icaen.uiowa.edu       *
*   ftp://ftp.visi.com/users/mtpins  |     #include <std.disclaimer>     *

Re: nn/nnmaster segfault under Solaris 2.6
#9313
Author: Casper H.S. Dik - Network Securi...
Date: Wed, 29 Sep 1999 00:00
31 lines
1829 bytes
[[ PLEASE DON'T SEND ME EMAIL COPIES OF POSTINGS ]]

mtpins@visi.com (Michael T Pins) writes:

>chrisriggins@mindspring.com writes:

>>     I've been trying to set up nn under Solaris 2.6.  Although it
>>compiles without any trouble, it dies when I run it.  I've built and
>>re-built it using both the NOV and nnmaster schemes, but it fails
>>identically under each.
>>     I've appended a truss run below.  I can't say how this lousy Deja
>>interface will scramble my post, so I apologize in advance for whatever
>>it does.  I appreciate any help you guys can provide, and I rather hope
>>I'm missing the obvious.

>Is your /usr/local/lib/nntp_server (or whatever you defined it to be)
>correct?   And can you ping that name?  There is a bug where if this is
>wrong in a particular way nn will segfault.


Looks very much like that; the crash occurs after a nameservice lookup
and on dereferencing a NULL pointer.

Casper
--
Expressed in this posting are my opinions.  They are in no way related
to opinions held by my employer, Sun Microsystems.
Statements on Sun products included here are not gospel and may
be fiction rather than truth.

Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads