2010-08-08 13:37:03 PDT
Erik,
I actually prefer to use Microsoft's NetMon 3.4 (nmcap.exe) via the command line for my captures. Works perfectly. then I use editcap.exe in Wireshark to convert the cap to pcap (libpcap) format. Works like a charm. Wireshark is my backup capture. (Note: it doesn't seem to be an issue with the capture/conversion method as I can crash NetworkMiner 0.92 with either a native Wireshark pcap file over a certain size now, or a NetMon nmcap.exe capture I then converted from cap -> pcap.)
I do feel a bit silly!
Your tips jogged my brain and I suddenly recalled a few other ways to reliably get crash dump data on a process when Windows doesn't do it automatically:
Process Explorer -
http://technet.microsoft.com/en-us/sysinternals/bb896653.aspx - new versions support attaching to a process for crash dump generations (full/mini).
ProcDump -
http://technet.microsoft.com/en-us/sysinternals/dd996900.aspx - Perfect CLI tool to do so from sysinternals\
ProcessActivityView -
http://www.nirsoft.net/utils/process_activity_view.html - Nirsoft tool to monitor and export process activity logs.
I've successfully done so now multiple times. ProcDump seems to give the most reliable output kicking off a Windows Crash Report dialog window every time.
The error signature it generates seems to be consistently as follows:
AppName: networkminer.exe AppVer: 0.92.0.0 AppStamp:4bfed6e2
ModName:P mscorwks.dll ModVer: 2.0.50727.3607 ModStamp:4add5446
fDebug: 0 Offset: 00082bcc
I can now confirm that I am able to fully load (no crash exits) files that are up to ~ 100 MB in size in NetworkMiner 0.92 for the most part.
Smaller size files, 10 ~ 80 MB load with no crashes at all. 100 ~ 135 MB captures are hit and miss, though it seems to work better/stabler (?) if I "pre-load" a smaller cap file (10-15 MB), dump the assembled files, then reload the larger one. That doesn't really make sense so it could be something else causing that observed behavior.
Anything bigger than ~ 140 MB and I seem to always get the crash/exit.
At least ProcDump is kicking off good dump files (procdump.exe -T networkminer.exe c:\dump.dmp)
This is on a XP Pro (x86) (SP3) dual-core Intel Dell E6400 laptop, fully OS patched. 4 GB RAM, 320 GB HDD, lots of free space, NTFS formatted. Monitoring with Process Explorer, the CPU load for NetworkMiner never seemed to get over 10% and there was lots of available memory in the Process Explorer charts showing.
I've got multiple DMP files now. Would you be interested in looking at them and if so, how can I get you a zip file of them?
I'm not at all a programmer and though I can do basic crash look-ups and analysis with a fair bit of Googling, they might be very easy for you to analyze.
It's not much but if it might be a way that I in some small way can contribute to your project, I'd be happy to help.
As you mentioned, I always can split captures (our are in the 450 MB max range) into smaller ones, but I can just as easily load them up entirely in NetworkMiner 0.88 with none of the crash issues that 0.92 seems to have for me.
I really was looking forward to moving up to the latest version.
Cheers!
--Claus V.