weechat-xmpp icon indicating copy to clipboard operation
weechat-xmpp copied to clipboard

increase buffer size of xml buffer

Open Ckath opened this issue 5 months ago • 3 comments

would sometimes cause a malloc() unalligned tcache chunk detected not sure if new or me specific, also not sure how large the data gets here. in the past handling awful characters I've come to *3 every plain char things that may contain oddities

Ckath avatar Jul 21 '25 17:07 Ckath

it doesnt seem to fully fix it only improve how often it happens, pretty sure theres something fundamental going terrible with it. it always happens before you connect to your user fully when it just spews a bit of xml preemptively

Ckath avatar Jul 22 '25 15:07 Ckath

Is this a unicode issue do you think? Can always bring in icu or something

bqv avatar Jul 23 '25 09:07 bqv

not entirely sure yet I expected it when I first tried to get the plugin working at all but after running it for a while and seeing the cases it crashes I think it must be come other big thing that comes through the xml buffer and somehow manages to overwrite the memory limits of something. not even sure if its in that spot.

I'll just use it for a while with some memory santizers and see if anything comes up, probably best to just leave this sitting here until something is found or someone has a better cause

Ckath avatar Jul 23 '25 16:07 Ckath