ports/158679: django-1.3 segfaults with python built with non-huge stack

Gour gour at atmarama.net
Wed Jul 6 06:40:08 UTC 2011


>Number:         158679
>Category:       ports
>Synopsis:       django-1.3 segfaults with python built with non-huge stack
>Confidential:   no
>Severity:       serious
>Priority:       high
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jul 06 06:40:07 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Gour
>Release:        9.0
>Organization:
>Environment:
FreeBSD atmarama.noip.me 9.0-CURRENT FreeBSD 9.0-CURRENT #0: Wed May 18 08:00:48 CEST 2011     gour at atmarama.noip.me:/usr/obj/usr/src/sys/PCBSD  amd64
>Description:
Few days ago I started to play with django and noticed that the simple:

./manage.py runserver

exits whenever I try to visit the page in the browser.

I've reported bug to Django project https://code.djangoproject.com/ticket/16400 and then I tried with http://bugs.python.org/issue9812 and then the comment saying: "It seems that FreeBSD has a small stack size for threads (64k); did you try to increase it with thread.stack_size(10**6)?" led me to try re-build my python-2.7 with HUGE_STACK_SIZE which solved the problem.

So, my suggestion is to try it out and modify Django port to require HUGE_STACK_SIZE option enabled or something else...I'm not knowledgeable enough with neither Python nor Django to say more.


Sincerely,
Gour

>How-To-Repeat:
See https://code.djangoproject.com/ticket/16400
>Fix:
Django-1.3 require HUGE_STACK_SIZE-enabled Python.


>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list