Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!usenet.blueworldhosting.com!feeder01.blueworldhosting.com!feeder.erje.net!1.eu.feeder.erje.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed4.news.xs4all.nl!xs4all!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.002 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'debugging': 0.07; 'properly.': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:process': 0.09; '\xe2\x80\x94': 0.09; 'django': 0.11; 'diagnostic': 0.16; 'dump': 0.16; 'dumps': 0.16; 'i\xe2\x80\x99m': 0.16; 'process?': 0.16; 'purposes?': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'runserver': 0.16; 'sidebar.': 0.16; 'subject:core': 0.16; 'wrote:': 0.18; 'header :User-Agent:1': 0.23; 'second': 0.26; 'header:X-Complaints-To:1': 0.27; 'header:In-Reply-To:1': 0.27; 'crash': 0.31; 'flags': 0.31; 'there.': 0.32; 'probably': 0.32; 'run': 0.32; 'entirely': 0.33; 'mac': 0.33; 'core': 0.34; 'subject:from': 0.34; 'something': 0.35; 'etc': 0.35; 'test': 0.35; 'there': 0.35; 'possible': 0.36; 'starting': 0.37; 'to:addr:python-list': 0.38; 'little': 0.38; 'sure': 0.39; 'to:addr:python.org': 0.39; 'received:org': 0.40; 'first': 0.61; 'received:109': 0.72; 'trick.': 0.84; 'wasn\xe2\x80\x99t': 0.84; 'colleague': 0.91 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Robin Becker Subject: Re: mac os core dump from detached process Date: Wed, 29 Apr 2015 11:51:41 +0100 References: <553DFF8E.6090607@chamonix.reportlab.co.uk> <1274A595-99D7-40E9-A18D-0B833B18320F@mac.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: 109.174.168.73 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.6.0 In-Reply-To: <1274A595-99D7-40E9-A18D-0B833B18320F@mac.com> X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 18 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1430304706 news.xs4all.nl 2951 [2001:888:2000:d::a6]:41733 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:89538 On 27/04/2015 11:29, Colin McPhail wrote: ........... >> >> Is it possible to get core dumps on the Mac for debugging purposes? Would the detached process inherit flags etc etc from the starting process? I know little about OS X/Mach. >> > > My first thought would be to run Applications -> Utilities -> Console and look for a crash report under ‘User Diagnostic Reports’ in the sidebar. I’m not entirely sure what my second thought would be if there wasn’t a report there. > > — CMcP > my colleague is suggesting ulimit -c unlimited in the terminal before starting the django runserver will probably do the trick. What I don't know is if the process started by a view that then detaches will inherit the flags and dump core properly. I have a mac test platform now and will attempt something myself. -- Robin Becker