Modify ↓
Opened 3 years ago
Closed 19 months ago
#13563 closed defect (fixed)
ResourceWarning raised when tracd is killed by CTRL-C (SIGINT)
| Reported by: | Jun Omae | Owned by: | Jun Omae |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.6.1 |
| Component: | web frontend/tracd | Version: | 1.5.3 |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: |
Fixed |
||
| API Changes: | |||
| Internal Changes: | |||
Description
ResourceWarning raised when tracd is killed by CTRL-C, however not raised when killed by SIGTERM.
$ python -Wdefault trac/web/standalone.py -p 3000 /var/trac/1.5-sqlite
Server starting in PID 184511.
Serving on 0.0.0.0:3000 view at http://127.0.0.1:3000/
Using HTTP/1.1 protocol version
^Ctrac/web/standalone.py:385: ResourceWarning: unclosed <socket.socket fd=3, family=AddressFamily.AF_INET, type=SocketKind.SOCK_STREAM, proto=0, laddr=('0.0.0.0', 3000)>
pass
ResourceWarning: Enable tracemalloc to get the object allocation traceback
Attachments (0)
Change History (3)
comment:1 by , 3 years ago
| Milestone: | 1.5.5 → 1.6.1 |
|---|
comment:2 by , 19 months ago
| Owner: | set to |
|---|---|
| Status: | new → assigned |
comment:3 by , 19 months ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | assigned → closed |
Note:
See TracTickets
for help on using tickets.



Fixed in [17782] and merged in [17783].