[LDTP-Dev] [Bug 588819] New: 'import ldtp' freezes interpreter

LDTP (bugzilla.gnome.org) bugzilla-daemon at bugzilla.gnome.org
Thu Jul 16 15:09:56 PDT 2009


If you have any questions why you received this email, please see the text at
the end of this email. Replies to this email are NOT read, please see the text
at the end of this email. You can add comments to this bug at:
  http://bugzilla.gnome.org/show_bug.cgi?id=588819

  LDTP | pyldtp | Ver: 1.6.0
           Summary: 'import ldtp' freezes interpreter
           Product: LDTP
           Version: 1.6.0
          Platform: Other
        OS/Version: All
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Normal
         Component: pyldtp
        AssignedTo: ldtp-maint at gnome.bugs
        ReportedBy: paul.larson at canonical.com
         QAContact: ldtp-dev at lists.freedesktop.org
     GNOME version: Unspecified
   GNOME milestone: Unspecified


Please describe the problem:
I've tried this with python 2.5 and 2.6 as well.  When I import ldtp from
python, the interpreter just hangs, and will not accept further input.


Steps to reproduce:
1. 'import ldtp' from python



Actual results:
interpreter hangs

Expected results:
doesn't hang

Does this happen every time?
yes

Other information:
I did an strace on the python process and saw this:
Process 2752 attached - interrupt to quit
futex(0x891106c, FUTEX_WAIT_PRIVATE, 1, NULL^C <unfinished ...>

I also bisected and found that it started failing with this patch:


I've verified that this bug exists in upstream as well, and bisected to find
the offending changeset:
b905802d4ef2cabba38863aafaf4231139f57c71 is first bad commit
commit b905802d4ef2cabba38863aafaf4231139f57c71
Author: nags <nags at nags-desktop.(none)>
Date: Sun May 10 00:48:03 2009 -0700

    2009-05-10 Nagappan Alagappan <nagappan at gmail.com>

        * ldtputils.py (GtkImportThread): Added new class which helped
        LDTP to work as earlier in performance. But this one broke the
        wnck get window list. Need to investigate.

:040000 040000 4be4a8071acbac68d05c92fc592f0ae315d362f3
7afba2e5e432a26f56955b36a0bd57219a83ea5c M python


-- 
See http://bugzilla.gnome.org/page.cgi?id=email.html for more info about why you received
this email, why you can't respond via email, how to stop receiving
emails (or reduce the number you receive), and how to contact someone
if you are having problems with the system.

You can add comments to this bug at http://bugzilla.gnome.org/show_bug.cgi?id=588819.


More information about the LDTP-dev mailing list