Strange:Dev Web server crash with a python.core dump after Admin page being refreshed exactly 16 times

20 views
Skip to first unread message

Stephen Cheng

unread,
Jun 1, 2008, 2:41:59 AM6/1/08
to Django users
Hi Guys

This is a very strange problem and I haven't resolved it. Dev Web
server just crash with a python.core dump and no exception log at all.

Problem occurs when you go around the Admin page, either refresh page,
add record, delete record. Now I can reproduce it by keeping refresh
the admin page exactly 16 times when just login to the admin home
page.

I found there seems to be a similar problem here:http://
code.djangoproject.com/ticket/2414, I follow the resolution: I
reinstall python with option :THREAD_STACK_SIZE=0x100000 but it didn't
help.

The environment is:

FreeBSD 7
python 2.5.2
django latest svn
Postgres 8.3

The site is a just a sample site following the django book charpter 6:
Admin page, I tested with data and droping all data in db, I have used
none of own template, all are from django contrib admin template page.

Any one experienced this? I really have no idea now. could somebody
advise what the problem really is?

Stephen

Karen Tracey

unread,
Jun 1, 2008, 10:32:13 AM6/1/08
to django...@googlegroups.com

I don't have any idea, but I notice that you are the second person in as many days to report a really weird problem on the FreeBSD 7/python 2.5.2 combination, see:

http://groups.google.com/group/django-users/browse_thread/thread/535a8f019a51e2cc#

Particularly in your case, it makes me suspicious there is something screwy with the Python on this platform.  Pure Python code (as Django is) should not be able to cause a core dump.

Karen

Stephen Cheng

unread,
Jun 1, 2008, 10:19:30 PM6/1/08
to Django users
Hi

I resolve the problem, but this was a long way to make it and so far i
am still not sure why and how it's been resolved.

What I did was as follow:

1. I doubt python version, then I uninstall python 2.5.1 and install
2.5.2,I actually use virtual python but this has nothing to do with
the problem. it doesn't resolve the problem.

2. Then I decide to see how's going with 2.4.3. I install 2.4.3 and
use vitrual python to link to real binary file, it's even worse,I
couldn't even start up the django shell or db shell. all of them dump
the python.core immediately.

3. I tried to install 2.5 and 2.4 both and use them separately, and I
have installed them for over 10 times again and again.

4. Suddenly when i switch back to use python2.5, and I tried as usual
to refresh admin page for 16 times and it passed and doesn't happen
again.

I have no idea what I have done or switched on during the process,
it's just working fine now :)

Hope this help some others.

On Jun 2, 12:32 am, "Karen Tracey" <kmtra...@gmail.com> wrote:
> On Sun, Jun 1, 2008 at 2:41 AM, Stephen Cheng <stephenchengm...@gmail.com>
> http://groups.google.com/group/django-users/browse_thread/thread/535a...
Reply all
Reply to author
Forward
0 new messages