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

Olly Betts olly at survex.com
Mon Jun 2 03:19:39 UTC 2014

On Sun, Jun 01, 2014 at 05:18:30PM -0700, sfeam wrote:
> The upstream gnuplot source has already been patched to call XInitThreads.
> I didn't realize you were testing without it. 

I was just testing based on the package currently in unstable.

> As I said in a separate post, for me this allows running with wx3 but
> does not remove the separate stream of error messages starting with

I hadn't seen your message when I wrote ine.

>     assert "m_window" failed in DoGetSize(): GetSize() doesn't work without window 

It seems that gnuplot doesn't use the wx macros which set things up so
that defining NDEBUG disables these checks.  The attached patch gets me
a gnuplot which runs without this noise (obviously addressing these
issues would be better, but wx3.0 with -DNDEBUG is basically what you
get with wx2.8 by default, so the need to use -DNDEBUG is no reason to
stick with wx2.8.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: gnuplot-nowxassert.patch
Type: text/x-diff
Size: 2448 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/freewx-maint/attachments/20140602/c7161b66/attachment.patch>

More information about the Freewx-maint mailing list