Hello,

you can find the long awaited mod_py for DSM freshly commited in trunk now. Even with some documentation.

Unfortunately, it is still unstable. IMO, PYLOCK (PyGILState_Ensure()/PyGILState_Release()) must be used, but this crashes immediately with:

 (gdb) bt
#0  0xb7ebebe5 in sem_post@@GLIBC_2.1 () from /lib/libpthread.so.0
#1 0xb7889b2b in PyThread_release_lock () from ../apps/dsm/mods/lib/mod_py.so #2 0xb7889b16 in PyThread_release_lock () from ../apps/dsm/mods/lib/mod_py.so
#3  0xb7861ccd in PyEval_ReleaseLock () from ../apps/dsm/mods/lib/mod_py.so
#4  0xb7861cb6 in PyEval_ReleaseLock () from ../apps/dsm/mods/lib/mod_py.so
#5 0xb78803e2 in PyThreadState_DeleteCurrent () from ../apps/dsm/mods/lib/mod_py.so

Maybe there are some Python cracks here, or at least someone with a little clue about Python, who can help?

Stefan

--
Stefan Sayer
VoIP Services

[email protected]
www.iptego.com

IPTEGO GmbH
Wittenbergplatz 1
10789 Berlin
Germany

Amtsgericht Charlottenburg, HRB 101010
Geschaeftsfuehrer: Alexander Hoffmann
_______________________________________________
Semsdev mailing list
[email protected]
http://lists.iptel.org/mailman/listinfo/semsdev

Reply via email to