When upgrading a stable system from dev-lang/python-2.7.14-r1 to 2.7.15 python scripts that used dev-python/mysql-python crashed with a segfault. Rebuilding mysql-python fixed that. Should this be done automatically when upgrading python?
Probably related to mysql-connector being installed.
dev-db/mysql-connector-c was installed, I didn't rebuild it though.
Did you only upgrade python or mysql/mariadb too?
I think we need more specific information about what changed on your system to break this.
I have experienced the same problem after having installed dev-db/mysql-connector-c required by mysql-5.6.40. This was the history of packages installation: $ qlop -l mysql-python | tail -n1 Sat Jan 13 20:10:15 2018 >>> dev-python/mysql-python-1.2.5-r1 $ qlop -l mysql-connector-c | tail -n1 Mon Sep 17 11:45:05 2018 >>> dev-db/mysql-connector-c-6.1.11-r1 $ qlop -l mysql | tail -n1 Mon Sep 17 11:47:58 2018 >>> dev-db/mysql-5.6.40-r2 $ qlop -l python| tail | tail -n1 Mon Sep 17 11:49:18 2018 >>> dev-lang/python-2.7.15 I got segfaults in python when using mysql-python module, the backtrace was pointing to a problem in mysql-connector-c. After manually emerging mysql-python the problem disappeared.