[wxPython-users] Re: [wx-dev] Re: [wxPython-users] WxGrid memory leak in wxpython2.7.1 and 2.8 on a dual core processor system

Gayatri gayatrin at infotechsw.com
Sat Mar 1 04:30:31 PST 2008


When I am using wxgrid of wxpython 2.8.7 with python 2.5.1 my application is
crashing either 
at wxGridCellWorker incRef() or at wxstringtokenizer Getnexttoken() or at
drawcell of wxgrid


We are able to get errors with our sample application too, which is more or
less similar to our application. 
The application is using xmlrpc calls to get data from server server.py and
updates grid with values. 
This crash is not predictable and is not happening always. 

To reproduce error 
	1.Keep all files in one folder
	2.Run the server.py	
	3.Run SimulationGUIApp
	4.using file menu loadconfiguration option load test.pkl file.
Ignore all other menu/toolbar options.

It may/may not crash if executed only one time.

We are using python2.5.1, wxpython 2.8.7  debug versions.
The crash is observed only on dual core systems.

Thanks for any help.

Gayatri

-----Original Message-----
From: Robin Dunn [mailto:robin at alldunn.com] 
Sent: Saturday, February 16, 2008 5:24 AM
To: wxPython-users at lists.wxwidgets.org
Subject: Re: [wxPython-users] Re: [wx-dev] Re: [wxPython-users] WxGrid
memory leak in wxpython2.7.1 and 2.8 on a dual core processor system

Gayatri wrote:
> Hello All,
> 
>  We used wxgrid of wxPython-2.8.7.1 in a GUI application we got memory
> access violation error while executing. Earlier we posted the below
message
> specifying the issue but we couldn't send the code as it cannot be
> independently executed to reproduce the error and also the error is not
> repeatable. 

Try approaching it from the other direction.  Progressively disable, 
comment-out, or remove portions of the code until the problem no longer 
happens.  That will let you know what to focus on for narrowing it down 
further and for reproduction.  For example, you might start out by 
commenting out anything your code is doing with GridCellAttribute objects.

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!


---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe at lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help at lists.wxwidgets.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: testSimulationGui.zip
Type: application/x-zip-compressed
Size: 16845 bytes
Desc: not available
Url : http://lists.wxwidgets.org/pipermail/wxpython-users/attachments/20080301/6c2f3175/testSimulationGui.bin


More information about the wxpython-users mailing list