Http Upload Plugin for XEP-0363 crashing with files > 1 MB
Hello! When I try uploading a file that is bigger than 1 MB Gajim sometimes(but not always!) crashes :(
What is logged to serial console is:
Gdk:ERROR:gdkregion-generic.c:1110:miUnionNonO: assertion failed: (y1 \< y2)
Gdk:ERROR:gdkregion-generic.c:1110:miUnionNonO: assertion failed: (y1 \< y2)
[1] 9342 abort (core dumped) gajim
gajim 19,03s user 0,99s system 36% cpu 55,381 total
and output with -v flag:
19.09.2015 14:30:58 (D) gajim.plugin_system upload progress: 52.78 (1736704 of 3290163 bytes)
19.09.2015 14:30:58 (D) gajim.plugin_system upload progress: 53.03 (1744896 of 3290163 bytes)
*** Error in `python2': double free or corruption (fasttop): 0x00007fa3281318e0 ***
19.09.2015 14:30:58 (D) gajim.plugin_system upload progress: 53.28 (1753088 of 3290163 bytes)
**
Gdk:ERROR:gdkregion-generic.c:1114:miUnionNonO: assertion failed: (r->x1 \< r->x2)
[1] 13984 abort (core dumped) gajim -v
gajim -v 5,32s user 0,42s system 26% cpu 21,759 total
The server is running Prosody-0.10 with custom HttpUploadComponent component from siacs ( https://github.com/siacs/HttpUploadComponent ) behind a nginx proxy.
Uploading from Conversations does not result in any error, therefore I presume that it is Gajim's plugin at fault here.