Re: [Iup-users] Segmentation fault Iup Matrix

2018-10-24 Thread Antonio Scuri
  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-users@lists.sourceforge.net> 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-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Segmentation fault Iup Matrix

2018-10-24 Thread Johann Philippe via Iup-users
 And changing the standard library for 3.24 works fine too. 

Le mercredi 24 octobre 2018 à 18:55:00 UTC+2, Johann Philippe via Iup-users 
 a écrit :  
 
 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
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users
  ___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


[Iup-users] Segmentation fault Iup Matrix

2018-10-24 Thread Johann Philippe via Iup-users
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
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users