]> jfr.im git - irc.git/blob - software/!RELEASES/ircservices/achurch.org/services/lists/ircservices-coding/2002/000337.html
RELEASE -> !RELEASE
[irc.git] / software / !RELEASES / ircservices / achurch.org / services / lists / ircservices-coding / 2002 / 000337.html
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
2 <HTML>
3 <HEAD>
4 <TITLE> [IRCServices Coding] Services 5.0a21: Odd log message
5 </TITLE>
6 <LINK REL="Index" HREF="index.html" >
7 <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Services%205.0a21%3A%20Odd%20log%20message&In-Reply-To=">
8 <META NAME="robots" CONTENT="index,nofollow">
9 <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
10 <LINK REL="Previous" HREF="000334.html">
11 <LINK REL="Next" HREF="000338.html">
12 </HEAD>
13 <BODY BGCOLOR="#ffffff">
14 <H1>[IRCServices Coding] Services 5.0a21: Odd log message</H1>
15 <B>Andrew Church</B>
16 <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20Services%205.0a21%3A%20Odd%20log%20message&In-Reply-To="
17 TITLE="[IRCServices Coding] Services 5.0a21: Odd log message">achurch at achurch.org
18 </A><BR>
19 <I>Tue Feb 26 16:42:26 PST 2002</I>
20 <P><UL>
21 <LI>Previous message: <A HREF="000334.html">[IRCServices Coding] Services 5.0a21 /cs akick bug
22 </A></li>
23 <LI>Next message: <A HREF="000338.html">[IRCServices Coding] SegFault
24 </A></li>
25 <LI> <B>Messages sorted by:</B>
26 <a href="date.html#337">[ date ]</a>
27 <a href="thread.html#337">[ thread ]</a>
28 <a href="subject.html#337">[ subject ]</a>
29 <a href="author.html#337">[ author ]</a>
30 </LI>
31 </UL>
32 <HR>
33 <!--beginarticle-->
34 <PRE>&gt;<i>I have included the previous entry in case it is relevant, but it is more
35 </I>&gt;<i>entry 2 that I wanted to mention since I assume it is indicative of a
36 </I>&gt;<i>problem:
37 </I>&gt;<i>
38 </I>&gt;<i>[Feb 19 23:02:06 2002] channel: MODE #vodatones -o for user tharok not on
39 </I>&gt;<i>channel
40 </I>&gt;<i>[Feb 19 23:03:24 2002] user: BUG (?) no channel record for tharok on
41 </I>&gt;<i>#vodatones (part)
42 </I>&gt;<i>
43 </I>&gt;<i>No more information I am afraid since I do not know where to look. If
44 </I>&gt;<i>nothing else, maybe some information on what the BUG &quot;status&quot; indicates
45 </I>&gt;<i>could help me try and get a reproducible case.
46 </I>
47 &quot;BUG&quot; indicates a situation that should never occur if the program is
48 correctly coded; for example, something like the following:
49
50 if (i &lt; 0 || i &gt; 3)
51 return -1;
52 switch (i) {
53 case 0: /* ... */ break;
54 case 1: /* ... */ break;
55 case 2: /* ... */ break;
56 default: log(&quot;BUG: impossible value for i (%d)&quot;, i); return -1;
57 }
58
59 In this case, it indicates that a PART message was received for a user who
60 was not recorded as being on the channel they were supposedly parting,
61 which means there's a bug in either Services or the ircds. (Most probably
62 this is a Services bug, but since it could potentially be caused by bad
63 messages from the uplink server this probably shouldn't be marked &quot;BUG&quot; as
64 the other BUG cases are.)
65
66 --Andrew Church
67 <A HREF="http://www.ircservices.za.net/mailman/listinfo/ircservices-coding">achurch at achurch.org</A>
68 <A HREF="http://achurch.org/">http://achurch.org/</A>
69
70 </PRE>
71
72 <!--endarticle-->
73 <HR>
74 <P><UL>
75 <!--threads-->
76 <LI>Previous message: <A HREF="000334.html">[IRCServices Coding] Services 5.0a21 /cs akick bug
77 </A></li>
78 <LI>Next message: <A HREF="000338.html">[IRCServices Coding] SegFault
79 </A></li>
80 <LI> <B>Messages sorted by:</B>
81 <a href="date.html#337">[ date ]</a>
82 <a href="thread.html#337">[ thread ]</a>
83 <a href="subject.html#337">[ subject ]</a>
84 <a href="author.html#337">[ author ]</a>
85 </LI>
86 </UL>
87
88 </body></html>