Bug 13024 - gnuplot crashes with wxt terminal.
Summary: gnuplot crashes with wxt terminal.
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: Cauldron
Hardware: x86_64 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Rémi Verschelde
QA Contact:
URL:
Whiteboard:
Keywords: Triaged
Depends on:
Blocks:
 
Reported: 2014-03-15 12:59 CET by Saurabh Pradhan
Modified: 2015-04-16 21:31 CEST (History)
4 users (show)

See Also:
Source RPM: gnuplot-4.6.4-1.mga5.src.rpm
CVE:
Status comment:


Attachments
SPEC file of gnuplot-5.0.0 (11.63 KB, text/x-rpm-spec)
2015-04-06 14:04 CEST, Predrag Jovanovic
Details
src.rpm of libcerf-1.3 (384.58 KB, application/x-rpm)
2015-04-06 14:05 CEST, Predrag Jovanovic
Details

Description Saurabh Pradhan 2014-03-15 12:59:50 CET
Description of problem:
Go to gnuplot command promt.
localhost|~| $ gnuplot

        G N U P L O T
        Version 4.6 patchlevel 4    last modified 2013-10-02 
        Build System: Linux x86_64

        Copyright (C) 1986-1993, 1998, 2004, 2007-2013
        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> set term wxt
gnuplot> p x 
./src/gtk/dcclient.cpp(2041): assert "m_window" failed in DoGetSize(): GetSize() doesn't work without window [in thread 7f6025fdc700]


Call stack:
[00] wxOnAssert(char const*, int, char const*, char const*, wchar_t const*)
[01] wxClientDCImpl::DoGetSize(int*, int*) const
[02] wxBufferedDC::UnMask()                  
[03] wxtPanel::Draw()                        
[04] wxAppConsoleBase::CallEventHandler(wxEvtHandler*, wxEventFunctor&, wxEvent&) const
[05] wxEvtHandler::ProcessEventIfMatchesId(wxEventTableEntryBase const&, wxEvtHandler*, wxEvent&)
[06] wxEventHashTable::HandleEvent(wxEvent&, wxEvtHandler*)
[07] wxEvtHandler::TryHereOnly(wxEvent&)     
[08] wxEvtHandler::ProcessEventLocally(wxEvent&)
[09] wxEvtHandler::ProcessEvent(wxEvent&)    
[10] wxEvtHandler::SafelyProcessEvent(wxEvent&)
[11] 0x7f603b91b381
[12] g_closure_invoke                        
[13] 0x7f603aadc99d
[14] g_signal_emit_valist                    
[15] g_signal_emit                           
[16] gtk_widget_size_allocate                
[17] 0x7f603b91a473
[18] g_closure_invoke                        
[19] 0x7f603aadc1b7
[20] g_signal_emit_valist                    
Segmentation fault


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.open gnuplot plot: $gnuplot
2.set term wxt
3.plot x
This three give me the result 


Reproducible: 

Steps to Reproduce:
Manuel Hiebel 2014-03-15 21:46:15 CET

Keywords: (none) => Triaged
CC: (none) => nanardon
Assignee: bugsquad => fundawang

Comment 1 Pana Sum 2014-12-03 23:51:55 CET
It is valid with Mageia 5 beta 1.

CC: (none) => panasum

Comment 2 Pana Sum 2014-12-06 10:47:33 CET
More information on this bug in the debian bugs database:

https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=750045
Comment 3 Pana Sum 2014-12-14 11:41:35 CET
wxt terminal is used by default when you open gnuplot. Although X11 terminal has fewer options than wxt one, it works well so maybe x11 should be used by default as a temporary work around.
Comment 4 Predrag Jovanovic 2015-04-06 14:04:28 CEST
Created attachment 6198 [details]
SPEC file of gnuplot-5.0.0

CC: (none) => ppjovanovic

Comment 5 Predrag Jovanovic 2015-04-06 14:05:53 CEST
Created attachment 6199 [details]
src.rpm of libcerf-1.3
Comment 6 Predrag Jovanovic 2015-04-06 14:06:16 CEST
This bug is fixed in the latest stable version 5.0.0 and I succesfully compiled it, together with required package libcerf-1.3. If someone is interested, I attach my SPEC file of gnuplot-5.0.0, as well as src.rpm of libcerf-1.3.
Comment 7 Rémi Verschelde 2015-04-13 16:58:26 CEST
Upstream bug report: https://sourceforge.net/p/gnuplot/bugs/1401/

CC: (none) => rverschelde

Comment 8 Pana Sum 2015-04-16 21:28:47 CEST
It is fixed in gnuplot-4.6.5-8.mga5
Comment 9 Rémi Verschelde 2015-04-16 21:31:48 CEST
Yes in the end I rebuilt gnuplot against wxgtk 2.8, since the upstream bug report clearly shows that the developers hadn't really tested wxgtk 3.0 support yet for this this release.

Since we are in complete release freeze, upgrading gnuplot to version 5.0.0 is not possible, this will have to wait for when Cauldron reopens after the Mageia 5 release.

Status: NEW => RESOLVED
Resolution: (none) => FIXED
Assignee: fundawang => rverschelde


Note You need to log in before you can comment on or make changes to this bug.