Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #105311
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Larry Martell <larry.martell@gmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Re: script exits prematurely with no stderr output, but with system errors |
| Date | Sun, 20 Mar 2016 16:55:15 -0400 |
| Lines | 41 |
| Message-ID | <mailman.411.1458507363.12893.python-list@python.org> (permalink) |
| References | <CACwCsY4T5fJmPjuE7wDxJ+kzLtuxRZaw+zxW7Oo_KwjK+xAq2Q@mail.gmail.com> <CAPM-O+wykRfwe77oMG==pLvXdNCub5zBjU-9k7vqQBJx7xn6ug@mail.gmail.com> |
| Mime-Version | 1.0 |
| Content-Type | text/plain; charset=UTF-8 |
| X-Trace | news.uni-berlin.de l8EeCROYwhf1IsHVHUFH3Q13qXRy9+Tx7JH8McTFBLOA== |
| Return-Path | <larry.martell@gmail.com> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.000 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'received:209.85.223': 0.03; 'debug': 0.04; 'handler': 0.04; 'exception.': 0.07; 'executable': 0.07; 'stops': 0.07; 'before.': 0.09; 'exited': 0.09; 'failure.': 0.09; 'stdout': 0.09; 'subject:script': 0.09; 'unhandled': 0.09; 'python': 0.10; 'exception': 0.13; 'output': 0.13; "skip:' 30": 0.15; '2016': 0.16; 'cause.': 0.16; 'googling': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'stderr.': 0.16; 'traceback.': 0.16; 'wrote:': 0.16; 'looked': 0.16; 'memory': 0.17; 'to:name:python-list@python.org': 0.20; "skip:' 40": 0.22; 'trying': 0.22; 'seems': 0.23; 'this:': 0.23; 'header :In-Reply-To:1': 0.24; 'script': 0.25; "i've": 0.25; "doesn't": 0.26; 'linux': 0.26; 'least': 0.27; 'message-id:@mail.gmail.com': 0.27; 'idea': 0.28; "skip:' 10": 0.28; 'crash': 0.29; 'larry': 0.29; "skip:' 50": 0.29; 'skip:/ 40': 0.29; 'guess': 0.31; 'anyone': 0.32; "can't": 0.32; 'run': 0.33; 'problem': 0.33; 'usually': 0.33; 'belong': 0.33; 'errors,': 0.33; 'running': 0.34; 'server': 0.34; 'received:google.com': 0.35; 'saved': 0.35; 'something': 0.35; 'but': 0.36; 'there': 0.36; 'received:209.85': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'being': 0.37; 'release': 0.37; 'creation': 0.38; 'received:209': 0.38; 'delete': 0.38; 'anything': 0.38; 'why': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'day.': 0.63; 'mar': 0.65; 'today': 0.65; '20,': 0.66; 'saw': 0.77; 'joel': 0.91; 'on?': 0.91; 'subject:system': 0.91 |
| DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=EFL2pk2f/1/fdk9ilaV2CIDEqN4cExQlfh5PiYsQNKc=; b=JJpBIJzIK2q6alTXLuc+nrMkAqEArTeXCSHJpxW7x9guS64+ho8oL/2yz6/V69Zft5 WPRVtFGSXkA0NGnYboa4+ILwwrm1v55e22QdBWi+0g+pXbONMyzGiVLcW/JCE6GGXv/h B4xnZ6dW9BX6OJolnd/d/jIjtF1sY+t1PjP8XtYKxQRVXIPcPXBZbveRNbXORWMgzCAH O+hPJrsP5mgIpOYdT3b5t7LJCni1IIPwHTDaWkGtoKbqAmXRWK+HG+tW7ibL+quRZ1p3 TKTrDEZpG+XeorneSy643SevoAgnRZhrJcFOoEO7tWd1Qb1mpImsvm3qdkNrLUs1Pz6J riDg== |
| X-Google-DKIM-Signature | v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to; bh=EFL2pk2f/1/fdk9ilaV2CIDEqN4cExQlfh5PiYsQNKc=; b=e2BoPW03RAYZk+m/zB8qKIiIKGiujk8kx/9AfDP+T98pG3esmW30+JXmypUYvi5LZk 3VZYT76+w4lCytQOozIEzlxD/MNSAx6ELhrdsz7BCoe3o1L22KhFCDdLETaENWg8jMU8 L+izo36NhrS4vqMUTzzTWaWP3sO5XSRuKMcYBuGwY37htsBaYpK3DOFXRc9nhT8jR15r KOXYNG7snMGidLPFyOiSOVDUgexGjAtql/ecd+Sv5XvRRFsWwcG0iPSFKGyrWaADtNwz C4i/Dtp9sQQfaQ8FDFt/fgpPIHVpuoJZiaWDi96+hkpzYsyTjMIFmfM9zIQb4M3PGUJc CAew== |
| X-Gm-Message-State | AD7BkJKpOZCMr7euZaMRTj74KH6K1JbhzQQ1BQT1nZluqGdeZuJEyWJpBdtXcTzwMzvcgce+AFwfOrqwMUy9SA== |
| X-Received | by 10.107.136.77 with SMTP id k74mr29644015iod.0.1458507355646; Sun, 20 Mar 2016 13:55:55 -0700 (PDT) |
| In-Reply-To | <CAPM-O+wykRfwe77oMG==pLvXdNCub5zBjU-9k7vqQBJx7xn6ug@mail.gmail.com> |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.21 |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:105311 |
Show key headers only | View raw
On Sun, Mar 20, 2016 at 4:47 PM, Joel Goldstick <joel.goldstick@gmail.com> wrote: > On Sun, Mar 20, 2016 at 4:32 PM, Larry Martell <larry.martell@gmail.com> > wrote: > >> I have a script that I run a lot - at least 10 time every day. Usually >> it works fine. But sometime it just stops running with nothing output >> to stdout or stderr. I've been trying to debug this for a while, and >> today I looked in the system logs and saw this: >> >> abrt: detected unhandled Python exception in >> '/home/prod_user/python/make_workitem_list.py' >> abrtd: Directory 'pyhook-2016-03-19-22:20:43-26461' creation detected >> abrt-server[3688]: Saved Python crash dump of pid 26461 to >> /var/spool/abrt/pyhook-2016-03-19-22:20:43-26461 >> abrtd: Executable '/home/prod_user/python/make_workitem_list.py' >> doesn't belong to any package and ProcessUnpackaged is set to 'no' >> abrtd: 'post-create' on >> '/var/spool/abrt/pyhook-2016-03-19-22:20:43-26461' exited with 1 >> abrtd: Deleting problem directory >> '/var/spool/abrt/pyhook-2016-03-19-22:20:43-26461' >> abrtd: make_workitem_list: page allocation failure. order:1, mode:0x20 >> abrtd: Pid: 31870, comm: make_workitem_list Not tainted >> 2.6.32-573.12.1.el6.x86_64 #1 >> >> I have never seen anything like this before. Usually, if there is an >> unhandled exception something is dumped to stderr. Anyone have any >> idea what is going on? How can I get it to not delete this crash dump >> it mentioned? I guess I can put a big exception handler around the >> enter script with a traceback. >> >> This is on Red Hat Enterprise Linux Server release 6.7 (Santiago). > > Googling I found this: > http://stackoverflow.com/questions/2628901/interpreting-kernel-message-page-allocation-failure-order1 > > It seems that the kernel can't allocate memory is a likely cause. Yes, I was thinking that as well about the "page allocation failure" message, but it's almost like there were 2 errors, the first being the unhandled exception. But why would it not output something to stderr?
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: script exits prematurely with no stderr output, but with system errors Larry Martell <larry.martell@gmail.com> - 2016-03-20 16:55 -0400
csiph-web