[cvsnt] Segfaults

MusiMeli abc at chartFX.com
Fri Dec 14 16:59:06 GMT 2007


Hello again!

> All CVSNT configuration is done in /etc/cvsnt/PServer

I've now set
AllowTrace=1
AuditLogSessions=1      # All server connections/commands
AuditLogCommits=1       # Log changes due to commits
#AuditLogDiffs=0        # Store diffs in commit log
#AuditLogTags=0         # Log tagging operations
#AuditLogHistory=0      # Log cvs history

and added a line
ServerTraceFile=/var/log/cvslog_ps

Now the server actually writes to cvslog_ps, but the logfile changes at 
least once a minute. If nothing is performed by PushOK, it seem to be always 
the same 100 lines (see below).
As the logfile changes so often, how can I get/save the "evil" command that 
caused the segfault? I find a segfault only if I look in /var/log/kern.log, 
but this I can't do every 5 seconds!

Furthermore I added
CVS_SERVER_LOG=/var/log/cvslog_env     in   /etc/environment
because on  http://march-hare.com/cvspro/faq/faq5.asp#4L  it was said that 
in this case "everything sent to the server is logged into 
$CVS_SERVER_LOG.in ..."
But it doesn't write anything!  Is it necessary to restart anything to get 
the new environment variable?

Regards,
MusiMeli

------------------------------
Here's my cvslog_ps:

17:33:45:   -> Tracelevel set to 0.  PID is 26510
17:33:45:   -> Session ID is 678e4762b069eb67
17:33:45:   -> Session time is Fri Dec 14 16:33:45 2007
17:33:45: S -> utf8 locale successfully set
17:33:45: S -> Server locale is 
LC_CTYPE=en_US.UTF-8;LC_NUMERIC=C;LC_TIME=C;LC_COLLATE=C;LC_MONETARY=C;LC_MESSAGES=C;LC_PAPER=C;LC_NAME=C;LC_ADDRESS=C;LC_TELEPHONE=C;LC_MEASUREMENT=C;LC_IDENTIFICATION=C
17:33:45: S -> Client sent 'BEGIN AUTH REQUEST'
17:33:45: S -> FindPrototocol(BEGIN AUTH REQUEST)
17:33:45: S -> EnumerateProtocols: /usr/lib/cvsnt/protocols
17:33:45: S -> Loading protocol sspi as sspi.la
17:33:45: S -> Checking protocol sspi
17:33:45: S -> Unloading sspi
17:33:45: S -> Loading protocol enum as enum.la
17:33:45: S -> Checking protocol enum
17:33:45: S -> Checking key EnumProtocol
17:33:45: S -> Unloading enum
17:33:45: S -> Loading protocol server as server.la
17:33:45: S -> Checking protocol server
17:33:45: S -> Unloading server
17:33:45: S -> Loading protocol sserver as sserver.la
17:33:45: S -> Checking protocol sserver
17:33:45: S -> Checking key SserverProtocol
17:33:45: S -> Unloading sserver
17:33:45: S -> Loading protocol pserver as pserver.la
17:33:45: S -> Checking protocol pserver
17:33:45: S -> Checking key PserverProtocol
17:33:45: S -> Authentication protocol returned user(dirkkapusta)
17:33:45: S -> Client compatibility level is 1
17:33:45: S -> Lock server connect to 127.0.0.1 port 2402
17:33:45: S -> wrap_add(*.a -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.avi -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.bin -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.bmp -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.bz2 -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.chm -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.class -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.dll -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.doc -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.dvi -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.exe -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.gif -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.gz -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.hqx -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.ico -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.ilk -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.iso -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.lib -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.jar -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.jpg -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.jpeg -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.lnk -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.mpg -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.mpeg -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.mov -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.mp3 -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.ncb -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.o -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.ogg -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.obj -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.pdb -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.pdf -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.png -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.ppt -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.res -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.rpm -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.sit -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.so -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.tar -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.tga -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.tgz -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.tif -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.tiff -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.wav -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.wmv -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.xls -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.zip -kb, 0, 0, 0, 0)
17:33:45: S -> wrap_add(*.Z -kb, 0, 0, 0, 0)
17:33:45: S -> server_main started
17:33:45: S -> run precommand proc server
17:33:45: S -> run_trigger()
17:33:45: S -> LoadTrigger(info.la)
17:33:45: S -> LoadTrigger(checkout.la)
17:33:45: S -> Checkout trigger not enabled.
17:33:45: S -> Couldn't load trigger checkout.la
17:33:45: S -> LoadTrigger(email.la)
17:33:45: S -> Email trigger not enabled.
17:33:45: S -> Couldn't load trigger email.la
17:33:45: S -> LoadTrigger(audit.la)
17:33:45: S -> Audit trigger not enabled.
17:33:45: S -> Couldn't load trigger audit.la
17:33:45: S -> Call pre-loaded 'info.la'
17:33:45: S -> precommand_proc()
17:33:45: S -> default_trigger: parse_info(CVSROOT/precommand,%r 
%c,%<a,<null>)
17:33:45: S -> run postcommand proc server
17:33:45: S -> run_trigger()
17:33:45: S -> Call pre-loaded 'info.la'
17:33:45: S -> postcommand_proc()
17:33:45: S -> default_trigger: parse_info(CVSROOT/postcommand,%r/%p %c,,)
17:33:45: S -> Unloading info.la
17:33:45: S -> unlink_file_dir(/tmp/cvs-serv26510)
17:33:45: S -> Unloading pserver





More information about the cvsnt mailing list