#157 Crashes on XP while comparing large Files (200MB)

open
nobody
None
5
2014-08-20
2011-05-10
rohri
No

Hi,

KDiff3 0.9.95 crashes reproducably while reading 2 about 200MB large files. OS is Windows XP Pro Service Pack 3.

Sometimes it crashes at the end of reading the first file, somtimes during reading of the second one.

Here is the Dr. Watson crash report:

Anwendungsausnahme aufgetreten:
Anwendung: C:\Programme\KDiff3\kdiff3.exe (pid=7344)
Wann: 09.05.2011 @ 08:17:08.529
Ausnahmenummer: c0000005 (Zugriffsverletzung)

----> Systeminformationen <----
Computername: NB000106
Benutzername: andreasr
Terminalsitzungskennung: 0
Prozessoranzahl: 2
Prozessortyp: x86 Family 6 Model 23 Stepping 6
Windows-Version: 5.1
Aktuelles Build: 2600
Service Pack: 3
Aktueller Typ: Multiprocessor Free
Firma:
Besitzer: ABIT

----> Taskliste <----
0 System Process
4 System
1904 smss.exe
272 csrss.exe
300 Error 0x8007012B
344 services.exe
356 lsass.exe
580 micasad.exe
624 ibmpmsvc.exe
668 Ati2evxx.exe
684 svchost.exe
784 svchost.exe
1040 svchost.exe
1080 btwdins.exe
736 svchost.exe
1400 S24EvMon.exe
1552 svchost.exe
1584 svchost.exe
1720 Ati2evxx.exe
1756 svchost.exe
1832 svchost.exe
964 ZenworksWindowsService.exe
1024 spoolsv.exe
1332 SCardSvr.exe
1384 nslsvice.exe
1752 svchost.exe
1644 TSUsage32.exe
1960 TPHKLOAD.exe
2108 TPHKSVC.exe
2812 AcPrfMgrSvc.exe
2856 AcSvc.exe
2900 AppleMobileDeviceService.exe
2984 ApplicationUpdater.exe
3016 Error 0xD0000022
3044 mDNSResponder.exe
3100 DOZESVC.EXE
3196 EvtEng.exe
3280 PresentationFontCache.exe
3688 svchost.exe
3732 iviRegMgr.exe
3792 jqs.exe
3844 klnagent.exe
3976 CAMMUTE.exe
2036 LMS.exe
1912 nsd.exe
1964 unsecapp.exe
2164 wmiprvse.exe
2784 MDM.EXE
2912 ntmulti.exe
3168 nzrWinVNC.exe
4040 RegSrvc.exe
2596 SgeClient.exe
2588 SgeCtl.exe
2696 svchost.exe
3084 suservice.exe
3920 tvt_reg_monitor_svc.exe
4084 TpKmpSVC.exe
544 TpKmapMn.exe
1504 TpKmapMn.exe
3820 tvttcsd.exe
2060 rrpservice.exe
2140 rrservice.exe
2412 tvtsched.exe
2476 UNS.exe
3936 WMPNetwk.exe
3968 klnagent.exe
4016 wmiapsrv.exe
4708 alg.exe
4896 SvcGuiHlpr.exe
2636 tposdsvc.exe
5700 TPONSCR.exe
1236 Explorer.EXE
2952 TpScrex.exe
5244 scheduler_proxy.exe
5764 TSVNCache.exe
5228 TpShocks.exe
732 TPFNF7SP.exe
5996 jusched.exe
4844 MOM.exe
1788 Ecview.exe
476 SmartAudio.exe
5984 SearchSettings.exe
2496 rundll32.exe
5020 WksCfgSrv.exe
3308 pdservice.exe
4332 LPMGR.exe
3404 LPMLCHK.exe
6028 virtscrl.exe
4452 EzEjMnAp.Exe
4948 cssauth.exe
5240 ACWLIcon.exe
5296 ACTray.exe
4156 Error 0xD0000022
1748 ZenNotifyIcon.exe
5648 ctfmon.exe
5220 TaskSwitchXP.exe
2328 DeskSave.exe
2600 TpKmapMn.exe
3876 TimeSynchronizer.exe
5944 PCSuite.exe
3800 BTTray.exe
5288 ZenUserDaemon.exe
520 DLG.exe
5208 Hotsync.exe
4552 AutoHotkey.exe
4996 SCHTASK.exe
5640 CLCL.exe
4484 firefox.exe
4972 fcw.exe
5120 VirtuaWin.exe
2392 VirtuaPlus.exe
3488 vwKvasdoPager.exe
4260 WinList.exe
3424 ccc.exe
3584 ServiceLayer.exe
5644 NLNOTES.EXE
4024 NclUSBSrv.exe
816 NclRSSrv.exe
5316 notes2.exe
4444 plugin-container.exe
6368 ntaskldr.EXE
7460 jucheck.exe
6524 plugin-container.exe
7348 mstsc.exe
5300 fcw.exe
7344 kdiff3.exe
5572 drwtsn32.exe

----> Modulliste <----
(0000000000400000 - 0000000000f92000: C:\Programme\KDiff3\kdiff3.exe
(0000000001a00000 - 0000000001a13000: C:\WINDOWS\system32\btmmhook.dll
(0000000010000000 - 0000000010007000: C:\Programme\Utimaco\SafeGuard Easy\SgMsgBhk.dll
(000000005b0f0000 - 000000005b128000: C:\WINDOWS\system32\uxtheme.dll
(000000005d450000 - 000000005d4ea000: C:\WINDOWS\system32\COMCTL32.dll
(00000000641f0000 - 00000000641fc000: C:\PROGRA~1\NetInst\NiAMH.dll
(0000000071a00000 - 0000000071a08000: C:\WINDOWS\system32\WS2HELP.dll
(0000000071a10000 - 0000000071a27000: C:\WINDOWS\system32\WS2_32.DLL
(0000000072f70000 - 0000000072f96000: C:\WINDOWS\system32\WINSPOOL.DRV
(00000000746a0000 - 00000000746ec000: C:\WINDOWS\system32\MSCTF.dll
(0000000075250000 - 000000007527e000: C:\WINDOWS\system32\msctfime.ime
(0000000076330000 - 000000007634d000: C:\WINDOWS\system32\IMM32.DLL
(0000000076350000 - 000000007639a000: C:\WINDOWS\system32\COMDLG32.DLL
(0000000076620000 - 00000000766d6000: C:\WINDOWS\system32\userenv.dll
(0000000076af0000 - 0000000076b1e000: C:\WINDOWS\system32\WINMM.DLL
(00000000770f0000 - 000000007717b000: C:\WINDOWS\system32\OLEAUT32.DLL
(00000000773a0000 - 00000000774a3000: C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.6028_x-ww_61e65202\comctl32.dll
(00000000774b0000 - 00000000775ee000: C:\WINDOWS\system32\OLE32.dll
(0000000077b10000 - 0000000077b32000: C:\WINDOWS\system32\apphelp.dll
(0000000077bd0000 - 0000000077bd8000: C:\WINDOWS\system32\VERSION.dll
(0000000077be0000 - 0000000077c38000: C:\WINDOWS\system32\msvcrt.dll
(0000000077da0000 - 0000000077e4a000: C:\WINDOWS\system32\ADVAPI32.DLL
(0000000077e50000 - 0000000077ee3000: C:\WINDOWS\system32\RPCRT4.dll
(0000000077ef0000 - 0000000077f39000: C:\WINDOWS\system32\GDI32.dll
(0000000077f40000 - 0000000077fb6000: C:\WINDOWS\system32\SHLWAPI.dll
(0000000077fc0000 - 0000000077fd1000: C:\WINDOWS\system32\Secur32.dll
(000000007c800000 - 000000007c908000: C:\WINDOWS\system32\kernel32.dll
(000000007c910000 - 000000007c9c9000: C:\WINDOWS\system32\ntdll.dll
(000000007e360000 - 000000007e3f1000: C:\WINDOWS\system32\USER32.dll
(000000007e670000 - 000000007ee91000: C:\WINDOWS\system32\SHELL32.dll

----> Statusabbild für Threadkennung 0x5dc <----

eax=00000000 ebx=451e0020 ecx=00001c0c edx=00000002 esi=0182ef08 edi=4d1e1000
eip=77c17026 esp=0023b0e0 ebp=0023b0e8 iopl=0 nv up ei pl nz na pe nc
cs=001b ss=0023 ds=0023 es=0023 fs=003b gs=0000 efl=00000202

*** ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\msvcrt.dll -
Funktion: msvcrt!memcpy
77c1700c 23d1 and edx,ecx
77c1700e 8a06 mov al,[esi]
77c17010 8807 mov [edi],al
77c17012 8a4601 mov al,[esi+0x1]
77c17015 c1e902 shr ecx,0x2
77c17018 884701 mov [edi+0x1],al
77c1701b 83c602 add esi,0x2
77c1701e 83c702 add edi,0x2
77c17021 83f908 cmp ecx,0x8
77c17024 72a6 jb msvcrt!memcpy+0x5c (77c16fcc)
FEHLER ->77c17026 f3a5 rep movsd ds:0182ef08=00200020 es:4d1e1000=????????
77c17028 ff2495b870c177 jmp dword ptr [msvcrt!memcpy+0x148 (77c170b8)+edx*4]
77c1702f 90 nop
77c17030 23d1 and edx,ecx
77c17032 8a06 mov al,[esi]
77c17034 8807 mov [edi],al
77c17036 46 inc esi
77c17037 c1e902 shr ecx,0x2
77c1703a 47 inc edi
77c1703b 83f908 cmp ecx,0x8
77c1703e 728c jb msvcrt!memcpy+0x5c (77c16fcc)

----> Stack Back Trace <----
ERROR: Module load completed but symbols could not be loaded for C:\Programme\KDiff3\kdiff3.exe
WARNING: Stack unwind information not available. Following frames may be wrong.
ERROR: Symbol file could not be found. Defaulted to export symbols for C:\WINDOWS\system32\kernel32.dll -
ChildEBP RetAddr Args to Child
0023b0e8 00bd202b 4d1e0032 0182df3a 00008000 msvcrt!memcpy+0xb6
0023b118 00c09aba 018114f0 0023b1d0 0023b1f0 kdiff3+0x7d202b
0023f208 00c0ab8a 01811488 ffffffff ffffffff kdiff3+0x809aba
0023f248 00c0f26a 01811488 0023f284 0023f288 kdiff3+0x80ab8a
0023f2f8 0040cbb1 0023f3d0 0023f3f0 0023f3e0 kdiff3+0x80f26a
0023f428 0040db20 01676788 00000000 01503400 kdiff3+0xcbb1
0023f678 0046ce82 01676738 01503400 00000001 kdiff3+0xdb20
0023f9a8 0041bde4 01676528 00000000 01676688 kdiff3+0x6ce82
0023fb58 004be40e 01676528 0023fbd0 0023fbe0 kdiff3+0x1bde4
0023fc18 00405efb 0150b448 00000001 0023fd50 kdiff3+0xbe40e
0023fe28 004e5078 00000003 015055f0 015054e8 kdiff3+0x5efb
0023fef8 004e4d18 00400000 00000000 00252387 kdiff3+0xe5078
0023ff78 0040124b 00000003 01504fc8 015036d8 kdiff3+0xe4d18
0023ffb0 004012b8 00000002 00000009 0023fff0 kdiff3+0x124b
0023ffc0 7c817077 00000000 00000000 7ffdc000 kdiff3+0x12b8
0023fff0 00000000 004012a0 00000000 78746341 kernel32!RegisterWaitForInputIdle+0x49

----> Raw Stack Dump <----
000000000023b0e0 32 00 1e 45 f0 14 81 01 - 18 b1 23 00 2b 20 bd 00 2..E......#.+ ..
000000000023b0f0 32 00 1e 4d 3a df 82 01 - 00 80 00 00 d4 db d1 00 2..M:...........
000000000023b100 c0 b0 23 00 00 00 00 00 - d0 b1 23 00 3c f5 f6 00 ..#.......#.<...
000000000023b110 01 00 00 00 ff ff ff ff - 08 f2 23 00 ba 9a c0 00 ..........#.....
000000000023b120 f0 14 81 01 d0 b1 23 00 - f0 b1 23 00 00 40 00 00 ......#...#..@..
000000000023b130 ac 14 81 01 e4 b0 23 00 - 6c 1e 04 62 00 00 00 00 ......#.l..b....
000000000023b140 0e 00 00 00 0e 00 00 00 - 58 b1 23 00 00 00 00 00 ........X.#.....
000000000023b150 84 b1 23 00 00 00 50 01 - 22 02 92 7c f0 14 81 01 ..#...P."..|....
000000000023b160 00 00 00 04 00 00 50 01 - c8 7c 81 01 5c b1 23 00 ......P..|...#.
000000000023b170 00 40 00 00 00 00 00 00 - 20 e9 91 7c 28 02 92 00 .@...... ..|(...
000000000023b180 88 14 81 01 01 00 00 00 - 9b 01 92 7c db 01 92 7c ...........|...|
000000000023b190 00 00 00 00 08 00 00 00 - 08 00 00 00 8c f2 23 00 ..............#.
000000000023b1a0 01 00 00 00 b1 b9 ca 00 - 54 b1 23 00 ff ff ff ff ........T.#.....
000000000023b1b0 db 01 92 7c b0 57 d5 00 - 0a 9c e6 00 f0 f1 23 00 ...|.W........#.
000000000023b1c0 e6 9e c0 00 20 b1 23 00 - 00 00 00 00 fc b1 23 00 .... .#.......#.
000000000023b1d0 28 df 82 01 07 00 00 00 - 05 00 00 00 9c b2 23 00 (.............#.
000000000023b1e0 fb 3a 51 00 30 b2 23 00 - 3e 00 00 00 00 00 50 01 .:Q.0.#.>.....P.
000000000023b1f0 3a 33 31 2e 35 39 5d 20 - 53 51 4c 2d 5a 65 69 74 :31.59] SQL-Zeit
000000000023b200 3a 20 30 30 3a 30 30 3a - 30 30 2e 30 30 30 0d 0a : 00:00:00.000..
000000000023b210 0d 0a 5b 31 33 3a 34 30 - 3a 33 31 2e 35 39 5d 20 ..[13:40:31.59]

Hope, this helps.

Best regards,
Andreas.

Discussion

  • Joachim Eibl
    Joachim Eibl
    2011-05-10

    Are these text files or something binary?
    As a programmer I don't expect such big text files. Would it help if KDiff3 would warn before comparing files above a certain size?
    On the technical side: I'm also preparing a 64-bit version for 64-bit-Windows that can handle bigger files if enough memory is available, but there will be other limits (internal buffer sizes still must not exceed 2GB).
    Could you also watch KDiff3-memory consumption in Taskmanager and please report the highest value before the crash occurs? (How long does it take?)
    Joachim

     
  • rohri
    rohri
    2011-05-11

    Are these text files or something binary?

    These are Textfiles. In fact, they are automatically generated protocol files for debugging purposes.

    As a programmer I don't expect such big text files. Would it help if
    KDiff3 would warn before comparing files above a certain size?

    I'm also a programmer... No, it won't help, because I every so often really do have such big files to compare. Unfortunately...

    I watched the memory consumption and found that Kdiff3 crashed after reaching 1.1 GB working set size. At this time my pc reached 2.9 GB physical memory consumpton over all. RAM equipment of my pc is the maximum 32 Bit XP can handle.

    The crash occurs after only about a minute. So I believe strongly that KDiff3 at this point is still about to read the files as normally the real comparing work takes a lot longer.

    Andreas.