Author Topic: Jabber - crash  (Read 7927 times)

0 Members and 2 Guests are viewing this topic.

Offline Tomaso

  • Newbie
  • *
  • Posts: 45
  • Country: 00
Jabber - crash
« on: 14 02 2019, 22:14:11 »
I've just performed a clean install of the lastest stable Miranda NG build (v0.95.10.1 build 21391,x64).
When connecting, Jabber causes it to crash right away!
In my setup, Jabber is configured to connect to gTalk (gmail.com).

(Win8.1Pro,x64)

--

EDIT:
Crash report:

« Last Edit: 19 02 2019, 22:28:47 by Tomaso »
 

Offline ghazan

Re: Jabber - crash
« Reply #1 on: 15 02 2019, 14:30:58 »
Miranda crashes somewhere inside DNS API, dunno why.
If you have an antivirus or firewall, try to disable them and try again.
BTW, does it always crash in the same place?
 

Offline Tomaso

  • Newbie
  • *
  • Posts: 45
  • Country: 00
Re: Jabber - crash
« Reply #2 on: 15 02 2019, 15:33:53 »
It crashed immediately, when connecting, after startup.
It was not caused by my firewall, nor my antivirus program.

I tried to remove some DLLs from Miranda NG's 'Plugins' directory, one by one..
If removing a certain DLL didn't help, I put it back into place, and proceded to remove another one istead.
The crashes stopped Immediately, once I removed 'Jabber.dll'!

Like I said, I've changed Jabber's default setting, so that it connects to gmail.com instead.
Don't know if this matters at all, because it has always worked just fine with older Miranda versions.

--

EDIT1:
OK, so this is actually the cause!
I used 'Database editor ++', just now, and changed Jabber's setting back to 'jabber.org'..
This fixed the crashes!!
So in conclusion; there's a serious compatibiliy problem in the latest stable Jabber protocol (v0.11.0.5), which prevents it from being used for gTalk (at least with the 64-bit build).

--

EDIT2:
My above conclusion was flawed.
Since I don't have an actual Jabber acount, I wouldn't know if the crashes occur when connecting to jabber.org.
I changed the configuration back to gmail.com now, and then used 'Startup status', to make sure that Jabber starts up in 'Offline' mode.
This also put an end to the crashes, as they only occur when connecting!

--

EDIT3:
OK, I've narrowed down the issue now, and it turned out to be somewhat embarrassing.. ::)
I had filled in my Usename/Password incorrectly.
Once I filled them in correctly, I was able to connect without any crashing!
So, at least, the bug turned out to be less severe than it first would seem.
But nevertheless, there is a bug present, since the program definitely shouldn't crash, simply due to some wrong username/password credentials!
« Last Edit: 15 02 2019, 16:07:24 by Tomaso »
 

Offline ghazan

Re: Jabber - crash
« Reply #3 on: 15 02 2019, 17:25:00 »
Tomaso,
so, to narrow the search area, have you used the predefined template for Gtalk? or you manually configured everything?
 

Offline Tomaso

  • Newbie
  • *
  • Posts: 45
  • Country: 00
Re: Jabber - crash
« Reply #4 on: 15 02 2019, 17:41:38 »
AFAIK, the only thing that is necessary (in order to use the Jabber protocol for GTalk), is to change 'Domain/Server' from "jabber.org" to "gmail.com".
At least, this is how I've always done it, and it seems to work just fine (except from the old, weird "bug" that causes some contacts always to appear as offline: https://forum.miranda-ng.org/index.php?topic=4115.msg13132#msg13132 ).
Are there any advantages to gain for GTalk, by configuring more preferences?
« Last Edit: 15 02 2019, 17:49:00 by Tomaso »
 

Offline ghazan

Re: Jabber - crash
« Reply #5 on: 20 02 2019, 21:18:29 »
Gtalk is a very bad XMPP implementation... so even the simpliest things could make the unpredictable result there
also many things are simply not supported
 

Offline Tomaso

  • Newbie
  • *
  • Posts: 45
  • Country: 00
Re: Jabber - crash
« Reply #6 on: 21 02 2019, 16:23:05 »
Well, to be honest, I don't know what else to use for Gtalk in Miranda NG, or even which "predefined template" you refer to.
 

Offline dartraiden

Re: Jabber - crash
« Reply #7 on: 21 02 2019, 17:17:44 »
predefined template = "Type" dropdown menu in Jabber settings (in account manager)
 

Offline ghazan

Re: Jabber - crash
« Reply #8 on: 21 02 2019, 17:18:24 »
I don't know what else to use for Gtalk in Miranda NG, or even which "predefined template" you refer to.
 

Offline Tomaso

  • Newbie
  • *
  • Posts: 45
  • Country: 00
Re: Jabber - crash
« Reply #9 on: 21 02 2019, 17:43:34 »
I've completely overlooked that.
Thanks for pointing it out! :)

I'm using the Gtalk template now, but I don't notice any difference.

Also, Miranda NG still crashes when connecting, if the wrong login credentials has been saved for the Jabber protocol.
 

Offline ghazan

Re: Jabber - crash
« Reply #10 on: 21 02 2019, 17:59:15 »
Miranda NG still crashes when connecting, if the wrong login credentials has been saved for the Jabber protocol.
with the same stack as you've already posted?
 

Offline Tomaso

  • Newbie
  • *
  • Posts: 45
  • Country: 00
Re: Jabber - crash
« Reply #11 on: 21 02 2019, 18:26:23 »
Sorry, I missed your Jabber commits @ GitHub.
I'll install the latest stable some time during this weekend, and report back here afterwards.
Thanks for all your work, ghazan!  :THUMBS UP:
 

Offline ghazan

Re: Jabber - crash
« Reply #12 on: 21 02 2019, 19:17:26 »
Tomaso,
if you mean commits into the dev version, you better stay on the stable one :)
no, I'm just curious if your Miranda crashes now in the same place with the original report
 

Offline Tomaso

  • Newbie
  • *
  • Posts: 45
  • Country: 00
Re: Jabber - crash
« Reply #13 on: 21 02 2019, 19:23:28 »
Yes, it crashes at the same process.
 

Offline ghazan

Re: Jabber - crash
« Reply #14 on: 26 03 2019, 14:43:39 »
Tomaso,
could you provide a test profile that crashes? without your personal data, of course