]> jfr.im git - irc.git/blame - software/RELEASES/ircservices/achurch.org/services/lists/ircservices/2001/001405.html
init
[irc.git] / software / RELEASES / ircservices / achurch.org / services / lists / ircservices / 2001 / 001405.html
CommitLineData
3bd189cb
JR
1<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2<HTML>
3 <HEAD>
4 <TITLE> [IRCServices] Services 4.5pre6 released
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Services%204.5pre6%20released&In-Reply-To=3a87a2b8.75171%40prima-lan.net">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="001398.html">
11 <LINK REL="Next" HREF="001403.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices] Services 4.5pre6 released</H1>
15 <B>David Narayan</B>
16 <A HREF="mailto:ircservices%40ircservices.za.net?Subject=%5BIRCServices%5D%20Services%204.5pre6%20released&In-Reply-To=3a87a2b8.75171%40prima-lan.net"
17 TITLE="[IRCServices] Services 4.5pre6 released">jester at phrixus.net
18 </A><BR>
19 <I>Mon Feb 12 07:14:05 PST 2001</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="001398.html">[IRCServices] Services 4.5pre6 released
22</A></li>
23 <LI>Next message: <A HREF="001403.html">[IRCServices] ChanServ Disable.
24</A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#1405">[ date ]</a>
27 <a href="thread.html#1405">[ thread ]</a>
28 <a href="subject.html#1405">[ subject ]</a>
29 <a href="author.html#1405">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33<!--beginarticle-->
34<PRE>&gt;&gt;<i>Last time I tried using StatServ (with IRCServices 4.4.8 and
35</I>&gt;&gt;<i>DreamForge-based ircd), after a few netsplits and netbursts, Services
36</I>&gt;&gt;<i>would enter an infinite loop and stop responding. Has this been fixed
37</I>&gt;&gt;<i>for 4.5.0, or should I go back and try to do it again to find a fix for
38</I>&gt;&gt;<i>it?
39</I>&gt;<i>
40</I>&gt;<i> This may be fixed for pre6--I was never able to duplicate it
41</I>&gt;<i> myself, but
42</I>&gt;<i> I've fixed and cleaned up a lot of StatServ code for this release.
43</I>&gt;<i>
44</I>
45Using ircservices4.4.9 I was able to duplicate it. Granted much of
46the code may have changed between this version and 4.4.5 but using
47gdb indicates where services locks up.
48
49To lock it, I had a 3 server network (tested with unreal and df467)
50and I /squit'ed the two leafs from the hub. After the second leaf
51reconnected, services would not respond. Attaching gdb to the process
52indicates the following.
53
54--- gdb output ---
55Attaching to program: /usr/local/bin/services, Pid 10163
56Reading symbols from /lib/libnsl.so.1...done.
57Loaded symbols for /lib/libnsl.so.1
58Reading symbols from /lib/libresolv.so.2...done.
59Loaded symbols for /lib/libresolv.so.2
60Reading symbols from /lib/libc.so.6...done.
61Loaded symbols for /lib/libc.so.6
62Reading symbols from /lib/ld-linux.so.2...done.
63Loaded symbols for /lib/ld-linux.so.2
64Reading symbols from /lib/libnss_files.so.2...done.
65Loaded symbols for /lib/libnss_files.so.2
66Reading symbols from /lib/libnss_nisplus.so.2...done.
67Loaded symbols for /lib/libnss_nisplus.so.2
68Reading symbols from /lib/libnss_nis.so.2...done.
69Loaded symbols for /lib/libnss_nis.so.2
70stats_do_server (servername=0xbffff7b7 &quot;entropy2.phrixus.net&quot;,
71serverhub=0xbffff9f0 &quot;entropy.phrixus.net&quot;)
72 at statistics.c:598
73598 tmpserver = tmpserver-&gt;sibling;
74(gdb) list
75593 if (!server-&gt;hub-&gt;child) {
76594 server-&gt;hub-&gt;child = server;
77595 } else {
78596 tmpserver = server-&gt;hub-&gt;child;
79597 while (tmpserver-&gt;sibling)
80598 tmpserver = tmpserver-&gt;sibling;
81599 tmpserver-&gt;sibling = server;
82600 }
83601 }
84602 }
85(gdb) bt
86#0 stats_do_server (servername=0xbffff7b7 &quot;entropy2.phrixus.net&quot;,
87serverhub=0xbffff9f0 &quot;entropy.phrixus.net&quot;)
88 at statistics.c:598
89#1 0x806661f in do_server (source=0xbffff9f0 &quot;entropy.phrixus.net&quot;, ac=3,
90av=0x812db58) at servers.c:153
91#2 0x8066070 in process () at process.c:179
92#3 0x80598e1 in main (ac=1, av=0xbffffae4, envp=0xbffffaec) at main.c:274
93#4 0x40061f31 in __libc_start_main (main=0x80595e4 &lt;main&gt;, argc=1,
94ubp_av=0xbffffae4, init=0x8049028 &lt;_init&gt;,
95 fini=0x806b5ac &lt;_fini&gt;, rtld_fini=0x4000e274 &lt;_dl_fini&gt;,
96stack_end=0xbffffadc)
97 at ../sysdeps/generic/libc-start.c:129
98(gdb)
99
100Presumably this means that it is stuck in the while loop, since
101tmpserver-&gt;sibling is always &quot;true&quot;.
102
103-David
104
105--
106David Narayan
107<A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices">jester at phrixus.net</A>
108
109
110
111</PRE>
112
113<!--endarticle-->
114 <HR>
115 <P><UL>
116 <!--threads-->
117 <LI>Previous message: <A HREF="001398.html">[IRCServices] Services 4.5pre6 released
118</A></li>
119 <LI>Next message: <A HREF="001403.html">[IRCServices] ChanServ Disable.
120</A></li>
121 <LI> <B>Messages sorted by:</B>
122 <a href="date.html#1405">[ date ]</a>
123 <a href="thread.html#1405">[ thread ]</a>
124 <a href="subject.html#1405">[ subject ]</a>
125 <a href="author.html#1405">[ author ]</a>
126 </LI>
127 </UL>
128
129</body></html>