Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Jul 2014 20:49:06 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 192121] New: math/gnuplot: crashes with failed assertions when built with wx 3.0
Message-ID:  <bug-192121-13@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=192121

            Bug ID: 192121
           Summary: math/gnuplot: crashes with failed assertions when
                    built with wx 3.0
           Product: Ports Tree
           Version: Latest
          Hardware: Any
                OS: Any
            Status: Needs Triage
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: freebsd-ports-bugs@FreeBSD.org
          Reporter: russo@bogodyn.org

On 21 July, bapt@FreeBSD.org committed version 4.6.5_4 of math/gnuplot, with
the comment "Switch to wx 3.0"

But this switch had already been undone on 17 April 2014 when 4.6.5_2 was
committed, because "gnuplot is apparently not ready to work with newer
versions" of wx than 2.8.

This is the subject of bug report
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=188628 .  That bug was closed
when gnuplot was set back to requiring wx 2.8.  

I am now seeing gnuplot crashing just as it was before 4.6.5_2 got committed. 
The program builds and installs fine, but any attempt to plot while "wxt" is
the selected terminal type (it is the default) will cause crashes:

> gnuplot

        G N U P L O T
        Version 4.6 patchlevel 5    last modified February 2014
        Build System: FreeBSD i386

        Copyright (C) 1986-1993, 1998, 2004, 2007-2014
        Thomas Williams, Colin Kelley and many others

        gnuplot home:     http://www.gnuplot.info
        faq, bugs, etc:   type "help FAQ"
        immediate help:   type "help"  (plot window: hit 'h')

Terminal type set to 'wxt'
gnuplot> plot x**2
./src/gtk/dcclient.cpp(2043): assert "m_window" failed in DoGetSize():
GetSize() doesn't work without window [in thread 4f9dbc00]
[xcb] Unknown request in queue while dequeuing
[xcb] Most likely this is a multi-threaded client and XInitThreads has not been
called
[xcb] Aborting, sorry about that.
Assertion failed: (!xcb_xlib_unknown_req_in_deq), function
dequeue_pending_request, file xcb_io.c, line 179.
Abort trap: 6 (core dumped)


The fix is trivial.  Change the line "USE_WX=  3.0" back to "USE_WX= 2.8"
(reverting one of the changes made in the most recent commit).  Doing so
restores gnuplot to proper function with wx.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-192121-13>