ECToo / xdelta

Automatically exported from code.google.com/p/xdelta
0 stars 0 forks source link

Stack overflow while merging the given VCDIFF files #166

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

#1. Unzip the attached deltatest1.zip file to a directory, say c:\deltatest1

#2. Open command prompt (Start->Run->cmd.exe)

#3. Change directory to extracted folder, say "cd c:\deltatest1"

#3. Run test.bat

What is the expected output? What do you see instead?
* Merged DIFF file.
* xdelta3.exe crashes with stack overflow error.

What version of the product are you using? On what operating system?
xdelta version: 3.0.6
OS: Windows 2008 x64 R2 SP1, Windows 2003 R2 x64 SP2

Please provide any additional information below.
Issue reproducible also using xdelta version: 3.0z

Thanks in advance for looking into this issue.

Regards,
Thanga

Original issue reported on code.google.com by thanga...@gmail.com on 5 Aug 2013 at 11:47

Attachments:

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Issue reproducible even with following latest Xdelta versions as well:

xdelta3-3.0.7.x86-32.exe
xdelta3-3.0.7.x86-64.exe

Original comment by thanga...@gmail.com on 6 Aug 2013 at 12:10

GoogleCodeExporter commented 9 years ago
Just to clarify - the given sample VCDIFF files are forward deltas in 
incremental order, and merge command preserves this order.

Original comment by thanga...@gmail.com on 6 Aug 2013 at 12:50

GoogleCodeExporter commented 9 years ago
Note to developer: this issue happens because of recursion in 
xd3_merge_source_copy. The code already has comments that this logic needs to 
be re-worked because of inefficiency.

Original comment by jace...@gmail.com on 19 Sep 2013 at 10:31