This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: w32-shared-ptr.c assertion on Windows 7 with 2.6.4
Type: crash Stage: resolved
Components: None Versions: Python 2.6
process
Status: closed Resolution: not a bug
Dependencies: Superseder:
Assigned To: Nosy List: dmalcolm, loewis, nedbat
Priority: normal Keywords:

Created on 2010-03-09 19:37 by nedbat, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (8)
msg100739 - (view) Author: Ned Batchelder (nedbat) * (Python triager) Date: 2010-03-09 19:37
2.6.4 had been working fine for me.  Today, though, it will not stay up.  I run the Django development server on Windows 7, and 2.6.4 is repeatedly crashing on me:

This application has requested the Runtime to terminate it in an unusual way.
Please contact the application's support team for more information.
Validating models...
Assertion failed: w32_sharedptr->size == sizeof(W32_EH_SHARED), file ../../gcc-3.4.5/gcc/config/i386/w32-shared-ptr.c, line 247

I have no idea what's changed between yesterday and today.
msg100742 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010-03-09 20:24
Where did you get your copy of Python from?
msg100745 - (view) Author: Ned Batchelder (nedbat) * (Python triager) Date: 2010-03-09 20:30
I got it from python.org, the .msi Windows installer:

03/02/10 05:27:37p      14,890,496 \kit\python-2.6.4.msi
msg100747 - (view) Author: Ned Batchelder (nedbat) * (Python triager) Date: 2010-03-09 20:39
I tried rebooting my PC, but the problem persists.
msg100748 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010-03-09 20:41
That's very strange. I'm fairly certain there is no GCC code whatsoever in my Python msi distribution. So you must be picking up some other code. Are you sure you are not running a Cygwin copy of Python or some such?
msg100752 - (view) Author: Dave Malcolm (dmalcolm) (Python committer) Date: 2010-03-09 20:46
Perhaps this is an issue in a 3rd-party extension module?  (Given that you're running Django, do you have a 3rd-party database connection module?; the last message in the log is "Validating models", does that require Django to go to the db to get the schema?)

Caveat: I'm not familiar with the Windows msi build of Python, so I could be way off here.
msg100753 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2010-03-09 20:50
Dave: it's indeed entirely possible that this is caused by an extension module.
msg100755 - (view) Author: Ned Batchelder (nedbat) * (Python triager) Date: 2010-03-09 20:53
Yup, you're both right!

I had a C extension (for coverage.py) built for 2.5 in the 2.6 path.  Sorry for the false alarm.
History
Date User Action Args
2022-04-11 14:56:58adminsetgithub: 52348
2010-03-09 21:17:47r.david.murraysetpriority: normal
resolution: not a bug
stage: resolved
2010-03-09 20:53:38nedbatsetstatus: open -> closed

messages: + msg100755
2010-03-09 20:50:55loewissetmessages: + msg100753
2010-03-09 20:46:41dmalcolmsetnosy: + dmalcolm
messages: + msg100752
2010-03-09 20:41:06loewissetmessages: + msg100748
2010-03-09 20:39:37nedbatsetmessages: + msg100747
2010-03-09 20:30:21nedbatsetmessages: + msg100745
2010-03-09 20:24:08loewissetnosy: + loewis
messages: + msg100742
2010-03-09 19:37:09nedbatcreate