Hi,

  I did not apply this patch because the problem was not there, and it is
not a good policy to change the parent dialog from inside the child dialog
code.

  But there were two problems.

  First some of the secondary dialogs inside IupPlot were with their
parentdialog not set, so this may be causing your crash but I could not
reproduce it here. I fixed this anyway.

  Second, the iuptest application shows the IupPlot inside an IupTabs, and
there was an error in IupTabs in GTK. It is now fixed and that application
is not crashing anymore. Don't know it is the same case of your application.

  Thanks for reporting anyway. Hope that these fixes solves your problem
too.

Best,
Scuri


2017-10-03 12:55 GMT-03:00 <[email protected]>:

> Hello Antonio (and list),
>
> while testing a plot functionality I encountered a crash when destroying a
> dialog.
> It is a Gtk-related issue and happens due to a Gtk signal handler being
> called on
> an invalid data.
>
> I have prepared and tested a fix for the problem. The patch is attached to
> this
> message and also published on github:
> https://github.com/blueowl04/iup-github/commits/gtk-crash-fix
>
> The commit message describes a test case and also contains a call stack
> grabbed by valgrind.
>
> Best regards,
> blueowl
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Iup-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to