• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

gevent / gevent / 2486
86%
master: 78%

Build:
Build:
LAST BUILD BRANCH: python-updates
DEFAULT BRANCH: master
Ran 13 Feb 2018 08:05PM UTC
Jobs 5
Files 66
Run time 32min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

pending completion
2486

push

travis-ci

jamadden
Fix test__core_timer.py by not destroying the default loop. D'oh!

Before I realized that was the root cause, I refactored to avoid
starting the hub greenlet *at all*, and that also fixed the problem.

The problem was that some versions of CPython using the libev-cext
loop (and only that one) would crash garbage collecting a
greenlet (presumably the hub greenlet, which was attached to a
destroyed loop):

0   libsystem_kernel.dylib        	0x00007fff66455e3e __pthread_kill + 10
1   libsystem_pthread.dylib       	0x00007fff66594150 pthread_kill + 333
2   libsystem_c.dylib             	0x00007fff663648fe raise + 26
3   libsystem_platform.dylib      	0x00007fff66587f5a _sigtramp + 26
4   ???                           	000000000000000000 0 + 0
5   greenlet.cpython-35m-darwin.so	0x000000010d76b297 green_clear + 183
6   org.python.python             	0x000000010c707e0c collect + 1824
7   org.python.python             	0x000000010c7076e3 _PyGC_CollectNoFail + 43
8   org.python.python             	0x000000010c6e81d4 PyImport_Cleanup + 968
9   org.python.python             	0x000000010c6f1b49 Py_Finalize + 92
10  org.python.python             	0x000000010c6f20d5 Py_Exit + 13
11  org.python.python             	0x000000010c6f4631 handle_system_exit + 320
12  org.python.python             	0x000000010c6f42a1 PyErr_PrintEx + 42

We should take a look at that and see if we can do something more graceful.

9014 of 10540 relevant lines covered (85.52%)

3.62 hits per line

Uncovered Existing Lines

Lines Coverage ∆ File
1
100.0
src/gevent/hub.py
1
100.0
src/gevent/resolver/dnspython.py
2
100.0
src/gevent/greenlet.py
2
100.0
src/gevent/resolver/ares.py
Jobs
ID Job ID Ran Files Coverage
2 2486.2 (TASK=test-pypy) 13 Feb 2018 08:07PM UTC 0
75.41
Travis Job 2486.2
3 2486.3 (TASK=test-py36) 13 Feb 2018 08:05PM UTC 0
72.69
Travis Job 2486.3
4 2486.4 (TASK=test-py37) 13 Feb 2018 08:37PM UTC 0
72.73
Travis Job 2486.4
7 2486.7 (TASK=test-py35) 13 Feb 2018 08:19PM UTC 0
72.51
Travis Job 2486.7
8 2486.8 (TASK=test-py34) 13 Feb 2018 08:18PM UTC 0
72.06
Travis Job 2486.8
Source Files on build 2486
Detailed source file information is not available for this build.
  • Back to Repo
  • Travis Build #2486
  • 4fae43f1 on github
  • Prev Build on config-issue1090 (#2484)
  • Next Build on config-issue1090 (#2488)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc