#130 wxwidgets window does not close

None
open
None
5
2014-03-06
2013-02-13
No

wxwindow does not close until the program exits. I tried this with 3 different interpreted environments: sbcl, ccl (cl-plplot) and perlconsole.
At the end of all examples the window remains open, if another example is launched inside the same environment the process receives segfault.
example
perlconsole
do 'x01.pl'
12 #is wxwidgets
press right mouse => window hangs
do 'x01.pl'
1
opens xwin, wx windows is still open but xwin works well
do 'x01.pl'
12
139% segmentation fault

Related

Bugs: #130

Discussion

  • Alan W. Irwin

    Alan W. Irwin - 2014-03-06

    Hi Phil:

    I have made you the owner of this ticket because of your wxwidgets device driver expertise. If you cannot verify the issue, then you should ask Fulvio for more details (such as is it possible to create this issue outside Perl since the Perl/PDL binding is an external project to our own which we are not responsible for.)

     
  • Alan W. Irwin

    Alan W. Irwin - 2014-03-06
    • assigned_to: Phil Rosenberg
    • Group: -->
     
  • Phil Rosenberg

    Phil Rosenberg - 2014-03-06

    Hi Alan
    I think this is almost certainly related to a bug that was reported last year. It arises because we are trying to create a gui interface from a console window. I think the fix requires running wxWidgets in a separate thread, which requires Plplot to be threadsafe. Basically a wxApp expects to be in charge of everything I think, so doesn't play nice with the console. For example, I get a segfault whenever I exit one of the examples.

    Maybe a sprinkling of plexit() calls would cure the symptoms, but not really the problem and would of course create memory leaks

    -----Original Message-----
    From: "Alan W. Irwin" airwin@users.sf.net
    Sent: ‎06/‎03/‎2014 00:50
    To: "[plplot:bugs] " 130@bugs.plplot.p.re.sf.net
    Subject: [plplot:bugs] #130 wxwidgets window does not close

    Hi Phil:
    I have made you the owner of this ticket because of your wxwidgets device driver expertise. If you cannot verify the issue, then you should ask Fulvio for more details (such as is it possible to create this issue outside Perl since the Perl/PDL binding is an external project to our own which we are not responsible for.)

    [bugs:#130] wxwidgets window does not close
    Status: open
    Group:
    Created: Wed Feb 13, 2013 06:29 PM UTC by fulvio ciriaco
    Last Updated: Wed Feb 13, 2013 06:29 PM UTC
    Owner: Phil Rosenberg
    wxwindow does not close until the program exits. I tried this with 3 different interpreted environments: sbcl, ccl (cl-plplot) and perlconsole.
    At the end of all examples the window remains open, if another example is launched inside the same environment the process receives segfault.
    example
    perlconsole
    do 'x01.pl'
    12 #is wxwidgets
    press right mouse => window hangs
    do 'x01.pl'
    1
    opens xwin, wx windows is still open but xwin works well
    do 'x01.pl'
    12
    139% segmentation fault

    Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/plplot/bugs/130/
    To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

     

    Related

    Bugs: #130


Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks