My favorites | Sign in
Project Logo
                
New issue | Search
for
| Advanced search | Search tips
Issue 395: Crash in IRC when sending a long message
1 person starred this issue and may be notified of changes. Back to list
 
Reported by Zarevucky.Jiri, Jun 08, 2009
Sorry, no time to fix it myself.. :)

2009/06/08 17:28:53 [ERROR] [GLibLogging.OnUnhandledException] Unhandled
exception in GLib event handler.
ArgumentOutOfRangeException: startIndex + length > this.length
Parameter name: length
  at System.String.Substring (Int32 startIndex, Int32 length) [0x00085] in
/home/jury/Plocha/mono/mono-2.4/mcs/class/corlib/System/String.cs:370 
  at Galaxium.Protocol.Irc.IrcProtocolHelper.SplitMessage (System.String
message, Int32 size) [0x00020] in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc/IrcProtocolHelper.cs:43

  at Galaxium.Protocol.Irc.IrcSession.SendMessage (System.String command,
System.String target, System.String message, Boolean checkLength) [0x00029]
in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc/IrcSession.cs:414

  at Galaxium.Protocol.Irc.IrcSession.SendMessage (System.String command,
System.String target, System.String message) [0x00000] in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc/IrcSession.cs:406

  at Galaxium.Protocol.Irc.IrcSession.SendMessage (System.String channel,
System.String message) [0x00000] in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc/IrcSession.cs:365

  at Galaxium.Protocol.Irc.IrcConversation.SendMessage (System.String
message) [0x00072] in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc/IrcConversation.cs:287

  at Galaxium.Protocol.Irc.GtkGui.IrcChatWidget.MessageEntryTextSubmitted
(System.Object sender, Galaxium.Gui.GtkGui.SubmitTextEventArgs args)
[0x000a5] in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc.Gtk/IrcChatWidget.cs:408

  at Galaxium.Gui.GtkGui.MessageEntryWidget.OnTextSubmitted
(Galaxium.Gui.GtkGui.SubmitTextEventArgs args) [0x0000b] in
/home/jury/Projects/galaxium/src/Galaxium.Gui.Gtk/Widgets/MessageEntryWidget.cs:570

  at Galaxium.Gui.GtkGui.MessageEntryWidget.OnKeyPressEvent (Gdk.EventKey
evnt) [0x00181] in
/home/jury/Projects/galaxium/src/Galaxium.Gui.Gtk/Widgets/MessageEntryWidget.cs:398

  at Gtk.Widget.keypressevent_cb (IntPtr widget, IntPtr evnt) [0x00000] 
2009/06/08 17:28:53 [FATAL] [MainWindow.<ExecuteEntryPoint>m__10] Uncaught
GLib exception.
ArgumentOutOfRangeException: startIndex + length > this.length
Parameter name: length
  at System.String.Substring (Int32 startIndex, Int32 length) [0x00085] in
/home/jury/Plocha/mono/mono-2.4/mcs/class/corlib/System/String.cs:370 
  at Galaxium.Protocol.Irc.IrcProtocolHelper.SplitMessage (System.String
message, Int32 size) [0x00020] in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc/IrcProtocolHelper.cs:43

  at Galaxium.Protocol.Irc.IrcSession.SendMessage (System.String command,
System.String target, System.String message, Boolean checkLength) [0x00029]
in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc/IrcSession.cs:414

  at Galaxium.Protocol.Irc.IrcSession.SendMessage (System.String command,
System.String target, System.String message) [0x00000] in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc/IrcSession.cs:406

  at Galaxium.Protocol.Irc.IrcSession.SendMessage (System.String channel,
System.String message) [0x00000] in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc/IrcSession.cs:365

  at Galaxium.Protocol.Irc.IrcConversation.SendMessage (System.String
message) [0x00072] in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc/IrcConversation.cs:287

  at Galaxium.Protocol.Irc.GtkGui.IrcChatWidget.MessageEntryTextSubmitted
(System.Object sender, Galaxium.Gui.GtkGui.SubmitTextEventArgs args)
[0x000a5] in
/home/jury/Projects/galaxium/src/Protocols/Galaxium.Protocol.Irc.Gtk/IrcChatWidget.cs:408

  at Galaxium.Gui.GtkGui.MessageEntryWidget.OnTextSubmitted
(Galaxium.Gui.GtkGui.SubmitTextEventArgs args) [0x0000b] in
/home/jury/Projects/galaxium/src/Galaxium.Gui.Gtk/Widgets/MessageEntryWidget.cs:570

  at Galaxium.Gui.GtkGui.MessageEntryWidget.OnKeyPressEvent (Gdk.EventKey
evnt) [0x00181] in
/home/jury/Projects/galaxium/src/Galaxium.Gui.Gtk/Widgets/MessageEntryWidget.cs:398

  at Gtk.Widget.keypressevent_cb (IntPtr widget, IntPtr evnt) [0x00000] 

Comment 1 by draekz, Jun 10, 2009
Wonderful, I thought I cleared that up. I will fix it later tonight if I can get time.

You were using the IRC protocol! WICKED! :D

Labels: Milestone-0.8 Component-Gui Component-Irc
Sign in to add a comment

Hosted by Google Code