[pywin32-bugs] [ pywin32-Bugs-3292681 ] adodbapi - Subtle crash
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2011-04-30 03:45:34
|
Bugs item #3292681, was opened at 2011-04-25 09:51 Message generated for change (Settings changed) made by kf7xm You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3292681&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: adodbapi Group: None >Status: Closed Resolution: Fixed Priority: 5 Private: No Submitted By: https://www.google.com/accounts () Assigned to: Vernon Cole (kf7xm) Summary: adodbapi - Subtle crash Initial Comment: There is a subtle crash that can occur related to time.sleep(>10) and adodbapi.connect() calls, the second time will crash, attached there is the simplest test case to crash it and various comments explaining the crash behavior test enviroement and stacktraces. i hope will be useful to find the right solution, i've only found a bad workarond, without calling adodbapi.close() the crash doesn't happens. thank you in advice ---------------------------------------------------------------------- Comment By: Vernon Cole (kf7xm) Date: 2011-04-29 21:43 Message: fixed by removing CoUninitialize() and removing reference to Dispatch structure after closing. ---------------------------------------------------------------------- Comment By: Vernon Cole (kf7xm) Date: 2011-04-28 11:44 Message: Crash duplicated on Windows Vista 32 bit with SQL Server (local). Does NOT crash in IronPython, indicating that this is probably a pywin32 error. Investigation continues. -- Vernon ---------------------------------------------------------------------- Comment By: https://www.google.com/accounts () Date: 2011-04-26 15:11 Message: The connection string needs sqlserver express installed on the machine, but the same happens also with oracle oledb provider, this are the two providers i've tested on, but could be the crash occurs with any provider ---------------------------------------------------------------------- Comment By: Mark Hammond (mhammond) Date: 2011-04-25 21:19 Message: I haven't had a chance to repro this yet as the connection string doesn't work on my dev box. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3292681&group_id=78018 |