Edgewall Software
Modify

Opened 8 months ago

Last modified 7 months ago

#13563 new defect

ResourceWarning raised when tracd is killed by CTRL-C (SIGINT)

Reported by: Jun Omae Owned by:
Priority: normal Milestone: 1.6.1
Component: web frontend/tracd Version: 1.5.3
Severity: normal Keywords:
Cc: Branch:
Release Notes:
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 (1)

comment:1 by Jun Omae, 7 months ago

Milestone: 1.5.51.6.1

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The ticket will remain with no owner.
The ticket will be disowned.
as The resolution will be set. Next status will be 'closed'.
The owner will be changed from (none) to anonymous. Next status will be 'assigned'.

Add Comment


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