Closed paulgevers closed 1 year ago
@paulgevers Thanks for reporting this. I guess I just need to fight through this.
Thanks to you I learned about dogtail today. I really like how easy one can script GTK applications with it. Would you mind copying the script for upstream?
I can reproduce the
malloc_consolidate(): unaligned fastbin chunk detected
and at least one double free
searching for descendent of [menu | Help]: child with name="Quick Reference" (attempt 0)
Clicking on [menu item | Quick Reference]
raw click on Quick Reference [menu item | Quick Reference] at (461.0,62.5)
Mouse button 1 click at (461.0,62.5)
sleeping for 1.000000
free(): double free detected in tcache 2
Translation not found for "Help"
The double free is already present in 1.12 though, so no new problem. The unaligned fastbin chunk
though seems to be 1.14 specific.
Have to correct myself: the double free doesn't happen in 1.12. Didn't properly make install
before testing
Thanks to you I learned about dogtail today. I really like how easy one can script GTK applications with it. Would you mind copying the script for upstream?
No, I'm fine if you take everything. As noted in the script, I got most of it from josch
. I'll ask him too.
@paulgevers With 58ca297 I cannot reproduce the problem anymore. This should fix it.
As far as i'm concerned, feel free to take the code from https://salsa.debian.org/ci-team/autopkgtest-help/-/issues/6 and use it with whatever license most convenient to you. Since liferea is GPL2, that's probably the one you'd like to use because it makes the whole copyright mess easier. :)
If you want to add a copyright header, you can (but don't have to) use this:
Johannes Schauer Marin Rodrigues <josch@mister-muffin.de>
Thanks!
@josch I've added the script as src/tests/ui-test.py with GPLv2+later as this will make it easier to update to GPLv3 one day in a far future. I hope you don't mind.
@paulgevers With 58ca297 I cannot reproduce the problem anymore. This should fix it.
In a quick check, things seem to be fine now indeed.
@lwindolf thank you! I'm fine with GPL2+. I also see that you added my name. Don't forget though, that I only authored the version of the script that @paulgevers then modified, so paul also has copyright on it. :)
True, will update this!
I think the 1.14 branch is cursed :(.
I have added a
dogtail
based regression test to my Debian package [1]. I took 1.14.4, build it in the usual Debian way, installed the packages and ran the test on my system. It hang the system around the time it tried to open theAbout
window. When I startedliferea
from the command line, I got this when I tried to do it manually. I think timing wise thekilled
part is probably my manually sendingsigkill
.I tried to run with
--debug-all
but that's a bit much (can send out-of-band). It ended with:[1] https://salsa.debian.org/debian/liferea/-/commit/083edf85a44eb8145296026d057f541e3035e723