[Freewx-maint] Bug#750045: gnuplot: no longer works: assert "m_window" failed in DoGetSize()

Olly Betts olly at survex.com
Mon Jun 2 03:28:15 UTC 2014


On Sun, Jun 01, 2014 at 05:10:24PM -0700, sfeam wrote:
> On Sunday, 01 June 2014 11:56:40 PM Olly Betts wrote:
> > On Sun, Jun 01, 2014 at 09:34:29PM +0200, Anton Gladky wrote:
> > > 2014-06-01 19:43 GMT+02:00 sfeam <sfeam at users.sourceforge.net>:
> > > > Unfortunately this issue appeared just at the time we were putting out
> > > > a release candidate for a major version upgrade to gnuplot 5.0.
> > 
> > I filed #741072 with the patch on 2014-03-08, which is close to 3 months
> > ago now.  The bug saw no response until I raised the severity last week
> > - perhaps if it had been acted upon sooner, these problems would have
> > been found sooner, and quite likely would have already been fixed.
> > 
> > Oddly, I definitely tested gnuplot before sending in the patch, though I
> > can reproduce this problem now.
> 
> I seem to be late to the party.  What patch are you talking about?

The patch I included when I filed #741072, which is what got us to here:

https://bugs.debian.org/cgi-bin/bugreport.cgi?msg=5;filename=gnuplot-4.6.5-1.1-nmu.diff;att=1;bug=741072

All it does is change to build against wx3.0 instead of 2.8.

> If there is a patch that fixes this (i.e. makes gnuplot work with
> wx3) I'm perfectly happy to test it out.  

There's one now (see my other recent email).

> For me they are non-fatal, but Anton's stack trace shows a segfault
> so I guess the situation is worse in the Debian build.

I think that's because Debian's gnuplot package doesn't currently call
XInitThreads().

> Can you point me to patches that allowed other Debian packages to
> migrate from wx 2.8 -> 3.0?  Perhaps there is a painless fix, but I'm 
> not likely to find it without a big hint from somewhere.

Here's the list of tagged bugs, many of which have patches:

https://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=wx3.0;users=freewx-maint@lists.alioth.debian.org

A few packages have been updated to wx3 before a bug got filed though,
so this may not be a complete collection of such patches, but it's the
closest I know of.

But I've not seen this issue with any of the other packages I've looked
at.  I think it's due to how gnuplot uses wx and threads together.

Cheers,
    Olly



More information about the Freewx-maint mailing list