Edgewall Software
Modify

Opened 15 months ago

Closed 3 weeks 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 ResourceWarning when tracd is killed by CTRL-C.

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 Jun Omae, 15 months ago

Milestone: 1.5.51.6.1

comment:2 by Jun Omae, 3 weeks ago

Owner: set to Jun Omae
Status: newassigned

comment:3 by Jun Omae, 3 weeks ago

Release Notes: modified (diff)
Resolution: fixed
Status: assignedclosed

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

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jun Omae.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jun Omae to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.