Skip to content

Datasegment.cs not found, StackoverflowException #117

@notan1

Description

@notan1

Im using this library to anaylse offline pcap files. Sometimes my programm terminates with a StackOverFlowException.

This is the output in the debug output of Visual Studio:

Loaded \bin\Debug\PcapDotNet.Packets.dll'. Symbols loaded.
Loaded \bin\Debug\PcapDotNet.Base.dll'. Symbols loaded.
Process is terminated due to StackOverflowException.
An unhandled exception of type 'System.StackOverflowException' occurred in PcapDotNet.Packets.dll

This window opens (I dont have a c:\Github\ ... folder ):
pcapdotneterror

I have WinPcap 4.1.3 installed and the NugetPackage is "Pcap.Net.x86".

My code:
OfflinePacketDevice selectedDevice = new OfflinePacketDevice(this.report.PcapFile); PacketCommunicator communicator = selectedDevice.Open(65536, PacketDeviceOpenAttributes.Promiscuous, 1000); communicator.ReceivePackets(0, PacketHandler); communicator.Dispose();

The PacketHandler Method only logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions