Posted: Wed May 24, 2006 5:28 pm Post subject: AOS Tooltip crash [all core versions]
With every core version I've tested, our tooltip hook crashes POL... I can't figure exactly where is the problem, but I've saved some crash dumps (generated with 2005-05-09b core) to attach here...
If someone remember, I've this problem on yahoo group on past December... and it still torment our dreams!
We love tooltips, but we can't use them on our shard!
Someone can help us?
P.S.: anyone here has a full working tooltip hook?
Author
Message
MuadDib POL Developer
Joined: 13 Feb 2006 Posts: 830 Location: Indiana, USA
Posted: Wed May 24, 2006 5:54 pm Post subject:
What is it you are using your tooltip hook for? Tooltips are functional now (including notoriety) in the core.
Author
Message
Shinigami POL Core Developer
Joined: 30 Jan 2006 Posts: 292 Location: Germany, Bavaria
Posted: Wed May 24, 2006 6:01 pm Post subject:
please test with ... there is a PacketHook bugfix. maybe it will fix your problem?
Joined: 30 Jan 2006 Posts: 292 Location: Germany, Bavaria
Posted: Fri May 26, 2006 7:27 am Post subject:
as u posted somewhere, it will not crash everytime... so, it would help a lot if u could syslog the packet u'll send via hook so we can take a look... my own tests with your code doesn't crash.
Shinigami
Author
Message
MontuZ Distro Developer
Joined: 10 Feb 2006 Posts: 293 Location: Myrtle Beach, South Carolina
Posted: Fri May 26, 2006 12:38 pm Post subject:
I had the same problems you fellas had. If you SetUnicodeString nullterminator to 0 it'll crash the server.
Anyway, I've been working on it for a week and finally got it all working.
Ok we're merging our script with the one posted by Unreal, and in the first tests it seems to work well.. we'll up the result to the live shard to do a better stress-test and we'll report here...
Modifications made are about managing of SetUnicodeString(), setting strings size and minor adjustment of packet indexes.
If it will work, the problem were 90% in SetUnicodeString()
The strange thing is: how's possibile that a malformed packet show perfectly on client, but crashes POL?
@Shini: what syslog do you need? A print of packet before and after our hook? (the old, crashing script)
Author
Message
Shinigami POL Core Developer
Joined: 30 Jan 2006 Posts: 292 Location: Germany, Bavaria
Posted: Mon May 29, 2006 12:56 pm Post subject:
Unreal wrote:
If you SetUnicodeString nullterminator to 0 it'll crash the server.
can u post a working... erm crashing... example? I tried it but no crash...
Shinigami
Author
Message
Shinigami POL Core Developer
Joined: 30 Jan 2006 Posts: 292 Location: Germany, Bavaria
Posted: Mon Sep 18, 2006 7:30 am Post subject:
Developer Silver wrote:
The strange thing is: how's possibile that a malformed packet show perfectly on client, but crashes POL?
I should remember which Postings are interessting... that's why I HATE webforums... and would use NewsServer (nntp) if available - because u can decide what u've read...
anyway... the packet looks fine, yes... but something in internal packet-build structure will destruct stuff... ok, it's fixed in past 20060916 releases (pol096.4 & pol097)