#27766: runserver crashes because of auto-reloader (Py3 + PowerShell)
     Reporter:  oTree-org  |                    Owner:  nobody
         Type:  Bug        |                   Status:  closed
    Component:  Utilities  |                  Version:  1.10
     Severity:  Normal     |               Resolution:  needsinfo
     Keywords:             |             Triage Stage:  Unreviewed
    Has patch:  0          |      Needs documentation:  0
  Needs tests:  0          |  Patch needs improvement:  0
Easy pickings:  0          |                    UI/UX:  0
Description changed by oTree-org:

Old description:

> @urbanit: I think this may be related:
> https://youtrack.jetbrains.com/issue/PY-17069#comment=27-1804561&tab=Comments

New description:

 Repro steps:

 - Install Python 3.x (doesn't happen on 2.x)
 - Open Windows PowerShell (only happens with PowerShell, not CMD or bash)
 - `pip install django`
 - `django-admin startproject foobar`
 - `cd foobar`
 - `python manage.py runserver`

 This causes a Windows crash with a window that says: "Python has stopped
 working": http://imgur.com/dOt6eKE

 However, `python manage.py runserver --noreload` works fine, so it seems
 related to the auto-reloader.

 Here is the info from the Windows Event Viewer:

 Faulting application name: python.exe, version: 3.5.1150.1013
 Faulting module name: ucrtbase.dll, version: 10.0.14393.0
 Exception code: 0xc0000005
 Faulting module path: C:\WINDOWS\System32\ucrtbase.dll


 I have seen it happen with at least 5 people using Py3 & PowerShell, with
 Windows 8 or 10, and various PC models. (Though most people seem

 Occurs with Django 1.8/1.10 and Python 3.5/3.6, maybe others also.


Ticket URL: <https://code.djangoproject.com/ticket/27766#comment:7>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
For more options, visit https://groups.google.com/d/optout.

Reply via email to