Bug #856

avatar

NullReferenceExceptionException in GroupChatView.Populate()

Added by Noel Kuntze 4198 days ago. Updated 4167 days ago.

Status:Closed Start:06/25/2013
Priority:Normal Due date:
Assigned to:avatarMirco Bauer % Done:

100%

Category:Frontend GNOME
Target version:0.8.11.1
Complexity:

Low

Found in Version:

Votes: 0

Description

This happened just after I connected. I don't know exactly what caused it.
Smuxi version is 0.8.11.54.ga1b65be-1.

Exception Type:System.NullReferenceExceptionException Message:Object reference not set to an instance of an objectException StackTrace:  at Smuxi.Frontend.Gnome.GroupChatView.Populate () [0x0008b] in /tmp/pacaurtmp-thermi/smuxi-git/src/smuxi/src/Frontend-GNOME/Views/Chats/GroupChatView.cs:307   at Smuxi.Frontend.Gnome.ChatViewManager <OnChatSynced>c__AnonStorey1F.<>m__31 () [0x0007a] in /tmp/pacaurtmp-thermi/smuxi-git/src/smuxi/src/Frontend-GNOME/ChatViewManager.cs:326   at GLib.Idle IdleProxy.Handler () [0x00000] in <filename unknown>:0 

crash_befoire.png (46.9 KB) Noel Kuntze, 06/26/2013 05:48 PM

Associated revisions

Revision 106fb81ef695a03233a8facb2ae9a8accf0617db
Added by Mirco Bauer 4167 days ago

[Frontend-GNOME] Fixed potential NRE race in GroupChatView.Populate() (closes: #856)

History

Updated by Noel Kuntze 4197 days ago

avatar

I just had this crash again and Smuxi had this error 0,5 to 2 seconds before it crashed. It might therefore be related to the crash cause.

Updated by Noel Kuntze 4173 days ago

avatar

That issue was related to my hwclock not set to the correct time and my system using ntpd to keep the time. What caused the crash was, that after my system started, the system time was ~6-8 hours lagging behind the real time. When ntpd synchronized the system clock to the source, the time changed by that large amount and that somehow not only made smuxi fail, but also the watchdog of my system. I think you can close this ticket.

Updated by Mirco Bauer 4173 days ago

avatar

Thanks for the update. Even though your clock got screwed up, Smuxi shouldn't crash in this way. From the stack trace the crash happened when syncing a group chat. I will look into potentional race conditions.

Updated by Mirco Bauer 4173 days ago

avatar
  • Subject changed from Exception: Object reference not set to an instance of an object to NullReferenceExceptionException in GroupChatView.Populate()

Updated by Mirco Bauer 4167 days ago

avatar
  • Target version set to 0.8.11.1
  • Complexity set to Low

Updated by Mirco Bauer 4167 days ago

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

Also available in: Atom PDF