Please take our Survey
logo       

Choosing A Webhost:
A web hosting service is a type of Internet hosting service that allows individuals and organizations to provide their own website accessible via the World Wide Web. Web hosts are companies that provide space on a server they own for use by their clients as well as providing Internet connectivity, typically in a data center. Web hosts can also provide data center space and connectivity to the Internet for servers they do not own to be located in their data center, called colocation. more...

Re: spreadlogd 1.4.2, spread 3.16.2, FreeBSD 4.6-RELEASE: msg#00006

apache.mod-log-spread.user

Subject: Re: spreadlogd 1.4.2, spread 3.16.2, FreeBSD 4.6-RELEASE

I thought it was apache segfaulting, not spread. You need to gdb apache (httpd) not spread. I have one suspicion though - spread uses staticly sized vars for it's hostnames (MAX_PROC_NAME, 19 bytes + a null), and I think yours are too big. There may be some sloppy code in m_l_s allowing that buffer to be overun, I will poke around. That backtrace would be invaluable....

George

On Wednesday, September 4, 2002, at 08:18 PM, Mike Parson wrote:

On Wed, Sep 04, 2002 at 06:19:05PM -0400, George Schlossnagle wrote:
Can you start it up as

gdb /path/to/httpd

r -X

then when it segafults do a

bt full

and send the output?

gdb /usr/local/sbin/spread
GNU gdb 4.18 (FreeBSD)
Copyright 1998 Free Software Foundation, Inc.
GDB is free software, covered by the GNU General Public License, and you are
welcome to change it and/or distribute copies of it under certain conditions.
Type "show copying" to see the conditions.
There is absolutely no warranty for GDB. Type "show warranty" for details.
This GDB was configured as "i386-unknown-freebsd"...(no debugging symbols found)...
(gdb) run -c /usr/local/etc/spread.conf
Starting program: /usr/local/sbin/spread -c /usr/local/etc/spread.conf
/========================================================================
===\
| The Spread Toolkit. |
| Copyright (c) 1993-2001 Spread Concepts LLC |
| All rights reserved. |
| |
| The Spread toolkit is licensed under the Spread Open-Source License. |
| You may only use this software in compliance with the License. |
| A copy of the license can be found at http://www.spread.org/license |
| |
| This product uses software developed by Spread Concepts LLC for use |
| in the Spread toolkit. For more information about Spread, |
| see http://www.spread.org |
| |
| This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF |
| ANY KIND, either express or implied. |
| |
| Spread is developed at Spread Concepts LLC and the Center for Networking |
| and Distributed Systems, The Johns Hopkins University. |
| |
| Creators: |
| Yair Amir yairamir@xxxxxxxxxx |
| Michal Miskin-Amir michal@xxxxxxxxxxxxxxxxxx |
| Jonathan Stanton jonathan@xxxxxxxxxx |
| |
| Major Contributors: |
| Dan Schoenblum dansch@xxxxxxxxxxxx - Java Interface Developer. |
| John Schultz jschultz@xxxxxxxxxxxx - contribution to process group |
| membership. |
| Theo Schlossnagle theos@xxxxxxxxxxxx - Perl library and Skiplists |
| |
| Special thanks to the following for providing ideas and/or code: |
| Ken Birman, Danny Dolev, Mike Goodrich, Ben Laurie, |
| David Shaw, Robbert VanRenesse. |
| |
| For a full list of contributors, see Readme.txt in the distribution. |
| |
| WWW: www.spread.org www.cnds.jhu.edu www.spreadconcepts.com |
| Contact: spread@xxxxxxxxxx |
| |
| Version 3.16.02 Built 02/Apr/2002 |
\========================================================================
===/
ip_init: using file: /usr/local/etc/spread.access_ip
Conf_init: using file: /usr/local/etc/spread.conf
Successfully configured Segment 0 [208.187.213.63:4803] with 3 procs:
mysql2.freecommunityÃ: 208.187.213.32
web1.freecommunity.cÃ: 208.187.213.10
web2.freecommunity.cÃ: 208.187.213.31
Finished configuration file.
Conf_init: My name: mysql2.freecommunityÃ, id: 208.187.213.32, port: 4803
Spread: setugid and chroot successeful
Membership id is ( -792996576, 1031185006)
--------------------
Configuration at mysql2.freecommunityà is:
Num Segments 1
2 208.187.213.63 4803
mysql2.freecommunityà 208.187.213.32
web2.freecommunity.cà 208.187.213.31
====================
++++++++++++++++++++++
Num of groups: 0
(no debugging symbols found)...(no debugging symbols found)...
Program received signal SIGSEGV, Segmentation fault.
0x0 in ?? ()
(gdb) bt full
#0 0x0 in ?? ()
No symbol table info available.
(gdb)


--
Michael Parson
mparson@xxxxxx

_______________________________________________
mls-users mailing list
mls-users@xxxxxxxxxxxxxxxxxx
http://lists.backhand.org/mailman/listinfo/mls-users


// George Schlossnagle
// Principal Consultant
// OmniTI, Inc http://www.omniti.com
// (c) 240.460.5234 (e) george@xxxxxxxxxx
// 1024D/1100A5A0 1370 F70A 9365 96C9 2F5E 56C2 B2B9 262F 1100 A5A0


<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
version-control...    qnx.openqnx.dev...    redhat.rhn.user...    ietf.openpgp/20...    mail.mutt.user/...    web.microformat...    java.sync4j.use...    education.ezpro...    user-groups.blu...    solaris.manager...    org.fitug.debat...    technology.erps...    politics.activi...    linux.redhat.fe...    bug-tracking.ma...    xfce.user/2004-...    hams/2004-11/ms...    kde.users.pim/2...    culture.cooking...    freebsd.devel.x...    gnu.m4.adhoc/20...    ngpt.user/2002-...    apple.fink.deve...   
Home | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe

Navigation