g+
g+ Communities
Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
<== Date ==> <== Thread ==>

Subject: wxPython timer and KEK CaPython314 cause core dump
From: Zhong Ren <renz@uchicago.edu>
To: tech-talk@aps.anl.gov
Date: Tue, 5 Dec 2006 11:03:46 -0600 (CST)
I managed to isolate a core dump in a minimized Python code
(see below).  I found two components are essential to cause a
core dump: wx.Timer and ca.Monitor (or ca.Get).  Can someone
tell what the problem is?

###############################################
import wx
import ca

def onTimer(event): pass

ca.Monitor('S:SRcurrentAI')

appli = wx.PySimpleApp()
frame = wx.Frame(None)
timer = wx.Timer()
timer.Bind(wx.EVT_TIMER, onTimer)
timer.Start(milliseconds = 10, oneShot = False)
appli.MainLoop()
###############################################

Other info:
Pyhton 2.5
wxPython 2.6.3.3
RedHat Linux x86_64
GCC 4.1.1

To test, let the routine run for a while.  A core dump will
occur in a few minutes.

Replies:
Re: wxPython timer and KEK CaPython314 cause core dump Noboru Yamamoto

Navigate by Date:
Prev: Re: libPV.so contains no edm components Dorothea Wehler
Next: wxPython timer and KEK CaPython314 cause core dump Matt Newville
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
Navigate by Thread:
Prev: Re: libPV.so contains no edm components Dorothea Wehler
Next: Re: wxPython timer and KEK CaPython314 cause core dump Noboru Yamamoto
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  <20062007  2008  2009  2010  2011  2012  2013  2014 
ANJ, 02 Sep 2010 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· EPICSv4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·