Python Module Threading Issue
Gary Gwin
garygwin at gmail.com
Mon Aug 13 19:36:44 CEST 2018
I've attached radius.log, a simple example Python program, and the
mods-enabled configs for two instances:
mods-enabled/python1
mods-enabled/python2
that when invoked from the authorization sections of:
sites-enabled/default
sites-enabled/inner-tunnel
result in a freeradius server crash. This only happens for threaded tests,
for example:
./radperf -s -p 10 -D stats.out -f test-small.csv 127.0.0.1 auth testing123
The crash does not occur if the test client doesn't thread requests or if I
run
'freeradius -X' with console output.
Depending upon the execution, I see these fatal errors:
Fatal Python error: GC object already tracked
Fatal Python error: PyEval_SaveThread: NULL tstate
Thoughts?
Thanks,
Gary
-------------- next part --------------
A non-text attachment was scrubbed...
Name: radius.log
Type: application/octet-stream
Size: 27600 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20180813/447b8dfe/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python1
Type: application/octet-stream
Size: 162 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20180813/447b8dfe/attachment-0005.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: python2
Type: application/octet-stream
Size: 162 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20180813/447b8dfe/attachment-0006.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: rlm_example.py
Type: application/octet-stream
Size: 467 bytes
Desc: not available
URL: <http://lists.freeradius.org/pipermail/freeradius-users/attachments/20180813/447b8dfe/attachment-0007.obj>
More information about the Freeradius-Users
mailing list