Bug#93497: marked as done (vim crashes when calling python code from vim code called from python code)

Debian Bug Tracking System owner@bugs.debian.org
Thu, 18 Nov 2004 00:18:04 -0800


Your message dated Thu, 18 Nov 2004 09:02:21 +0100
with message-id <20041118080221.GB2902@rollcage.inittab.de>
and subject line Bug#93497: vim-python recursion is fixed
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 10 Apr 2001 07:21:39 +0000
>From donut@azstarnet.com Tue Apr 10 02:21:39 2001
Return-path: <donut@azstarnet.com>
Received: from cepheus.azstarnet.com [169.197.56.195] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 14msT4-0002xc-00; Tue, 10 Apr 2001 02:21:39 -0500
Received: from charon.lan (mail@dhcp590.mc01.dsl.azstarnet.com [169.197.10.78])
	by cepheus.azstarnet.com (8.9.3/8.9.3) with ESMTP id AAA25103
	for <submit@bugs.debian.org>; Tue, 10 Apr 2001 00:21:35 -0700 (MST)
X-Sent-via: StarNet http://www.azstarnet.com/
Received: from donut by charon.lan with local (Exim 3.22 #1 (Debian))
	id 14msT3-0000ex-00
	for <submit@bugs.debian.org>; Tue, 10 Apr 2001 00:21:37 -0700
Date: Tue, 10 Apr 2001 00:21:37 -0700
From: Matthew Mueller <donut@azstarnet.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: vim crashes when calling python code from vim code called from python code
Message-ID: <20010410002137.A2469@charon.lan>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
User-Agent: Mutt/1.3.17i
X-Reportbug-Version: 1.15
Sender: Matthew Mueller <donut@charon.lan>
Delivered-To: submit@bugs.debian.org

Package: vim-python
Version: 5.7.019-3
Severity: important

Vim-python can't seem to handle python code getting called from within
vim native code that was called from python code itself.

I first ran into this when I had a autocmd that was running python code,
and then did a vim.command(":set filetype=python") in some unrelated
python code.  The simplest way to reproduce it is:

:py import vim;vim.command(":py print 1")

for example:

charon 0:15:51 ~>gvim -c ':py import vim;vim.command(":py print 1")' 
charon 0:15:53 ~>Fatal Python error: PyEval_RestoreThread: NULL tstate
Vim: Caught deadly signal ABRT
Vim: Finished.

(Of course, it doesn't matter if you do it from the command line like
that or from within vim.)


-- System Information
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux charon 2.4.2 #8 Thu Feb 22 01:56:30 MST 2001 i686

Versions of packages vim-python depends on:
ii  dpkg                      1.8.3.1        Package maintenance system for Deb
ii  libc6                     2.2.2-4        GNU C Library: Shared libraries an
hi  libglib1.2                1.2.9-1        The GLib library of C routines    
ii  libgpmg1                  1.19.3-6       General Purpose Mouse Library [lib
ii  libgtk1.2                 1.2.10-1       The GIMP Toolkit set of widgets fo
ii  libncurses5               5.2.20010318-1 Shared libraries for terminal hand
ii  xlibs                     4.0.2-13       X Window System client libraries  

-- 
Matthew Mueller
donut@azstarnet.com

---------------------------------------
Received: (at 93497-done) by bugs.debian.org; 18 Nov 2004 08:02:28 +0000
>From tretkowski@inittab.de Thu Nov 18 00:02:28 2004
Return-path: <tretkowski@inittab.de>
Received: from beholder.inittab.de (mail1.inittab.de) [195.226.163.101] 
	by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
	id 1CUhFL-0000zT-00; Thu, 18 Nov 2004 00:02:28 -0800
Received: from mail2.inittab.de (ridcully.inittab.de [213.146.113.136])
	by mail1.inittab.de (Postfix) with ESMTP id 29C113FE57;
	Thu, 18 Nov 2004 08:58:47 +0100 (CET)
Received: from rollcage.inittab.de (rollcage.inittab.de [192.168.1.2])
	by mail2.inittab.de (Postfix) with SMTP id D3E4D13E49;
	Thu, 18 Nov 2004 09:02:20 +0100 (CET)
Received: (nullmailer pid 16944 invoked by uid 1000);
	Thu, 18 Nov 2004 08:02:21 -0000
Date: Thu, 18 Nov 2004 09:02:21 +0100
From: Norbert Tretkowski <tretkowski@inittab.de>
To: Matthew Mueller <donut@dakotacom.net>, 93497-done@bugs.debian.org
Subject: Re: Bug#93497: vim-python recursion is fixed
Message-ID: <20041118080221.GB2902@rollcage.inittab.de>
References: <20041118040323.GB4631@charon.lan>
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <20041118040323.GB4631@charon.lan>
User-Agent: Mutt/1.5.6+20040907i
Delivered-To: 93497-done@bugs.debian.org
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25 
	(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER 
	autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level: 

* Matthew Mueller wrote:
> I had forgotten about this bug report, but this has been fixed since
> vim 6.2.297 (When building with Python >= 2.3, which debian does.)

Thanks, I'm closing this bugreport.

Norbert