]>
Commit | Line | Data |
---|---|---|
3bd189cb JR |
1 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN"> |
2 | <HTML> | |
3 | <HEAD> | |
4 | <TITLE> [IRCServices Coding] A bug in 5.0.28 ? | |
5 | </TITLE> | |
6 | <LINK REL="Index" HREF="index.html" > | |
7 | <LINK REL="made" HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20A%20bug%20in%205.0.28%20%3F&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="003027.html"> | |
11 | <LINK REL="Next" HREF="002993.html"> | |
12 | </HEAD> | |
13 | <BODY BGCOLOR="#ffffff"> | |
14 | <H1>[IRCServices Coding] A bug in 5.0.28 ?</H1> | |
15 | <B>CyberDems</B> | |
16 | <A HREF="mailto:ircservices-coding%40ircservices.za.net?Subject=%5BIRCServices%20Coding%5D%20A%20bug%20in%205.0.28%20%3F&In-Reply-To=" | |
17 | TITLE="[IRCServices Coding] A bug in 5.0.28 ?">cyberdems at cyberdems.za.net | |
18 | </A><BR> | |
19 | <I>Sun Mar 7 06:31:51 PST 2004</I> | |
20 | <P><UL> | |
21 | <LI>Previous message: <A HREF="003027.html">[IRCServices Coding] Unreal and akill excludes | |
22 | </A></li> | |
23 | <LI>Next message: <A HREF="002993.html">[IRCServices Coding] RE: A bug in 5.0.28 ? | |
24 | </A></li> | |
25 | <LI> <B>Messages sorted by:</B> | |
26 | <a href="date.html#2992">[ date ]</a> | |
27 | <a href="thread.html#2992">[ thread ]</a> | |
28 | <a href="subject.html#2992">[ subject ]</a> | |
29 | <a href="author.html#2992">[ author ]</a> | |
30 | </LI> | |
31 | </UL> | |
32 | <HR> | |
33 | <!--beginarticle--> | |
34 | <PRE>according to -debug -nofork: | |
35 | [Feb 27 18:38:36.683142 2004] debug: Sent: :services.rsachat.za.net PONG | |
36 | services.rsachat.za.net irc.rsachat.za.net | |
37 | [Feb 27 18:38:45.607328 2004] debug: Received: :irc.rsachat.za.net SJOIN | |
38 | 1077899924 1077899924 #chat + :@CyberDems | |
39 | [Feb 27 18:38:45.607453 2004] protocol/rsachat: debug: CyberDems SJOINs | |
40 | #chat | |
41 | [Feb 27 18:38:45.607522 2004] debug: Creating channel #chat | |
42 | [Feb 27 18:38:45.607601 2004] debug: Sent: :services.rsachat.za.net SJOIN | |
43 | 1077889282 #chat + :@CyberDems | |
44 | [Feb 27 18:38:45.607654 2004] debug: Sent: :services.rsachat.za.net MODE | |
45 | #chat +o :CyberDems | |
46 | Segmentation fault (core dumped) | |
47 | bash$ | |
48 | ||
49 | bash$ ./ircservices | |
50 | Initialization successful, starting IRC Services. | |
51 | bash$ cat data/ircservices.log | |
52 | [Feb 12 18:15:03 2004] IRC Services 5.0.28+rsachat(r1) starting up | |
53 | [Feb 12 18:15:03 2004] unknown message from server (:irc.rsachat.za.net 451 | |
54 | PING :Register first.) | |
55 | [Feb 12 18:15:03 2004] user: New maximum user count: 1 | |
56 | [Feb 12 18:15:03 2004] protocol/rsachat: irc.rsachat.za.net | |
57 | [Feb 12 18:15:03 2004] PANIC! signal 11, buffer = :irc.rsachat.za.net SJOIN | |
58 | 0 0 #chat +tnr :@CyberDems | |
59 | [Feb 12 18:15:03 2004] Services terminating: Segmentation fault | |
60 | [Feb 12 18:15:03 2004] FATAL: Caught signal 11 (Segmentation fault) while | |
61 | shutting down | |
62 | bash$ | |
63 | ||
64 | anyone have the slightest clue what this means? | |
65 | commenting out do_sjoin(source, ac, av); under the "void m_sjoin" | |
66 | section of the protocol's .c file causes the segfaulting to stop (but that | |
67 | obviously causes chanserv to stop detecting users joining the channel), | |
68 | meaning its got something to do with that? the protocol file worked | |
69 | perfectly on version 5.0.23. | |
70 | I also noted how it only causes problems on registered channels that have | |
71 | had a topic set on them.. joining other registered channels doesnt cause the | |
72 | segfault. | |
73 | ||
74 | It probably has something to do with the change from | |
75 | set_topic(c, topic, u->nick, now); | |
76 | to | |
77 | set_topic(s_ChanServ, c, topic, u->nick, now); | |
78 | under | |
79 | static void do_cstopic(User *u) in modules/chanserv/main.c, | |
80 | because when i commented that out, it stopped the segfaults, but obviously | |
81 | didnt set the topics, even when KEEPTOPIC was enabled. | |
82 | ||
83 | Help would be great. | |
84 | ||
85 | Dimitri Pappas | |
86 | irc.rsachat.za.net Admin/Founder | |
87 | ||
88 | ||
89 | ||
90 | </PRE> | |
91 | ||
92 | <!--endarticle--> | |
93 | <HR> | |
94 | <P><UL> | |
95 | <!--threads--> | |
96 | <LI>Previous message: <A HREF="003027.html">[IRCServices Coding] Unreal and akill excludes | |
97 | </A></li> | |
98 | <LI>Next message: <A HREF="002993.html">[IRCServices Coding] RE: A bug in 5.0.28 ? | |
99 | </A></li> | |
100 | <LI> <B>Messages sorted by:</B> | |
101 | <a href="date.html#2992">[ date ]</a> | |
102 | <a href="thread.html#2992">[ thread ]</a> | |
103 | <a href="subject.html#2992">[ subject ]</a> | |
104 | <a href="author.html#2992">[ author ]</a> | |
105 | </LI> | |
106 | </UL> | |
107 | ||
108 | </body></html> |