Crash_003

General questions about using ExamDiff Pro, ideas for new features, bug reports, and usage tips.
Post Reply
AlexL
Expert Member
Posts: 129
Joined: Wed Aug 11, 2004 6:25 am
Location: Israel
Contact:

Crash_003

Post by AlexL »

Hello.

EDP crashes on these files:

File 1:

Code: Select all

// Lala
0f0
fe4
File 2:

Code: Select all

// Lalala
           0f0
           fe4
DrWatson:

Code: Select all

*----> State Dump for Thread Id 0xbc0 <----*

eax=00e96948 ebx=00000a14 ecx=00000000 edx=003a0608 esi=0149fcb8 edi=00e9c000
eip=00442e7c esp=0149f920 ebp=0149f96c iopl=0         nv up ei ng nz ac po cy
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000297

function: ExamDiff
        00442e48 cb               retf
        00442e49 894d14           mov     [ebp+0x14],ecx
        00442e4c 7528             jnz     ExamDiff+0x42e76 (00442e76)
        00442e4e 8d4df8           lea     ecx,[ebp-0x8]
        00442e51 03db             add     ebx,ebx
        00442e53 6a00             push    0x0
        00442e55 51               push    ecx
        00442e56 ff751c           push    dword ptr [ebp+0x1c]
        00442e59 8bcb             mov     ecx,ebx
        00442e5b c1e102           shl     ecx,0x2
        00442e5e 51               push    ecx
        00442e5f 50               push    eax
        00442e60 895de8           mov     [ebp-0x18],ebx
        00442e63 e828a4ffff       call    ExamDiff+0x3d290 (0043d290)
        00442e68 83c414           add     esp,0x14
        00442e6b 89450c           mov     [ebp+0xc],eax
        00442e6e 85c0             test    eax,eax
        00442e70 0f849f000000     je      ExamDiff+0x42f15 (00442f15)
        00442e76 8b4d14           mov     ecx,[ebp+0x14]
        00442e79 893c88           mov     [eax+ecx*4],edi
FAULT ->00442e7c 668b0f           mov     cx,[edi]              ds:0023:00e9c000=????
        00442e7f 47               inc     edi
        00442e80 47               inc     edi
        00442e81 6683f90a         cmp     cx,0xa
        00442e85 75f5             jnz     ExamDiff+0x42e7c (00442e7c)
        00442e87 3b7de0           cmp     edi,[ebp-0x20]
        00442e8a 75b2             jnz     ExamDiff+0x42e3e (00442e3e)
        00442e8c 837d0800         cmp     dword ptr [ebp+0x8],0x0
        00442e90 740b             jz      ExamDiff+0x42e9d (00442e9d)
        00442e92 8b45f0           mov     eax,[ebp-0x10]
        00442e95 8b5804           mov     ebx,[eax+0x4]
        00442e98 3b5d18           cmp     ebx,[ebp+0x18]
        00442e9b 7c03             jl      ExamDiff+0x42ea0 (00442ea0)
        00442e9d 8b5d18           mov     ebx,[ebp+0x18]
        00442ea0 837d0800         cmp     dword ptr [ebp+0x8],0x0
        00442ea4 740d             jz      ExamDiff+0x42eb3 (00442eb3)
        00442ea6 8b8eec000000     mov     ecx,[esi+0xec]
        00442eac 2b4d10           sub     ecx,[ebp+0x10]
        00442eaf d1f9             sar     ecx,1
        00442eb1 eb03             jmp     ExamDiff+0x42eb6 (00442eb6)
        00442eb3 8b4dfc           mov     ecx,[ebp-0x4]

*----> Stack Back Trace <----*
WARNING: Stack unwind information not available. Following frames may be wrong.
ChildEBP RetAddr  Args to Child              
0149f96c 0043f63d 00000001 00e96948 00e94940 ExamDiff+0x42e7c
0149f9c4 0043b431 0149fcb8 00000001 00000000 ExamDiff+0x3f63d
0149fa50 0043965d 0149fcb8 00000001 00000000 ExamDiff+0x3b431
0149fc50 00436f89 00000000 0149fe70 00000001 ExamDiff+0x3965d
0149fe20 004ca74b 00000000 00e5e2a8 00000000 ExamDiff+0x36f89
0149ff10 0056cbc6 00e67748 00000000 00e3a368 ExamDiff+0xca74b
0149ff7c 0052203e 0012e5a8 00000000 00000000 ExamDiff+0x16cbc6
0149ffb4 7c80b683 00e3a368 00000000 00000000 ExamDiff+0x12203e
0149ffec 00000000 00521fb5 00e3a368 00000000 kernel32!GetModuleFileNameA+0x1b4
Options:

Code: Select all

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ExamDiff Pro
; Version 3.5
; File Version 3.5.0.9
; Build 05/Dec/06 05:44:26
; Windows Version: Microsoft Windows XP 0012FDC8 (Build 2600)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Compare]
Ignore all white space=1
Ignore changes in white space=0
Ignore leading white space=0
Ignore trailing white space=0
Ignore case=0
Ignore blank lines=0
Ignore matching lines=1
Ignore linebreak styles=0
Treat binary as text=0
Detail level=1
Expand tabs=1
Ignore line parts=0
Support Unicode=1
Regular expression hex=5E 00 2F 00 2F 00 2E 00 2A 00 
Regular expression 2 hex=5C 00 73 00 2A 00 2F 00 2F 00 2E 00 2A 00 
Column ranges=31 00 2D 00 31 00 31 00 
[Comments]
Ignore comments=0
Ext0=c,h
Ext1=cpp,c++,h,hpp,cs,java,js
Ext2=f,f77,f90,for
Ext3=html,htm,xml
Ext4=pas
Ext5=pl,py
Ext6=php,php3,php4
Ext7=sql
Ext8=tex,latex
Ext9=bas,vb,vbs
0::Description=C Comments
0::Regex=/\*.*?\*/
0::Enabled=1
0::System=1
1::Description=C++/C#/Java Comments
1::Regex=/\*.*?\*/|//.*?\n
1::Enabled=1
1::System=1
2::Description=Fortran Comments
2::Regex=!.*?\n
2::Enabled=1
2::System=1
3::Description=HTML/XML Comments
3::Regex=<!--.*?-->
3::Enabled=1
3::System=1
4::Description=Pascal/Delphi Comments
4::Regex=\{.*?\}|\(\*.*?\*\)|//.*?\n
4::Enabled=1
4::System=1
5::Description=Perl/Python Comments
5::Regex=#.*?\n
5::Enabled=1
5::System=1
6::Description=PHP Comments
6::Regex=/\*.*?\*/|//.*?\n|#.*?\n
6::Enabled=1
6::System=1
7::Description=SQL/MySQL Comments
7::Regex=/\*.*?\*/|--.*?\n
7::Enabled=1
7::System=1
8::Description=TeX/LaTeX Comments
8::Regex=%.*?\n
8::Enabled=1
8::System=1
9::Description=Visual Basic/BASIC
9::Regex='.*?\n|REM.*?\n
9::Enabled=1
9::System=1
[Display]
Show line numbers=1
Show dir listview tooltips=1
Use Explorer icons=1
Sync Vertically=1
Sync Horizontally=1
Sync Vertically Dir=1
Sync Horizontally Dir=0
Scroll Cur Diff=1
Show Color Bars=1
Show Cur Diff Bars=1
Use foreground colors=1
Tab size=8
Color bar width=8
Cur diff bar width=4
File Screen Font Face Name=Courier New
File Screen Font Height=-10
File Screen Font Italic=0
File Screen Font Weight=400
File Screen Font Pitch=49
File Screen Charset=204
File Printer Font Face Name=Courier New
File Printer Font Height=-8
File Printer Font Italic=0
File Printer Font Weight=400
File Printer Font Pitch=49
File Printer Charset=204
Directory Screen Font Face Name=Courier New
Directory Screen Font Height=-11
Directory Screen Font Italic=0
Directory Screen Font Weight=400
Directory Screen Font Pitch=49
Directory Screen Charset=177
Directory Printer Font Face Name=MS Sans Serif
Directory Printer Font Height=-11
Directory Printer Font Italic=0
Directory Printer Font Weight=400
Directory Printer Font Pitch=0
Directory Printer Charset=0
Identical Color=(0, 0, 0)
Back Identical Color=(255, 255, 255)
Back Identical Hatch=-1
Identical Effects=0
Added Color=(0, 128, 64)
Back Added Color=(192, 192, 192)
Back Added Hatch=-1
Added Effects=0
Deleted Color=(255, 0, 0)
Back Deleted Color=(192, 192, 192)
Back Deleted Hatch=-1
Deleted Effects=0
Changed Color=(0, 0, 255)
Back Changed Color=(192, 192, 192)
Back Changed Hatch=-1
Changed Effects=0
Changed Color 2=(255, 0, 255)
Back Changed Color 2=(192, 192, 192)
Back Changed Hatch 2=-1
Changed Effects 2=0
Inserted Color=(0, 0, 0)
Back Inserted Color=(192, 192, 192)
Back Inserted Hatch=-1
Inserted Effects=0
Ignored Color=(85, 85, 0)
Back Ignored Color=(255, 243, 213)
Back Ignored Hatch=-1
Ignored Effects=0
Newer Color=(64, 0, 128)
Back Newer Color=(192, 192, 192)
Back Newer Hatch=-1
Newer Effects=0
Older Color=(0, 255, 255)
Back Older Color=(192, 192, 192)
Back Older Hatch=-1
Older Effects=0
[Misc]
Editor hex=6E 00 6F 00 74 00 65 00 70 00 61 00 64 00 2E 00 65 00 78 00 65 00 
Arguments=$FILE
Recent Files=10
Recent Strings=10
Enable Change Notifications=1
Enable Change Notifications For Directories=1
Compare Dialog On Top=0
Minimize For New Pair=1
Use View Filter To Save Diff=0
Custom separators=0
Word separators hex=5C 00 2F 00 21 00 2E 00 2C 00 3B 00 3A 00 
Scroll after new compare=0
Scroll after re-compare=0
Horz scroll after re-compare=0
Reuse window pos=0
Print selection by default=0
Treat Clipboard buffers as initially modified=1
Exit on identical=0
Ignored color in diffs=1
Show newline warning=0
Show edit undo warning=0
Show diff combo message=0
Show identical names message=0
Show identical text files message=0
Show identical bin files message=0
Show identical directories message=0
Show different text files message=0
Show different bin files message=0
Show different directories message=0
Show options changed message=0
Show re-compare on View Filter message=1
Show comparison too slow message=1
Show Regex message=1
Show ReadOnly message=1
Show PlugIn message=1
Show Check For Updates message=1
Show Word Wrap message=1
Show # Of Diffs column message=1
[Directory comparison]
Include filter hex=2A 00 
Exclude filter hex=
Initial sort=0
Initial sort column=Name
Initial sort direction=1
Same if same time and size=0
Same if same CRC=0
Diff if diff size=0
Diff if diff attr=0
Diff if diff CRC=0
Diff if diff version=0
Diff if diff time=0
Full file comparison=1
Same if same time and size (saved)=1
Same if same CRC (saved)=1
Diff if diff size (saved)=1
Diff if diff attr (saved)=0
Diff if diff CRC (saved)=0
Diff if diff version (saved)=0
Diff if diff time (saved)=0
No dir sizes=1
Handling of sub-dirs=2
No diff number=0
New instance=1
New instance dirs=1
Time diff to ignore=2
Timezone diff=0
Batch printing=0
Show empty dirs=0
Allow to copy to and from=1
Allow subdir junctions=0
Timestamp copied files with current time=0
Back up files=0
Backup subdir name=5F 00 4F 00 62 00 73 00 6F 00 6C 00 65 00 74 00 65 00 
Ignore backup subdir=0
[Word wrap]
Enable wrap=0
Simple word wrap=0
Wrap width=60
Wrapped line char=
[File editing]
Enable edit=1
Save before recompare=0
Create backups=0
Convert tabs to spaces=0
Change diff pos=0
Backup naming rule=0
Backup folder=
Directly overwrite files=0
Smart Home key=1
[View Filter]
File view same=0
File view added=1
File view deleted=1
File view changed=1
Dir view same=0
Dir view added=1
Dir view deleted=1
Dir view changed=1
Dir view newer=1
Use view name filter=0
Context lines=0
Include names hex=2A 00 
Exclude names hex=
[Dir columns]
Show name=1
Show rel path=1
Show size=1
Show type=1
Show time=1
Show status=1
Show attributes=1
Show diff number=1
Show CRC=0
Show version=0
Name order=0
Rel path order=1
Size order=2
Type order=3
Time order=4
Status order=5
Attributes order=6
Diff number order=7
CRC order=8
Version order=9
Show rel path option=0
Resize sync=1
Thread priority=0
[Plug-ins]
Ext0=C,H,CPP,HPP
Ext1=*
0::App=perl C:\UTILS\cpp.pl
0::Args=$INPUTFILEPATH
0::Description=CPP.PL
0::UseExitCode=0
0::Enabled=0
0::ExitCode=0
1::App=perl C:\UTILS\ExamDiffPro_plugin_Ignore_X.pl
1::Args=$INPUTFILEPATH $OPPOSITEFILEPATH
1::Description=Don't compare X-s
1::UseExitCode=1
1::Enabled=0
1::ExitCode=0
[Binary]
Bytes per line=16
Fit to window=0
Byte format=0
Byte case=0
Editor hex=
Arguments=$FILE
Block size=1
EBCDIC=0
Show control chars=0
Show extended chars=1
[HTML]
Vert HTML Template hex=
Horz HTML Template hex=
Use JavaScript=1
[Global - General]
Shell integration=1
Allow appending files to dirs=0
Shell options=
[Keyboard]
Keys=
("Exclude filter hex=", "Keys=", "Vert HTML Template hex=" and "Horz HTML Template hex=" are omitted to improve forum visibility; please tell me if they are needed also).

Thank you.

PS: Probably DrWatson would give better picture if I had PDB-file.
User avatar
psguru
Site Admin
Posts: 2231
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

Thanks for reporting this. The workaround would be ignoring linebreaks.

The fix is in the latest build (3.5.1.10).
psguru
PrestoSoft
AlexL
Expert Member
Posts: 129
Joined: Wed Aug 11, 2004 6:25 am
Location: Israel
Contact:

Post by AlexL »

psguru wrote:Thanks for reporting this. The workaround would be ignoring linebreaks.

The fix is in the latest build (3.5.1.10).
(Sometimes nostalgia makes me to reread old messages...)

Probably you were speaking about v3.5.0.10, because v3.5.1.10 does not exist even today.
User avatar
psguru
Site Admin
Posts: 2231
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

You are right although that was a 3.5 Beta that is no longer relevant.
psguru
PrestoSoft
Post Reply