Author vstinner
Recipients vstinner, xdegaye
Date 2017-12-07.23:20:32
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> The fact that the TEMP directory is not clean already happens when running buildbottest natively with the standard Python Makefile (no one has noticed it yet I guess) and the directory contains a core file.

The root issue is likely the core file. I got a similar issue on FreeBSD when an unit test crashed on purpose but forgot to suppress crash report.

You should either find a way to disable the creation of core file when using faulthandler_suppress_crash_report() and/or SuppressCrashReport, or skip the test on Android.

I'm fine with skipped the test on Android, since the test currently uses faulthandler._sigsegv() which is already skipped on Android in test_faulthandler:

def skip_segfault_on_android(test):
    # Issue #32138: Raising SIGSEGV on Android may not cause a crash.
    return unittest.skipIf(is_android,
                           'raising SIGSEGV on Android is unreliable')(test)
Date User Action Args
2017-12-07 23:20:32vstinnersetrecipients: + vstinner, xdegaye
2017-12-07 23:20:32vstinnersetmessageid: <>
2017-12-07 23:20:32vstinnerlinkissue32246 messages
2017-12-07 23:20:32vstinnercreate