<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=Content-Type content="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 12 (filtered medium)">
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style>
<!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal>Hello,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>I am having an issue with services segfaulting on my
server. I can’t really gleen anything from the logs that would
point to something that is being done specifically at the time this
happens. There is nothing in the logs except the normal kind of things
going on right up until the services dies. My IRCops tell me that it has
happened to them on more than one occasion when manipulating the xOP lists on
various channels.<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Excerpt from the logs<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>[Nov 08 18:58:02 2007] PANIC! signal 11 (no buffer)<o:p></o:p></p>
<p class=MsoNormal>[Nov 08 18:58:02 2007] Services terminating: Segmentation fault<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Backtrace of core file:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Core was generated by `ircservices'.<o:p></o:p></p>
<p class=MsoNormal>Program terminated with signal 11, Segmentation fault.<o:p></o:p></p>
<p class=MsoNormal>Reading symbols from /lib/libm.so.3...done.<o:p></o:p></p>
<p class=MsoNormal>Loaded symbols for /lib/libm.so.3<o:p></o:p></p>
<p class=MsoNormal>Reading symbols from /lib/libcrypt.so.2...done.<o:p></o:p></p>
<p class=MsoNormal>Loaded symbols for /lib/libcrypt.so.2<o:p></o:p></p>
<p class=MsoNormal>Reading symbols from /lib/libc.so.5...done.<o:p></o:p></p>
<p class=MsoNormal>Loaded symbols for /lib/libc.so.5<o:p></o:p></p>
<p class=MsoNormal>Reading symbols from /libexec/ld-elf.so.1...done.<o:p></o:p></p>
<p class=MsoNormal>Loaded symbols for /libexec/ld-elf.so.1<o:p></o:p></p>
<p class=MsoNormal>#0 0x28183659 in strlen () from /lib/libc.so.5<o:p></o:p></p>
<p class=MsoNormal>(gdb) bt<o:p></o:p></p>
<p class=MsoNormal>#0 0x28183659 in strlen () from /lib/libc.so.5<o:p></o:p></p>
<p class=MsoNormal>#1 0x08073c2f in write_string (s=0x652a0036
<Address 0x652a0036 out of bounds>, f=0x84aa000) at
modules/database/fileutil.c:400<o:p></o:p></p>
<p class=MsoNormal>#2 0x080753a2 in write_records (ti=0x84a2fa0,
f=0x84aa000, recsize=60) at modules/database/standard.c:723<o:p></o:p></p>
<p class=MsoNormal>#3 0x08074d35 in standard_save_table (table=0x8127084)
at modules/database/standard.c:561<o:p></o:p></p>
<p class=MsoNormal>#4 0x0804f238 in save_all_dbtables () at
databases.c:174<o:p></o:p></p>
<p class=MsoNormal>#5 0x08055980 in save_data_now () at main.c:271<o:p></o:p></p>
<p class=MsoNormal>#6 0x08055b1e in main (ac=2, av=0xbfbfee80,
envp=0xbfbfee8c) at main.c:322<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>/quote version output:<o:p></o:p></p>
<p class=MsoNormal>Unreal3.2.7. irc1.midnight-torrents.com FhiXeOoZE [FreeBSD
ircd7.thehostbusters.com 5.4-RELEASE FreeBSD 5.4-RELEASE #0: Sat Apr 1
14:48:44 CST 2006
admin@ircd7.thehostbusters.com:/usr/src/sys/i386/compile/IRCD7 i386=2309]<o:p></o:p></p>
<p class=MsoNormal>-<o:p></o:p></p>
<p class=MsoNormal>[23:49] -irc1.midnight-torrents.com- OpenSSL 0.9.7e 25 Oct
2004<o:p></o:p></p>
<p class=MsoNormal>-<o:p></o:p></p>
<p class=MsoNormal>[23:49] -irc1.midnight-torrents.com- zlib 1.2.1<o:p></o:p></p>
<p class=MsoNormal>-<o:p></o:p></p>
<p class=MsoNormal>NAMESX SAFELIST HCN MAXCHANNELS=30 CHANLIMIT=#:30
MAXLIST=b:60,e:60,I:60 NICKLEN=30 CHANNELLEN=32 TOPICLEN=307 KICKLEN=307
AWAYLEN=307 MAXTARGETS=20 WALLCHOPS are supported by this server<o:p></o:p></p>
<p class=MsoNormal>WATCH=128 SILENCE=15 MODES=12 CHANTYPES=#
PREFIX=(qaohv)~&@%+ CHANMODES=beI,kfL,lj,psmntirRcOAQKVCuzNSMTG
NETWORK=Midnight-IRC CASEMAPPING=ascii EXTBAN=~,cqnr ELIST=MNUCT STATUSMSG=~&@%+
EXCEPTS INVEX are supported by this server<o:p></o:p></p>
<p class=MsoNormal>CMDS=KNOCK,MAP,DCCALLOW,USERIP are supported by this server<o:p></o:p></p>
<p class=MsoNormal>-<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Server fundimentals:<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>[wwtk@ircd7]/home/wwtk/ircservices-5.1.3(124): gcc -v<o:p></o:p></p>
<p class=MsoNormal>Using built-in specs.<o:p></o:p></p>
<p class=MsoNormal>Configured with: FreeBSD/i386 system compiler<o:p></o:p></p>
<p class=MsoNormal>Thread model: posix<o:p></o:p></p>
<p class=MsoNormal>gcc version 3.4.2 [FreeBSD] 20040728<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>[wwtk@ircd7]/home/wwtk/ircservices-5.1.3(125): gmake -v<o:p></o:p></p>
<p class=MsoNormal>GNU Make 3.80<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>IRC services version is 5.1.3<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>Thanks for taking the time to check my issue,<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal>WWTK<o:p></o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
<p class=MsoNormal><o:p> </o:p></p>
</div>
</body>
</html>