lidavidm commented on issue #40100:
URL: https://github.com/apache/arrow/issues/40100#issuecomment-1955390916

   Ok. I think it's a virtual call:
   
   ```
                                
**************************************************************
                                *                          FUNCTION             
             *
                                
**************************************************************
                                undefined 
?ToTable@FlightStreamReader@flight@arrow@@QEAA
                                  assume GS_OFFSET = 0xff00000000
                undefined         AL:1           <RETURN>
                                0x18d540  548  
?ToTable@FlightStreamReader@flight@arrow@@QEAA
                                Ordinal_548                                     
XREF[4]:     Entry Point(*), 
                                ?ToTable@FlightStreamReader@flight@arrow@@QEAA  
             FUN_18018d520:18018d52d(c), 
                                                                                
             18096cad4(*), 1809c53d0(*)  
          18018d540 40 55           PUSH       RBP
          18018d542 53              PUSH       RBX
          18018d543 56              PUSH       RSI
          18018d544 57              PUSH       RDI
          18018d545 41 56           PUSH       R14
          18018d547 48 8d 6c        LEA        RBP,[RSP + -0x37]
                    24 c9
          18018d54c 48 81 ec        SUB        RSP,0xc0
                    c0 00 00 00
          18018d553 48 c7 45        MOV        qword ptr [RBP + -0x29],-0x2
                    d7 fe ff 
                    ff ff
          18018d55b 48 8b 05        MOV        RAX,qword ptr [DAT_18098d388]    
                = 00002B992DDFA232h
                    26 fe 7f 00
          18018d562 48 33 c4        XOR        RAX,RSP
          18018d565 48 89 45 27     MOV        qword ptr [RBP + 0x27],RAX
          18018d569 48 8b f2        MOV        RSI,RDX
          18018d56c 48 8b d9        MOV        RBX,RCX
          18018d56f 48 89 55 b7     MOV        qword ptr [RBP + -0x49],RDX
          18018d573 48 8b 01        MOV        RAX,qword ptr [RCX]
          18018d576 48 8d 55 df     LEA        RDX,[RBP + -0x21]
                                LAB_18018d57a                                   
XREF[1]:     1808cc9e8(*)  
          18018d57a ff 50 30        CALL       qword ptr [RAX + 0x30]
          18018d57d 90              NOP
   ```
   
   That'd make sense given the implementation: 
https://github.com/apache/arrow/blob/11ef68d7dc2e15c81dfc75f4304070021ad42a1e/cpp/src/arrow/flight/client.cc#L113-L118
   
   So I'd hazard that we have a nullptr or otherwise invalid reader here, and 
instead of crashing we're just jumping to oblivion. That doesn't explain _how_ 
we got said reader...


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to