Bug #1051

avatar

irc.gitter.im issue, duplicate nick in NAMES reply

Added by Mirco Bauer 3468 days ago. Updated 3468 days ago.

Status:Closed Start:05/03/2015
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Engine IRC
Target version:0.11.2
Complexity:

Low

Found in Version:

Votes: 0

Description

2015-05-03 22:17:11,143 [IrcProtocolManager (irc.gitter.im:6697) listener] DEBUG QUEUE - read: ":irc.gitter.im 353 meebey * #dotnet/corefx :PeterKneale mike-yan micdenny vansha dkholod iSynaptic nickvdyck nickvdyck thecoolpix nim terwer tthiery tomgilder fgreinacher carlosmunozrodriguez BrettLopez nojkhieppso silentnull JefStat shiftkey oneillci aliostad milizhang flagbug bigodera VigorFox psibernetic Ziya1995 taherchhabra Ujjwol 5bd3912c6662 ellismg bpschoch Happy-Dude hareshambaliya markusjohnsson Elsensee enricosada terenced tnt944445 berik" 
2015-05-03 22:17:11,143 [IrcProtocolManager (irc.gitter.im:6697) listener] DEBUG MESSAGEPARSER - IrcMessageData nick: '' ident: '' host: '' type: 'Name' from: 'irc.gitter.im' c
hannel: '#dotnet/corefx' message: 'PeterKneale mike-yan micdenny vansha dkholod iSynaptic nickvdyck nickvdyck thecoolpix nim terwer tthiery tomgilder fgreinacher carlosmunozrod
riguez BrettLopez nojkhieppso silentnull JefStat shiftkey oneillci aliostad milizhang flagbug bigodera VigorFox psibernetic Ziya1995 taherchhabra Ujjwol 5bd3912c6662 ellismg bp
schoch Happy-Dude hareshambaliya markusjohnsson Elsensee enricosada terenced tnt944445 berik' 
2015-05-03 22:17:11,149 [IrcProtocolManager (irc.gitter.im:6697) listener] ERROR Smuxi.Engine.IrcProtocolManager - _Run(): exception in _Listen() occurred!
System.ArgumentException: An element with the same key already exists in the dictionary.
  at System.Collections.Generic.Dictionary`2[System.String,Smuxi.Engine.PersonModel].Add (System.String key, Smuxi.Engine.PersonModel value) [0x00171] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:429 
  at Smuxi.Engine.IrcProtocolManager._OnNames (System.Object sender, Meebey.SmartIrc4net.NamesEventArgs e) [0x00000] in <filename unknown>:0 
  at Meebey.SmartIrc4net.IrcClient._Event_RPL_NAMREPLY (Meebey.SmartIrc4net.IrcMessageData ircdata) [0x00408] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcClient/IrcClient.cs:2816 
  at Meebey.SmartIrc4net.IrcClient._HandleEvents (Meebey.SmartIrc4net.IrcMessageData ircdata) [0x00349] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcClient/IrcClient.cs:1511 
  at Meebey.SmartIrc4net.IrcClient._Worker (System.Object sender, Meebey.SmartIrc4net.ReadLineEventArgs e) [0x00000] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcClient/IrcClient.cs:1169 
  at (wrapper delegate-invoke) Meebey.SmartIrc4net.ReadLineEventHandler:invoke_void__this___object_ReadLineEventArgs (object,Meebey.SmartIrc4net.ReadLineEventArgs)
  at (wrapper delegate-invoke) Meebey.SmartIrc4net.ReadLineEventHandler:invoke_void__this___object_ReadLineEventArgs (object,Meebey.SmartIrc4net.ReadLineEventArgs)
  at Meebey.SmartIrc4net.IrcConnection.ReadLine (Boolean blocking) [0x000bb] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:902 
  at Meebey.SmartIrc4net.IrcConnection.Listen (Boolean blocking) [0x0000b] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:841 
  at Meebey.SmartIrc4net.IrcConnection.Listen () [0x00000] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:855 
  at Smuxi.Engine.IrcProtocolManager._Listen () [0x00000] in <filename unknown>:0 

Associated revisions

Revision 83a609d02d2b5e961f146e72978b521c5d58be23
Added by Mirco Bauer 3468 days ago

Engine-IRC: tolerate duplicate nicks in RPL_NAMREPLY (closes: #1051)

irc.gitter.im sent duplicate nicks in RPL_NAMREPLY for some reason and triggered
an exception in Smuxi's IRC engine:

2015-05-03 22:17:11,149 [IrcProtocolManager (irc.gitter.im:6697) listener] ERROR Smuxi.Engine.IrcProtocolManager - _Run(): exception in _Listen() occurred!
System.ArgumentException: An element with the same key already exists in the dictionary.
at System.Collections.Generic.Dictionary`2[System.String,Smuxi.Engine.PersonModel].Add (System.String key, Smuxi.Engine.PersonModel value) [0x00171] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Collections.Generic/Dictionary.cs:429
at Smuxi.Engine.IrcProtocolManager._OnNames (System.Object sender, Meebey.SmartIrc4net.NamesEventArgs e) [0x00000] in &lt;filename unknown&gt;:0
at Meebey.SmartIrc4net.IrcClient._Event_RPL_NAMREPLY (Meebey.SmartIrc4net.IrcMessageData ircdata) [0x00408] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcClient/IrcClient.cs:2816
at Meebey.SmartIrc4net.IrcClient._HandleEvents (Meebey.SmartIrc4net.IrcMessageData ircdata) [0x00349] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcClient/IrcClient.cs:1511
at Meebey.SmartIrc4net.IrcClient._Worker (System.Object sender, Meebey.SmartIrc4net.ReadLineEventArgs e) [0x00000] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcClient/IrcClient.cs:1169
at (wrapper delegate-invoke) Meebey.SmartIrc4net.ReadLineEventHandler:invoke_void__this___object_ReadLineEventArgs (object,Meebey.SmartIrc4net.ReadLineEventArgs)
at (wrapper delegate-invoke) Meebey.SmartIrc4net.ReadLineEventHandler:invoke_void__this___object_ReadLineEventArgs (object,Meebey.SmartIrc4net.ReadLineEventArgs)
at Meebey.SmartIrc4net.IrcConnection.ReadLine (Boolean blocking) [0x000bb] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:902
at Meebey.SmartIrc4net.IrcConnection.Listen (Boolean blocking) [0x0000b] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:841
at Meebey.SmartIrc4net.IrcConnection.Listen () [0x00000] in /usr/local/src/smuxi-cloud/lib/SmartIrc4net/src/IrcConnection/IrcConnection.cs:855
at Smuxi.Engine.IrcProtocolManager._Listen () [0x00000] in &lt;filename unknown&gt;:0

History

Updated by Mirco Bauer 3468 days ago

avatar

nickvdyck is 2 times in the NAMES reply leading to an exception in Smuxi's IRC engine.

Updated by Mirco Bauer 3468 days ago

avatar
  • Target version changed from 1.0 to 0.11.2

Updated by Mirco Bauer 3468 days ago

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

Also available in: Atom PDF