[opensuse-buildservice] osc segfault
Hello everyone, I was trying to push an update to a package of mine but `osc ci` gives me a segfault which I am not sure how to debug. I am on Arch and I have the tools from the OBS tools official repo. -- Giovanni Santini My blog: http://giovannisantini.tk My code: https://git{hub,lab}.com/ItachiSan My GPG: 2FADEBF5 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Mai 08 2018, Giovanni Santini
I was trying to push an update to a package of mine but `osc ci` gives me a segfault which I am not sure how to debug.
I am on Arch and I have the tools from the OBS tools official repo.
If osc (a pure python app) crashes that looks like a python bug and should probably be reported to its Arch maintainer. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On Tue, May 08, 2018 at 07:48:14PM +0200, Andreas Schwab wrote:
On Mai 08 2018, Giovanni Santini
wrote: I was trying to push an update to a package of mine but `osc ci` gives me a segfault which I am not sure how to debug.
I am on Arch and I have the tools from the OBS tools official repo.
If osc (a pure python app) crashes that looks like a python bug and should probably be reported to its Arch maintainer.
Hi, This is something I also hit on Archlinux. The problem is in python2-m2crypto. You can downgrade python2-m2crypto from 0.30.1-1 to 0.29.0-1 temporarily to work around the problem. I filled a bug upstream at: https://bugs.archlinux.org/task/58503 python2-crypto has some stability issues lately, it's not the first incident. Cheers Andreas BTW: What are the plans to migrate osc to Python 3 as Python 2 support will end somewhere in 2020 (maybe, for sure, now). :-) -- Andreas Baumann Trottenstrasse 20 CH-8037 Zuerich Telefon: +41(0)76/373 01 29 E-mail: mail@andreasbaumann.cc Homepage: www.andreasbaumann.cc
Andreas.
-- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1 "And now for something completely different." -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2018-05-08 21:00:59 +0200, Andreas Baumann wrote:
On Tue, May 08, 2018 at 07:48:14PM +0200, Andreas Schwab wrote:
On Mai 08 2018, Giovanni Santini
wrote: I was trying to push an update to a package of mine but `osc ci` gives me a segfault which I am not sure how to debug.
I am on Arch and I have the tools from the OBS tools official repo.
If osc (a pure python app) crashes that looks like a python bug and should probably be reported to its Arch maintainer.
This is something I also hit on Archlinux. The problem is in python2-m2crypto.
You can downgrade python2-m2crypto from 0.30.1-1 to 0.29.0-1 temporarily to work around the problem.
I filled a bug upstream at:
No, this is an osc issue. You hit this bug, because: - M2Crypto 0.30 got a bug fix [1] - OpenSSL_1_1_0h introduced a bug (commit 8e405776858 [2]) (which is fixed in the meantime (commit c4fa1f7fc01 [3]) - osc's ssl session handling code was always "broken" (however, to trigger this bug, osc has to do "a lot" of https requests for more than 2 hours) (for the details see commit b730f88 [4])
BTW: What are the plans to migrate osc to Python 3 as Python 2 support will end somewhere in 2020 (maybe, for sure, now). :-)
Yes, Marco is working on it (CCed). If you want to give it a try, there are also packages around (AFAIK, but Marco knows the details:) ) Marcus [1] https://gitlab.com/m2crypto/m2crypto/commit/f749f85db5a61ad4ee0a83d9424cc856... [2] https://github.com/openssl/openssl/commit/8e405776858 [3] https://github.com/openssl/openssl/commit/c4fa1f7fc01 [4] https://github.com/openSUSE/osc/commit/b730f88 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
Il 08/05/2018 21:36, Marcus Hüwe ha scritto:
On 2018-05-08 21:00:59 +0200, Andreas Baumann wrote:
...
No, this is an osc issue. You hit this bug, because: - M2Crypto 0.30 got a bug fix [1] - OpenSSL_1_1_0h introduced a bug (commit 8e405776858 [2]) (which is fixed in the meantime (commit c4fa1f7fc01 [3]) - osc's ssl session handling code was always "broken" (however, to trigger this bug, osc has to do "a lot" of https requests for more than 2 hours) (for the details see commit b730f88 [4]) ...
Good evening, Thanks for the super detailed explanation :) Suggestions for that? My main idea is of downgrading `python-m2crypto` meanwhile and re-update it whenever the fixed `osc` get out :) -- Giovanni Santini My blog: http://giovannisantini.tk My code: https://git{hub,lab}.com/ItachiSan My GPG: 2FADEBF5 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2018-05-08 22:28:46 +0200, Giovanni Santini wrote:
Il 08/05/2018 21:36, Marcus Hüwe ha scritto:
On 2018-05-08 21:00:59 +0200, Andreas Baumann wrote:
...
No, this is an osc issue. You hit this bug, because: - M2Crypto 0.30 got a bug fix [1] - OpenSSL_1_1_0h introduced a bug (commit 8e405776858 [2]) (which is fixed in the meantime (commit c4fa1f7fc01 [3]) - osc's ssl session handling code was always "broken" (however, to trigger this bug, osc has to do "a lot" of https requests for more than 2 hours) (for the details see commit b730f88 [4]) ...
Suggestions for that? My main idea is of downgrading `python-m2crypto` meanwhile and re-update it whenever the fixed `osc` get out :)
Actually, we should do a new osc release, but we cannot ship an updated osc package for Arch, because Arch no longer provides an urlgrabber package. Fortunately, there is a PR [1] to get rid of the python-urlgrabber dependency (a review for this PR is on my TODO...). In the meantime, downgrading python2-m2crypto is probably the easiest workaround... Marcus [1] https://github.com/openSUSE/osc/pull/410 -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
On 2018-05-08 19:05:53 +0200, Giovanni Santini wrote:
I was trying to push an update to a package of mine but `osc ci` gives me a segfault which I am not sure how to debug.
Hmm that's a quite sparse bug report:) You probably hit #398 for which I pushed a "fix"/"workaround" today (see commit b730f88 ("Disable ssl session resumption") [2]). Marcus [1] https://github.com/openSUSE/osc/issues/398 [2] https://github.com/openSUSE/osc/commit/b730f880cfe85a8547f569355a21706f27ebf... -- To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-buildservice+owner@opensuse.org
participants (4)
-
Andreas Baumann
-
Andreas Schwab
-
Giovanni Santini
-
Marcus Hüwe