Re: [Plplot-devel] Release status: another plend segfault and/or double free

2015-03-19 Thread Alan W. Irwin
On 2015-03-19 14:38-0700 Alan W. Irwin wrote: > Hi Andrew (again): > > I just discovered this issue was a regression compared to 5.10.0. So > I will git bisect it to see which commit first created this issue, and > get back to you at that point if I cannot figure out the problem > introduced by t

Re: [Plplot-devel] Release status: another plend segfault and/or double free

2015-03-19 Thread Alan W. Irwin
Hi Andrew (again): I just discovered this issue was a regression compared to 5.10.0. So I will git bisect it to see which commit first created this issue, and get back to you at that point if I cannot figure out the problem introduced by that commit. Alan __ Alan W. Irwin

Re: [Plplot-devel] fixed memory leak plplot-5.10.0 (Andrew Ross)

2015-03-19 Thread Jim Dishaw
On Mar 19, 2015, at 4:03 PM, Andrew Ross wrote: > On Thu, Mar 19, 2015 at 03:30:21PM -0400, Hazen Babcock wrote: >>> From: Andrew Ross >>> The attached patch fixes the memory leak for me. Pressing the close button should now behave the same as pressing 'Q', i.e. it will abort the >>

[Plplot-devel] Release status: another plend segfault and/or double free

2015-03-19 Thread Alan W. Irwin
Hi Andrew: I just discovered another issue which may be release critical. For the -DENABLE_DYNDRIVERS=OFF case (with everything else default so this issue occurs when qt_example is built against the system Qt4 libraries), the usual test_interactive target generated a glibc double free error messa

Re: [Plplot-devel] OpenGL

2015-03-19 Thread Norman Goldstein
I agree, I don't see that plplot would need to spin or in any other way manipulate the 3d plots. It would be up to the programmer to have the GL context wrapped in a 3D GL viewer, for example, if that kind of functionality is desired. On 03/19/2015 12:03 PM, Hazen Babcock wrote: >> From: Norma

Re: [Plplot-devel] OpenGL

2015-03-19 Thread Hazen Babcock
> From: Norman Goldstein > > Let me know if you would like to discuss sharing the load ... > > > > On 03/18/2015 02:48 PM, Chris Marshall wrote: >> >> Actually it is a work in progress...just slowly. >> >> On Mar 18, 2015 12:06 PM, "Norman Goldstein" > > wrote: >> >>

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-19 Thread Andrew Ross
On Thu, Mar 19, 2015 at 09:09:27AM -0700, Alan Irwin wrote: > On 2015-03-19 09:08- Andrew Ross wrote: > > > > >>The attached patch fixes the memory leak for me. Pressing the close button > >>should now behave the same as pressing 'Q', i.e. it will abort the > >>program and clean up correctly.

Re: [Plplot-devel] fixed memory leak plplot-5.10.0 (Andrew Ross)

2015-03-19 Thread Andrew Ross
On Thu, Mar 19, 2015 at 03:30:21PM -0400, Hazen Babcock wrote: > > From: Andrew Ross > > > >> The attached patch fixes the memory leak for me. Pressing the close button > >> should now behave the same as pressing 'Q', i.e. it will abort the > >> program and clean up correctly. It looks like this w

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-19 Thread Hazen Babcock
On 03/19/2015 03:30 PM, Hazen Babcock wrote: >> From: Andrew Ross >> >>> The attached patch fixes the memory leak for me. Pressing the close >>> button >>> should now behave the same as pressing 'Q', i.e. it will abort the >>> program and clean up correctly. It looks like this was changed at some

Re: [Plplot-devel] Strange issues with octave+swig+UTF8 in Fedora rawhide

2015-03-19 Thread Orion Poplawski
On 03/19/2015 09:53 AM, Jim Dishaw wrote: > Would you run the example in the debugger and set a breakpoint in plP_text > and send me a hexdump of the contents of *string? A backtrace would also be > handy. We're choking on the cyrillic text in x33c. Here's an example: Breakpoint 1, plP_text

Re: [Plplot-devel] fixed memory leak plplot-5.10.0 (Andrew Ross)

2015-03-19 Thread Hazen Babcock
> From: Andrew Ross > >> The attached patch fixes the memory leak for me. Pressing the close button >> should now behave the same as pressing 'Q', i.e. it will abort the >> program and clean up correctly. It looks like this was changed at some >> stage in the past, but I don't know why. I guess th

Re: [Plplot-devel] Release status

2015-03-19 Thread Jim Dishaw
On Mar 19, 2015, at 12:57 PM, "Alan W. Irwin" wrote: > On 2015-03-19 09:23-0600 Orion Poplawski wrote: > >> On 03/19/2015 12:41 AM, Alan W. Irwin wrote: >>> On 2015-03-18 21:26-0600 Orion Poplawski wrote: >>> On 03/18/2015 08:41 PM, Alan W. Irwin wrote: > Here is where I think we are.

Re: [Plplot-devel] Release status

2015-03-19 Thread Alan W. Irwin
On 2015-03-19 09:23-0600 Orion Poplawski wrote: > On 03/19/2015 12:41 AM, Alan W. Irwin wrote: >> On 2015-03-18 21:26-0600 Orion Poplawski wrote: >> >>> On 03/18/2015 08:41 PM, Alan W. Irwin wrote: Here is where I think we are. >>> >>> The issues in Fedora land are: >>> >>> - The octave+swig+

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-19 Thread Alan W. Irwin
On 2015-03-19 09:08- Andrew Ross wrote: > >> The attached patch fixes the memory leak for me. Pressing the close button >> should now behave the same as pressing 'Q', i.e. it will abort the >> program and clean up correctly. It looks like this was changed at some >> stage in the past, but I do

Re: [Plplot-devel] Strange issues with octave+swig+UTF8 in Fedora rawhide

2015-03-19 Thread Jim Dishaw
Would you run the example in the debugger and set a breakpoint in plP_text and send me a hexdump of the contents of *string? A backtrace would also be handy. > On Mar 19, 2015, at 11:22 AM, Orion Poplawski wrote: > >> On 03/18/2015 10:48 PM, Jim Dishaw wrote: >> >>> On Mar 18, 2015, at 11:

Re: [Plplot-devel] Strange issues with octave+swig+UTF8 in Fedora rawhide

2015-03-19 Thread Orion Poplawski
On 03/18/2015 10:48 PM, Jim Dishaw wrote: > > On Mar 18, 2015, at 11:18 PM, Orion Poplawski wrote: > >> The check in the plplot package for the octave bindings is failing in >> Fedora rawhide. I point my finger at gcc 5.0.0 :), but I have no idea >> what is going on so just putting this out th

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-19 Thread Andrew Ross
On Thu, Mar 19, 2015 at 09:08:21AM +, Andrew Ross wrote: > > > The attached patch fixes the memory leak for me. Pressing the close button > > should now behave the same as pressing 'Q', i.e. it will abort the > > program and clean up correctly. It looks like this was changed at some > > stage

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-19 Thread Andrew Ross
Great! That confirms we are looking at exactly the same bug. Thanks for the prompt response. I think I now know how to fix it. The same issue also seems to occur with the xcairo driver. Andrew On Thu, Mar 19, 2015 at 02:08:38AM -0700, Norman Goldstein wrote: > During my testing, I was using the

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-19 Thread Norman Goldstein
During my testing, I was using the close button (X) to close the window. Just now, I reran the xwin test by hitting "return" to close the window, and this produced a core dump! Thanks for looking into all this stuff. Let me know if I can help. Regards, Norm On 03/19/2015 01:56 AM, Andrew Ro

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-19 Thread Andrew Ross
> The attached patch fixes the memory leak for me. Pressing the close button > should now behave the same as pressing 'Q', i.e. it will abort the > program and clean up correctly. It looks like this was changed at some > stage in the past, but I don't know why. I guess this would allow a > program

Re: [Plplot-devel] fixed memory leak plplot-5.10.0

2015-03-19 Thread Andrew Ross
Norman, Thanks. This confirms that you are not using dynamic drivers. This explains why your fix works for you and coincides with my experiments. Just one further confirmation - were you closing the plplot window using the close button (X) on the window, or by pressing return / 'Q'? Your testing