Mailing List Archive

Support open source code!


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

tlug: debugging inetd servers



>>>>> "Stephen" == Stephen J Turnbull <turnbull@example.com> writes:

    Stephen> CVS 1.10.7 and 1.10.8 are !"#$% segfaulting in server
    Stephen> mode on me.  They run from inetd.  Any suggestions on how
    Stephen> to catch such bugs?

Turns out CVS 1.10 supports a non-remote mode that uses the remote
protocol.  Even nicer, you can set an environment variable that causes
the child (quasi-server process) to sleep for a few seconds, so you
can get the process ID and do `gdb src/cvs $PID' on it.

Uninitialized local char*; the stack gomi contained 0x01 there, and
applying strlen(3) to it generated SIGSEGV (of course!)

baka-yarou!  mrmble, grrrmble.

-- 
University of Tsukuba                Tennodai 1-1-1 Tsukuba 305-8573 JAPAN
Institute of Policy and Planning Sciences       Tel/fax: +81 (298) 53-5091
_________________  _________________  _________________  _________________
What are those straight lines for?  "XEmacs rules."
--------------------------------------------------------------------
Next Nomikai Meeting: February 18 (Fri) 19:00 Tengu TokyoEkiMae
Next Technical Meeting:  March 11 (Sat) 13:00 Temple University Japan
* Topic: TBD
--------------------------------------------------------------------
more info: http://www.tlug.gr.jp        Sponsor: Global Online Japan


Home | Main Index | Thread Index

Home Page Mailing List Linux and Japan TLUG Members Links