PowerPing icon indicating copy to clipboard operation
PowerPing copied to clipboard

version 1.3.4

Open steom opened this issue 1 year ago • 1 comments

Listening for ICMP Packets Unhandled exception. System.ArgumentException: Offset and length were out of bounds for the array or count is greater than the number of elements from index to the end of the source collection. at System.Buffer.BlockCopy(Array , Int32 , Array , Int32 , Int32 ) at PowerPing.ICMP..ctor(Byte[] data, Int32 size, Int32 offset) at PowerPing.Listen.ListenForICMPOnAddress(IPAddress address) at PowerPing.Listen.<>c__DisplayClass1_1.<Start>b__0() at System.Threading.Thread.StartCallback()

steom avatar Feb 05 '24 07:02 steom

I'm sorry I could not reproduce this, could you give some more details so I can debug this further, any info like:

  • How frequently this occurs
  • A screenshot of PowerPing before the exception
  • What platform and OS you are running on
  • What type of ping you were listening for when this happened (if known)

Thanks

Killeroo avatar Feb 05 '24 22:02 Killeroo

I've added a speculative fix that should stop this from happening in the latest release. Please let me know if it keeps occuring.

Killeroo avatar Jun 05 '24 21:06 Killeroo

speculative fix works. version 1.3.5 don't crash.

steom avatar Jun 06 '24 07:06 steom

Glad to hear that, closing this issue for now then 👍

Killeroo avatar Jun 11 '24 21:06 Killeroo