From: Marcelo R. J. <mro...@us...> - 2013-11-14 17:15:29
|
This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Portable UPnP SDK". The branch, branch-1.6.x has been updated via 2211cc14e644db48d8ea8dac34b02d6dc7b8c3c7 (commit) from bf60dc06e060583d8befdb23df566b6a27b062f0 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 2211cc14e644db48d8ea8dac34b02d6dc7b8c3c7 Author: Marcelo Roberto Jimenez <mro...@us...> Date: Thu Nov 14 15:06:31 2013 -0200 Access violation due to changed usage of pthreads-win32 SF Bug Tracker #119, Creator: Klaus Fischer Dear libupnp developers, I have experienced a crash (access violation) when using libupnp on Windows. The crash is actually located in pthreads-win32 and happens when repeatedly de-/initializing libupnp on Win32 in the same process and both libupnp and pthreads-win32 are compiled as static libraries. So I'm doing this: - UpnpInit() - UpnpFinish() - UpnpInit() <- Crash I am already in touch with Ross Johnson on the pthreads-win32 mailing list regarding this issue: http://sourceware.org/ml/pthreads-win32/2013/msg00020.html He told me the problem is that the functions pthread_win32_process_attach/detach_np() should no longer be called directly, but are invoked automatically now since version 2.9.0 of pthreads-win32, which has been released approx. 1.5 years ago. Please refer to above link for in-depth information. So for proper using of latest pthreads-win32 library, those function calls should vanish inside libupnp. Could you consider adapting libupnp in that way? I would really like to use both libraries out-of-the-box without local modifications, and this issue prevents that. Best regards, Klaus ----------------------------------------------------------------------- Summary of changes: ChangeLog | 36 ++++++++++++++++++++++++++++++++++++ threadutil/inc/ithread.h | 8 -------- 2 files changed, 36 insertions(+), 8 deletions(-) hooks/post-receive -- Portable UPnP SDK |