Crash on manual sync

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 on manual sync

Post by AlexL »

Hello.

EDP v3.5.0.8 repeatedly crashes on the following example:

File 1:

Code: Select all

#
log2(double a)
#
File 2:

Code: Select all

#

log2( double a )

#
Trying to sync lines containing "log2". No ignores enabled.

DrWatson report:

Code: Select all

eax=01520022 ebx=00e6901c ecx=00000000 edx=00048004 esi=0148f84c edi=00048004
eip=00412995 esp=0148f814 ebp=0148f8a0 iopl=0         nv up ei pl nz na pe nc
cs=001b  ss=0023  ds=0023  es=0023  fs=003b  gs=0000             efl=00000202

function: ExamDiff
        0041296e f8               clc
        0041296f 5f               pop     edi
        00412970 5e               pop     esi
        00412971 5d               pop     ebp
        00412972 c3               ret
        00412973 56               push    esi
        00412974 57               push    edi
        00412975 8b7c2410         mov     edi,[esp+0x10]
        00412979 6a01             push    0x1
        0041297b 8bf1             mov     esi,ecx
        0041297d 57               push    edi
        0041297e e832000000       call    ExamDiff+0x129b5 (004129b5)
        00412983 84c0             test    al,al
        00412985 7427             jz      ExamDiff+0x129ae (004129ae)
        00412987 8b4c240c         mov     ecx,[esp+0xc]
        0041298b 8b4604           mov     eax,[esi+0x4]
        0041298e 85ff             test    edi,edi
        00412990 7611             jbe     ExamDiff+0x129a3 (004129a3)
        00412992 53               push    ebx
        00412993 8bd7             mov     edx,edi
FAULT ->00412995 668b19           mov     bx,[ecx]              ds:0023:00000000=????
        00412998 668918           mov     [eax],bx
        0041299b 40               inc     eax
        0041299c 40               inc     eax
        0041299d 41               inc     ecx
        0041299e 41               inc     ecx
        0041299f 4a               dec     edx
        004129a0 75f3             jnz     ExamDiff+0x12995 (00412995)

        004129a2 5b               pop     ebx
        004129a3 8b4604           mov     eax,[esi+0x4]
        004129a6 897e08           mov     [esi+0x8],edi
        004129a9 6683247800       and     word ptr [eax+edi*2],0x0
        004129ae 8bc6             mov     eax,esi
        004129b0 5f               pop     edi
        004129b1 5e               pop     esi
        004129b2 c20800           ret     0x8
        004129b5 56               push    esi
        004129b6 57               push    edi
        004129b7 8b7c240c         mov     edi,[esp+0xc]
        004129bb 8bf1             mov     esi,ecx
        004129bd 81fffdffff7f     cmp     edi,0x7ffffffd

*----> Stack Back Trace <----*
WARNING: Stack unwind information not available. Following frames may be wrong.
ChildEBP RetAddr  Args to Child              
0148f8a0 00446c07 005f7ca4 00e6901c 003ae188 ExamDiff+0x12995
0148f8e8 00445d52 0148fcb8 fffffffb fffffffe ExamDiff+0x46c07
0148f928 00444024 0148fcb8 00000000 fffffffb ExamDiff+0x45d52
0148f96c 0041784b 0148fcb8 00e41b10 fffffffe ExamDiff+0x44024
0148f9c0 0043c7d0 0148fcb8 00e41b10 004153e8 ExamDiff+0x1784b
0148fa50 0043a498 003ad680 00000001 00000000 ExamDiff+0x3c7d0
0148fc50 00437d99 00000000 0148fe70 00000000 ExamDiff+0x3a498
0148fe20 004ca9bc 00000000 00e69da0 00000000 ExamDiff+0x37d99
0148ff10 0056ce89 00e67bd0 00000000 00e67920 ExamDiff+0xca9bc
0148ff7c 0052229e 0012e424 00000000 00000000 ExamDiff+0x16ce89
0148ffb4 7c80b683 00e67920 00000000 00000000 ExamDiff+0x12229e
0148ffec 00000000 00522215 00e67920 00000000 kernel32!GetModuleFileNameA+0x1b4
Thank you.
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

Could you post your options here (export them to a file)? I can't reproduce the problem.
psguru
PrestoSoft
AlexL
Expert Member
Posts: 129
Joined: Wed Aug 11, 2004 6:25 am
Location: Israel
Contact:

Post by AlexL »

psguru wrote:Could you post your options here (export them to a file)? I can't reproduce the problem.

Code: Select all

;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
; ExamDiff Pro
; Version 3.5
; File Version 3.5.0.8
; Build 03/Dec/06 20:21:38
; Windows Version: Microsoft Windows XP 0012FDC8 (Build 2600)
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
[Compare]
Ignore all white space=0
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=0
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
Show Delete Links message=1
[Directory comparison]
Include filter hex=2A 00 
Exclude filter hex=2A 00 2E 00 6C 00 69 00 62 00 2C 00 2A 00 2E 00 65 00 72 00 72 00 2C 00 2A 00 2E 00 6C 00 73 00 74 00 2C 00 2A 00 2E 00 6F 00 2C 00 2A 00 2E 00 64 00 2C 00 2A 00 2E 00 73 00 63 00 63 00 2C 00 2A 00 2E 00 73 00 69 00 6D 00 2C 00 2A 00 2E 00 6C 00 6F 00 67 00 2C 00 2A 00 2E 00 6F 00 75 00 74 00 2C 00 2A 00 2E 00 6C 00 69 00 6E 00 2C 00 2A 00 2E 00 61 00 2C 00 2A 00 2E 00 73 00 2C 00 2A 00 2E 00 6E 00 63 00 62 00 2C 00 2A 00 2E 00 6F 00 70 00 74 00 2C 00 2A 00 2E 00 70 00 6C 00 67 00 2C 00 2A 00 2E 00 73 00 62 00 72 00 2C 00 2A 00 2E 00 70 00 64 00 62 00 2C 00 2A 00 2E 00 6F 00 62 00 6A 00 2C 00 2A 00 2E 00 69 00 64 00 62 00 2C 00 2A 00 2E 00 70 00 63 00 68 00 2C 00 2A 00 2E 00 65 00 78 00 65 00 2C 00 2A 00 2E 00 69 00 6C 00 6B 00 2C 00 2A 00 2E 00 62 00 73 00 63 00 2C 00 2A 00 2E 00 5F 00 2A 00 
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=43 00 3A 00 5C 00 50 00 52 00 4F 00 47 00 52 00 41 00 4D 00 20 00 46 00 49 00 4C 00 45 00 53 00 5C 00 45 00 58 00 41 00 4D 00 44 00 49 00 46 00 46 00 20 00 50 00 52 00 4F 00 5C 00 64 00 69 00 66 00 66 00 74 00 65 00 6D 00 70 00 6C 00 5F 00 76 00 2E 00 68 00 74 00 6D 00 
Horz HTML Template hex=43 00 3A 00 5C 00 50 00 52 00 4F 00 47 00 52 00 41 00 4D 00 20 00 46 00 49 00 4C 00 45 00 53 00 5C 00 45 00 58 00 41 00 4D 00 44 00 49 00 46 00 46 00 20 00 50 00 52 00 4F 00 5C 00 64 00 69 00 66 00 66 00 74 00 65 00 6D 00 70 00 6C 00 5F 00 76 00 2E 00 68 00 74 00 6D 00 
Use JavaScript=1
[Global - General]
Shell integration=1
Allow appending files to dirs=0
Shell options=
[Keyboard]
Keys=7012351,123201,33619995,102536,33751086,123206,33751152,102537,16973832,102541,16973869,102539,16973833,102540,17235977,98475,34275395,102844,34275399,98492,34537539,98483,34275399,98481,17498121,98482,17760265,98484,16973833,98487,17235977,98485,17498149,98486,17498151,102636,16973861,102637,17236005,102638,16973863,102639,17236007,102646,16973864,102649,17498152,102647,17236008,102654,16973859,102655,17236003,102640,17498149,102641,17760293,102652,16973858,102653,17236002,102650,16973857,102651,17236001,102642,17498151,102643,17760295,102644,16973862,102648,17498150,102645,17236006,163850,34275410,33751156,98315,34537521,98316,34537522,98312,34275411,98317,34275377,98318,34275378,98319,34275394,98307,34275402,98309,34275398,98310,33751154,98311,34013298,102660,17498147,102661,17760291,102656,16973860,102658,17498148,102657,17236004,102659,17760292,98325,34275412,98326,34275447,98335,34013302,98334,33751158,98327,34275412,98324,34275411,98322,34275448,98323,34275449,98343,34275413,98344,34275450,98345,34275451,98349,34537555,98351,34275448,98341,34275407,98338,34275396,98350,34275415,98342,34275401,98348,35323988,98337,34275446,98340,33751086,98339,33751153,98358,34275397,98352,34275449,98364,34799629,98375,34275406,103538,34537518,98373,34275450,98374,34275451,98368,34275442,98369,34537586,98398,34275404,123143,34275408,98397,34275393,102759,34275441,102760,33751153,102761,34013297,102762,34537585,98405,34013230,98424,34275409,188715,17498202,18022408,188716,17498201,18284552,188707,17498200,17236014,188706,17498179,17498157,188709,17498198,17236013,123178,34275393,98427,34537592,98428,34537593,98419,34013301,98420,33751157,123177,34275400,98421,34275411,98445,34275405,
AlexL
Expert Member
Posts: 129
Joined: Wed Aug 11, 2004 6:25 am
Location: Israel
Contact:

Post by AlexL »

Hope you noticed the blank lines in the 2-nd file.
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

Yes, we could repro it. Working on the fix.
psguru
PrestoSoft
User avatar
psguru
Site Admin
Posts: 2228
Joined: Sat May 15, 2004 4:23 pm
Location: California
Contact:

Post by psguru »

Please check out the latest build, 3.5.0.9 -- the fix is there.
psguru
PrestoSoft
Post Reply