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

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

Postby Cgallegoa » Fri Sep 20, 2024 4:55 pm

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 view
#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 ***
Cgallegoa
 
Posts: 487
Joined: Sun Oct 16, 2005 3:32 am
Location: Quito - Ecuador

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

Postby Enrico Maria Giordano » Fri Sep 20, 2024 5:19 pm

The problem seems to be with xHarbour, with Harbour there is no crash.
User avatar
Enrico Maria Giordano
 
Posts: 8696
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby karinha » Fri Sep 20, 2024 5:39 pm

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/viewtopic.php?f=6&t=44878&sid=4e646ae5f103997604e8c0053c2c284f&sid=4e646ae5f103997604e8c0053c2c284f#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: 7766
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

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

Postby Enrico Maria Giordano » Fri Sep 20, 2024 5:42 pm

Which sample? Can you provide the link here, please?
User avatar
Enrico Maria Giordano
 
Posts: 8696
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby karinha » Fri Sep 20, 2024 5:51 pm

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
karinha
 
Posts: 7766
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil

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

Postby Enrico Maria Giordano » Fri Sep 20, 2024 6:01 pm

If I replace this

Code: Select all  Expand view
oRs   := oCn:RowSet( "customer" )


with this other

Code: Select all  Expand view
oRs   := {}


the problem goes away (of course the browse is empty). Maybe something inside RowSet() method or siblings? Rao?
User avatar
Enrico Maria Giordano
 
Posts: 8696
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia


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

Postby Cgallegoa » Fri Sep 20, 2024 6:32 pm

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 ***
Cgallegoa
 
Posts: 487
Joined: Sun Oct 16, 2005 3:32 am
Location: Quito - Ecuador

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

Postby karinha » Fri Sep 20, 2024 6:42 pm

Enrico Maria Giordano wrote:
karinha wrote:


PAGE NOT FOUND


Sorry! Desculpe!

Download now,

https://mega.nz/file/ZM1zxIbZ#HoE9toldmOF6uxqCnlvnzqGZIQRCfGACh8ZLxkUGxRI

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

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

Postby Enrico Maria Giordano » Fri Sep 20, 2024 7:12 pm

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: 8696
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby Enrico Maria Giordano » Fri Sep 20, 2024 7:23 pm

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
Enrico Maria Giordano
 
Posts: 8696
Joined: Thu Oct 06, 2005 8:17 pm
Location: Roma - Italia

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

Postby karinha » Fri Sep 20, 2024 8:21 pm

Enrico, aqui el problema:

https://forums.fivetechsupport.com/viewtopic.php?f=6&t=44878&sid=7e9b77ce511da30f39888460eadbfe6e

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: 7766
Joined: Tue Dec 20, 2005 7:36 pm
Location: São Paulo - Brasil


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

Postby karinha » Mon Sep 23, 2024 12:44 pm

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


Return to FiveWin para Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 37 guests