pinpointed some warning printouts

Robin

Both errors happened at the same line of code. To get a working example is very difficult because the memory is effected by a print line let along a new file. I have attached that interrogates a class and generates a widow that fails intermittently. Could you have a quick look and see if there are any glaring problems.

Nigel

wxtask.py (51.5 KB)

···

---
Nigel W. Moriarty

----- Original Message ----
From: Robin Dunn <robin@alldunn.com>
To: wxPython-users@lists.wxwidgets.org
Sent: Thursday, May 10, 2007 3:38:34 PM
Subject: Re: [wxPython-users] pinpointed some warning printouts

Nigel W. Moriarty wrote:

Folks

I have a GUI that dynamically puts widgets into a wx.Panel in a wx.Frame. When I do a self.Show(True) I get this printout and the program stops.

Nigel

CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextAddLineToPoint: no current point.
CGContextClosePath: no current point.

> doClip: empty path.

What is the nature of the widgets? Are they all native or are some
generic (drawn by wx)? Do you do any drawing in your app? And, as
always, can you make a small sample that reproduces this problem?

Python(15390,0x1b90c00) malloc: *** Deallocation of a pointer not malloced: 0x1be31830; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug

This one too.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around

Hi Nigel,

Robin

Both errors happened at the same line of code.

Which line of code?

Regards,

Kevin

···

On May 10, 2007, at 4:22 PM, Nigel W. Moriarty wrote:

To get a working example is very difficult because the memory is effected by a print line let along a new file. I have attached that interrogates a class and generates a widow that fails intermittently. Could you have a quick look and see if there are any glaring problems.

Nigel

---
Nigel W. Moriarty

----- Original Message ----
From: Robin Dunn <robin@alldunn.com>
To: wxPython-users@lists.wxwidgets.org
Sent: Thursday, May 10, 2007 3:38:34 PM
Subject: Re: [wxPython-users] pinpointed some warning printouts

Nigel W. Moriarty wrote:

Folks

I have a GUI that dynamically puts widgets into a wx.Panel in a wx.Frame. When I do a self.Show(True) I get this printout and the program stops.

Nigel

CGContextAddLineToPoint: no current point.
CGContextClosePath: no current point.
doClip: empty path.

What is the nature of the widgets? Are they all native or are some
generic (drawn by wx)? Do you do any drawing in your app? And, as
always, can you make a small sample that reproduces this problem?

Python(15390,0x1b90c00) malloc: *** Deallocation of a pointer not malloced: 0x1be31830; This could be a double free(), or free() called with the middle of an allocated block; Try setting environment variable MallocHelp to see tools to help debug

This one too.

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

---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org

__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
<wxtask.py>
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwidgets.org
For additional commands, e-mail: wxPython-users-help@lists.wxwidgets.org