EionRobb / pidgin-opensteamworks

Steam plugin for Pidgin/libpurple
153 stars 5 forks source link

Pidgin crashes when steam client is started #169

Closed psukys closed 5 years ago

psukys commented 6 years ago

Steps to reproduce:

  1. Run pidgin
  2. Run steam
  3. Verify pidgin crashes
EionRobb commented 6 years ago

https://developer.pidgin.im/wiki/GetABacktrace

psukys commented 6 years ago

With debuginfo packages installed: pidgin-backtrace.log

EionRobb commented 6 years ago

That's really weird. The messaging stream is trying to process the steam id 103582791456010664, which isn't a valid id.

Are you also able to get a debug log by running pidgin with --debug just before the crash?

I'll add in some checks to make sure the steam id is valid before trying to process it, to help avoid this crash.

EionRobb commented 6 years ago

Ah ok, that id is for a clan, http://steamcommunity.com/gid/103582791456010664/ - but it shouldn't be triggering online/offline status updates. Hopefully the debug log will reveal more about what steam is sending us.

EionRobb commented 6 years ago

Can you try compiling with the fix in https://github.com/EionRobb/pidgin-opensteamworks/commit/a97ca27a224a3b619a47f18ba23dcf12bbf0a459 to see if it stops crashing?

psukys commented 6 years ago

@EionRobb I tried it out, seems that pidgin does not crash with a compiled a97ca27

EionRobb commented 6 years ago

That's good news 👍

Thanks for the update :)