New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
0.12.7 causes stack overflow in as_pool_get_components #243
Comments
Very strange... I can not reproduce this at all here. |
openSUSE Tumbleweed
Worked fine (otherwise there wouldn't be a cache, I guess?)
Worked fine as well.
If there's anything I can do to help debugging, please tell. |
My attempts to reproduce this on my Debian machine have failed, so I am installing openSUSE in a VM now to look into this issue. |
Yeah, the package summaries and descriptions are usually written once and then never adjusted again... Fix pushed to the devel project, I'll submit to Tumbleweed once a fix for the crash is available ;-) |
Installation of openSUSE Tumbleweed looks great visually, but took 3 (!) hours using only default settings, 3GB RAM and 4 CPU cores in the VM (btrfs is default on openSUSE, apparently...). |
So, the culprit was this:
A component, that has itself as addon. This is a validator issue already, but I think I will need to make this an even harder validation error, because this is clearly wrong and not intended. At the same time, this issue shouldn't send libappstream into an infinite recursion, so I fixed that in the patch below. P.S: Looking at https://build.opensuse.org/package/view_file/openSUSE:Factory/AppStream/AppStream.spec?expand=1 , aside from changing the description to not mention Xapian ( |
That sounds like something is really wrong with your setup - openQA uses VMs with a single CPU core and 1.5GiB of RAM and a default install + KDE and the installation from starting QEMU, entering settings and taking some detours for extracting logs takes 20 minutes: https://openqa.opensuse.org/tests/994165#step/await_install/1
Yup, I'll do some needed spec file cleanup...
In most cases the .spec taken from upstream can't be used as-is as each distro has different package names and packaging policies, so such .spec files are mostly just used for the initial packaging task.
Ouch. I filed an issue: lbellonda/qxmledit#63
Thanks for the quick response and fix! I can confirm that it works fine with git master now. |
I added a few more changes to protect against all cases of circular references (775e7e5) and extended the validator to actually find these obvious cases and complain about them (6ed447d). This should help developers to find those mistakes easily. If everything goes well, there will be a new release this week containing all the changes. |
After updating to 0.12.7, discover crashes reliably on startup.
Bisected to fa94ac0.
Appears to be a stack overflow:
The text was updated successfully, but these errors were encountered: