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

Post Reply
Cgallegoa
Posts: 494
Joined: Sun Oct 16, 2005 3:32 am
Location: Quito - Ecuador
Contact:

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

Post 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
//------------------------------------//
 
Saludos,

Carlos Gallego

*** FWH-24.07, xHarbour 1.3.1 Build 20240624, Borland C++7.70, PellesC ***
User avatar
karinha
Posts: 7885
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

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

Post 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.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
Posts: 7885
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

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

Post 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.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

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

Post 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?
Cgallegoa
Posts: 494
Joined: Sun Oct 16, 2005 3:32 am
Location: Quito - Ecuador
Contact:

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

Post 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.
Saludos,

Carlos Gallego

*** FWH-24.07, xHarbour 1.3.1 Build 20240624, Borland C++7.70, PellesC ***
User avatar
karinha
Posts: 7885
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

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

Post by karinha »

Enrico Maria Giordano wrote:
karinha wrote:
PAGE NOT FOUND
Sorry! Desculpe!

Download now,

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

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

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

Post 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...
User avatar
Enrico Maria Giordano
Posts: 8728
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia
Contact:

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

Post 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.
User avatar
karinha
Posts: 7885
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

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

Post by karinha »

Enrico, aqui el problema:

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

Amostra solo tiene 1 .prg -> TEST.PRG

gracias, tks.

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
User avatar
karinha
Posts: 7885
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil
Contact:

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

Post by karinha »

PAGE NOT FOUND?

See the defects in the posted screens.

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

Regards, saludos.
João Santos - São Paulo - Brasil - Phone: +55(11)95150-7341
Post Reply