Page 1 of 1

Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 4:55 pm
by Cgallegoa
Hola amigos,

Parece que hay un bug en María_Connect() FWH-24.07 64 bits, o algo estoy haciendo mal y el bug lo tengo yo en el cerebro:

Por favor compilen el siguiente ejemplo, le ejecutan, pulsan sobre "Show table Customer", abren el browse con la tabla, la cierran, y vuelven a pulsar sobre "Show table Customer" por segunda vez. Después de que se les abra la tabla la cierran, y luego de unos segundos, el programa se cierra solo, por arte de magia, sin dar ningún mensaje, ni error.

Code: Select all | Expand

#include "fivewin.ch"

function Main()
   LOCAL oDlg

   SET DATE ITALIAN
   SET CENTURY ON

   DEFINE DIALOG oDlg SIZE 320,200 PIXEL TRUEPIXEL TITLE "Bug Maria_Connect() ???"
        @ 40,70 BUTTON "Show Table Customer" OF oDlg PIXEL ACTION ShowTable( ) SIZE 180,40
     ACTIVATE DIALOG oDlg CENTERED

return nil
//------------------------------------//

Function ShowTable( )
   LOCAL aStr := { "208.91.198.197:3306,fwhdemo,gnraofwh,Bharat@1950", ;
                 "209.250.245.152,fwh,fwhuser,FiveTech@2022" }
   LOCAL oCn, oRs
        
   oCn := Maria_Connect(  aStr[ 1 ] , .T.)
   oRs   := oCn:RowSet( "customer" )

   xBrowse(oRs)

   oCn:Close()

Return NIL
//------------------------------------//
 

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 5:19 pm
by Enrico Maria Giordano
The problem seems to be with xHarbour, with Harbour there is no crash.

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 5:39 pm
by karinha
Enrico Maria Giordano wrote:The problem seems to be with xHarbour, with Harbour there is no crash.
Enrico, could you please test this example in 32 and 64 bits so you can say for sure whether the defect is in FIVEWIN or XHARBOUR?

Enrico, ¿podrías probar este ejemplo en 32 y 64 bits para poder decir con seguridad si el defecto está en FIVEWIN o XHARBOUR?

https://forums.fivetechsupport.com/view ... 4f#p273596

¡Cualquier ayuda será bienvenida!

Any help will be welcome!

Gracias, tks.

Regards, saludos.

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 5:42 pm
by Enrico Maria Giordano
Which sample? Can you provide the link here, please?

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 5:51 pm
by karinha
Enrico Maria Giordano wrote:Which sample? Can you provide the link here, please?
https://wormhole.app/yMqMb#OhKkTv9e3asZmv8QeDT0-w

Gracias, tks.

Regards, saludos.

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 6:01 pm
by Enrico Maria Giordano
If I replace this

Code: Select all | Expand

oRs   := oCn:RowSet( "customer" )
with this other

Code: Select all | Expand

oRs   := {}
the problem goes away (of course the browse is empty). Maybe something inside RowSet() method or siblings? Rao?

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 6:02 pm
by Enrico Maria Giordano
karinha wrote:
PAGE NOT FOUND

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 6:32 pm
by Cgallegoa
Enrico, thank you for your interest. I also believe the problem might be related to RowSet(). I hope Mr. Rao can help us.

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 6:42 pm
by karinha
Enrico Maria Giordano wrote:
karinha wrote:
PAGE NOT FOUND
Sorry! Desculpe!

Download now,

https://mega.nz/file/ZM1zxIbZ#HoE9toldm ... 8ZLxkUGxRI

Regards, saludos.

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 7:12 pm
by Enrico Maria Giordano
Cgallegoa wrote:Enrico, thank you for your interest. I also believe the problem might be related to RowSet(). I hope Mr. Rao can help us.
But this doesn't explain why there is no error with Harbour...

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 7:23 pm
by Enrico Maria Giordano
karinha wrote:
Enrico Maria Giordano wrote:Enrico, could you please test this example in 32 and 64 bits so you can say for sure whether the defect is in FIVEWIN or XHARBOUR?
Sorry, I don't understand how to check your sample. I need a REDUCED sample, please. Anyway, the OP's sample is good for this.

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 8:21 pm
by karinha
Enrico, aqui el problema:

https://forums.fivetechsupport.com/view ... 60eadbfe6e

Amostra solo tiene 1 .prg -> TEST.PRG

gracias, tks.

Regards, saludos.

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Fri Sep 20, 2024 9:00 pm
by Enrico Maria Giordano
PAGE NOT FOUND

Sorry.

Re: Bug Maria_Connect() FWH-24.07 64 bits ???

Posted: Mon Sep 23, 2024 12:44 pm
by karinha
PAGE NOT FOUND?

See the defects in the posted screens.

https://forums.fivetechsupport.com/view ... e6#p273550

Regards, saludos.