amoeba commented on issue #38519:
URL: https://github.com/apache/arrow/issues/38519#issuecomment-2348004349

   Maybe just caused by not having a totally clean environment. Thanks for the 
help @kou.
   
   I still wanted to check to see I had the right debug info for the source 
code mapping the OP was having trouble with and I think I do:
   
   ```
   (lldb) image lookup -v -n Authenticate
   warning: (x86_64) 
/home/bryce/src/apache/arrow/python/pyarrow/libarrow_python_flight.so 
0x0004c3a5: DW_AT_specification(0x000352af) has no decl
   3 matches found in 
/home/bryce/src/apache/arrow/python/pyarrow/libarrow_python_flight.so:
           Address: libarrow_python_flight.so[0x0000000000027526] 
(libarrow_python_flight.so.PT_LOAD[1]..text + 1750)
           Summary: 
libarrow_python_flight.so`arrow::py::flight::PyClientAuthHandler::Authenticate(arrow::flight::ClientAuthSender*,
 arrow::flight::ClientAuthReader*) at flight.cc:66:85
            Module: file = 
"/home/bryce/src/apache/arrow/python/pyarrow/libarrow_python_flight.so", arch = 
"x86_64"
       CompileUnit: id = {0x00000000}, file = 
"/home/bryce/src/apache/arrow/python/pyarrow/src/arrow/python/flight.cc", 
language = "c++14"
          Function: id = {0x0004b6c3}, name = 
"arrow::py::flight::PyClientAuthHandler::Authenticate(arrow::flight::ClientAuthSender*,
 arrow::flight::ClientAuthReader*)", mangled = 
"_ZN5arrow2py6flight19PyClientAuthHandler12AuthenticateEPNS_6flight16ClientAuthSenderEPNS3_16ClientAuthReaderE",
 range = [0x00007fffe7fe6526-0x00007fffe7fe656f)
          FuncType: id = {0x0004b6c3}, byte-size = 0, decl = flight.cc:65:8, 
compiler_type = "class arrow::Status (class arrow::flight::ClientAuthSender *, 
class arrow::flight::ClientAuthReader *) const"
            Blocks: id = {0x0004b6c3}, range = [0x7fffe7fe6526-0x7fffe7fe656f)
         **LineEntry: [0x00007fffe7fe6526-0x00007fffe7fe653e): 
/home/bryce/src/apache/arrow/python/pyarrow/src/arrow/python/flight.cc:66:85**
            Symbol: id = {0x000004ce}, range = 
[0x00007fffe7fe6526-0x00007fffe7fe656f), 
name="arrow::py::flight::PyClientAuthHandler::Authenticate(arrow::flight::ClientAuthSender*,
 arrow::flight::ClientAuthReader*)", 
mangled="_ZN5arrow2py6flight19PyClientAuthHandler12AuthenticateEPNS_6flight16ClientAuthSenderEPNS3_16ClientAuthReaderE"
          Variable: id = {0x0004b6e2}, name = "this", type = 
"arrow::py::flight::PyClientAuthHandler *const", location = DW_OP_fbreg -64, 
decl = 
          Variable: id = {0x0004b6ee}, name = "outgoing", type = 
"arrow::flight::ClientAuthSender *", location = DW_OP_fbreg -72, decl = 
flight.cc:65:75
          Variable: id = {0x0004b6fe}, name = "incoming", type = 
"arrow::flight::ClientAuthReader *", location = DW_OP_fbreg -80, decl = 
flight.cc:66:75
           Address: libarrow_python_flight.so[0x000000000002710e] 
(libarrow_python_flight.so.PT_LOAD[1]..text + 702)
           Summary: 
libarrow_python_flight.so`arrow::py::flight::PyServerAuthHandler::Authenticate(arrow::flight::ServerAuthSender*,
 arrow::flight::ServerAuthReader*) at flight.cc:41:85
            Module: file = 
"/home/bryce/src/apache/arrow/python/pyarrow/libarrow_python_flight.so", arch = 
"x86_64"
       CompileUnit: id = {0x00000000}, file = 
"/home/bryce/src/apache/arrow/python/pyarrow/src/arrow/python/flight.cc", 
language = "c++14"
          Function: id = {0x0004bbe7}, name = 
"arrow::py::flight::PyServerAuthHandler::Authenticate(arrow::flight::ServerAuthSender*,
 arrow::flight::ServerAuthReader*)", mangled = 
"_ZN5arrow2py6flight19PyServerAuthHandler12AuthenticateEPNS_6flight16ServerAuthSenderEPNS3_16ServerAuthReaderE",
 range = [0x00007fffe7fe610e-0x00007fffe7fe6157)
          FuncType: id = {0x0004bbe7}, byte-size = 0, decl = flight.cc:40:8, 
compiler_type = "class arrow::Status (class arrow::flight::ServerAuthSender *, 
class arrow::flight::ServerAuthReader *) const"
            Blocks: id = {0x0004bbe7}, range = [0x7fffe7fe610e-0x7fffe7fe6157)
         LineEntry: [0x00007fffe7fe610e-0x00007fffe7fe6126): 
/home/bryce/src/apache/arrow/python/pyarrow/src/arrow/python/flight.cc:41:85
            Symbol: id = {0x0000047e}, range = 
[0x00007fffe7fe610e-0x00007fffe7fe6157), 
name="arrow::py::flight::PyServerAuthHandler::Authenticate(arrow::flight::ServerAuthSender*,
 arrow::flight::ServerAuthReader*)", 
mangled="_ZN5arrow2py6flight19PyServerAuthHandler12AuthenticateEPNS_6flight16ServerAuthSenderEPNS3_16ServerAuthReaderE"
          Variable: id = {0x0004bc06}, name = "this", type = 
"arrow::py::flight::PyServerAuthHandler *const", location = DW_OP_fbreg -64, 
decl = 
          Variable: id = {0x0004bc12}, name = "outgoing", type = 
"arrow::flight::ServerAuthSender *", location = DW_OP_fbreg -72, decl = 
flight.cc:40:75
          Variable: id = {0x0004bc22}, name = "incoming", type = 
"arrow::flight::ServerAuthReader *", location = DW_OP_fbreg -80, decl = 
flight.cc:41:75
           Address: libarrow_python_flight.so[0x000000000002c612] 
(libarrow_python_flight.so.PT_LOAD[1]..text + 22466)
           Summary: 
libarrow_python_flight.so`arrow::flight::ServerAuthHandler::Authenticate(arrow::flight::ServerCallContext
 const&, arrow::flight::ServerAuthSender*, arrow::flight::ServerAuthReader*) at 
server_auth.h:63:18
            Module: file = 
"/home/bryce/src/apache/arrow/python/pyarrow/libarrow_python_flight.so", arch = 
"x86_64"
       CompileUnit: id = {0x00000000}, file = 
"/home/bryce/src/apache/arrow/python/pyarrow/src/arrow/python/flight.cc", 
language = "c++14"
          Function: id = {0x0004c3a5}, name = 
"arrow::flight::ServerAuthHandler::Authenticate(arrow::flight::ServerCallContext
 const&, arrow::flight::ServerAuthSender*, arrow::flight::ServerAuthReader*)", 
mangled = 
"_ZN5arrow6flight17ServerAuthHandler12AuthenticateERKNS0_17ServerCallContextEPNS0_16ServerAuthSenderEPNS0_16ServerAuthReaderE",
 range = [0x00007fffe7feb612-0x00007fffe7feb658)
          FuncType: id = {0x0004c3a5}, byte-size = 0, decl = 
server_auth.h:63:18, compiler_type = "class arrow::Status (const class 
arrow::flight::ServerCallContext &, class arrow::flight::ServerAuthSender *, 
class arrow::flight::ServerAuthReader *) const"
            Blocks: id = {0x0004c3a5}, range = [0x7fffe7feb612-0x7fffe7feb658)
         LineEntry: [0x00007fffe7feb612-0x00007fffe7feb62e): 
/home/bryce/builds/arrow-x86_64/include/arrow/flight/server_auth.h:63:18
            Symbol: id = {0x0000026a}, range = 
[0x00007fffe7feb612-0x00007fffe7feb658), 
name="arrow::flight::ServerAuthHandler::Authenticate(arrow::flight::ServerCallContext
 const&, arrow::flight::ServerAuthSender*, arrow::flight::ServerAuthReader*)", 
mangled="_ZN5arrow6flight17ServerAuthHandler12AuthenticateERKNS0_17ServerCallContextEPNS0_16ServerAuthSenderEPNS0_16ServerAuthReaderE"
          Variable: id = {0x0004c3c4}, name = "this", type = 
"arrow::flight::ServerAuthHandler *const", location = DW_OP_fbreg -32, decl = 
          Variable: id = {0x0004c3d0}, name = "context", type = "const 
arrow::flight::ServerCallContext &", location = DW_OP_fbreg -40, decl = 
server_auth.h:63:56
          Variable: id = {0x0004c3df}, name = "outgoing", type = 
"arrow::flight::ServerAuthSender *", location = DW_OP_fbreg -48, decl = 
server_auth.h:64:49
          Variable: id = {0x0004c3ee}, name = "incoming", type = 
"arrow::flight::ServerAuthReader *", location = DW_OP_fbreg -56, decl = 
server_auth.h:64:77
   <<< truncated >>>
   ```
   
   Specifically,
   
   > `LineEntry: [0x00007fffe7fe6526-0x00007fffe7fe653e): 
/home/bryce/src/apache/arrow/python/pyarrow/src/arrow/python/flight.cc:66:85`
   
   So I think that confirms my build is working in a way that would work for 
the OP's situaton.
   
   @donatobarone I know it's been a while since you were working on this but I 
think we should be able to help get you set up to debug the issue you were 
having. I'm going to close this issue for the moment but please comment and we 
can re-open it.


-- 
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