You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2020/04/23 09:35:38 UTC

[GitHub] [pulsar] bschofield edited a comment on issue #6806: Segmentation fault in C++ library whilst deserializing messages

bschofield edited a comment on issue #6806:
URL: https://github.com/apache/pulsar/issues/6806#issuecomment-618291497


   Here are the DEBUG messages from the C++ library, immediately before the segfault:
   
   ```
   DEBUG [192.168.2.191:46978 -> 51.79.31.254:29841] Received a message from the server for consumer: 4
   DEBUG [persistent://driftnet/reports/agents.web-scraper-partition-1, shucker, 4] Received Message -- Size: 317
   DEBUG [persistent://driftnet/reports/agents.web-scraper-partition-1, shucker, 4]  metadata.num_messages_in_batch() = 5
   DEBUG [persistent://driftnet/reports/agents.web-scraper-partition-1, shucker, 4]  metadata.has_num_messages_in_batch() = 1
   DEBUG Initializing the trackerMap_ with Message ID = (6832,13756,1,-1) -- Map size: 0 -- List size: 0
   DEBUG Received Batch messages of size - 5 -- msgId: (6832,13756,1,-1)
   ```
   
   Here's a dump of 489 bytes starting at `uncompressedPayload.ptr_`:
   
   ```
   (gdb) xxd uncompressedPayload.ptr_ 489
   00000000: 2020 1611 5b7f 0000 2020 1611 5b7f 0000    ..[...  ..[...
   00000010: 010a 0c08 daea 81f5 0510 98a2 ffd6 0112  ................
   00000020: 1b31 5669 5475 6350 4d49 7977 3736 7373  .1ViTucPMIyw76ss
   00000030: 4465 4269 7531 7474 6b52 476c 1a10 6987  DeBiu1ttkRGl..i.
   00000040: d6d8 c4c4 09f2 242f 030c ad11 d3da 2210  ......$/......".
   00000050: c546 05f3 8f1c 4b0d 98f0 72f4 0682 bf66  .F....K...r....f
   00000060: 3801 0000 000d 1851 28c9 93d5 a59d bafe  8......Q(.......
   00000070: ffff 010a 0c08 daea 81f5 0510 ecea e0a6  ................
   00000080: 0212 1b31 5669 5475 6350 4d49 7977 3736  ...1ViTucPMIyw76
   00000090: 7373 4465 4269 7531 7474 6b52 476c 1a10  ssDeBiu1ttkRGl..
   000000a0: 715c b90b 2727 dbb7 525a db32 3f10 9457  q\..''..RZ.2?..W
   000000b0: 2210 bab5 1adf bc6f 4947 a6ad 6430 9d39  "......oIG..d0.9
   000000c0: af23 3801 0000 000d 1851 28c9 93d5 a59d  .#8......Q(.....
   000000d0: bafe ffff 010a 0c08 daea 81f5 0510 fe96  ................
   000000e0: d9f9 0212 1b31 5669 5475 6350 4d49 7977  .....1ViTucPMIyw
   000000f0: 3736 7373 4465 4269 7531 7474 6b52 476c  76ssDeBiu1ttkRGl
   00000100: 1a10 b0ae 0983 232e 7069 73a3 daea 78d0  ......#.pis...x.
   00000110: e535 2210 a798 373f 851a 4f5b b9ae ebb4  .5"...7?..O[....
   00000120: c1e4 3fef 3801 0000 000d 1850 28c9 93d5  ..?.8......P(...
   00000130: a59d bafe ffff 010a 0b08 dbea 81f5 0510  ................
   00000140: fda2 d833 121b 3156 6954 7563 504d 4979  ...3..1ViTucPMIy
   00000150: 7737 3673 7344 6542 6975 3174 746b 5247  w76ssDeBiu1ttkRG
   00000160: 6c1a 10d1 c49d f99b 5ade be52 aa51 1efc  l.......Z..R.Q..
   00000170: 7d09 e522 1052 d990 2aa8 a245 9cac 09f2  }..".R..*..E....
   00000180: b279 86cf 3738 0100 0000 0d18 5128 c993  .y..78......Q(..
   00000190: d5a5 9dba feff ff01 0a0c 08db ea81 f505  ................
   000001a0: 109e e997 8801 121b 3156 6954 7563 504d  ........1ViTucPM
   000001b0: 4979 7737 3673 7344 6542 6975 3174 746b  Iyw76ssDeBiu1ttk
   000001c0: 5247 6c1a 1025 9c99 b0e2 0d38 77dd 4198  RGl..%.....8w.A.
   000001d0: 0515 c5f6 eb22 103c fb16 5828 fe42 f5a4  .....".<..X(.B..
   000001e0: 65ec 82da 4edb 2738 01                   e...N.'8.
   ```


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

For queries about this service, please contact Infrastructure at:
users@infra.apache.org