Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#270 ns_ictl locks server

aolserver_v45
open
nobody
5
2006-08-11
2006-08-11
Jay
No

I have a package that is "package required" during
startup. At the end is a call to ns_ictl once that sets
an allocate trace to init the package. This hangs the
nsd, or at least it appears to. (tried getconn trace as
well)

...
ns_ictl once MYKEY {
ns_ictl trace allocate MyInitProc
}
...

Sending a kill -3 to the nsd produces this stack trace.
#0 0xffffe410 in __kernel_vsyscall ()
#1 0x4016065e in do_sigwait () from
/lib/tls/libpthread.so.0
#2 0x401606ff in sigwait () from /lib/tls/libpthread.so.0
#3 0x4008362c in ns_sigwait (set=0xbfb2f0b0,
sig=0xbfb2f0ac) at signal.c:115
#4 0x4006af42 in NsHandleSignals () at unix.c:165
#5 0x4004454d in Ns_Main (argc=3, argv=0xbfb30254,
initProc=0x804868e <ServerInit>) at nsmain.c:575
#6 0x08048686 in main (argc=3, argv=0xbfb30254) at
main.c:64

Discussion

  • Jay
    Jay
    2006-08-11

    • summary: nc_ictl locks server --> ns_ictl locks server
     
  • Jay
    Jay
    2006-08-11

    Logged In: YES
    user_id=1570091

    Additional info - the package require is actually being
    called with a create trace.