Bug #769
IRC reconnect retries blow the stack
Status: | New | Start: | 10/13/2012 | |
Priority: | Urgent | Due date: | ||
Assigned to: | Mirco Bauer | % Done: | 0% |
|
Category: | Engine IRC | |||
Target version: | - | |||
Complexity: | Medium |
Found in Version: | ||
Votes: | 0 |
Description
When smuxi gets thrown off an IRC server it can't connect, it recurses. The IRC library has a recursion limit, but smuxi itself does not, which causes it to recurse endlessly until it either manages to connect or the runtime has to kill it because it overflows the stack.
History
Updated by Mirco Bauer 4400 days ago
- Priority changed from Normal to Urgent
- Target version set to 0.8.10.2
- Complexity set to Medium
Relevant portion of the log is:
Stack overflow in unmanaged: IP: 0x5b4a04, fault addr: 0x7f1c8c9ccef0 Unhandled Exception: System.StackOverflowException: The requested operation caused a stack overflow. at (wrapper managed-to-native) object:__icall_wrapper_mono_array_new_specific (intptr,int) at Db4objects.Db4o.Internal.PersistentBase.NewWriteBuffer (Int32 length) [0x00000] in /build/buildd/smuxi-0.8.11+git/lib/db4o-net/Db4objects.Db4o/Db4objects.Db4o/Internal/PersistentBase.cs:134 ... at Smuxi.Engine.Db4oMessageBuffer.Add (Smuxi.Engine.MessageModel item) [0x0004d] in /build/buildd/smuxi-0.8.11+git/src/Engine/MessageBuffers/Db4oMessageBuffer.cs:155 at Smuxi.Engine.Session.AddMessageToChat (Smuxi.Engine.ChatModel chat, Smuxi.Engine.MessageModel msg, Boolean ignoreFilters) [0x00057] in /build/buildd/smuxi-0.8.11+git/src/Engine/Session.cs:1072 at Smuxi.Engine.Session.AddMessageToChat (Smuxi.Engine.ChatModel chat, Smuxi.Engine.MessageModel msg) [0x00000] in /build/buildd/smuxi-0.8.11+git/src/Engine/Session.cs:1051 at (wrapper remoting-invoke-with-check) Smuxi.Engine.Session:AddMessageToChat (Smuxi.Engine.ChatModel,Smuxi.Engine.MessageModel) at Smuxi.Engine.IrcProtocolManager.OnAutoConnectError (System.Object sender, Meebey.SmartIrc4net.AutoConnectErrorEventArgs e) [0x00075] in /build/buildd/smuxi-0.8.11+git/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:3277 at Meebey.SmartIrc4net.IrcConnection.Connect (System.String[] addresslist, Int32 port) [0x00462] in /build/buildd/smuxi-0.8.11+git/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:730 at Meebey.SmartIrc4net.IrcConnection.Connect (System.String[] addresslist, Int32 port) [0x00498] in /build/buildd/smuxi-0.8.11+git/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:738 at Meebey.SmartIrc4net.IrcConnection.Connect (System.String[] addresslist, Int32 port) [0x00498] in /build/buildd/smuxi-0.8.11+git/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:738
Updated by Mirco Bauer 4182 days ago
- Target version changed from 0.8.10.2 to 0.8.11.1
Updated by Mirco Bauer 4088 days ago
- Target version changed from 0.8.11.1 to 0.10
Updated by Mirco Bauer 3991 days ago
- Target version deleted (
0.10)