Bug #755

avatar

Exception: Cannot be negative.Parameter name: length

Added by Christopher Halse Rogers 4309 days ago. Updated 4133 days ago.

Status:Closed Start:09/07/2012
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Engine IRC
Target version:0.8.10.2
Complexity:

Medium

Found in Version:

Votes: 0

Description

Exception Type:System.ArgumentOutOfRangeExceptionException Message:Cannot be negative.Parameter name: lengthException StackTrace:  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception

Smuxi died with this error when trying to send the message:
“

S????????o????????????,??????????? ?????????????h???????o???????w??????????????? ????????w??????????e???????????????l???????????????l????????? ??????d??????????o?????????????????e?????????s????? ??????????s??????????m??????????u??????????x???????????i?????????????? ????????????h?????????????????a?????????????????n?????????????d??????????l?????e???????????? ????????t??????????????h?????????????e????? ???????????m?????o?????r????????e?????????.???????????????.????????????.?????? ??????e?????????????s????????????o????????????????t???????e????r???????????i?????????????c???????????? ?????????U???????????n???????i??????????c???????o??????????????d??????e??????????????????????????

”

Full backtrace is
Exception Type:
System.ArgumentOutOfRangeException

Exception Message:
Cannot be negative.
Parameter name: length

Exception StackTrace:
  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00000] in <filename unknown>:0 

Exception.ToString():
System.ArgumentOutOfRangeException: Cannot be negative.
Parameter name: length

Server stack trace: 
  at System.String.Substring (Int32 startIndex, Int32 length) [0x00000] in <filename unknown>:0 
  at Smuxi.Engine.IrcProtocolManager.SplitMessage (System.String command, System.String target, System.String message) [0x0005f] in /build/buildd/smuxi-0.8.11+git/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:1383 
  at Smuxi.Engine.IrcProtocolManager.Command (Smuxi.Engine.CommandModel command) [0x005b0] in /build/buildd/smuxi-0.8.11+git/src/Engine-IRC/Protocols/Irc/IrcProtocolManager.cs:853 
  at (wrapper managed-to-native) System.Runtime.Remoting.RemotingServices:InternalExecute (System.Reflection.MethodBase,object,object[],object[]&)
  at System.Runtime.Remoting.RemotingServices.InternalExecuteMessage (System.MarshalByRefObject target, IMethodCallMessage reqMsg) [0x00000] in <filename unknown>:0 

Exception rethrown at [0]: 

  at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke (System.Runtime.Remoting.Proxies.RealProxy rp, IMessage msg, System.Exception& exc, System.Object[]& out_args) [0x00000] in <filename unknown>:0 

Associated revisions

Revision 153153feddd4e6322e184f745594cfcdb271f8fc
Added by Mirco Bauer 4133 days ago

[Engine-IRC] Split oversized lines with multi-byte characters correctly (closes: #755)

Revision 1dd11edcc6b675884157f206696bc47e78d86770
Added by Mirco Bauer 4133 days ago

[Engine-IRC] Split oversized lines with multi-byte characters correctly (closes: #755)

History

Updated by Christopher Halse Rogers 4309 days ago

avatar

Hm. It seems that redmine also doesn't much like the more insane parts of UTF-8. Let's try again:

H????????????o???????????????????w????????????? ????????w??????????e?????????l?????????l?????????? ????d?????????o???????????e?????????s??????????????????? ????S??????????m???????????????u????????????x????????????????i??????? ??????????????h??????????a??????????n?????d???????l????????????e?????????? ?????????t???????????????h?????????e?????????? ????m??????????o?????r?????????????e?????????????????.??????????.????????????.????????????? ??????e???????????s?????o???????????t???????????e??????????r????????????i???????c????????? ????????????p???????a???????r???t???????????s???????? ????o????????????????f??????? ????????????U?????????????n??????????????????i?????????c???????o??????d?????e???????????????????????????????????

If that doesn't work, then just feed ‘How well does Smuxi handle the more... esoteric parts of Unicode?’ into http://eeemo.net/

Updated by Mirco Bauer 4208 days ago

avatar
  • Category set to Engine IRC
  • Target version set to 0.8.10.2

Updated by Mirco Bauer 4133 days ago

avatar
  • Assigned to set to Mirco Bauer
  • Complexity set to Medium

Updated by Mirco Bauer 4133 days ago

avatar
  • Status changed from New to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF