Re: [Iup-users] Segmentation fault Iup Matrix
Brought to you by:
scuri
|
From: Antonio S. <ant...@gm...> - 2018-10-27 14:39:44
|
I think I was able to reproduce the problem here. Not totally sure yet. I'll keep you posted. Best, Scuri Em qui, 25 de out de 2018 às 20:10, Johann Philippe <joh...@ya...> escreveu: > So to be clear - the spin_cb calls the resize lua function, which body is > mymatrix.NUMLIN=x > > > > Le vendredi 26 octobre 2018 à 00:15:28 UTC+2, Johann Philippe via > Iup-users <iup...@li...> a écrit : > > > I didn't try to compile from source. > Of course, it's the NUMLIN i'm setting. But it's not inside resizemat_cb. > It's a sort of Lua object with a resize function, only using > mymatrix.NUMLIN=x, with x = a number set with a spinbox. > > Bests > Johann > Le mercredi 24 octobre 2018 à 19:04:16 UTC+2, Antonio Scuri < > ant...@gm...> a écrit : > > > Hi, > > I need to understand a little bit more about what you are doing. I guess > you are setting NUMLIN inside the RESIZEMATRIX_CB callback, that's it? Did > you do anything else inside the callback? > > In 3.25 we made a few changed in how the Matrix is drawn. > > Have you tried compiling it from SVN sources? > > Best, > Scuri > > > > Em qua, 24 de out de 2018 às 13:55, Johann Philippe via Iup-users < > iup...@li...> escreveu: > > Dear all, > On linux mint, with precompiled binaries (latest) and Lua- i'm > experiencing a segmentation fault crash when resizing a matrix > I'm dynamically resizing the number of lines (mymat.numlin=x) and it > causes the program to crash and it returns : > /usr/lib/libiup.so(iupdrvDrawSetClipRect+0x29) [0x7f843bc2c6b9] > Segmentation fault (core dumped) > > The exact same program runs fine on windows. > > Thanks in advance > Johann > > > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users > > _______________________________________________ > Iup-users mailing list > Iup...@li... > https://lists.sourceforge.net/lists/listinfo/iup-users > |