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. 

BestsJohann
    Le mercredi 24 octobre 2018 à 19:04:16 UTC+2, Antonio Scuri 
<[email protected]> 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 
<[email protected]> escreveu:

Dear all, 
On linux mint, with precompiled binaries (latest)  and Lua- i'm experiencing a 
segmentation fault crash when resizing a matrixI'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 advanceJohann 


_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

  
_______________________________________________
Iup-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/iup-users

Reply via email to