Date: Wed, 6 Jul 2011 06:32:56 GMT From: Gour <gour@atmarama.net> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/158679: django-1.3 segfaults with python built with non-huge stack Message-ID: <201107060632.p666WuFP040908@red.freebsd.org> Resent-Message-ID: <201107060640.p666e8ED083476@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201107060632.p666WuFP040908>