xxdiff internal error on mixed line endings

Bug #293171 reported by Martin Günther
2
Affects Status Importance Assigned to Milestone
xxdiff (Ubuntu)
New
Undecided
Unassigned

Bug Description

Binary package hint: xxdiff

I have two files (see attachment), file1.txt and file2.txt (see attachment). file1.txt contains only macintosh-style line endings (\r), file2.txt contains mixed \r and \n.

xxdiff file1.txt file2.txt gives an internal error message:

================================
xxdiff (hordiffImp.cpp:275):

Internal error.

There has been an internal error within xxdiff.
To report bugs, please use the sourceforge bug tracker
at http://sourceforge.net/tracker/?group_id=2198
and log the above information above and if possible,
the files that caused the error, and as much detail as
you can to reproduce the error.
================================

I fixed the line endings:
tr "\r" "\n" < file1.txt > fixed1.txt
tr "\r" "\n" < file2.txt > fixed2.txt

Afterwards, xxdiff fixed1.txt fixed2.txt works.

BTW, I'm using Intrepid Ibex.

Revision history for this message
Martin Günther (launchpad-domain-the-phoenix) wrote :
Revision history for this message
Martin Günther (launchpad-domain-the-phoenix) wrote :

Only wanted to let you know that this bug is still present in Karmic.

Revision history for this message
Martin Günther (launchpad-domain-the-phoenix) wrote :

Oh, and by the way, I messed up the testdata.tgz. It's actually a testdata.tar.gz.gz :-)

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.