[Gambas-user] segmentation fault

philippe philippe.valarcher at free.fr
Sun Feb 17 09:59:55 CET 2019


Le samedi 16 février 2019, 13:49:31 T Lee Davidson a écrit :
> On 2/16/19 11:58 AM, philippe wrote:
> > Here is the one that make segmentation fault:
> > 
> > Public Sub TabStrip1_Click() 'son sur les différents tab du tabstrip
> > principal
> > 
> > 'here is the one that provoks segmentation fault
> > 
> > Select Case TabStrip1.Index
> > 
> > Case 0 To 4
> > 
> > If tbstp.Count > 1 Then tbstp.Index = 1
> > 
> > ' If chkNoSon.value = False Then Module1.shade 'provoque l'erreur de
> > segmentation
> > 
> > End Select
> > 
> > End
> > 
> > I joint again the entire project for test.
> > 
> > Thank you again very much.
> 
> I had to change "/usr/share/cherchmail/sons/shade.ogg" to Application.Path
> &/ "shade.ogg" since the former path does not exist on my system.
> 
> I get no segmentation fault.
> 
> 
> ___
> Lee
> 
> ----[ Gambas mailing-list is hosted by https://www.hostsharing.net ]----


If you incomment the line : if chkNoSon.value=False Then Module1.shade and 
like in images jointed test an imaginary count then go to any  tab of the tabstrip1 (the 
right one) then you have a segmentation error.
Have a good day.-- 

Cordialement Philippe Valarcher
philippe.valarcher at free.fr
GNU/Linux Kubuntu 14.04.05 64 Bits


Unus Ex Altera

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190217/94fae729/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Signature.png
Type: image/png
Size: 19385 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190217/94fae729/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Va chercher mail !_028.png
Type: image/png
Size: 42078 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190217/94fae729/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Va chercher mail !_029.png
Type: image/png
Size: 56068 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190217/94fae729/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Va chercher mail !_030.png
Type: image/png
Size: 37678 bytes
Desc: not available
URL: <https://lists.gambas-basic.org/pipermail/user/attachments/20190217/94fae729/attachment-0007.png>


More information about the User mailing list