Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #105310

Re: script exits prematurely with no stderr output, but with system errors

Path csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail
From Joel Goldstick <joel.goldstick@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:47:02 -0400
Lines 43
Message-ID <mailman.410.1458506826.12893.python-list@python.org> (permalink)
References <CACwCsY4T5fJmPjuE7wDxJ+kzLtuxRZaw+zxW7Oo_KwjK+xAq2Q@mail.gmail.com>
Mime-Version 1.0
Content-Type text/plain; charset=UTF-8
X-Trace news.uni-berlin.de TfPd+qaRZUmy+37yuep1OAo/pvIz+wCe2fdz8+jmrC8Q==
Return-Path <joel.goldstick@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; 'debug': 0.04; 'handler': 0.04; 'executable': 0.07; 'stops': 0.07; 'cc:addr:python-list': 0.09; '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; 'email addr:gmail.com&gt;': 0.18; 'cc:2**0': 0.20; 'cc:addr: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; 'url:mailman': 0.30; 'guess': 0.31; 'anyone': 0.32; "can't": 0.32; 'run': 0.33; 'problem': 0.33; 'url:python': 0.33; 'usually': 0.33; 'belong': 0.33; 'url:listinfo': 0.34; 'running': 0.34; 'server': 0.34; 'received:google.com': 0.35; 'saved': 0.35; 'something': 0.35; 'but': 0.36; 'there': 0.36; 'url:org': 0.36; 'received:209.85': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'release': 0.37; 'creation': 0.38; 'received:209': 0.38; 'delete': 0.38; 'anything': 0.38; 'received:209.85.214': 0.39; 'url:mail': 0.40; 'subject:with': 0.40; 'day.': 0.63; 'mar': 0.65; 'today': 0.65; '20,': 0.66; 'url:info': 0.71; 'saw': 0.77; 'to:none': 0.91; '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:date:message-id:subject:from:cc; bh=YNbPhI3UVKnUvr7arCdK3S9TIe4JcbXlJHgW3Gxxncw=; b=XSMixW8oeJNHFg5orqTfRyiY6WYZHEehxAcY+/oZRhHH4+I0FBaO/XWnt/sjZKSRdV UmvVEMjE2QQtnvNrCRjjVTDvdqrJYRDvYT8CBdzPetmvcGkay1pbX2N95F/yTSsR58gz STIt0/NuhUXrrd3RsprzlepRel9rzpe36HToL3FoG85pAZDKbDjLPcYnG7bLW3QejcYQ L9I7HI30jhNQMkIaT3Bh4ktuOYrPv+4Lii199752BvDa9phPy2M1pxlasX+9/hCVDAJl khLPBG3IqfSxbvKcHY8OgX823ssmROn6br3Tj1D0rD6lX6VPjIxWHQIhJTs64l0Y2A1C TAsw==
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:date :message-id:subject:from:cc; bh=YNbPhI3UVKnUvr7arCdK3S9TIe4JcbXlJHgW3Gxxncw=; b=l/wETXFM6AZMDt16llUc98HGp6HCtzFWfrk+mNjLmXQFRzfS9aeQSAxJSxRHuDxRM9 Y1et5a+ugTIGA0WYvAvFUOE5CiUiFkOd6HYmKQkB7uOFbRaRLDmAec+8gC+si1xwRwW8 wrPRfpnDqu3kZ+kTeFikdwj32AA5tjWYEITLZiGlxqD627uYvv39Y7Bdz9sUktVsRQ3L syjaXvxlVrvyPp9Uvo/cHh6xAMnnc6B1l1l+Os12NPw2hL6CSbdweSEo67TIh9AvMvvl S89WirOB3/FGF90rypjz5Y8Mg1K0jMdloifo69kYwKD+9FLAShYIInljgm9OVF9ugxwA za9A==
X-Gm-Message-State AD7BkJJMOaN7QIu71fwzC+hWzhr/wf1sP0u2ZyHRDQHl4dgAouhA9jN12vs8vhMwBOZ1wZEJunsSvk1ipUZyzA==
X-Received by 10.60.115.33 with SMTP id jl1mr16856141oeb.12.1458506822626; Sun, 20 Mar 2016 13:47:02 -0700 (PDT)
In-Reply-To <CACwCsY4T5fJmPjuE7wDxJ+kzLtuxRZaw+zxW7Oo_KwjK+xAq2Q@mail.gmail.com>
X-Content-Filtered-By Mailman/MimeDel 2.1.21
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:105310

Show key headers only | View raw


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).
> --
> https://mail.python.org/mailman/listinfo/python-list
>

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.

-- 
Joel Goldstick
http://joelgoldstick.com/ <http://joelgoldstick.com/stats/birthdays>
http://cc-baseballstats.info/

Back to comp.lang.python | Previous | Next | Find similar | Unroll thread


Thread

Re: script exits prematurely with no stderr output, but with system errors Joel Goldstick <joel.goldstick@gmail.com> - 2016-03-20 16:47 -0400

csiph-web