public inbox for gnats-devel@sourceware.org
 help / color / mirror / Atom feed
* gnatsd: Segmentation fault (closes telnet connection)
@ 2004-07-12  6:29 Michael Breen
  2004-08-01 15:47 ` Chad Walstrom
  0 siblings, 1 reply; 2+ messages in thread
From: Michael Breen @ 2004-07-12  6:29 UTC (permalink / raw)
  To: help-gnats

Regarding my message on the 10th,
the telnet connection is being closed because 
gnatsd crashes immediately whenever it's run:

$ telnet localhost 1529
Trying 127.0.0.1...
Connected to localhost.
Escape character is '^]'.
Connection closed by foreign host.
$

$ /usr/local/libexec/gnats/gnatsd
Segmentation fault
$

This happens for user gnats and for root.
(I suppose I didn't try this before because, e.g.,
query-pr seems to work OK and I assumed it was
something to with xinetd config or the like.)

GNATS version 4.0, Fedora Core 1, 2.6.5 kernel

I saw no errors in compiling or installing GNATS 
and I used the default options.

Has anyone any ideas?
Regards,
Michael



	
	
		
ALL-NEW Yahoo! Messenger - sooooo many all-new ways to express yourself http://uk.messenger.yahoo.com


_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: gnatsd: Segmentation fault (closes telnet connection)
  2004-07-12  6:29 gnatsd: Segmentation fault (closes telnet connection) Michael Breen
@ 2004-08-01 15:47 ` Chad Walstrom
  0 siblings, 0 replies; 2+ messages in thread
From: Chad Walstrom @ 2004-08-01 15:47 UTC (permalink / raw)
  To: help-gnats


[-- Attachment #1.1: Type: text/plain, Size: 846 bytes --]

Michael Breen wrote:
> $ /usr/local/libexec/gnats/gnatsd
> Segmentation fault

Can you run an strace of gnatsd?

  shell$ strace /usr/local/libexec/gnats/gnatsd 2>&1 | tee /tmp/gnatsd.strace

If that doesn't give you any hints, perhaps, try compiling gnatsd with
debugging symbols.  ("-g -Wall" in the CFLAGS environment variable),
then step through the application with gdb.

  shell$ CFLAGS="-g -Wall" ./configure --prefix=/usr/local ...

If you don't know how to use gdb, make a tarball of the core file and
your configuration files.  Post the URL for the tarball to the list or
send the tarball to my email address.  Please don't send large
attachments to the list if you can help it. ;-)

-- 
Chad Walstrom <chewie@wookimus.net>           http://www.wookimus.net/
           assert(expired(knowledge)); /* core dump */

[-- Attachment #1.2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

[-- Attachment #2: Type: text/plain, Size: 140 bytes --]

_______________________________________________
Help-gnats mailing list
Help-gnats@gnu.org
http://lists.gnu.org/mailman/listinfo/help-gnats

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2004-08-01 15:04 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-07-12  6:29 gnatsd: Segmentation fault (closes telnet connection) Michael Breen
2004-08-01 15:47 ` Chad Walstrom

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).