public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Corinna Vinschen <corinna-cygwin@cygwin.com>
To: cygwin@cygwin.com
Subject: Re: python aborts
Date: Wed, 22 May 2013 12:31:00 -0000	[thread overview]
Message-ID: <20130522123148.GW2406@calimero.vinschen.de> (raw)
In-Reply-To: <d0191e464b44f772f988b2050cda4ac8@denis-excoffier.org>

On May 22 11:11, Denis Excoffier wrote:
> Hello,
> 
> With the current snapshot (20130521) on Windows XP, the following
> fails (with an empty stackdump):
> 
> % /usr/bin/python pyfoo
> Abort (core dumped)
> % cat pyfoo
> import xml.sax
> xml.sax.make_parser()
> % cat python2.7.exe.stackdump
> Stack trace:
> Frame     Function  Args
> % /usr/bin/python --version
> Python 2.7.3
> %
> 
> With some dichotomy, i found that under the 20130430 snapshot it works
> (no "abort", no stackdump), but under 20130501 it does the same
> as today (ie abort).

I have another effect.  In my case the 20130430 snapshot does not
print the "Abort (core dumped)" message, but it still creates the
more or less empty stackdump file as above.  So, AFAICS, the crash
occured before, only you didn't see it.  With Cygwin 1.7.17,
I only get an "Abort" and an entirely empty stackdump.

> My original python program (from which i extracted this test case)
> seems
> to run correctly until the end of it, where the abort occurs.

Well, I'm not sure what's going on, but the crash supposedly occurs
in verifyable_object_isvalid in thread.cc.  This function is usually
called to check if a pthreads object is valid, and it's written so
that a SEGV is expected, catched, and converted to a specific return
code, usually.  Even with a debug-enabled Cygwin DLL I'm not able
to debug this further since python somehow doesn't run the same under
GDB.


Corinna

-- 
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

  reply	other threads:[~2013-05-22 12:31 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-05-22  9:11 Denis Excoffier
2013-05-22 12:31 ` Corinna Vinschen [this message]
2013-07-25  8:28   ` Daniel Colascione
2013-07-25  8:36     ` Daniel Colascione
2013-07-25 10:18       ` Daniel Colascione
2013-07-25 10:54         ` Corinna Vinschen
2013-07-25 12:12           ` JonY
2013-07-25 13:02             ` JonY
2013-07-25 15:36               ` Christopher Faylor
2013-07-25 17:20                 ` JonY
2013-07-25 17:47                   ` Christopher Faylor
2013-07-25 22:36                     ` JonY
2013-07-26  4:14                       ` Christopher Faylor
2013-08-28  3:59                         ` Christopher Faylor
2013-11-06 22:30                           ` Jean-Pierre Flori
2013-11-07 13:20                             ` Corinna Vinschen
2013-11-07 21:55                               ` Jean-Pierre Flori
2013-11-08 16:40                               ` Jean-Pierre Flori
2013-11-11 12:59                               ` Corinna Vinschen
2013-11-11 13:02                                 ` JonY
2013-11-11 13:08                                   ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20130522123148.GW2406@calimero.vinschen.de \
    --to=corinna-cygwin@cygwin.com \
    --cc=cygwin@cygwin.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).